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.