System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

ProcedureSolaris 10 5/08: How 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.