The procedures in this section describe the registration and configuration of the following components of the SAP NetWeaver by using Oracle Solaris Cluster CLI.
Register and configure the SAP central services resources. The SAP central services consist of the following components:
SAP sapstartsrv
SAP central services
SAP replicated enqueue server
SAP replicated enqueue preempter
SAP application server instance
Register and configure resources for the SAP NetWeaver primary application instance.
Register and configure the SAP NetWeaver additional application server instance.
The SAP NetWeaver sapstartsrv resource must be configured in the same resource group with each and every other SAP NetWeaver instance resource. These instance resources must depend on their sapstartsrv resource.
The sapstartsrv resource is to configured to depend on its storage resource. This dependency ensures that the sapstartsrv resource does not attempt to start until its associated storage resource is online.
# clresourcetype register ORCL.sapstartsrv
Specifies that a new resource type is to be added.
Specifies the name of the resource type to be added. This name is predefined for SAP sapstartsrv.
# clresource create -d-g central-rg \ -t ORCL.sapstartsrv \ -p Sid=system-id \ -p Sap_user=sidadm \ -p Instance_number=instance_number \ -p Instance_name=instance_name \ -p Child_mon_level=5 \ -p HOST=ip-alias \ -p Timeout_return=return_code \ -p Resource_dependencies=logical_host_resource \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE \ sapstartsrv-rs
# clresource create -d-g central-rg \ -t ORCL.sapstartsrv \ -p Sid=system-id \ -p Sap_user=sidadm \ -p Instance_number{node1}=instance_number_1 \ -p Instance_number{node2}=instance_number_2 \ -p Instance_name{node1}=instance_name 1 \ -p Instance_name{node2}=instance_name 2 \ -p Timeout_return=return_code \ -p Child_mon_level=5 \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE \ sapstartsrv-rs
If you configure it for either the primary application server or additional application server resources, then use the following parameter:
-p Child_mon_level=6 \
Specifies the resource group to which the resource is to be added. The resource group is confirmed as a failover resource group.
Specifies that the resource is an instance of the ORCL.sapstartsrv resource type.
Specifies the SAP system identifier.
Specifies the administrator user for the SAP installation.
Specifies the SAP instance number of the instance to be controlled.
Specifies the name of the SAP instance to be controlled.
Specifies the IP alias on which the instance is configured.
Specifies the return code on which the resource probe exits by 80% of the probe timeout.
Specifies dependency to the logical host to make sure that a SAP NetWeaver failover resource can rely on the public IP address.
Specifies the list of offline restart dependencies.
Specifies the process tree depth to be monitored by process monitor facility (PMF).
Specifies the resource name of the sapstartsrv resource.
Refer to ORCL.sapstartsrv Extension Properties.
# clresource enable sapstartsrv-rs
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.
The SAP NetWeaver central service resource must be configured in the same resource group with its sapstartsrv resource. It must depend on this sapstartsrv resource.
The central service resource is configured to depend on its storage resource and on the logical host resource. These dependencies ensures that the central service resource does not attempt to start until its associated resources are online.
# clresourcetype register ORCL.sapcentr
Specifies that a new resource type is to be added.
Specifies the name of the resource type to be added. This name is predefined for the SAP central services.
For information, see How to Register and Configure an SAP NetWeaver sapstartsrv Resource.
# clresource create -d-g central-rg \ -t ORCL.sapcentr \ -p Sid=system-id \ -p Sap_user=sidadm \ -p Instance_number=instance_number \ -p Instance_name=instance_name \ -p HOST=ip-alias \ -p Yellow=return_code \ -p Retry_count=0 \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE} \ -p Resource_dependencies=scs-startsrv-rs \ scs-rs
Specifies the resource group to which the resource is to be added. The resource group is confirmed as a failover resource group.
Specifies that the resource is an instance of the ORCL.sapcentr resource type.
Specifies the SAP system identifier.
Specifies the administrator user for the SAP installation.
Specifies the SAP instance number of the instance to be controlled.
Specifies the name of the SAP instance to be controlled.
Specifies the IP alias on which the instance is configured.
Specifies the return code on which the resource probe exits if a sapcontrol command reports the YELLOW state.
Specifies that the central services resource must not be restarted in case of a failure. Instead, it should perform a failover.
Specifies the list of offline restart dependencies.
Specifies the list of dependencies.
Specifies the resource name of the central service resource.
For more information about the SAP central service resource extension properties, see ORCL.sapcentr Extension Properties.
# clresourcegroup set -p RG_project_name=SAP project centr-rg
For more information, see Using Alternate Project Identification.
# clresource enable scs-rs
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.
The SAP replicated enqueue server resource must be configured in the same resource group with its sapstartsrv resource. It must depend on this sapstartsrv resource.
The SAP replicated enqueue server resource is to configured to depend on its storage resource and on the logical host resource, as well as on its central service resource. These dependencies ensure that the SAP replicated enqueue server resource does not attempt to start until its associated resources are online.
# clresourcetype register ORCL.saprepenq
Specifies that a new resource type is to be added.
Specifies the name of the resource type to be added. This name is predefined for the SAP replicated enqueue server.
For information, see How to Register and Configure an SAP NetWeaver sapstartsrv Resource.
# clresource create -d -g rep-rg \ -t ORCL.saprepenq \ -p Sid=system-id \ -p Sap_user=sidadm \ -p instance_number=instance_number \ -p instance_name=instance_name \ -p HOST=ip-alias \ -p Yellow=return_code \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE} \ -p Resource_dependencies=rep-startsrv-rs \ rep-rs
Specifies the resource group to which the resource is to be added. The resource group is confirmed as a failover resource group.
Specifies that the resource is an instance of the ORCL.saprepenq resource type.
Specifies the SAP system identifier.
Specifies the administrator user for the SAP installation.
Specifies the SAP instance number of the instance to be controlled.
Specifies the name of the SAP instance to be controlled.
Specifies the IP alias on which the instance is configured.
Specifies the return code on which the resource probe exits if a sapcontrol command reports the YELLOW state.
Specifies the list of offline restart dependencies.
Specifies the list of dependencies.
Specifies the resource name of the replicated enqueue server resource.
Refer to ORCL.saprepenq Extension Properties.
# clresourcegroup set -p RG_project_name=SAP project rep-rg
For more information, see Using Alternate Project Identification.
# clresource enable rep-startsrv-rs
# clresource enable rep-rs
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.
The SAP replicated enqueue preempter resource must be configured in the same resource group with its central service resource. It must depend on this central service resource with an offline restart dependency.
The SAP replicated enqueue preempter resource is to be configured to depend on its storage resource and on the logical host resource, as well as on its SAP central services resource. These dependencies ensure that the SAP replicated enqueue preempter resource does not attempt to start until its associated resources are online.
# clresourcetype register ORCL.saprepenq_preempt
Specifies that a new resource type is to be registered.
Specifies the name of the resource type to be added. This name is predefined for the SAP replicated enqueue preempter.
# clresource create -d -g central-rg \ -t ORCL.saprepenq_preempt \ -p Sid=system-id \ -p Sap_user=sidadm \ -p Repenqres=resource_name \ -p Enq_instnr=instance_number_list \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE},scs-rs \ preempt-rs
Specifies the resource group to which the resource is to be added. The resource group is confirmed as a failover resource group.
Specifies that the resource is an instance of the ORCL.saprepenq_preempt resource type.
Specifies the SAP system identifier.
Specifies the administrator user for the SAP installation.
Specifies the comma separated list of SAP central services instance numbers to be monitored.
Specifies the list of offline restart dependencies, at least one central services resource must be present here.
Specifies the resource name of the SAP replicated enqueue preempter resource.
# clresource enable preempt-rs
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.
The SAP NetWeaver application server instance resource must be configured in the same resource group with its sapstartsrv resource. It must depend on this sapstartsrv resource.
Use the application server instance resource type for the following deployments:
Primary application server instance
Additional application server instance
Instances containing application server instances and central services can be combined as central instance without the central services resources. You must add the following property:
-p Architecture=comb \
Configure the application server instance resource such that it depends on its storage resource, the logical host resource, the database resource, as well as its central service resource. These dependencies ensure that the application server instance resource does not attempt to start until its associated resources are online.
# clresourcetype register ORCL.sapdia
Specifies that a new resource type is to be added.
Specifies the name of the resource type to be added. This name is predefined for the SAP application server instance.
For information, see How to Register and Configure an SAP NetWeaver sapstartsrv Resource.
# clresource create -d-g dia-rg \ -t ORCL.sapdia \ -p Sid=system-id \ -p Sap_user=sidadm \ -p instance_number=instance_number \ -p Instance_name=instance_name \ -p HOST=ip-alias \ -p Yellow=return_code \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE} \ -p Resource_dependencies=db-rs,scs-rs,diag-startsrv-rs \ diag-rs
# clresource create -d-g dia-rg \ -t ORCL.sapdia \ -p Sid=system-id \ -p Sap_user=sidadm \ -p Instance_number{node1}=instance_number \ -p Instance_number{node2}=instance_number \ -p Instance_name{node1}=instance_name\ -p Instance_name{node2}=instance_name \ -p HOST{node 1}=ip-alias \ -p HOST{node 2}=ip-alias \ -p Timeout_return=return_code \ -p Resource_dependencies=db-rs,scs-rs,diag-startsrv-rs \ diag-rs
# clresource create -d-g dia-rg \ -t ORCL.sapdia \ -p Sid=system-id \ -p Sap_user=sidadm \ -p Instance_number=instance_number \ -p Instance_name=instance_name \ -p Architecture=comb \ -p HOST=ip-alias \ -p Yellow=return_code \ -p Resource_dependencies_offline_restart=hsp-rs{LOCAL_NODE} \ -p Resource_dependencies=db-rs,diag-startsrv-rs \ diag-rs
Specifies the resource group to which the resource is to be added. The resource group is confirmed as a failover or a multiple master resource group.
Specifies that the resource is an instance of the ORCL.sapdia resource type.
Specifies the SAP system identifier.
Specifies the administrator user for the SAP installation.
Specifies the SAP instance number of the instance to be controlled.
Specifies the name of the SAP instance to be controlled.
Specifies the flag to highlight that a combined instance is configured. In this case, this value must be comb.
Specifies the IP alias on which the instance is configured.
Specifies the return code on which the resource probe exits if a sapcontrol command reports the YELLOW state.
Specifies the list of offline restart dependencies.
Specifies the list of dependencies.
Specifies the resource name of the application server instance resource.
Refer to ORCL.sapdia Extension Properties.
# clresourcegroup set -p RG_project_name=SAP project rep-rg
For more information, see Using Alternate Project Identification.
# clresource enable diag-startsrv-rs
# clresource enable diag-rs
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.