package with storage option 1,2 or 3 is used, Serviceguard will switch the package and try to restart the same instance on different hardware.

Monitoring begins with package startup. At this point, the monitor will make sure, that liveCache is working only up to the point that is specified in lc_startmode (legacy: LCSTARTMODE). For example, if the mode is set to offline, only the vserver processes will be part of the monitoring. Still, the monitor detects any manual state change of liveCache. By subsequent manual operations, liveCache will be entering cold state and finally warm state, which the monitor automatically detects. As soon as the liveCache reaches the warm state once, the monitoring increases its internal monitoring level to the same state.

As any SGeSAP package, the liveCache package will skip SAP specific startup steps when during startup a debug file /var/adm/cmcluster/debug<packagename > (legacy: /etc/cmcluster/<LCSID>/debug) is found. This is useful for debugging purposes to allow access to the log files placed on shared logical volumes if a package does not start up to its full extend. The liveCache monitor is started regardless of the availability of a debug file. The monitor will detect the existence of the file and will enter a pause mode until it is removed. This is valid not only during package startup, but also at runtime. As a consequence, the monitoring of a fully started package will be paused by the global debug file.

NOTE: Activation of pause mode, state changes of liveCache and liveCache restart attempts get permanently logged into the standard package logfile

The monitor can also be paused by standard administrative tasks that use the administrative tools delivered by SAP. Stopping the liveCache using the SAP lcinit shell command or the APO LC10 transaction will send the monitoring into pause mode. This prevents unwanted package failovers during liveCache administration. Restarting the liveCache in the same way will also trigger reactivation of the monitoring. The MAXDB Database Manager GUI is not yet cluster-aware and must not be used to stop liveCache in combination with Serviceguard.

liveCache Installation Step: LC210

Log in on the primary node that has the shared logical volumes mounted.

Create a symbolic link that acts as a hook that informs SAP software where to find the liveCache monitoring software to allow the prescribed interaction with it. Optionally, you can change the ownership of the link to

sdb:sdba.

ln -s /etc/cmcluster/<LCSID>/saplc.mon \ /sapdb/<LCSID>/db/sap/lccluster

liveCache Installation Step: LC215

For the following steps the SAPGUI is required. Logon to the APO central instance as user SAP*. Start transaction/nlc10 and enter LCA for the logical connection.

/nlc10 -> Logical connection -> LCA -> liveCache -> Create/Change/Delete Connection

Change liveCache server name to the virtual IP name for the liveCache (<relocls_s) and save it. Change the liveCache instance name to <LCSID>. Redo the above steps for LDA.

APO Setup Changes

Running liveCache within a Serviceguard cluster package means that the liveCache instance is now configured for the relocatable IP of the package. This configuration needs to be adopted in the APO system that connects to this liveCache. Figure 4-3 shows an example for configuring LCA.

APO Setup Changes 107

Page 107
Image 107
HP Serviceguard Extension for SAP (SGeSAP) manual APO Setup Changes