Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for SAP NetWeaver Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Verifying the HA for SAP NetWeaver Installation and Configuration

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

- Verify the operation of the fault monitor for the SAP `sapstartsrv` process

- Verify the operation of the fault monitor for the SAP central services

- Verify the operation of the fault monitor for the SAP replicated enqueue server

- Verify the operation of the fault monitor for the SAP dialogue instance

- Verify the installation and configuration of the SAP replicated enqueue preempter

See Tuning the HA for SAP NetWeaver Fault Monitors for a description of the fault monitors.

## How to Verify the Operation of the Fault Monitor for the SAP `sapstartsrv` Process

Perform this procedure on each set of two nodes where the SAP `sapstartsrv` process can run.

1. Assume the `root` role on a cluster node.
2. Ensure that the resource group hosting the SAP `sapstart srv` resource is offline on all nodes.
3. Bring online the resource group to which the SAP `sapstartsrv` belongs.

       # clresourcegroup online -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 `sapstartsrv` belongs.

4. Terminate the SAP `sapstartsrv` process.

       # su - sidadm -c "sapcontrol -nr instance number -function StopService"

   Alternatively, kill the SAP `sapstartsrv` process.

   Once you enable the interaction between SAP NetWeaver and Oracle Solaris Cluster, you must kill the instance processes to achieve a restart.

5. Confirm that the SAP `sapstartsrv` process gets restarted.

   Run the `clresource status` command to confirm that the SAP `sapstartsrv` resource is online on the first node.

6. Switch over the resource group hosting the SAP `sapstartsrv` to another node if the resource group is configured as a failover resource group. If the resource group is configured as a multiple master resource group, skip this step.

       # clresourcegroup switch -n node central-rg

   `-n` node

     Specifies the name of the node 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 `sapstartsrv` belongs.

## How to Verify the Operation of the Fault Monitor for the SAP Instance Resource Types

This procedure is applicable for the following instance resource types:

- SAP central services

- SAP replicated enqueue server

- SAP dialogue instance

Perform this procedure on each set of two nodes where the SAP instance process can run.

1. Assume the `root` role on a cluster node.
2. Ensure that the resource group hosting the SAP instance resource is offline on all nodes.
3. Bring online the resource group to which the SAP instance belongs.

       # clresourcegroup online -n node instance-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.

   instance-rg

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

4. Terminate the SAP instance process.

       # su - sidadm -c "sapcontrol -nr instance number -function Stop"

   Alternatively, kill the instance processes except the corresponding SAP `sapstartsrv` process.

5. Confirm that the SAP instance resource gets restarted.

   Run the `clresource status` command to confirm that the SAP instance resource is online on the first node.

6. Switch over the resource group hosting the SAP `sapstartsrv` to another node if the resource group is configured as a failover resource group. If the resource group is configured as a multiple master resource group, skip this step.

       # clresourcegroup switch -n node instance-rg

   `-n` node

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

   instance-rg

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

## How to Verify the Operation of the Fault Monitor for the SAP Replicated Enqueue Preempter Resource Type

Perform this procedure on each node where the SAP replicated enqueue preempter can run.

1. Assume the `root` role on a cluster node.
2. Ensure that the resource group hosting the SAP replicated enqueue preempter resource is offline on all nodes.
3. Bring online the resource group to which the SAP replicated enqueue preempter belongs.

       # clresourcegroup online -n node centr-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.

   centr-rg

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

4. Bring online the resource group to which the SAP replicated enqueue server belongs.

       # clresourcegroup switch -n node2 centr-rg

   `-n` node2

     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.

   centr-rg

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

5. Switch over the resource group hosting the SAP replicated enqueue preempter to the node hosting the SAP replicated enqueue server.
6. Confirm that the SAP replicated enqueue server resource group gets restarted on a spare node as long as a spare node is available.

   Run the `clresource status` command to confirm that the SAP replicated enqueue server resource is online on the first node.

Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |