System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Validate a 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 my-zone and pipe the output to a remote command that will immediately validate the target host:


      global# zoneadm -z my-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 my-zone and direct the output to a file:


      global# zoneadm -z my-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.