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 Web Application Server and SAP J2EE Engine Components

Perform this procedure on each node where the SAP web application server or SAP J2EE Engine component can run.

  1. Log in to a node as superuser.

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

    The SAP web application server component resource is configured to be dependent on the SAP message server resource.


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

    Specifies the name of the node on which 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. Bring online the resource group to which the SAP web application server or SAP J2EE Enginecomponent belongs.

    For SAP web application server component only:


    # clresourcegroup switch -n node webas-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.

    webas-rg

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

    For SAP J2EE Engine component only:


    # clresourcegroup switch -n node j2ee-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.

    j2ee-rg

    Specifies the name of the resource group to be brought online. This group is the resource group to which the SAP J2EE Engine component belongs.

  4. Terminate the SAP web application server or SAP J2EE Engine component.

  5. Confirm that the SAP web application server or SAP J2EE Engine component is restarted locally.

    If the abnormal termination action in Step 4 is repeated a specified number of times within a specified time interval, the resulting behavior depends on whether the SAP web application server or SAP J2EE Engine component resource was configured as a failover or a scalable resource.

    • If the SAP web application server or SAP J2EE Engine component resource was configured as a failover resource, the resource fails over to an available node. If no node is available, the SAP web application server or SAP J2EE Engine component is offline.

    • If the SAP web application server or SAP J2EE Engine component resource was configured as a scalable resource, the resource is offline on this node.

    Run the clresource status command to determine the status of the SAP web application server or SAP J2EE Engine component.

    Note that the maximum number of times that the application can be abnormally terminated before failing over or becoming offline 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.