Sun Cluster Data Service for SAP liveCache Guide for Solaris OS

Installing and Configuring liveCache

This section contains the procedures you need to install and configure liveCache.

How to Install and Configure liveCache

Use this procedure to install and configure liveCache.

  1. Install and configure SAP APO System.

    See Sun Cluster Data Service for SAP Guide for Solaris OS for the procedures on how to install and configure SAP APO System on Sun Cluster software.

  2. Install liveCache.

    Note –

    Install liveCache by using the physical hostname if you have not already created the required logical host.

    For more information, see your SAP documentation.

  3. Create the .XUSER.62 file for the SAP APO administrator user and the liveCache administrator user by using the following command.

    # dbmcli -d LC-NAME -n logical-hostname -us user,passwd

    Uppercase name of liveCache database instance


    Logical hostname that is used with the liveCache resource

    Caution – Caution –

    Neither SAP APO transaction LC10 nor Sun Cluster HA for SAP liveCache functions properly if you do not create this file correctly.

  4. Copy /usr/spool/sql from the node, on which you installed liveCache, to all the nodes that will run the liveCache resource. Ensure that the ownership of these files is the same on all node as it is on the node on which you installed liveCache.


    # tar cfB - /usr/spool/sql | rsh phys-schost-1 tar xfB -

How to Enable liveCache to Run in a Cluster

During a standard SAP installation, liveCache is installed with a physical hostname. You must modify liveCache to use a logical hostname so that liveCache works in a Sun Cluster environment. Use this procedure to enable liveCache to run in a cluster.

  1. Create the failover resource group to hold the network and liveCache resource.

    # scrgadm -a -g livecache-resource-group [-h nodelist]
  2. Verify that you added all the network resources you use to your name service database.

  3. Add a network resource (logical hostname) to the failover resource group.

    # scrgadm -a -L -g livecache-resource-group\ -l lc-logical-hostname [-n netiflist]
  4. Enable the failover resource group.

    # scswitch -Z -g livecache-resource-group
  5. Log on to the node that hosts the liveCache resource group.

  6. Start SAP xserver manually on the node that hosts the liveCache resource group.

    # su - lc-nameadm
    # x_server start

    Lowercase name of liveCache database instance

  7. Log on to SAP APO System by using your SAP GUI with user DDIC.

  8. Go to transaction LC10 and change the liveCache host to the logical hostname you defined in Step 3.

    liveCache host: lc-logical-hostname