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 message server resource is configured to depend on its associated HAStoragePlus resource. This dependency ensures that the SAP message server does not attempt to start until its associated HAStoragePlus resource is online.
Register SUNW.sapscs, the resource type for the SAP message server.
# clresourcetype register SUNW.sapscs |
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 message server.
Create an SAP message server resource in the SAP central services resource group.
# clresource create -d -g central-rg -t SUNW.sapscs \ -p sap_sid=scs-system-ID \ -p sap_instance_number=scs-instance-number \ -p sap_instance_name=scs-instance-name \ -p msg_server_port=msg-server-port \ -p scs_startup_script=scs-server-startup-script \ -p scs_shutdown_script=scs-server-shutdown-script \ -p resource_dependencies=hsp-central-rs,db-resource msg-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 SAP message server resource is an instance of the resource type that is named SUNW.sapscs.
Specifies the SAP system ID for the SAP message server. This ID is SAPSYSTEMNAME in the SAP profile.
Specifies the instance number for the SAP message server. This number is SAPSYSTEM in the SAP profile.
Specifies the instance name for the SAP message server. This name is INSTANCE_NAME in the SAP profile.
Specifies the listen port for the SAP message server.
Specifies the full path to the startup script for the SAP message server instance.
Specifies the full path to the shutdown script for the SAP message server instance.
Specifies that the HAStoragePlus resource for the global device group on which the SAP message server is installed and the database resource must be online in order for the SAP message 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 message server extension properties are acceptable.
Refer to SUNW.sapscs Extension Properties.
Enable the SAP message server resource.
# clresource enable msg-rs |
Specifies that the specified resource is to be enabled.
Specifies the name of the resource to be enabled.