This chapter describes how to use the N1 SPS SAP plug-in and the N1 Advanced Architecture web console to create and manage Solaris 10 zones in your SAP environment. This chapter explains the following topics.
The Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release provides support for the creation and management of Solaris 10 non-global zones in your SAP environment. The SAP plug-in now provides two different methods for modelling and managing Solaris 10 non-global zones.
Zone Hosts - With the SAP plug-in, you can create Solaris non-global zones on Solaris 10 hosts in your SAP environment. With zone hosts, you can perform the following tasks.
Create a non-global zone on a Solaris 10 host
Deploy SAP resources into a non-global zone
Manage these resource with the SAP plug-in
Start or stop a non-global zone
Import existing non-global zones into your N1 SPS environment
Zone Resources - You can also capture a non-global zone as a zone resource, enabling you to perform the following tasks.
Import an existing non-global zone on a Solaris 10 host into your N1 SPS environment
Install a non-global zone on a target host
Provision a non-global zone on a zone host
Import existing non-global zones
Start or stop a non-global zone
Manage the non-global zone as a resource in the N1 Advanced Architecture for SAP Solutions graphical user interface
Starting with the Solaris 10 11/06 release, move non-global zones from one system to another
Working with the Solaris 10 zones support in the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release is a multi-step process.
Install the Solaris 10 OS on the target hosts on which you want to manage Solaris 10 zones.
If you want to move your zones resources between systems, the systems must support the zone attach and detach features. Starting with the Solaris 10 11/06 release, these features are supported.
Install the N1 SPS remote agent software on the systems that you want to provision and manage zones.
For more information, see Sun N1 Service Provisioning System 5.2 Installation Guide.
Plan your Solaris 10 zones support environment.
For more information, see Planning Your Configuration to Support Solaris Zones.
Create your Solaris 10 non-global zones.
If you want to manage your non-global zones as physical hosts, create zone hosts. For more information, see Creating Zone Hosts.
If you want to manage your non-global zones as SAP resources, create zone resources. For more information, see Creating Zone Resources in the N1 Service Provisioning System.
Manage your Solaris 10 non-global zones in N1 Service Provisioning System or the N1 Advanced Architecture browser user interface.
For more information, see the appropriate section.
To create and manage non-global zones in your SAP environment, the Solaris 10 OS, or compatible version, must be installed on the systems that you want to manage.
If you want to move non-global zones between systems in your SAP environment, your systems must be running a Solaris release that supports the zone attach and detach features. Starting with the Solaris 10 11/06 release, the zone attach and detach features are supported.
For more information, see System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.
You must also import the SAP plug-in version 1.3 into your N1 SPS environment. For more information, see Chapter 2, Installing and Configuring the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 Release.
With the N1 SPS SAP plug-in version 1.3, you can manage Solaris 10 non-global zones as either zone hosts or zone resources. Use the following matrix to help you decide on which approach to take.
Task |
Supported by Zone Hosts |
Supported by Zone Resources |
---|---|---|
Creating non-global zones |
Yes |
Yes |
Importing existing non-global zones into N1 Service Provisioning System |
Yes |
Yes |
Deploying SAP resources on a non-global zone |
Yes |
No |
Deploying non-global zones with other SAP resources on a global zone |
No |
Yes |
Managing applications running in a non-global zone |
Yes |
No |
Starting and stopping a non-global zone |
Yes |
Yes |
Viewing online and offline status of a non-global zone |
No |
Yes |
Moving a non-global zone between systems in N1 Advanced Architecture |
No |
Yes |
Before you can create a non-global zone in your N1 SPS environment, the name of the non-global zone must be a resolvable name, paired with an IP address, on both the N1 SPS master server and the target host onto which you plan to deploy the non-global zone. You can specify the non-global zone name and IP address in the following locations.
LDAP server
NIS name service
NIS+ name service
DNS name server
/etc/hosts file
For more information, see System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP) and System Administration Guide: Naming and Directory Services (NIS+).
The SAP plug-in version 1.3 enables you to create and manage Solaris non-global zones as zone hosts in your SAP environment. When you create a Solaris zone host, you essentially create a physical host onto which you can deploy SAP services.
This section explains the following topics.
To create a zone host, perform the following tasks.
Create a physical host record for the global zone host in N1 Service Provisioning System.
For more information, see How to Create a Global Zone Host Record.
(Optional) Create an SAP Logical Host component or Storage component for the global zone host.
Based on your business needs, you can create a Logical Host or High Availability Storage component for the global zone. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
When you create the Logical Host or Storage component for the global zone host, you must change the value for the globalZoneHostName variable to an empty string, or the component creation fails. For a non-global zone, you must not change the default value of the globalZoneHostName.
Create the Container component variables for the zone host.
For more information see How to Create Container Component Variables for a Zone Host.
Create the zone host.
You can create a zone host in the N1 SPS browser user interface or the N1 AA web console. For more information, see the appropriate procedure.
This procedure describes how to create a new global zone host record. You can also edit an existing host and assign the host the com.sun.sap#global_zone host type.
In the N1 SPS browser user interface, go to the Hosts page.
In the Host text box, type a name for the new host.
In the Host Type drop down menu, select the com.sun.sap#global_zone host type.
In the Description text box, type a brief description of the new host.
Click Create.
The Edit page for the new host is displayed.
Ensure that the host name, description, and host type display properly.
Indicate that you are creating a physical host by selecting Physical Host.
If necessary, change the host type attribute values for the target host.
Verify that the local_zone_connection_type, local_zone_port, and local_zone_advanced_params attributes match the settings for the remote agent on the target host. If you need to change these values, select the check box next to the attribute value, then type in the new value in the text field.
Select the check box next to Include Remote Agent on This Physical Host.
Configure the connection type, network address, and parent information for this host.
For information on configuring SSL and SSH network connections, see Sun N1 Service Provisioning System 5.2 Installation Guide.
(Optional) To add this host to a host set, click Add to Host Sets in the Host Relationships area of the page.
In the window that appears, select the host set to which you want to add the host. For more information on host sets, see About Host Sets in Sun N1 Service Provisioning System 5.2 System Administration Guide.
To hide the host, select Hidden at the bottom of the page.
Verify that the check box beside the Update or Prepare Host With Most Recent System Updates or Services option is checked.
Click Save.
Repeat the previous procedure for each zone host you want to create.
After you create the global zone host records, you must create container component variables to install and configure the zone host on your target host. For more information, see How to Create Container Component Variables for a Zone Host.
Based on your business needs, you can create a Logical Host or High Availability Storage component for the global zone. If you create the Logical Host or Storage component for the global zone host, you must change the value for the globalZoneHostName variable to an empty string, or the component creation fails. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
If you want to provision SAP resources in this global zone, you must change the host type of this global zone from com.sun.sap#global_zone to com.sun.sap#SAPHT. For more information about how to modify host types in N1 Service Provisioning System, see About Hosts in Sun N1 Service Provisioning System 5.2 System Administration Guide.
After you create a Zone Host record, you must create the container component variables to install and configure the zone host on your target host. Follow these steps.
From the N1 SPS Common Tasks page, click Create New Component.
The Components page is displayed.
If necessary, change to the /com/sun/sap/components folder.
In the Component table, click the Details link in the Actions column for the Container component.
The Components > Details page is displayed.
Scroll to the bottom of the page and click the Variable Settings button.
The Components > Details > Variable Settings page is displayed.
Click the Create Set link at the bottom of the Create and Edit Variable Settings table.
A new variable set column is displayed in the Create and Edit Variable Settings table.
Type the name of the container component variable set in the Set Name text field.
Note the name of this variable set. The variable set name is required to create the zone host.
Edit the variable settings by selecting the check box for each variable that you want to modify, then typing the value in the text field.
Do not specify values for the local_zone_pool or the installPath variables. You specify these values when you create the zone host, as described in How to Create Non-Global Zone as a Physical Host in the N1 Service Provisioning System.
Required. Specifies the boot path to the non-global zone file system.
Required. Setting this variable value to TRUE specifies that the non-global zone should be booted during system boot. Setting this variable to FALSE specifies that the non-global zone should not be booted at system boot. Default is FALSE.
Specifies the resource pool to which this non-global zone is assigned.
Do not specify a value for this variable. If necessary, manually delete any value for this variable.
Required. Specifies the type of file system for the non-global zone.
Specifies the type of connection for the non-global zone. Valid values are raw, ssh, and ssl. Ensure that this value matches the value for the remote agent on the non-global zone.
Specifies the port on which the non-global zone will listen. Ensure that this value matches the value for the remote agent on the non-global zone.
Specifies any advanced parameters for the non-global zone. Ensure that this value matches the value for the remote agent on the non-global zone.
Specifies the name of the host on which the N1 SPS command line interface (CLI) is installed.
Specifies the path to the N1 SPS CLI on the target host.
Do not specify a value for this variable. If necessary, manually delete any value for this variable.
Specifies the network interface information for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: hme0,192.168.2.5/6#eri0,192.167.2.4/5
Specifies the file systems in the global zone to mount in the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: dir=/usr/local special=/opt/local raw=/dev/rdsk/c0t0d0s7 type=lofs [ro,nodevices]#dir=/opt/mydir special=empty type=lofs ro
Specifies the global zone directories to inherit on the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
You must set the local_zone_filesystem variable to SPARSE to use this variable.
Example: /opt/sfw#/var/tmp
Specifies the device file systems for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: /dev/sound#/dev/cdrom
Specifies the name value pairs for the resource controls to use with this non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: zone.cpu-shares:priv=priveleged,limit=20,action=none#zone.max-lwps:priv=priveleged,limit=500,action=deny
Specifies the attributes for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: audio:boolean:true#group:string:zoneUser
For information about the zone information to include for each variable, see the zoneadm(1M) and zonecfg(1M) man pages.
Click the Save button.
The Components > Details > Variable Settings page is displayed, with your new variable set included in the table.
After you create the container component variables, you can create the zone host on a target host. For more information, see the appropriate procedure.
How to Create Non-Global Zone as a Physical Host in the N1 Service Provisioning System
How to Import a Non-Global Zone as a Physical Host in the N1 Service Provisioning System
How to Create Non-Global Zone as a Physical Host in the N1 Advanced Architecture
Before you can create a non-global zone host, you must first create a global zone host record and a container component variable set for the com/sun/sap/components/Container component. For more information, see the following procedures.
In the Common Tasks section in the N1 SPS browser interface, click SAP.
Click the Solaris Non-Global Zone as a Physical Host: Create link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host that you want to set up as the non-global zone host.
You can select an individual host, or all the members of a host set.
Specify the plan variables for your zone host creation.
In the Name of the Container component variable setting field, specify the container component variable set you created in How to Create Container Component Variables for a Zone Host.
In the Name of the local Zone field, specify a name for the non-global zone that you want to create.
In the Name of the pool field, specify the resource pool that you want to associate with the zone host.
Click Run Plan (Includes Preflight).
The plan performs the following tasks on the physical host.
Creates a non-global zone on the host of the host type com.sun.sap#SAPHT.
Installs the N1 SPS Remote Agent software in the non-global zone.
Starts the non-global zone.
Checks the status of the non-global zone.
Stops the non-global zone.
After you create the non-global zone, you must start the non-global zone to bring the non-global zone online. For more information, see How to Start a Non-Global Zone on a Physical Host.
Based on your business needs, you can create a Logical Host or High Availability Storage component for the non-global zone. When you create the Logical Host or High Availability Storage component, you must not change the default value of the globalZoneHostName. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
After you create the Logical Host or Storage component for this non-global zone, you can provision SAP resources into this non-global zone. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
If the N1 Service Provisioning System reports that the zone host creation plan failed, check the operating system to verify that the non-global zone was not indeed created. If the non-global zone is installed and configured on the target host, delete the non-global zone with the zonecfg delete command, then recreate the zone host in SPS. For more information, see the zonecfg(1M) man page.
In the Common Tasks section in the N1 SPS browser interface, click SAP.
Click the Solaris Non-Global Zone as a Physical Host: Attach link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, click the Select From List link in the Variable Settings column.
The Select Variable Settings From List window is displayed.
Click the Create Set link at the bottom of the Select a Variable Setting table.
A new variable set column is displayed in the Select a Variable Setting table.
Type the name of the container component variable set in the Set Name text field.
Edit the variable settings by selecting the check box for each variable that you want to modify, then typing the value in the text field.
Be sure to specify the name of the non-global zone that you want to import for the installPath variable.
Required. Specifies the boot path to the non-global zone file system.
Required. Setting this variable value to TRUE specifies that the non-global zone should be booted during system boot. Setting this variable to FALSE specifies that the non-global zone should not be booted at system boot. Default is FALSE.
Specifies the resource pool to which this non-global zone is assigned.
Required. Specifies the name of the non-global zone that you want to import.
Required. Specifies the type of file system for the non-global zone.
Required. Specifies the name of the global host on which the non-global zone is installed.
Specifies the network interface information for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: hme0,192.168.2.5/6#eri0,192.167.2.4/5
Specifies the file systems in the global zone to mount in the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: dir=/usr/local special=/opt/local raw=/dev/rdsk/c0t0d0s7 type=lofs [ro,nodevices]#dir=/opt/mydir special=empty type=lofs ro
Specifies the global zone directories to inherit on the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
You must set the local_zone_filesystem variable to SPARSE to use this variable.
Example: /opt/sfw#/var/tmp
Specifies the device file systems for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: /dev/sound#/dev/cdrom
Specifies the name value pairs for the resource controls to use with this non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: zone.cpu-shares:priv=priveleged,limit=20,action=none#zone.max-lwps:priv=priveleged,limit=500,action=deny
Specifies the attributes for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: audio:boolean:true#group:string:zoneUser
For information about the zone information to include for each variable, see the zoneadm(1M) and zonecfg(1M) man pages.
Click the Save button.
The Select Variable Settings From List window is displayed, with your new variable set included in the table.
Click the Select button at the bottom of the column for the variable set you created.
The Plan > Details > Run page is displayed.
Specify the target host from which you want to import the non-global zone.
In the Plan Variables section, specify the install path of the non-global zone that you want to import.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is imported into your N1 SPS environment from the target host. You can now manage the non-global zone as a zone host with the SAP plug-in.
Based on your business needs, you can create a Logical Host or High Availability Storage component for the non-global zone. When you create the Logical Host or High Availability Storage component, you must not change the default value of the globalZoneHostName. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
After you create the Logical Host or Storage component for this non-global zone, you can provision SAP resources into this non-global zone. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
This procedure describes how to create a zone host in the N1 AA web console.
Before you can create a non-global zone host, you must perform the following tasks.
Create a zone host record in N1 Service Provisioning System.
For more information, see How to Create a Global Zone Host Record.
Create the container component variables for you non-global zones.
For more information, see How to Create Container Component Variables for a Zone Host.
Create the server group and physical host entries in the N1 Advanced Architecture for the systems on which you want to install zone hosts.
For more information, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 User’s Guide.
In the N1 AA web console, click the SunTM N1 Advanced Architecture for SAP Solutions link in the Systems section.
The Sun N1 Advanced Architecture for SAP Solutions page is displayed.
In the left pane, click the arrow for the appropriate server group.
Click the arrow for the Builder entry for the server group.
Click the Zone Provisioning link.
The N1AA Builder - Zone Provisioning page is displayed.
In the Zone name field, type the name of the non-global zone host that you want to create.
From the Global Zone Host drop-down menu, select the global zone on which you want to create a non-global zone host.
From the Zone Parameters drop-down menu, select the name of the container component variable set that you created in How to Create Container Component Variables for a Zone Host.
In the Zone Pool field, type the name of the resource pool that you want to associate with the non-global zone host.
To include multiple resource pools, type the pool names, separated by the pound sign (#). For more information about using resource pools with non-global zones, see the zonecfg(1M) man page.
Click the Create Zone button.
The plan performs the following tasks on the global zone host.
Creates a non-global zone on the host of the host type com.sun.sap#SAPHT.
Installs the N1 SPS Remote Agent software in the non-global zone.
Starts the non-global zone.
Adds the newly created non-global zone host record to the list of N1AA Physical Hosts.
This new physical host is defined as a non-global zone host and as a non OS Provisionable host.
Checks the status of the non-global zone.
Stops the non-global zone.
After you create the non-global zone host, perform the following tasks.
Start the non-global zone to bring the non-global zone online. For more information, see How to Start a Non-Global Zone on a Physical Host.
Based on your business needs, you can create a Logical Host or High Availability Storage component for the non-global zone. When you create the Logical Host or High Availability Storage component, you must not change the default value of the globalZoneHostName. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
After you create the Logical Host or Storage component for this non-global zone, you can provision SAP resources into this non-global zone. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
If the N1 AA web console reports that the zone host creation plan failed, check the operating system to verify that the non-global zone was not indeed created. If the non-global zone is installed and configured on the target host, delete the non-global zone with the zonecfg delete command, then recreate the zone host in SPS. For more information, see the zonecfg(1M) man page.
This procedure describes how to create a zone host with the N1 AA command line interface (CLI). The N1 Advanced Architecture 5.2 Update 2 release includes two new commands for creating non-global zone hosts.
n1aa_exec deployment.ListSPSHosts
This command lists all the N1 SPS hosts of a specified host type. This command requires the following syntax.
# n1aa_exec deployment.ListSPSHosts host-type |
where host-type specifies an N1 SPS host type, for example, com.sun.sap#global_zone.
n1aa_exec deployment.CreateZoneHost
This command creates a new non-global zone host. This command requires the following syntax.
# n1aa_exec deployment.CreateZoneHost servergroup=server-group-ID globalzonename=global-zone-name localzonename=local-zone-name zonepool=zone-pool zoneparamsetname=zone-param-set-name |
For more information about the arguments and syntax for the n1aa_exec deployment.CreateZoneHost command, see the following procedure.
Before you can create a non-global zone host, you must perform the following tasks.
Create a zone host record in the N1 Service Provisioning System.
For more information, see How to Create a Global Zone Host Record.
Create the container component variables for you non-global zones.
For more information, see How to Create Container Component Variables for a Zone Host.
Create the server group and physical host entries in the N1 Advanced Architecture for the systems on which you want to install zone hosts.
For more information, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 User’s Guide.
Check the identifier of the server group on which you want to create a zone host.
# ./n1aa_exec GetServerGroups |
The output of the previous command lists the unique IDs and names of the server groups in your N1 AA environment.
Check the names of the global zone hosts in your N1 SPS environment.
# ./n1aa_exec deployment.ListSPSHosts com.sun.sap#global_zone |
The output of the previous command lists the names of all the global zone hosts in your N1 SPS environment.
Create the non-global zone host.
# ./n1aa_exec deployment.CreateZoneHost servergroup=server-group-ID globalzonename=global-zone-name localzonename=local-zone-name zonepool=zone-pool zoneparamsetname=zone-param-set-name |
Specifies the server group ID that you identified in Step 1.
Specifies the name of the global zone that you identified in Step 2.
Specifies the name of the non-global zone host that you want to create.
Specifies the name of the resource pool that you want to associate with the non-global zone host.
Specifies the name of the container component variable set that you created in How to Create Container Component Variables for a Zone Host.
The plan performs the following tasks on the global zone host.
Creates a non-global zone on the host of the host type com.sun.sap#SAPHT.
Installs the N1 SPS Remote Agent software in the non-global zone.
Starts the non-global zone.
Adds the newly created non-global zone host record to the list of N1AA Physical Hosts.
This new physical host is defined as a non-global zone host and as a non OS Provisionable host.
Checks the status of the non-global zone.
Stops the non-global zone.
After you create the non-global zone host, perform the following tasks.
Start the non-global zone to bring the non-global zone online. For more information, see How to Start a Non-Global Zone on a Physical Host.
Based on your business needs, you can create a Logical Host or High Availability Storage component for the non-global zone. When you create the Logical Host or High Availability Storage component, you must not change the default value of the globalZoneHostName. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
After you create the Logical Host or Storage component for this non-global zone, you can provision SAP resources into this non-global zone. For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
If the N1 AA CLI reports that the zone host creation plan failed, check the operating system to verify that the non-global zone was not indeed created. If the non-global zone is installed and configured on the target host, delete the non-global zone with the zonecfg delete command, then recreate the zone host in SPS. For more information, see the zonecfg(1M) man page.
After you create zone hosts, you can perform the following management tasks through the N1 Service Provisioning System.
View information about the zone hosts in your environment.
For more information, see Viewing Zone Host Information in the N1 Advanced Architecture.
Start a non-global zone.
For more information, see How to Start a Non-Global Zone on a Physical Host.
Stop a non-global zone.
For more information, see How to Stop a Non-Global Zone on a Physical Host.
Delete a non-global zone from a physical host.
For more information, see How to Delete a Non-Global Zone From a Physical Host in the N1 Service Provisioning System or How to Delete a Non-Global Zone in the N1 Advanced Architecture.
Delete a non-global zone from your N1 SPS environment without deleting the non-global zone from the physical host.
For more information, see How to Delete a Non-Global Zone From the N1 SPS Environment.
The Physical Hosts table in the N1 AA – Customizing page now includes information about the presence of non-global zones on the physical hosts in your environment. The table now includes a Local Zone column that indicates if a non-global zone is installed on the physical host.
You can access the Physical Hosts table by clicking on the Administration arrow in the left panel of the N1 AA web console, then clicking on the Customizing link.
For more information, see Physical Hosts in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 User’s Guide.
To start a zone host, you need to know the install path of the non-global zone host that you want to start. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Physical Host section of the SAP plug-in page.
In the Common Tasks section in the N1 SPS browser interface, click SAP.
Click the Solaris Non-Global Zone as a Physical Host: Start link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host on which you want to start the non-global zone.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to start.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is started on the target host.
To stop a zone host, you need to know the install path of the non-global zone host that you want to stop. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Physical Host section of the SAP plug-in page.
In the Common Tasks section in the N1 SPS browser interface, click SAP.
Click the Solaris Non-Global Zone as a Physical Host: Stop link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host on which you want to stop the non-global zone.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to stop.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is halted on the target host.
To delete a zone host, you need to know the install path of the non-global zone host that you want to delete. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Physical Host section of the SAP plug-in page.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Physical Host: Delete link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host on which you want to delete the non-global zone.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to delete.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
To completely delete the non-global zone from the operating system, you must delete the non-global zone with the zonecfg delete command. For more information, see the zonecfg(1M) man page.
If you are using the N1 Advanced Architecture to manage your zone hosts, you must manually delete the zone host from your N1 AA environment after you delete the zone host in N1 SPS. For more information, see How to Delete a Non-Global Zone in the N1 Advanced Architecture.
This procedure explains how to delete a non-global zone host from your N1 AA environment.
This procedure does not delete a non-global zone from the N1 Service Provisioning System or the operating system.
In the N1 AA web console, click the Sun N1 Advanced Architecture for SAP Solutions link in the Systems section.
The Sun N1 Advanced Architecture for SAP Solutions page is displayed.
In the left navigation pane, click the arrow next to the Administration section.
The Administration section is expanded.
Click the Customizing link.
The N1AA - Customizing page is displayed.
Click the Physical Hosts link the top of the N1AA - Customizing page.
Click the radio button for the physical host entry on which you want to delete the non-global zone.
Click the Delete button.
If prompted, confirm the deletion by clicking the OK button in the confirmation pop-up window.
The non-global zone host is removed from the Physical Hosts table. The non-global zone host is not deleted from the N1 Service Provisioning System, and it is not deleted from the operating system.
If you want to delete the non-global zone host from the N1 Service Provisioning System, but leave the non-global zone intact on the operating system, see How to Delete a Non-Global Zone From the N1 SPS Environment.
If you want to delete the non-global zone host from both the N1 Service Provisioning System and the operating system, see How to Delete a Non-Global Zone From a Physical Host in the N1 Service Provisioning System.
You can use the SAP plug-in to remove a non-global zone from your N1 SPS environment, without affecting the status of the non-global zone on the physical host. Follow these steps.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Physical Host: Detach link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
Specify the target host that includes the non-global zone that you want to delete from your N1 SPS environment.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is deleted from your N1 SPS environment. The status on the non-global zone on the physical host is not affected.
You can use the SAP plug-in to model a non-global zone as an N1 SPS resource. With the SAP plug-in and N1 AA web console, you can perform the following tasks.
Create a new non-global zone as an SAP resource
Import an existing non-global zone as an SAP resource
Provision a zone resource on servers in your SAP environment
Manage zone resources in your SAP environment
This section explains the following topics.
To import an existing non-global zone as a zone resource, perform the following tasks.
Create a new physical host record for the zone resource in the N1 Service Provisioning System.
For more information, see How to Create a Global Zone Host Record.
(Optional) Create a new resource group for the non-global zone.
You can create a new resource group for your zone resources, or you can assign your zones resource to an existing resource group. For more information, see Creating and Managing Groups in Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
If you want to move the zone resource between servers in your N1 AA environment, you must group your zone resource with a High Availability Storage component.
Create the zone resource.
For more information, see the appropriate procedure.
When you import an existing non-global zone as a zone resource, you must assign the zone resource to an SAP resource group. If you need to create a new resource group, perform the steps described in Creating and Managing Groups in Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Create link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters table, select the variable settings for the LocalZone component.
If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.
If the variable settings are not available from the drop-down menu, follow these steps.
Click Select From List. The Select Variable Settings From List window displays.
To create a new variable settings set, click Create Set and type a Set Name.
The following list provides commonly updated variables for the LocalZone component. To create a value for the component variable, click the check box in the component variable's row.
For information about component variables ending in UserExit, see User Exits in Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
Required. Specifies the name of the resource group to which the zone resource will be assigned.
In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.
If you want to move your zone resource between systems in your N1 AA environment, the resource group to which you assign the zone resource must meet the following requirements.
The group must contain a High Availability Storage component.
The group must not contain a J2EE application server resource.
A description of the group.
Required. Specifies the name of the non-global zone that you want to import.
Required. Specifies the path to the non-global zone.
Required. Specifies whether this component will be deployed to a default or Sun Cluster environment. Value can be sc or default.
Identifies the installer of the component.
Required. Specifies the boot path to the non-global zone file system.
Required. Setting this variable value to TRUE specifies that the non-global zone should be booted during system boot. Setting this variable to FALSE specifies that the non-global zone should not be booted at system boot. Default is FALSE.
Specifies the resource pool to which this non-global zone is assigned.
Required. Specifies the type of file system for the non-global zone.
Required. Specifies the name of the global zone on which the existing non-global zone is installed.
Specifies the network interface information for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: hme0,192.168.2.5/6#eri0,192.167.2.4/5
Specifies the file systems in the global zone to mount in the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: dir=/usr/local special=/opt/local raw=/dev/rdsk/c0t0d0s7 type=lofs [ro,nodevices]#dir=/opt/mydir special=empty type=lofs ro
Specifies the global zone directories to inherit on the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
You must set the local_zone_filesystem variable to SPARSE to use this variable.
Example: /opt/sfw#/var/tmp
Specifies the device file systems for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: /dev/sound#/dev/cdrom
Specifies the name value pairs for the resource controls to use with this non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: zone.cpu-shares:priv=priveleged,limit=20,action=none#zone.max-lwps:priv=priveleged,limit=500,action=deny
Specifies the attributes for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: audio:boolean:true#group:string:zoneUser
For information about the zone information to include for each variable, see the zoneadm(1M) and zonecfg(1M) man pages.
Click Save.
To use component variables from another component, click Import Set. For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Specify the target host from which you want to import the non-global zone as a zone resource.
Click Run Plan (Includes Preflight).
The plan imports the non-global zone into your N1 SPS environment as a zone resource.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Create (Deploy) link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters table, select the variable settings for the LocalZone component.
If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.
If the variable settings are not available from the drop-down menu, follow these steps.
Click Select From List. The Select Variable Settings From List window displays.
To create a new variable settings set, click Create Set and type a Set Name.
The following list provides commonly updated variables for the LocalZone component. To create a value for the component variable, click the check box in the component variable's row.
For information about component variables ending in UserExit, see User Exits in Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
Required. Specifies the name of the resource group to which the zone resource will be assigned.
In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.
If you want to move your zone resource between systems in your N1 AA environment, the resource group to which you assign the zone resource must meet the following requirements.
The group must contain a High Availability Storage component.
The group must not contain a J2EE application server resource.
A description of the group.
Required. Specifies the name of the non-global zone that you want to create
Required. Specifies the path to the non-global zone.
Required. Specifies whether this component will be deployed to a default or Sun Cluster environment. Value can be sc or default.
Identifies the installer of the component.
Required. Specifies the boot path to the non-global zone file system.
Required. Setting this variable value to TRUE specifies that the non-global zone should be booted during system boot. Setting this variable to FALSE specifies that the non-global zone should not be booted at system boot. Default is FALSE.
Specifies the resource pool to which this non-global zone will be assigned.
Required. Specifies the type of file system for the non-global zone.
Required. Specifies the name of the global zone on which the existing non-global zone will be installed.
Specifies the network interface information for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: hme0,192.168.2.5/6#eri0,192.167.2.4/5
Specifies the file systems in the global zone to mount in the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: dir=/usr/local special=/opt/local raw=/dev/rdsk/c0t0d0s7 type=lofs [ro,nodevices]#dir=/opt/mydir special=empty type=lofs ro
Specifies the global zone directories to inherit on the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
You must set the local_zone_filesystem variable to SPARSE to use this variable.
Example: /opt/sfw#/var/tmp
Specifies the device file systems for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: /dev/sound#/dev/cdrom
Specifies the name value pairs for the resource controls to use with this non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: zone.cpu-shares:priv=priveleged,limit=20,action=none#zone.max-lwps:priv=priveleged,limit=500,action=deny
Specifies the attributes for the non-global zone. Use the pound sign (#) as a delimiter between multiple entries.
Example: audio:boolean:true#group:string:zoneUser
For information about the zone information to include for each variable, see the zoneadm(1M) and zonecfg(1M) man pages.
Click Save.
To use component variables from another component, click Import Set. For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Specify the target host from which you want to import the non-global zone as a zone resource.
Click Run Plan (Includes Preflight).
The plan creates a non-global zone on the target global zone.
After you install non-global zone as a zone resource, you must start the non-global zone to bring the non-global zone online. For more information, see How to Start a Zone Resource in the N1 Service Provisioning System.
After you create zone resources, you can perform the following management tasks.
Set the timeout parameters for zone resource management tasks.
The N1 AA web console supports several new timeout parameters for zone resource management tasks.
For more information, see How to Set Timeout Parameters in the N1 Advanced Architecture.
Start a non-global zone.
For more information, see the appropriate procedure.
Stop a non-global zone.
For more information, see the appropriate procedure.
Delete a non-global zone from a physical host.
For more information, see How to Delete a Zone Resource in the N1 Service Provisioning System.
View the online status of a zone resource.
For more information, see How to View the Online Status of a Zone Resource in the N1 Service Provisioning System.
View the offline status of a zone resource.
For more information, see How to View the Offline Status of a Zone Resource in the N1 Service Provisioning System.
Move the zone resource between systems in your N1 AA environment.
If the Solaris 10 release on your systems supports the Solaris zone attach and detach features, you can move zone resources from one system to another with the N1 AA web console. Starting with the Solaris 10 11/06 release, the Solaris zone attach and detach features are supported.
For more information, see How to Move Zone Resources in the N1 Advanced Architecture.
In the N1 AA web console, you can modify the timeout parameters for the following tasks.
Starting a zone resource
Stopping a zone resource
Checking the online status of a zone resource
Checking the offline status of a zone resource
In the N1 AA web console, click the Sun N1 Advanced Architecture for SAP Solutions link in the Systems section.
The Sun N1 Advanced Architecture for SAP Solutions page is displayed.
In the left pane, click the arrow for the Administration section.
Click the arrow for the Deployer entry.
Click the Customizing link.
The N1AA Deployment - Customizing page is displayed.
If necessary, scroll down the right page to view the Timeout Parameter section.
The various timeout parameters are displayed in a three column table. The new parameters that control zone resource management tasks include the following
This parameter sets the timeout value, in minutes, for starting a zone resource.
This parameter sets the timeout value, in minutes, for stopping a zone resource.
This parameter sets the timeout value, in minutes, for checking the offline status of a zone resource.
This parameter sets the timeout value, in minutes, for checking the online status of a zone resource.
For detailed information about the timeout parameters that are supported in the N1 Advanced Architecture, see Timeout Parameter in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 User’s Guide.
If necessary, click the arrow buttons at the bottom of the Timeout Parameter table to navigate to the parameter that you want to modify.
Click the radio button for the parameter that you want to modify.
Click the Edit button.
The N1AA Deployment - Customizing page refreshes. The parameter and timeout value are displayed in writable text fields at the bottom of the page.
Type the new timeout value in the Value text field.
Click the Save button.
This procedure describes how to start a zone resource in the N1 SPS browser user interface.
To start a zone resource, you need to know the install path of the non-global zone resource that you want to start. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Start link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host on which you want to start the non-global zone.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to start.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is started on the target host.
This procedure describes how to start a zone resource in the N1 AA web console.
To start a zone resource in the N1 AA web console, you need to know the resource group for the zone resource that you want to start. You can view the resource group by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page, then clicking the variable set link for the zone resource.
In the N1 AA web console, click the Sun N1 Advanced Architecture for SAP Solutions link in the Systems section.
The Sun N1 Advanced Architecture for SAP Solutions page is displayed.
In the left pane, click the arrow for the appropriate server group.
Click the arrow for the Deployer entry for the server group.
Click the Resource Groups link.
The N1AA Deployer - Resource Groups page is displayed.
In the Action column of the zone resource group, click the Start link.
The zone resource is started. A secondary window displays the status of the zone resource.
This procedure describes how to start a zone resource in the N1 SPS browser user interface.
To stop a zone resource, you need to know the install path of the non-global zone resource that you want to stop. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Stop link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host on which you want to stop the non-global zone.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to stop.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is halted on the target host.
This procedure describes how to stop a zone resource in the N1 AA web console.
To stop a zone resource in the N1 AA web console, you need to know the resource group for the zone resource that you want to stop. You can view the resource group by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page, then clicking the variable set link for the zone resource.
In the N1 AA web console, click the Sun N1 Advanced Architecture for SAP Solutions link in the Systems section.
The Sun N1 Advanced Architecture for SAP Solutions page is displayed.
In the left pane, click the arrow for the appropriate server group.
Click the arrow for the Deployer entry for the server group.
Click the Resource Groups link.
The N1AA Deployer - Resource Groups page is displayed.
In the Action column of the zone resource group, click the Stop link.
The zone resource is halted. A secondary window displays the status of the zone resource.
This procedure explains how to delete a non-global zone resource from the operating system and from the N1 Service Provisioning System.
If you want to delete a non-global zone resource from the N1 Service Provisioning System, but leave the non-global zone intact on the operating system, perform a markOnly uninstall of the Container component for the non-global zone.
To delete a zone resource, you need to know the install path of the non-global zone resource that you want to delete from the operating system. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page.
Before you delete a non-global zone, you must first stop the zone. For more information, see How to Stop a Zone Resource in the N1 Service Provisioning System.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Delete link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host on which you want to delete the non-global zone.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to delete.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The non-global zone is deleted from the operating system on the target host. The non-global zone host record is also deleted from the N1 Service Provisioning System.
If you are using the N1 Advanced Architecture to manage your zone hosts, you must manually delete the zone resource from your N1 AA environment after you delete the zone resource in the N1 Service Provisioning System. For more information, see How to Delete a Non-Global Zone in the N1 Advanced Architecture.
To view the online status of a zone resource, you need to know the install path of the non-global zone resource that you want to check. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Online Status link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host that you want to check.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to check.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The Deployment Results page is displayed. If the plan fails, error messages are displayed.
For instructions about how to stop an online zone resource, see How to Stop a Zone Resource in the N1 Service Provisioning System.
To view the offline status of a zone resource, you need to know the install path of the non-global zone resource that you want to check. You can view the install path by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page.
In the Common Tasks section in the browser interface, click SAP.
Click the Solaris Non-Global Zone as a Resource: Offline Status link.
The Plan Details page is displayed.
Click Run.
The Plan Details Run page is displayed.
In the Plan Parameters section of the page, specify the target host that you want to check.
You can select an individual host, or all the members of a host set.
In the Plan Variables section, specify the install path of the non-global zone that you want to check.
If necessary, modify the values in the Limits section.
Click Run Plan (Includes Preflight).
The Deployment Results page is displayed. If the plan fails, error messages are displayed.
For instructions about how to start an offline zone resource, see How to Start a Zone Resource in the N1 Service Provisioning System.
This procedure describes how to move a zone resource in the N1 AA web console.
To move a zone resource, you need to know the resource group for the zone resource that you want to relocate. You can view the resource group by clicking the View All link in the Solaris Non-Global Zone as a Resource section of the SAP plug-in page, then clicking the variable set link for the zone resource.
To successfully move a zone resource to another system, your environment must meet the following requirements.
The systems involved in the move must be running a Solaris release that supports the Solaris zone attach and detach features. Starting with the Solaris 10 11/06 release, the Solaris zone attach and detach features are supported.
The systems involved in the move must have compatible file systems, as defined in the zoneadm(1M) man page.
The systems involved in the move must have the same set of packages and patches installed.
For more information, see System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.
The resource group that includes the zone resource must include a High Availability Storage component.
The High Availability Storage component path must include the zone-specific root path. This path must not terminate at a level above the zone-specific root, or the move will fail. For example, if you are trying to move a zone resource named myzone located in /share/zones, specify the path /share/zones/myzone in the High Availabilty Storage component.
For more information, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0
The resource group that includes the zone resource must not include a J2EE application server resource.
In the N1 AA web console, click the Sun N1 Advanced Architecture for SAP Solutions link in the Systems section.
The Sun N1 Advanced Architecture for SAP Solutions page is displayed.
In the left pane, click the arrow for the appropriate server group.
Click the arrow for the Deployer entry for the server group.
Click the Resource Groups link.
The N1AA Deployer - Resource Groups page is displayed.
Click the radio button for the resource group that you want to move.
In the Action column of the zone resource group, click the Move link.
Specify the physical host name of the target host to which you want to move the zone resource.
The following tasks are performed for the zone resource move.
The High Availability Storage device is unmounted from the first host.
The non-global zone is detached from the first host.
The High Availability Storage device is created and mounted on the target host.
The non-global zone is attached on the target host.
If the move of the non-global zone fails, verify that the following conditions are true.
Both systems involved in the move are running a Solaris release that supports the zone attach and detach features. Starting in the Solaris 10 11/06 release, the zone attach and detach features are supported.
Both systems involved in the move have compatible file systems, as defined in the zoneadm(1M) man page.
Both systems involved in the move have the same set of packages and patches installed.
The resource group that includes the zone resource that you want to move includes a High Availability Storage component.
The resource group that includes the zone resource that you want to move does not include a J2EE application server resource.