Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS

How to Register and Configure an SAP Enqueue Server Resource

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.

  1. Register SUNW.sapenq, the resource type for the SAP enqueue server.


    # scrgadm -a  -t SUNW.sapenq
    
    -a

    Specifies that a new resource type is to be added.

    -t SUNW.sapenq

    Specifies the name of the resource type to be added. This name is predefined for the SAP enqueue server.

  2. 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
    
    -a

    Specifies that a new resource is to be added.

    -j enq-rs

    Specifies the name of the resource to be added.

    -g central-rg

    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.

    -t SUNW.sapenq

    Specifies that the resource is an instance of the SUNW.sapenq resource type.

    -x Enqueue_Profile=path-to-enq-profile

    Specifies the full path to the SAP enqueue server profile.

    -x Enqueue_Server=path-to-enq-server-binary

    Specifies the full path to the SAP enqueue server executable.

    -x SAP_User=enq-user

    Specifies the administration user for the SAP enqueue server.

    -x Enqueue_Instance_Number=enq-instance

    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.

    -y Resource_Dependencies=hsp-central-rs

    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.

  3. Verify that the default values for the SAP enqueue server extension properties are acceptable.

    Refer to SUNW.sapenq Extension Properties.

  4. 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.

  5. Enable the SAP enqueue server resource.


    # scswitch -ej enq-rs
    
    -ej

    Specifies that the specified resource is to be enabled.

    enq-rs

    Specifies the name of the resource to be enabled.