Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Reboot a Zone

You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure. Also see How to Shutdown a Zone.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. List the zones running on the system.
    global# zoneadm list -v

    You will see a display that is similar to the following:

    ID  NAME     STATUS       PATH                           BRAND      IP
     0  global   running      /                              solaris    shared
     1  my-zone  running      /zones/my-zone                 solaris    excl  
  3. Use the zoneadm command with the –z reboot option to reboot the zone my-zone.
    global# zoneadm -z my-zone reboot
  4. List the zones on the system again to verify that my-zone has been rebooted.
    global# zoneadm list -v

    You will see a display that is similar to the following:

    ID  NAME     STATUS       PATH                           BRAND      IP
     0  global   running      /                              solaris    shared
     2  my-zone  running      /zones/my-zone                 solaris    excl  

    Tip  -  Note that the zone ID for my-zone has changed. The zone ID generally changes after a reboot.