Categories

Tuesday, 24 April 2012

MScripts to do migration of containers in OPenVZ from one node to another



*Migration
for CT in $(vzlist -H -o veid);do vzmigrate -r no --keep-dst 77.95.229.43(destinationIP) $CT; done

*Updating SolusVM
for VSERVERID in $`cat vsrvrids.txt`;do /scripts/vm-migrate $VSERVERID 12; done

No comments:

Post a Comment

Ad