Creating Oracle Solaris 10 Zones
12c Release 2 (22.214.171.124.0)
This guide provides an end-to-end example for how to use Oracle Enterprise Manager Ops Center.
This example shows you how to create a non-global zone on an Oracle Solaris 10 operating system. The non-global zone type is a whole root zone. The non-global zone configuration details are: shared IP zone, local storage and file system.
A whole root non-global zone uses a root file system that does not share components of the global zone's root file system. You can define the size of the root file system for the non-global zone. The default size for the root file system is eight (8) GBytes for whole root zones.
Profile and plan templates guide you through the steps needed to create a customized discovery profile and create zones plan for your organization. Your customized profiles and plans are saved in the Plan Management section. You can use and reuse the plans to manage assets and to create zones.
See Related Articles and Resources for links to related information and articles about different zone configurations, including choosing the type of storage library, complex network configurations, and server pools that enable you to migrate zones between pools.
Before creating zones, you must determine where to store the zone's data and metadata.
When you create a zone, you assign it to one of the storage libraries associated with its virtual host:
Zone data: The zone's data that results from its operations. You can store zone data in a local library, iSCSI or SAN storage library. For zone migration, store the zone data in a iSCSI or SAN storage library.
Zone metadata: The zone's metadata is the configuration of the zone's operating system, CPU, memory, and network. The storage library must have sufficient space to accommodate the metadata. You can store metadata in a local library or in a NAS library. For zone migration, store the metadata in a NAS storage library.
You need the following to create an Oracle Solaris 10 zone:
Discover and manage an Oracle Solaris 10 operating system.
Prepare a global zone.
For local storage, nothing is required. The filesystem is always implemented as a ZFS filesystem.
To use zone migration, store the zone data in an iSCSI or SAN storage library and the zone metadata in a NAS storage library.
You will need a network that is associated with the global zone and that is available for the zone. This example uses the default network that is created when you add the operating system.
Available IP address
When you use Shared IP mode, the global zone is sharing its IP link with the zone.
A password or SSH key to log in to the zone. This example uses a user name and password.
Appropriate roles and permissions
You need the following Oracle Enterprise Manager Ops Center roles:
Asset admin: Discover and manage virtualization hosts.
Profile and plan admin: Create and manage zone profiles and plans.
Virtualization admin: Create and manage zones.
In this example, you are creating a zone that has a shared IP mode network configuration. The storage library is the local filesystem. Each zone has a default local filesystem storage library named
/guests where data and metadata for the host's guests are stored.
Configure the following:
Install Oracle Solaris 10 operating system. This example uses Oracle Solaris 10 10/09.
At least 5 GB File system and at least 6 GB virtual disk for Zone storage.
Local storage for the zone metadata. This example uses the local library.
The following tasks in this example:
Use a Discovery profile to add an asset to the Oracle Enterprise Manager Ops Center UI. The following task shows you how to create and run a new Discovery profile to add an Oracle Solaris 10 operating system to the UI.
Expand Plan Management, scroll down to Profiles and Policies, then click Discovery.
Click Create Profile in the Actions pane.
Enter a name for the discovery profile, and select Solaris/Linux OS as the type of asset to be discovered. Click Next.
Click Next to skip adding tags.
Do not specify IP addresses at this time. Click Next.
Define the discovery credentials and management option.
To use previously defined credentials, click Select and choose from the list
To create a new set of credentials, click New to launch a pop-up wizard.
For new credentials, enter a name and description that identifies the credential. Enter the root user name and password for the system, then click OK to return to the Discovery Credentials page.
In the Management section of the Discovery Credentials page, select Deploy Agent Controller to install Agent Controller on the asset.
Click Finish to create the Discovery profile. The new profile appears in the center pane.
Double-click the new Discovery profile, then click Add Assets in the Action pane.
Enter the host name or IP address, then click Add Now.
A job is launched to discover and manage the asset.
A zone profile defines the zone configuration details and creates a deployment plan that you can use to deploy the profile to create a zone. You can reuse the plan to create additional identical zones, or you can use it to create new plans. You can edit the zone configuration details at any time.
Expand Plan Management, scroll down to the Profiles and Policies section, then select Oracle Solaris Zone.
Click Create Profile in the Actions pane.
Enter a name and description for the profile, then select Oracle Solaris 10 from the Subtype list.
To identify the zones that are created with this profile, add a zone prefix name and a number to start the series. Do not add any tags for the zone.
Each zone created uses the prefix name appended with a sequential number. For example, if the prefix name is Myzone and the number to start from is 1, the zone names are Myzone1, Myzone2, and Myzone3.
Select Native, Whole Root Zone, then click Next.
Select the Shared CPU model and define one CPU share. Set the memory thresholds and verify that the locked memory threshold value is less than or equal to the physical memory threshold.
The zone uses the default root file system, which is the zone path. Do not define additional file systems. Click Next.
In this example the zone uses the local library. Edit the required disk size, as needed. Click Next.
Add the network that you want to connect to the zone and the number of connections. The network is not bound until you execute the plan.
Define the language, time zone, terminal-type, and root password for the zone.
Accept the default value,
dynamic, for the NFSv4 Domain Name.
Provide the root password.
Set the boot properties for the new zone. You can set the zone to boot after it is created or whenever the global zone boots.
Select the option to Deploy the agent for management.
Select a Name Service or select None, then click Next.
Click Finish to create the zone profile and associated deployment plan.
The zone profile and the corresponding deployment plan appear in the list of Oracle Solaris Zone Profiles and Oracle Solaris Zone Plans.
Use the plan that you created in Create an Oracle Solaris 10 Whole Root Zone Profile and Plan to create a zone, and then view the new zone in the UI.
Expand Plan Management, expand Deployment Plans, then select the Oracle Solaris Zone plan that you created in the previous section.
Click Apply Deployment Plan.
Select the target from the list of Available Items, then click Add to Target List.
Specify the Zone Identity. The fields are populated with the information from the profile.
Select local storage as the library to save the zone metadata. Click Next.
Select the shared zone IP stack. In Networks, select a network and IP range, then click Next.
The Network Resource Assignments page shows the shared network and IP address.
Host name: You can change the zone's host name to be different from the zone name, which might be useful when you are using a naming server.
Network Connections: You can add, modify, or delete network connections. For example, you can have Network1 and Network2. When you create two zones you can connect Myzone1 to Network1 and Network 2 and connect Myzone2 to Network1 and remove Network2.
IP address: The IP address for a set of zones appears in a range. You can enter the IP addresses in a comma delimited list.
Schedule when you want the job to run. For this example, click Now.
Click Apply to run the job.
When the job finishes successfully, the new zone appears in the Asset tree. Click the asset to see the dashboard.
After creating a zone, you can perform various operations, such as boot, reboot, shut down, and halt on the zone. You can use the plan to create additional zones. The Analytics feature enables you to manage zone performance. You can view the CPU and memory utilization for each zone, and an historical view of the top consumers.
The Oracle Enterprise Manager Ops Center 12c Release 2 documentation is available at http://docs.oracle.com/cd/E40871_01/index.htm.
The Oracle Enterprise Manager Ops Center Feature Reference Guide has information about asset management, Oracle Solaris 11 Software Update library, storage, networks, zones, and server pools.
The Oracle Enterprise Manager Ops Center Administration Guide has information about user roles and permissions.
For end-to-end examples, see the workflows and how to documentation in the Deploy How To library at http://docs.oracle.com/cd/E40871_01/nav/deployhowto.htm and the Operate How To library at http://docs.oracle.com/cd/E40871_01/nav/operatehowto.htm.
For in-depth information about zones, see the Oracle Solaris Zones documentation at http://docs.oracle.com/cd/E23824_01/html/821-1460/index.html.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at
Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.
Oracle Enterprise Manager Ops Center Creating Oracle Solaris 10 Zones, 12c Release 2 (126.96.36.199.0)
Copyright © 2007, 2014, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.