Skip to content

SolusVM migrate containers

For each noda containers used vzlist

 

This would be the command to move the container we want the desired node

vzmigrate -v --ssh="-p <destination_node_port>" <destination_node_ip> <container_id>
An example: vzmigrate 192.168.1.119 112
*Note that the destination port that is usually not necessary 22, que el id es el que indica al hacer el vzlist, and must be located within the node via ssh in which the container is before migration.
 
Then we run / scripts / vm-migrate <VSERVERID> <NEWNODEID> to change the id of the node to which the container pertenede
Example: /scripts/vm-migrate 150 4
*Here note that both the node id as the container are shown in SolusVM.