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.