Creating and Using Oracle Solaris 10 Zones

Exit Print View

Updated: September 2014
 
 

Migrating a solaris10 Branded Zone

The zonecfg and zoneadm commands can be used to migrate an existing non-global zone from one system to another. The zone is halted and detached from its current host. The zonepath is moved to the target host, where it is attached.

The zoneadm detach process creates the information necessary to attach the zone on a different system. The zoneadm attach process verifies that the target machine has the correct configuration to host the zone.

Because there are several ways to make the zonepath available on the new host, the actual movement of the zonepath from one system to another is a manual process that is performed by the global administrator.

When attached to the new system, the zone is in the installed state.

Example 3-1  Sample attach Command
host2# zoneadm -z zonename attach -a /net/machine_name/s10-system.flar