How to migrated to areas in Solaris
Posted: May 20, 2010 at 11:31 pm | Tags: Solaris , Unix , virtualization , zonesThis is a tutorial about migrating to areas in Solaris. First, you have to create the manifest. On the host system, use the folowing command and direct the output to a file:
zoneadm -z myzone detach -n > /export/home/myzone-manifest.txt
cd /export/home
tar cf myzone-manifest.tar myzone-manifest.txt
sftp host2
sftp>cd /export/home
sftp>put myzone-manifest.tar
sftp>quit
On the target system, extract the tar file:
cd /export/home
tar xf myzone-manifest.tar
On the target system you have to create a non-global zones and myzone Called to set the property zonepath / zones / myzone:
zonecfg -z myzone
create
set zonepath=/zones/myzone
verify
commit
exit
You have to validated the feasibility of migration areas:
zoneadm -z myzone attach -n /export/home/myzone-manifest.txt
The migration is made without the-n option.
























