sun.com docs.sun.com My Sun Worldwide Sites

Previous Previous     Contents     Index     Next Next

ProcedureHow to Install a Subset of the Packages

When installing from CD or ISO images, you can install a subset of the packages on the install media. The available subsets are core, server, desktop, developer, and all.

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see "Using the Solaris Management Tools With RBAC (Task Map)" in System Administration Guide: Basic Administration.

  2. Install only the server package:

    global# zoneadm -z lx-zone install -d archive_path server

ProcedureHow to Enable Networking in an lx Branded Zone

When you install an lx branded zone, networking is disabled. Use a procedure such as this one to enable networking.

You must be the zone administrator to perform this procedure.

  1. Edit the /etc/sysconfig/network file in the zone.

    NETWORKING=yes
    HOSTNAME=your.hostname

  2. To set up a NIS domain, add a line similar to the following:

    NISDOMAIN=domain.Sun.COM

More Information
Configuring Networking and Naming Services

For more information on configuring networking or naming services, consult the documentation for your Linux distribution.

ProcedureHow to Obtain the UUID of an Installed Branded Zone

A universally unique identifier (UUID) is assigned to a zone when it is installed. The UUID can be obtained by using zoneadm with the list subcommand and the -p option. The UUID is the fifth field of the display.

  • View the UUIDs for zones that have been installed.

    global# zoneadm list -p

    You will see a display similar to the following:

    0:global:running:/::native
        1:centos38:running:/zones/centos38:27fabdc8-d8ce-e8aa-9921-ad1ea23ab063:lx

Example 33-4   How to Use the UUID in a Command
global# zoneadm -z lx-zone -u 61901255-35cf-40d6-d501-f37dc84eb504 list -v

If both -u uuid-match and -z zonename are present, the match is done based on the UUID first. If a zone with the specified UUID is found, that zone is used, and the -z parameter is ignored. If no zone with the specified UUID is found, then the system searches by the zone name.

More Information
About the UUID

Zones can be uninstalled and reinstalled under the same name with different contents. Zones can also be renamed without the contents being changed. For these reasons, the UUID is a more reliable handle than the zone name.

See Also

For more information, see zoneadm(1M) and libuuid(3LIB).

ProcedureHow to Mark an Installed lx Branded Zone Incomplete

If administrative changes on the system have rendered a zone unusable or inconsistent, it is possible to change the state of an installed zone to incomplete.

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see "Using the Solaris Management Tools With RBAC (Task Map)" in System Administration Guide: Basic Administration.

  2. Mark the zone testzone incomplete.

    global# zoneadm -z testzone mark incomplete

  3. Use the list subcommand with the -i and -v options to verify the status.

    global# zoneadm list -iv

    You will see a display that is similar to the following:

    ID  NAME       STATUS        PATH                   BRAND
    0   global     running       /                       native
    -   testzone   incomplete    /export/home/testzone   lx

More Information
Marking a Zone Incomplete


Note - Marking a zone incomplete is irreversible. The only action that can be taken on a zone marked incomplete is to uninstall the zone and return it to the configured state. See How to Uninstall a Branded Zone.


(Optional) Placing an Installed lxBranded Zone in 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.

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

ProcedureHow to Boot an lx Branded 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 in the global zone to perform this procedure.


Tip - Note that you cannot boot a branded zone on a Trusted Solaris system that has labels enabled.


  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see "Using the Solaris Management Tools With RBAC (Task Map)" in System Administration Guide: Basic Administration.

  2. Use the zoneadm command with the -z option, the name of the zone, which is lx-zone, and the boot subcommand to boot the zone.

    global# zoneadm -z lx-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
     0  global   running      /                     native
     1  lx-zone  running      /export/home/lx-zone  lx

Example 33-5   Specifying Boot Arguments for Zones

Boot a zone using the -i altinit option:

global# zoneadm -z lx-zone boot -- -i /path/to/process

Troubleshooting

If a message indicating that the system was unable to find the netmask to be used for the IP address specified in the zone's configuration displays, see netmasks Warning Displayed When Booting Zone. Note that the message is only a warning and the command has succeeded.

ProcedureHow to Boot an lx Branded Zone in Single-User Mode

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see "Using the Solaris Management Tools With RBAC (Task Map)" in System Administration Guide: Basic Administration.

  2. Boot the zone in single-user mode.

    global# zoneadm -z lx-zone boot -- -s

Previous Previous     Contents     Index     Next Next
Company Info Contact Terms of Use Privacy Copyright 1994-2007 Sun Microsystems, Inc.