About the zoneadm migrate Command

The zoneadm command that is used for each migration method is similar. The migration process is determined by the state of the zone that you are migrating. The format of the command is as follows:

zoneadm ‐z kzone migrate [‐nqw] -c cipher] [‐t {auto|live}] [-w] [[ssh|rads|radg://user@host:port]

where:

‐c cipher

Specifies a secure cipher option for migrations. By default, migrations are secured using a cipher that is supported on both systems even if you do not specify a particular cipher. See Secure Migration.

‐n

Performs a non-executing dry run of the migration. For all types of migration, the dry run checks that the shared storage resource is accessible from both systems.

  • For live migration, the dry run checks for full compatibility so if it passes the checks, the zone will successfully resume on the remote system.

  • For warm migration, even though settings such as CPU and memory must be compatible, the dry run does not check them because the zone is not running during the migration. After the migration, you can adjust the settings as needed before resuming.

  • For cold migration and warm migration, the dry run does not check for CPU compatibility or compare the zone configuration on the source system against any existing zone configuration on the target system. For cold migration, there is no need to check for CPU and memory compatibility and so on since the zone is booting from scratch, After the migration, you can adjust the zone configuration settings as needed.

‐q

Quiet mode, which specifies that the status is not reported during migration operations.

‐t {live | auto}

Specifies the type of migration. The default value of ‐t is auto which enables the zoneadm migrate command to automatically determine which type of migration is appropriate based on the zone's state. The ‐t live option enables you to restrict migration to running zones only. If you specify ‐t live for a zone that is not running, no migration takes place for that zone.

‐w

Uses the zone configuration from the source system. By default, the zone configuration from the source is ignored in favor of the zone configuration on the target. The ‐w option is mutually exclusive with the ‐n option.

ssh|rads|radg://user@host:port

Specifies a RAD URI including the scheme, user name, and host name to be used to migrate the zone to the target system. The ssh scheme uses SSH and the rads scheme uses TLS. The radg scheme uses the Generic Security Services API (GSS-API). Specify radg if the RAD client and target host are configured for Kerberos.

If you specify only a host name, the scheme defaults to rads, user defaults to the current user, and port defaults to the standard RAD port 12302.

See Connecting in Python to a RAD Instance by Using a URI in Remote Administration Daemon Client User’s Guide for more information.

Refer to the zoneadm(8) man page for more information about the migrate command.