A Blog to share my experience and knowledge, Iam dealing with Linux Server Administration.
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
‹
›
Home
View web version
No comments:
Post a Comment