User's Guide
Change the liveCache instance name to <LCSID>. Redo the above steps for LDA.
SGeSAP Legacy Package Configuration
This section describes how to configure the SGeSAP lc package.
liveCache Installation Step: LC165
Install the product depot file for SGeSAP (T2803BA) using swinstall (1m) if this has not been done already.
The installation staging directory is /opt/cmcluster/sap. All original product files are copied there for
reference purposes.
liveCache Installation Step: 167
Copy the relevant SGeSAP files for liveCache to the cluster directory:
mkdir /etc/cmcluster/<LCSID>
chown root:sapsys /etc/cmcluster/<LCSID>
chmod 775 /etc/cmcluster/<LCSID>
cp /opt/cmcluster/sap/SID/saplc.mon /etc/cmcluster/<LCSID>
cp /opt/cmcluster/sap/SID/sapwas.cntl /etc/cmcluster/<LCSID>
cp /opt/cmcluster/sap/SID/customer.functions/ /etc/cmcluster/<LCSID>
cp /opt/cmcluster/sap/SID/sap.config /etc/cmcluster/<LCSID>
If this has not already been done, also copy the system independent integration files:
cp /opt/cmcluster/sap/*.functions /etc/cmcluster
liveCache Installation Step: LC170
Create standard package control and configuration files:
▲
cd /etc/cmcluster/<LCSID>
cmmakepkg -s lc<LCSID>.control.script
cmmakepkg -p lc<LCSID>.config
Both files need to be adapted according to reflect the filesystem layout option chosen and the individual
network setup. For general information on how to customize the package control and configuration files
refer to the Managing Serviceguard manual, which is available on http://docs.hp.com/en/ha.html.
▲ For lc<LCSID>.config the following settings are strongly recommended:
PACKAGE_NAME lc<LCSID>
PACKAGE_TYPE FAILOVER
RUN_SCRIPT /etc/cmcluster/<LCSID>/lc<LCSID>.control.script
HALT_SCRIPT /etc/cmcluster/<LCSID>/lc<LCSID>.control.script
SERVICE_NAME SGeSAPlc<LCSID>
▲ Forlc<LCSID>.cntl the following settings are strongly recommended:
SERVICE_NAME[0]="SGeSAPlc<LCSID>"
SERVICE_CMD[0]="/sapdb/<LCSID>/db/sap/lccluster monitor"
SERVICE_RESTART[0]="-r 3"
▲ All other parameters should be chosen as appropriate for the individual setup.
liveCache Installation Step: LC180
In
/etc/cmcluster/<LCSID>/lc<LCSID>.control.script
add the following lines to the customer
defined functions.
These commands will actually start and stop the liveCache instance.
function customer_defined_run_cmds
{
104 SAP Supply Chain Management