Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Boot a Zone

Booting a zone places the zone in the running state. A zone can be booted 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 an administrator.

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

  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-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

Zone administrator reboot of the zone my-zone, using the –m verbose option:

my-zone# reboot -- -m verbose