Clone
Create a copy of an existing kernel zone on the same host (new hostname/IP inside). Great for testing or staging.
Solaris · Kernel Zones – Clone, Detach/Attach & Migration
Solaris · Zones · Advanced
After you know how to create and manage kernel zones, the next step is to clone them for testing, and move them between hosts for maintenance, DR and hardware refresh. This lesson focuses on cloning, detach/attach and the idea of migration for kernel zones.
Create a copy of an existing kernel zone on the same host (new hostname/IP inside). Great for testing or staging.
Move a kernel zone from one host to another by detaching, replicating the dataset and attaching on target.
On supported platforms, move a running (or powered-off) kernel zone to another host, with pre-checks via dry-run.
Start by listing all zones and identifying kernel zones (brand solaris-kz).
Cloning is useful for creating a copy of an existing zone (lab, testing, pre-change snapshot-style copy).
Detach marks the zone as exported; you then replicate the zone dataset to the target host (e.g. via ZFS send/receive).
After the dataset is available on target host, attach the zone there.
On platforms that support live migration, you can dry-run migrate to validate compatibility before moving.
Once you understand clone and detach/attach, migration is mostly about automating the move and adding pre-checks.