sun.com docs.sun.com My Sun Worldwide Sites

Previous Previous     Contents     Index     Next Next

About Validating an lx Branded Zone Migration Before the Migration Is Performed

You can perform a trial run before the zone is moved to the new machine by using the "no execute" option,-n.

The zoneadm detach subcommand is used with the -n option to generate a manifest on a running zone without actually detaching the zone. The state of the zone on the originating system is not changed. The zone manifest is sent to stdout. The global administrator can direct this output to a file or pipe it to a remote command to be immediately validated on the target host. The zoneadm attach subcommand is used with the -n option to read this manifest and verify that the target machine has the correct configuration to host the zone without actually doing an attach.

The zone on the target system does not have to be configured on the new host before doing a trial-run attach.

ProcedureHow to Validate an lx Branded Zone Migration Before the Migration Is Performed

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see "Using the Solaris Management Tools With RBAC (Task Map)" in System Administration Guide: Basic Administration.

  2. Use one of the following methods.

    • Generate the manifest on a source host named lx-zone and pipe the output to a remote command that will immediately validate the target host:

      global# zoneadm -z lx-zone detach -n | ssh remotehost zoneadm attach -n -

      The hyphen (--) at the end of the line specifies stdin for the path.

    • Generate the manifest on a source host named lx-zone and direct the output to a file:

      global# zoneadm -z lx-zone detach -n 

      Copy the manifest to the new host system as described in How to Move the zonepath to a new Host, and perform the validation:

      global# zoneadm attach -n path_to_manifest

      The path can be -- to specify stdin.

Previous Previous     Contents     Index     Next Next
Company Info Contact Terms of Use Privacy Copyright 1994-2007 Sun Microsystems, Inc.