Go to main content

Oracle® Solaris Cluster Data Service for SAP liveCache Guide

Exit Print View

Updated: July 2020
 
 

How to Install and Configure liveCache

Use this procedure to install and configure liveCache.

  1. Install and configure SAP APO System.

    See Oracle Solaris Cluster Data Service for SAP NetWeaver Guide for the procedures on how to install and configure SAP APO System on Oracle Solaris 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. Ensure that the liveCache administrator user is in the sdba user group.

    The format of the liveCache administrator user's user ID is lc-nameadm.

    If you are creating the liveCache administrator user manually, add the following entry to the /etc/group file:

    sdba::group-id:lc-nameadm
    group-id

    The group's unique numerical ID (GID) within the system

    lc-name

    Lowercase name of liveCache database instance

    For more information about the /etc/group file, see the group(5) man page.

  4. Become liveCache administrator user, create the .XUSER.62 file for the SAP APO administrator user and the liveCache administrator user by using the following command.

    Note -  This user whose home directory contains the .XUSER.62 file is an internal database user who has permissions to start, stop, and query the database.
    $ dbmcli -d LC-NAME -n logical-hostname-ususername,passwd
    LC-NAME

    Uppercase name of liveCache database instance

    logical-hostname

    Logical hostname that is used with the liveCache resource


    Caution

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


  5. Copy /usr/spool/sql if it exists, 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 nodes as it is on the node on which you installed liveCache.

    Example:

    # tar cfB /tmp/usr-spool.tar /usr/spool/sql 
    Log in to the destination node
    # scp root@soruce:/tmp/usr-spool.tar /tmp
    # cd /
    # tar xfb /tmp/usr-spool.tar
    source

    Specifies the node where you installed SAP liveCache

  6. Copy the /etc/opt/sdb directory and its contents from the node on which you installed liveCache, to all the nodes where resources for liveCache will run.

    Ensure that the ownership of these files is the same on all nodes as it is on the node on which you installed liveCache.

    # tar cfB /tmp/opt-sdb.tar /etc/opt/sdb 
    Log in to the target node
    # scp root@source:/tmp/opt-sdb.tar /tmp
    # cd /
    # tar xfb /tmp/opt-sdb.tar
    source

    Specifies the node where you installed SAP liveCache.

  7. Create a link from the /sapdb/LCA/db/wrk directory to the /sapdb/data/wrk directory as follows:
    # ln -s /sapdb/data/wrk /sapdb/LCA/db/wrk
  8. Ensure that all the required system files have been copied from the install node to all the nodes that will run the liveCache resource.

    The required files include /etc/group, /etc/passwd, /etc/project, and /etc/user_attr.