Sun Cluster Data Service for Solaris Containers Guide for Solaris OS

ProcedureHow to Verify the Installation and Configuration of a Zone

Perform this procedure for each zone that you created in Installing and Configuring Zones

  1. Start the zone.

    # zoneadm -z zone boot
  2. Log in to the zone.

    # zlogin -z zone
  3. Perform the required task depending upon the brand type of the zone.

    • For a native brand type zone, confirm that the zone has reached the svc:/milestone/multi-user-server:default milestone.

      # svcs -a | grep milestone
      online         Apr_10   svc:/milestone/network:default
      online         Apr_10   svc:/milestone/devices:default
      online         Apr_10   svc:/milestone/single-user:default
      online         Apr_10   svc:/milestone/sysconfig:default
      online         Apr_10   svc:/milestone/name-services:default
      online         Apr_10   svc:/milestone/multi-user:default
      online         Apr_10   svc:/milestone/multi-user-server:default
    • For a lx brand type zone, confirm that the runlevel is 3.

      # runlevel
      N 3
    • For a solaris8 or solaris9 brand type zone, confirm that the legacy runlevel is 3.

      # who -r
              run-level 3  Sep 10 23:49     3      0  S
  4. Stop the zone.

    # zoneadm -z zone halt