Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Boot a Zone

Boot a zone to place the zone in the running state. You can boot from the ready state or from the installed state. A zone in the installed state that is booted transparently transitions through the ready state to the running state. Zone login is allowed for zones in the running state.

You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure.

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Use the zoneadm command with the –z option, the name of the zone, which is my-zone, and the boot subcommand to boot the zone.
    global$ zoneadm -z my-zone boot
  3. When the boot completes, use the list subcommand with the –v option to verify the status.
    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  
Example 3  Specifying Boot Arguments for Zones

Boot a zone using the –m verbose option:

global$ zoneadm -z my-zone boot -- -m verbose

Reboot a zone using the –m verbose boot option:

global$ zoneadm -z my-zone reboot -- -m verbose

Reboot a zone inside the zone using the –m verbose option:

my-zone# reboot -- -m verbose