Live Virtuozzo Migrations to SolusVM
From the First Host box do the following (I always check to make sure the VPS works and I try to see whats running before I move it. If its broke or not in use I really do not want to move Virtuozzo Virtual Server.)
1. First rsync over the config files first. I do this because I want to start irt on the SolusVM server as soon as its completed rsyncing.
# rsync -a -e ssh /vz/private/6860/ve.conf [email protected]:/etc/sysconfig/vz-scripts/6860.conf
[email protected]'s password:
2. rsync the containter to your SolusVM host box.
# rsync -a -e ssh /vz/root/6860 [email protected]:/vz/private/
3. Start the VM and Enter it
# vzctl start 6860
Starting container ...
Initializing quota ...
Container is mounted
Adding IP address(es): 192.168.0.90 192.168.0.93
arpsend: 192.168.0.90 is detected on another computer : 00:30:48:65:1a:12
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.10.118.90 eth0 FAILED
arpsend: 192.168.0.93 is detected on another computer : 00:30:48:65:1a:12
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.10.118.93 eth0 FAILED
Setting CPU limit: 65
Setting CPU units: 38000
Setting CPUs: 4
Set hostname: server.com
File resolv.conf was modified
Setting quota ugidlimit: 500
Container start in progress...
# vzctl enter 6860
entered into CT 6860
4. Add Ips to SolusVM
5. Add the Client to SolusVM
6. Then import the OpenVZ VM make sure to input all the correct information.
7. Add any additional ips the VM might have in SolusVM
7. Next go back to Virtuozzo remove the ips from the server. I add a unused ip and shit down the server. Then I rename it migrated.
On to the next one!