Go to main content

Creating and Using Oracle® Solaris Kernel Zones

Exit Print View

Updated: August 2021

Returning Evacuated Kernel Zones to the Original System

To return the evacuated zones to the original system, run the sysadm evacuate command on the source host, not the target host. You specify the –r option to return.

Each evacuated zone is migrated from its destination, if it is still running there, back to the source host. If you want to also return zones that are not running, use the –a option to specify all zones. Non-running zones are cold migrated.

source-host# sysadm evacuate -rv 
Example 52  Returning Evacuated Zones to Original Host System
root@global:~# sysadm evacuate -rv 
sysadm:   preparing 2 zone(s) for return...
sysadm:   initializing return of kzone1
sysadm:   initializing return of kzone2
sysadm:   returning 2 zone(s) ...
sysadm:   migrating kzone1
sysadm:   migrating kzone2
sysadm:   return completed successfully.
sysadm:   kzone1: returned
sysadm:   kzone2: returned
root@global:~# sysadm evacuate -l 
sysadm:   no active evacuation
root@global:~# zoneadm list -cv
  ID NAME             STATUS      PATH                 BRAND      IP    
   0 global           running     /                    solaris    shared
   3 kzone2           running     -                    solaris-kz excl  
   4 kzone1           running     -                    solaris-kz excl