Use the V2V process to migrate an existing zone on your Solaris 10 system to a solaris10 brand zone on a system running the Oracle Solaris 11 release.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
source# zonecfg -z my-zone info zonename: my-zone zonepath: /zones/my-zone brand: native autoboot: false bootargs: pool: limitpriv: scheduling-class: ip-type: shared hostid: 1337833f inherit-pkg-dir: dir: /lib inherit-pkg-dir: dir: /platform inherit-pkg-dir: dir: /sbin inherit-pkg-dir: dir: /usr net: address: 192.168.0.90 physical: bge0
source# zoneadm -z my-zone halt
You should not archive a running zone because the application or system data within the zone might be captured in an inconsistent state.
source# zoneadm -s my-zone ready
source# cd /zones source# find my-zone -print | cpio -oP@ | gzip >/zones/my-zone.cpio.gz
source# cd /zones/my-zone source# find root -print | cpio -oP@ | gzip >/zones/my-zone.cpio.gz
The sftp command described in the sftp (1) man page
NFS mounts
Any other file transfer mechanism to copy the file.
target# zonecfg -z my-zone my-zone: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:my-zone> create -t SYSsolaris10 zonecfg:my-zone> set zonepath=/zones/my-zone ...
If the destination system has different hardware, different network interfaces, or other devices or file systems that must be configured on the zone, you must update the zone's configuration. See Chapter 2, Non-Global Zone Configuration Overview, in Introduction to Oracle Solaris Zones , About Migrating a Zone in Creating and Using Oracle Solaris Zones , and Chapter 1, How to Plan and Configure Non-Global Zones, in Creating and Using Oracle Solaris Zones .
target# zonecfg -z my-zone info zonename: my-zone zonepath: /zones/my-zone brand: solaris10 autoboot: false bootargs: pool: limitpriv: scheduling-class: ip-type: shared hostid: 1337833f net: address: 192.168.0.90 physical: net0
target# zoneadm -z my-zone install -a /zones/my-zone.cpio.gz
Once the zone installation has completed successfully, the zone is ready to boot.
You can save the zone's archive for possible later use, or remove it from the system.
To remove the archive from the destination system:
target# rm /zones/myzone.cpio.gz