Managing Serviceguard Extension for SAP Version B.05.10, September 2010
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 ndividual 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
{
### Add following line
. /etc/cmcluster/<LCSID>/sapwas.cntl start <LCSID>
test_return 51
}
function customer_defined_halt_cmds
{
### Add following line
. /etc/cmcluster/<LCSID>/sapwas.cntl stop <LCSID>
test_return 52
}
liveCache Installation Step: LC190
The/etc/cmcluster/<LCSID>/sap.configconfiguration file of a liveCache package is
similar to the configuration file of Netweaver Instance packages.
The following standard parameters in sap.config have to be set for a liveCache package:
LCRELOC=<reloclc_s>
TRANSRELOC=<relocsapnfs_s>
CLEANUP_POLICY= [ strict | normal | lazy ]
The strict option can be set in order to guarantee the liveCache package gets all resources required
on the adoptive node. Remember that this option can crash a system running on the adoptive
node.
• The following liveCache specific parameters in sap.config have to be set:
LCSTARTMODE specifies the mode of the liveCache database up to which it should be started
automatically. Possible values for version 7.4 of liveCache are:
OFFLINE: only vserver will be started
ADMIN: liveCache started in cold mode
SLOW: liveCache started in cold -slow mode
ONLINE: liveCache started in warm mode
In liveCache version 7.5 some of these values have changed: (<from> -> <to>)
COLD -> ADMIN
WARM -> ONLINE
It is recommended to use the new values for liveCache version 7.5. For compatibility reasons the
original values will still work though.
After failover, liveCache will only be recovered to the state referenced in LCSTARTMODE.
The behavior of the liveCache service monitoring script is independent from the setting of
LCSTARTMODE. The monitoring script will always monitor the vserver process. It will start to
monitor if liveCache is in WARM state, as soon as it reaches WARM state for the first time.
The LCMONITORINTERVAL variable specifies how often the monitoring polling occurs (in sec.)
hot standby Installation Step: LC193
The following additional parameters in sap.config have to be set for a hot standby liveCache
package:
122 SAP Supply Chain Management