The SAP enqueue server resource and the SAP message server resource must be in the same failover resource group because they fail over together.
The SAP enqueue server resource is configured to depend on its associated HAStoragePlus resource. This dependency ensures that the SAP enqueue server does not attempt to start until its associated HAStoragePlus resource is online.
Register SUNW.sapenq, the resource type for the SAP enqueue server.
# clresourcetype register SUNW.sapenq |
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 enqueue server.
Create an SAP enqueue server resource in the SAP central services resource group.
# clresource create -d -g central-rg -t SUNW.sapenq \ -p enqueue_profile=path-to-enq-profile \ -p enqueue_server=path-to-enq-server-binary \ -p sap_user=enq-user \ -p enqueue_instance_number=enq-instance \ -p resource_dependencies=hsp-central-rs,db-resource enq-rs |
Specifies the resource group to which the resource is to be added. The SAP central services resource group is configured as a failover resource group.
Specifies that the resource is an instance of the SUNW.sapenq resource type.
Specifies the full path to the SAP enqueue server profile.
Specifies the full path to the SAP enqueue server executable.
Specifies the administration user for the SAP enqueue server.
Specifies the two-digit instance number for the SAP enqueue server. This number is the value of SAPSYSTEM in the SAP profile for SAP enqueue server.
Specifies that the HAStoragePlus resource for the global device group on which the SAP enqueue server is installed and the database resource must be online in order for the SAP enqueue server to be online.
Specifies the name of the resource to be added.
The resource is created in the enabled state.
Verify that the default values for the SAP enqueue server extension properties are acceptable.
Refer to SUNW.sapenq Extension Properties.
Ensure that SAP enqueue server is not already running on the cluster.
If SAP enqueue server is already running on any node of the cluster, you risk the simultaneous running of multiple SAP enqueue server processes.
Enable the SAP enqueue server resource.
# clresource enable enq-rs |
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.