OpenVZ Forum


Home » General » Support » VPS virtuozzo to openvz
Re: VPS virtuozzo to openvz [message #5161 is a reply to message #5116] Wed, 16 August 2006 04:55 Go to previous messageGo to previous message
msokolov is currently offline  msokolov
Messages: 8
Registered: July 2006
Junior Member
Hi,

I have managed to migrate FC2 Virtuozzo VPS to OpenVZ node by rsync'ing root area to private area to avoid incompatibility of OpenVZ and Virtuozzo templates:

on Virtuozzo:

# vzctl create 98700 --pkgset fedora-core-2
Creating VPS private area (fedora-core-2/20060323)
VPS is mounted
Postcreate action done
VPS is unmounted
VPS private area was created
Delete port redirection
Adding port redirection to VPS(1): 4643 8443

# vzctl start 98700
Starting VPS ...
VPS is mounted
Setup slm memory limit
Adding port redirection to VPS(1): 4643 8443
VPS start in progress...

# vzctl stop 98700
Stopping VPS ...
VPS was stopped
VPS is unmounted

# vzctl mount 98700
VPS is mounted

# rsync -a -e ssh /vz/root/98700 root@OpenVZ_node_IP:/vz/private/
# rsync -a -e ssh /etc/sysconfig/vz-scripts/98700.conf root@OpenVZ_node_IP:/etc/sysconfig/vz-scripts/


on OpenVZ:

# vzctl start 98700
Starting VPS ...
Initializing quota ...
VPS is mounted
Setting CPU units: 1000
VPS start in progress...

# vzctl enter 98700
entered into VPS 98700
-bash-2.05b# cat /etc/redhat-release
Fedora Core release 2 (Tettnang)
-bash-2.05b#
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TUN/TAP problem
Next Topic: problems with second container and venet
Goto Forum:
  


Current Time: Sat Oct 19 12:40:35 GMT 2024

Total time taken to generate the page: 0.04859 seconds