Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

(Optional) How to Transition the Installed Zone to the Ready State

Transitioning into the ready state prepares the virtual platform to begin running user processes. Zones in the ready state do not have any user processes executing in them.

You can skip this procedure if you want to boot the zone and use it immediately. The transition through the ready state is performed automatically when you boot the zone.

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 ready subcommand to transition the zone to the ready state.
    global# zoneadm -z my-zone ready
  3. At the prompt, use the zoneadm list command 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  ready        /zones/my-zone                 solaris    excl  

    Note that the unique zone ID 1 has been assigned by the system.