JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for SAP Web Application Server Guide     Oracle Solaris Cluster
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for SAP Web Application Server

HA for SAP Web Application Server Overview

Overview of the Installation and Configuration Process for HA for SAP Web Application Server

Planning the HA for SAP Web Application Server Installation and Configuration

Configuration Restrictions

Configuration Requirements

Supported Data Service Configurations

Configuration Considerations

Configuration Planning Questions

Installing and Configuring SAP Web Application Server

Configuring Your Highly Available Database

How to Install and Configure the SAP Web Application Server and the SAP J2EE Engine

How to Modify the Installation for a Scalable SAP Web Application Server Component

How to Enable the SAP Web Application Server to Run in a Cluster

How to Enable the Stand-Alone SAP J2EE Engine to Run in a Cluster

Verifying the SAP Web Application Server Installation and Configuration

How to Verify the Installation and Configuration of the SAP Enqueue Server and the SAP Replica Server

How to Verify That the Configuration for the SAP Message Server Is Correct for the Data Service

How to Verify That the Configuration for the SAP Web Application Server and SAP J2EE Engine Components Is Correct for the Data Service

Installing the HA for SAP Web Application Server Packages

How to Install the HA for SAP Web Application Server Packages

Registering and Configuring HA for SAP Web Application Server

Before You Begin

Setting HA for SAP Web Application Server Extension Properties

Tools for Registering and Configuring HA for SAP Web Application Server

How to Register and Configure the HA for SAP Web Application Server by Using clsetup

Setting Up the SAP Web Application Server on Non-Global Zones for HAStoragePlus Configuration

How to Set Up the SAP Web Application Server on Non-Global Zones for HAStoragePlus Configuration

Registering and Configuring the HA for SAP Web Application Server by using Oracle Solaris Cluster Command Line Interface (CLI)

How to Register and Configure HAStoragePlus Resources for the SAP Central Services Components

How to Register and Configure an SAP Enqueue Server Resource

How to Register and Configure an SAP Replica Server Resource

How to Register and Configure an SAP Message Server Resource

How to Register and Configure an SAP Web Application Server Component

Examples of Configuring the SAP Web Application Server

Using Alternate Project Identification

Tuning the HA for SAP Web Application Server Fault Monitors

Operation of the Fault Monitor for the SAP Enqueue Server Resource Type

Operation of the Fault Monitor for the SAP Replica Server Resource Type

Operation of the Fault Monitor for the SAP Message Server Resource Type

Operation of the Fault Monitor for the SAP Web Application Server and SAP J2EE Engine Component Resource Type

Verifying the HA for SAP Web Application Server Installation and Configuration

How to Verify the Operation of the Fault Monitor for the SAP Enqueue Server

How to Verify the Operation of the Fault Monitor for the SAP Replica Server

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

How to Verify the Operation of the Fault Monitor for the SAP Web Application Server and SAP J2EE Engine Components

Migrating Existing SAP Web Application Server and SAP J2EE Engine Resource Types to Oracle Solaris Cluster 3.3

A.  HA for SAP Web Application Server Extension Properties

Index

Verifying the HA for SAP Web Application Server Installation and Configuration

You have installed, registered, and configured the data service for SAP Web Application Server. Now verify that the data service makes the SAP Web Application Server highly available by performing the following tasks.

See Tuning the HA for SAP Web Application Server Fault Monitors for a description of the fault monitors.

How to Verify the Operation of the Fault Monitor for the SAP Enqueue Server

Perform this procedure on each set of two nodes where the SAP enqueue server and the SAP replica server can run.

  1. Log in to a node as superuser.
  2. Ensure that the SAP replica server resource group is offline on all nodes.

    At this point in this procedure you are testing the behavior of the SAP enqueue server resource group without the SAP replica server resource group. Therefore, the SAP replica server resource group must be offline on all nodes. Further in this procedure you will test the behavior of the SAP enqueue server with the SAP replica server resource group.

  3. Bring online the resource group to which the SAP enqueue server belongs.
    # clresourcegroup online -n node central-rg
    -n node

    Specifies the name of the node or zone 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 enqueue server belongs.

  4. Abnormally terminate the SAP enqueue server.
    1. Determine the process ID of the SAP enqueue server, where the name of the SAP enqueue server executable file is enserver.
      # ps -ef | grep enserver
    2. Kill the process for the SAP enqueue server.
      # kill -9 pid
      pid

      Specifies the process ID of the SAP enqueue server. This ID is the process ID that you determined with the ps and grep commands.

  5. Confirm that the SAP enqueue server fails over to the node where SAP replica server is online, if configured.

    Run the clresource status command to confirm that the SAP enqueue server resource is offline on the first node or zone and online on the second node or zone.

  6. Again, bring online the resource group to which the SAP enqueue server belongs.
    # clresourcegroup online -n node central-rg
    -n node

    Specifies the name of the node or zone on which the resource group is to be brought online.

    central-rg

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

  7. Log in to a different node or zone as superuser. On this node or zone, bring online the resource group to which the SAP replica server belongs.
    # clrsourcegroup online -n node repl-rg
    -n node

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

    repl-rg

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

  8. Again, abnormally terminate the SAP enqueue server, as in Step 4.
  9. Confirm that the SAP enqueue server resource group fails over to the node on which the SAP replica server resource group is running.

    As the SAP enqueue server resource group starts on the node on which the SAP replica server resource group is running, the SAP replica server resource group fails over to another available node. If no node is available, the SAP replica server resource group is offline.

    Run the clresource status command to confirm that the SAP enqueue server resource group is offline on the first node or zone and online on the second node or zone. Confirm also that the SAP replica server resource group is offline on the second node. The SAP replica server resource group can be either online on another available node or zone or be offline.

How to Verify the Operation of the Fault Monitor for the SAP Replica Server

Perform this procedure on each set of two nodes where the SAP replica server and the SAP enqueue server can run.

  1. Log in to a node as superuser.
  2. Bring online the resource group to which the SAP enqueue server belongs.

    The SAP replica server resource is configured to be dependent on the SAP enqueue server resource.

    # clresourcegroup online -n node central-rg
    -n node

    Specifies the name of the node or zone on which the resource group is to be brought online. This is the node or zone 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 enqueue server belongs.

  3. Log in to a different node as superuser.
  4. Bring online the resource group to which the SAP replica server belongs.
    # clresoiurcegroup online -n node repl-rg
    -n node

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

    repl-rg

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

  5. Abnormally terminate the SAP replica server.
    1. Determine the process ID of the SAP replica server, where the name of the SAP replica server executable file is enrepserver.
      # ps -ef | grep enrepserver
    2. Kill the process for the SAP replica server.
      # kill -9 pid
      pid

      Specifies the process ID of the SAP replica server. This ID is the process ID that you determined with the ps and grep commands.

  6. Confirm that the SAP replica server either restarts or fails over.

    If the abnormal termination action in Step 5 is repeated a specified number of times within a specified time interval, the SAP replica server fails over to an available node that is not running the SAP enqueue server. If no node is available, the SAP replica server is offline.

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

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

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

How 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 or zone 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 Oracle Solaris Cluster Data Services Planning and Administration Guide.

  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.

How 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 or zone 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 or zone 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 or zone 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 Oracle Solaris Cluster Data Services Planning and Administration Guide.