Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Migrate a Non-Global Zone Using Unified Archives

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Create a recovery archive.

    In this procedure, we will create a recovery archive of the zone that is migrated on the source host.

    source-host# archiveadm create -r -z zonename archive-name

    For example:

    host1# archiveadm create -r -z zonename /net/server/my-zone-archive.uar
  3. Uninstall the zone on the source system, or set autoboot on the zone to false.
    source-host# zonecfg -z zonename set autoboot=false
  4. Configure the destination system from the archive.
    destination-host# zonecfg -z zonename create -a /net/server/zonename.uar

    For example:

    host2# zonecfg -z zonename create -a /net/server/my-zone-archive.uar
  5. Install the zone using the archive.
    destination-host# zoneadm -z zonename install -a archive-name
  6. Boot the migrated zone.
    destination-host# zoneadm -z zonename boot

See also

For additional information about creating and deploying Unified Archives, refer to Chapter 2, Working With Unified Archives, in Using Unified Archives for System Recovery and Cloning in Oracle Solaris 11.2 .