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.
# scrgadm -a -t 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.
# scrgadm -a -j enq-rs -g central-rg -t SUNW.sapenq \ -x Enqueue_Profile=path-to-enq-profile \ -x Enqueue_Server=path-to-enq-server-binary \ -x SAP_User=enq-user \ -x Enqueue_Instance_Number=enq-instance \ -y Resource_Dependencies=hsp-central-rs
Specifies that a new resource is to be added.
Specifies the name of the resource to be added.
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 SAP enqueue server is installed must be online in order for the SAP enqueue server to be online.
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.
# scswitch -ej enq-rs
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.