JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones
search filter icon
search icon

Document Information

Preface

Part I Resource Management

1.  Introduction to Solaris 10 Resource Management

2.  Projects and Tasks (Overview)

3.  Administering Projects and Tasks

4.  Extended Accounting (Overview)

5.  Administering Extended Accounting (Tasks)

6.  Resource Controls (Overview)

7.  Administering Resource Controls (Tasks)

8.  Fair Share Scheduler (Overview)

9.  Administering the Fair Share Scheduler (Tasks)

10.  Physical Memory Control Using the Resource Capping Daemon (Overview)

11.  Administering the Resource Capping Daemon (Tasks)

12.  Resource Pools (Overview)

13.  Creating and Administering Resource Pools (Tasks)

14.  Resource Management Configuration Example

15.  Resource Control Functionality in the Solaris Management Console

Part II Zones

16.  Introduction to Solaris Zones

17.  Non-Global Zone Configuration (Overview)

18.  Planning and Configuring Non-Global Zones (Tasks)

Planning and Configuring a Non-Global Zone (Task Map)

Evaluating the Current System Setup

Disk Space Requirements

Sparse Root Zones

Whole Root Zones

Restricting Zone Size

Determine the Zone Host Name and Obtain the Network Address

Zone Host Name

Shared-IP Zone Network Address

IPv4 Zone Network Address

IPv6 Zone Network Address

Exclusive-IP Zone Network Address

File System Configuration

Creating, Revising, and Deleting Non-Global Zone Configurations (Task Map)

Configuring, Verifying, and Committing a Zone

How to Configure the Zone

Where to Go From Here

Script to Configure Multiple Zones

How to Display the Configuration of a Non-Global Zone

Using the zonecfg Command to Modify a Zone Configuration

How to Modify a Resource Type in a Zone Configuration

Solaris 10 8/07: How to Clear a Property Type in a Zone Configuration

Solaris 10 3/05 Through Solaris 10 11/06: How to Modify a Property Type in a Zone Configuration

Solaris 10 8/07: How to Rename a Zone

How to Add a Dedicated Device to a Zone

How to Set zone.cpu-shares in the Global Zone

Using the zonecfg Command to Revert or Remove a Zone Configuration

How to Revert a Zone Configuration

How to Delete a Zone Configuration

19.  About Installing, Halting, Cloning, and Uninstalling Non-Global Zones (Overview)

20.  Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)

21.  Non-Global Zone Login (Overview)

22.  Logging In to Non-Global Zones (Tasks)

23.  Moving and Migrating Non-Global Zones (Tasks)

24.  Solaris 10 9/10: Migrating a Physical Solaris System Into a Zone (Tasks)

25.  About Packages and Patches on a Solaris System With Zones Installed (Overview)

26.  Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Tasks)

27.  Solaris Zones Administration (Overview)

28.  Solaris Zones Administration (Tasks)

29.  Upgrading a Solaris 10 System That Has Installed Non-Global Zones

30.  Troubleshooting Miscellaneous Solaris Zones Problems

Part III lx Branded Zones

31.  About Branded Zones and the Linux Branded Zone

32.  Planning the lx Branded Zone Configuration (Overview)

33.  Configuring the lx Branded Zone (Tasks)

34.  About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview)

35.  Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks)

36.  Logging In to lx Branded Zones (Tasks)

37.  Moving and Migrating lx Branded Zones (Tasks)

38.  Administering and Running Applications in lx Branded Zones (Tasks)

Glossary

Index

Planning and Configuring a Non-Global Zone (Task Map)

Before you set up your system to use zones, you must first collect information and make decisions about how to configure the zones. The following task map summarizes how to plan and configure a zone.

Task
Description
For Instructions
Plan your zone strategy.
  • Evaluate the applications running on your system to determine which applications you want to run in a zone.
  • Assess the availability of disk space to hold the files that are unique in the zone.

  • If you are also using resource management features, determine how to align the zone with the resource management boundaries.

Refer to historical usage. Also see Disk Space Requirements and Resource Pools Used in Zones.
Determine the name for the zone.
Decide what to call the zone based on the naming conventions.
Determine the zone path.
Each zone has a path to its root directory that is relative to the global zone's root directory.
Evaluate the need for CPU restriction if you are not configuring resource pools.
Review your application requirements.
Evaluate the need for memory allocation if you plan to cap memory for the zone by using rcapd from the global zone.
Review your application requirements.
Make the FSS the default scheduler on the system.
Give each zone CPU shares to control the zone's entitlement to CPU resources. The FSS guarantees a fair dispersion of CPU resources among zones that is based on allocated shares.
Determine whether the zone will be a shared-IP zone or an exclusive-IP zone.
For a shared-IP zone, which is the default, obtain or configure IP addresses for the zone. Depending on your configuration, you must obtain at least one IP address for each non-global zone that you want to have network access.

For an exclusive-IP zone, determine the data-link that will be assigned to the zone. The zone requires exclusive access to one or more network interfaces. The interface could be a separate LAN such as bge1, or a separate VLAN such as bge2000. The data-link must be GLDv3. A data-link that is not GLDv3 is identified as type: legacy in the output of the dladm show-link command.

Determine which file systems you want to mount in the zone.
Review your application requirements.
See File Systems Mounted in Zones for more information.
Determine which network interfaces should be made available in the zone.
Review your application requirements.
See Shared-IP Network Interfaces for more information.
Determine whether you must alter the default set of non-global zone permissions.
Check the set of privileges: default, privileges that can be added and removed, and privileges that cannot be used at this time.
Determine which devices should be configured in each zone.
Review your application requirements.
Refer to the documentation for your application.
Configure the zone.
Use zonecfg to create a configuration for the zone.
Verify and commit the configured zone.
Determine whether the resources and properties specified are valid on a hypothetical system.