Sun N1 Service Provisioning System User's Guide for Solaris Plug-In 4.0

ProcedureHow to Create a Solaris Local Zone

Before You Begin

If there is no Name Server, you must update the /etc/hosts file on the Master Server with the hostname:ip_address of the local zone on the Remote Agent.

Steps
  1. In the left control panel, under Common Tasks, click the Solaris link.

  2. Click the Solaris Container: Create and Manage link.

  3. Click the Run action next to Install: Create.

  4. Select the target host on which to create the local zone.


    Note –

    The target host must be a member of the com.sun.solaris#global_zones host set.


  5. Select the local zone host name from the Plan Variables settings.

    If desired local zone names are not present, you can create new zone names. To create new zone names, follow these steps:

    1. Click Select From List in the plan parameters table.

    2. In the Variable Setting window, click Create Set

    3. Type the new zone set name in the New Set Name field.

    4. Click the box next to Zone Name prompt and type a new variable set name.


      Note –

      Zone names become network Zone Host Names during local zone creation. Local Zone Host Names should resolve to local network IP address.


    5. Determine if you want the local zone file system to be sparse or full.

      A sparse local zone file system shares the /lib, /sbin, /platform, and /usr directories with the global zone. If the local zone will run applications that must install files into one of these directories, then install the local zone with a full file system. The full local zone file system does not share directories with the global zone.


      Note –

      The provisioning system installs the local zone file system as sparse by default. Install a full local zone file system by overriding the default.


    6. (Optional) If you need to add the logical network interfaces into the local zone, type values into the zoneIfaceDetails component variable.

      Each entry consists of three fields in the following format: network interface,IPAddress/netmask. Each entry is separated by a semicolon. For example: hme0,123.123.123.123/24;eri0,124.124.124.124/8

    7. (Optional) If you need to mount global zone file systems in the local zone, type values into the zoneFsLayout component variable.

      Each file system must be separated by a semicolon. For example, dir=/usr/local special=/opt/local raw=/dev/rdsk/c0t0d0s7 type=lofs [ro,nodevices];dir=/opt/mystuff special=/empty type=lofs ro

      For more information, see the zonecfg(1M) man page.

  6. Click Save and Select.

  7. Click Select From List for the target host.

  8. Select one of Current Found Hosts.

  9. Click Add Hosts To Main Window.

  10. Click Run Plan (includes preflight).