Saturday, April 1, 2017

Virtual to Virtual (V2V) Migration on Solaris 10

Source server:

1) Get the hostid of the virtual server
#zlogin eharsh001 hostid

2) Shutdown the server
#zoneadm -z eharsh001 halt

3) Take the copy of the server using CPIO and sent to NFS location
#cd /zones
#find eharsh001 -print | cpio -oP@ | gzip > /mnt/hpnfs/SOLARIS/eharsh001.cpio.gz




Destination server:

1)  Attach the zone
#zoneadm -z eharsh001 attach -a /mnt/hpnfs/SOLARIS/eharsh001.cpio.gz

2) Boot the zone
#zoneadm list -vc

#zoneadm -z eharsh001 boot

No comments:

Post a Comment