1. Stop the VPS on the old server
vzctl stop CTID
2. Copy the private area and the configuration file to the new server.
rsync -avz -e ssh /vz/private/CTID/ root@NEWSERVERIP:/vz/private/CTID/ rsync -avz -e ssh /etc/vz/conf/104.conf root@NEWSERVERIP:/etc/vz/conf
3. Start the VPS on the old server
vzctl start CTID
4. Update the SolusVM database, so the VPS appears on the new server. Run this command on the SolusVM Master.
/scripts/vm-migrate VPSID(old vps id) NODEID (I think new node&vps details)
VPSID = The number in the ID column next to the VPS in SolusVM. This is NOT the CID/XID.
NODEID = The number in the ID column next to the Node in SolusVM under Nodes > List
5. Give the VPS a new IP Address
Find the
VPS in SolusVM and go to "IP Addresses". Add a new IP address from the
list, then click on "Main IP" and make it the main IP Address. Then
remove all of the old IP Addresses under "IP Addresses"
6. Start the VPS on the new server
vzctl start CTID
No comments:
Post a Comment