Sun Cluster Data Service for SAP liveCache Guide for Solaris OS

Verifying the Sun Cluster HA for SAP liveCache Installation and Configuration

This section contains the procedure you need to verify that you installed and configured your data service correctly.

How to Verify the Sun Cluster HA for SAP liveCache Installation and Configuration

Use this procedure to verify that you installed and configured Sun Cluster HA for SAP liveCache correctly. You need the information in the following table to understand the various states of the liveCache database.

Table 1–3 States of the liveCache database

State 

Description 

OFFLINE

liveCache is not running. 

COLD

liveCache is available for administrator tasks. 

WARM

liveCache is online. 

STOPPED INCORRECTLY

liveCache stopped incorrectly. This is also one of the interim states while liveCache starts or stops. 

ERROR 

Cannot determine the current state. This is also one of the interim states while liveCache starts or stops. 

UNKNOWN

This is one of the interim states while liveCache starts or stops. 

  1. Log on to the node that hosts the resource group that contains the liveCache resource, and verify that the fault monitor functionality works correctly.

    1. Terminate liveCache abnormally by stopping all liveCache processes.

      Sun Cluster software restarts liveCache.

      If you do not see this behavior, you might not have correctly performed Step 2 and Step 3 in How to Register and Configure Sun Cluster HA for SAP liveCache.


      # ps -ef|grep sap|grep kernel
      # kill -9 livecache-processes
      
    2. Terminate liveCache by using the Stop liveCache button in LC10 or by running the lcinit command.

      Sun Cluster software does not restart liveCache. However, the liveCache resource status message reflects that liveCache stopped outside of Sun Cluster software through the use of the Stop liveCache button in LC10 or the lcinit command. The state of the liveCache resource is UNKNOWN. When the user successfully restarts liveCache by using the Start liveCache button in LC10 or the lcinit command, the Sun Cluster HA for SAP liveCache Fault Monitor updates the resource state and status message to indicate that liveCache is running under the control of Sun Cluster software.

      If you do not see this behavior, you might not have correctly performed Step 2 and Step 3 in How to Register and Configure Sun Cluster HA for SAP liveCache.

  2. Log on to SAP APO by using your SAP GUI with user DDIC, and verify that liveCache starts correctly by using transaction LC10.

  3. As user root, switch the liveCache resource group to another node.


    # scswitch -z -g livecache-resource-group -h node2
    
  4. Repeat Step 1 through Step 3 for each potential node on which the liveCache resource can run.

  5. Log on to the nodes that host the SAP xserver resource, and verify that the fault monitor functionality works correctly.

    Terminate SAP xserver abnormally by stopping all SAP xserver processes.


    # ps -ef|grep xserver
    # kill -9 xserver-process