System Administration Guide: Oracle Solaris 9 Containers

Migrating a solaris9 Zone to Another Host

About Detaching and Attaching the Zone

A solaris9 zone can be migrated to another host by using the zoneadm command with the detach and attach subcommands. This process is described in About Migrating a Zone in System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones and How to Migrate A Non-Global Zone in System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones.

To attach the solaris9 zone to the new host, you must use the -F option. This option is used to skip package and patch validation, which are not needed for branded zones.


Example 6–1 Sample attach Command


host2# zoneadm -z zonename attach -F

Zone Migration and Initial Boot

During the process of installing the solaris9 branded zone, a physical-to-virtual conversion is automatically performed. When a solaris9 branded zone is migrated to a new host, this process must be repeated to ensure that the zone is optimized to run on the new host. The first time that the zone attempts to boot on the new host it will detect whether the s9_p2v conversion command was run. The zone will not boot if the command has not been run again.

If you are booting a migrated s9-zone zone on a new host for the first time, run the following command before you boot the zone:


global# /usr/lib/brand/solaris9/s9_p2v zonename