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

ProcedureHow to Verify the Operation of the Fault Monitor for the SAP Message Server

Perform this procedure on each node where the SAP message server can run.

  1. Log in to a node as superuser.

  2. Bring online the resource group to which the SAP message server belongs.


    # clresourcegroup switch -n node central-rg
    
    -n node

    Specifies the name of the node on which the resource group is to be brought online. This node is the node that you have just logged in to.

    central-rg

    Specifies the name of the resource group to be brought online. This group is the resource group to which the SAP message server belongs.

  3. Specify that failover is to be enabled for the resource group.


    # clresourcegroup set -p Failover_Enabled=True central-rg
    
    -p Failover_Enabled=True

    Specifies that the resource group is to fail over when Retry_count is exceeded during Retry_interval.

    central-rg

    Specifies the name of the resource group to be modified.

  4. Terminate the SAP message server.

  5. Confirm that the SAP message server either restarts or fails over.

    If the abnormal termination action in Step 4 is repeated a specified number of times within a specified time interval, the SAP message server fails over to an available node. If no node is available, the SAP message server is offline.

    If the abnormal termination action is not repeated a specified number of times within a specified time interval, the SAP message server restarts on the same node.

    Run the clresource status command to determine the status of the SAP message server.

    Note that the maximum number of times that the application can be abnormally terminated before failing over is specified with the standard property Retry_count, and the time interval is specified with the standard property Retry_interval. These properties are described in Resource Properties in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.

  6. Again, bring online the resource group to which the SAP message server belongs, as described in Step 2.

  7. Specify that failover is to be disabled for the resource group.


    # clresourcegroup set -p Failover_Enabled=False central-rg
    
    -p Failover_Enabled=False

    Specifies that the resource group is not to fail over when Retry_count is exceeded during Retry_interval.

    central-rg

    Specifies the name of the resource group to be modified.

  8. Terminate the SAP message server.

  9. Confirm that the SAP message server restarts.

    Because the Failover_Enabled is set to False, the SAP message server always restarts.