For warm migration and live migration on SPARC based systems only, you can configure a kernel zone to have a CPU class that is different from the host system. You specify the kernel zone migration class for the CPU by using the cpu-arch zonecfg resource. See solaris-kz SPARC Only: Kernel Zone Migration Class and Host Compatibility Level in Oracle Solaris Zones Configuration Resources for further information about setting the cpu-arch zonecfg resource property for migration to a different CPU architecture.
If the kernel zone’s CPU migration class is not set, the kernel zone’s CPU migration class is the same as the host.
You must reboot the kernel zone to have the CPU migration class changes take effect.
Note – The kernel zone host will always refuse to resume a guest previously suspended on an incompatible platform. A kernel zone guest will not boot if the cpu-arch class is set to an incompatible value.
The below example demonstrates how to confirm and set the cpu-arch resource on the kernel zone kzone1.
global# zonecfg -z kzone1 zonecfg:kzone1> info cpu-arch cpu-arch: generic zonecfg:kzone1> set cpu-arch=migration-class1 zonecfg:kzone1> info cpu-arch cpu-arch: migration-class1 zonecfg:kzone1> exit
This example demonstrates a live migration attempt between a SPARC T4 host global1 and a SPARC T5 host, global2. The cpu-arch property is not consistent across the hosts and must be set as directed in solaris-kz SPARC Only: Kernel Zone Migration Class and Host Compatibility Level in Oracle Solaris Zones Configuration Resources.
global1# zoneadm -z kzone1 migrate -n ssh://global2 zoneadm: zone 'kzone1': Importing zone configuration. zoneadm: zone 'kzone1': Attaching zone. zoneadm: zone 'kzone1': Booting zone in 'migrating-in' mode. zoneadm: zone 'kzone1': Checking migration compatibility. zoneadm: zone 'kzone1': configuration check failed: error: Suspended image cannot be resumed on current cpu migration class (SPARC-T4). Please check cpu-arch setting in zone config or in host LDom config. 2015-05-30 22:42:59 error: request failed: failed to create VM: Operation not supported