Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How To Move an Existing Zone Into a Shared Storage Configuration

The following steps are required to convert an existing, installed zone into a shared storage zone configuration with a rootzpool resource.

  1. Shut down the zone with zoneadm(1M) shutdown command.
  2. Create an archive of the installed zone.

    Refer to the solaris(5) man page for additional information.

  3. Uninstall the zone with zoneadm(1M) uninstall.

    This step removes the current zone installation from the system and move the zone back into the configured zone state.

  4. Add a rootzpool resource and corresponding shared storage resources to the zone configuration with the zonecfg command.
  5. Install the zone again from the archive with the zoneadm) install -a command.

    Refer to solaris(5) for more details about this option.

    During the archive-based installation, the zones framework will configure the shared storage resources and create or import the desired ZFS storage pools.

  6. The zone can now be booted again with zoneadm boot.