Migrating-openvz-virtual-servers-from one
hardware node to another
The following steps are used to migrate VPS from one Hardware node to another:-
On the hardware node check were the VPS already exists,
# wget http://files.soluslabs.com/solusvm/scripts/keyput.sh
The following steps are used to migrate VPS from one Hardware node to another:-
On the hardware node check were the VPS already exists,
# wget http://files.soluslabs.com/solusvm/scripts/keyput.sh
# chmod a+x keyput.sh
# ./keyput.sh <DN_ip> <DN_port>
DN_ip
& DN_port = the ip and ssh port of the node you want to transfer the VPS
to.(Destination_node)
Next, we need to know the id of the VPS which is to be transfered, for that,
run this on the server that contains the VPS
# vzlist or vzlist -a (to get all the nodes present in the main node)
then,
# vzmigrate -v --ssh="-p <DN_port>" <DN_ip> <VPS_id>
once it is completed you have to update SolusVM master.
On the solusvm master node run:
# /scripts/vm-migrate
<VSERVER_ID> <NEWNODE_ID><VSERVER_ID> is the ID listed in your VM list in SolusVM
<NEWNODE_ID> is the ID of the node listed in your node list in SolusVM
No comments:
Post a Comment