User's Guide
this directory to a backup location. This information is then used to determine the reason of the crash. In HA
scenarios, for liveCache versions lower than 7.6, this directory should move with the package. SAP allows
you to redefine this path for each liveCache/MAXDB individually. SGeSAP expects the work directory to
be part of the lc package. The mount point moves from /sapdb/data/wrk to/sapdb/data/<LCSID>/wrk.
This directory should not be mixed up with the directory /sapdb/data/<LCSID>/db/wrk that might also
exist. Core files of the kernel processes are written into the working directory. These core files have file sizes
of several Gigabytes. Sufficient free space needs to be configured for the shared logical volume to allow
core dumps.
NOTE: For liveCache starting with version 7.6 these limitations do not exist any more. The working directory
is utilized by all instances (IndepData/wrk) and can be globally shared.
/var/spool/sql: This directory hosts local runtime data of all locally running liveCache/MAXDB
Instances. Most of the data in this directory becomes meaningless in the context of a different host after
failover. The only critical portion that still has to be accessible after failover is the initialization data in
/var/spool/sql/ini. This directory is almost always very small (< 1MB).
Table 4-4 General File System Layout for liveCache (Option 3)
Mount PointPackageStorage Type
/sapdb/<LCSID>lc<LCSID>shared
/sapdb/<LCSID>WRK*lc<LCSID>shared
/sapdB/<LCSID>/datanlc<LCSID>shared
/sapdb/<LCSID>/saplognlc<LCID>shared
/export/sapdb/programssapnfsshared
/export/sapdb/datasapnfsautofs shared
/var/spool/sql/inisapnfsautofs shared
* only valid for liveCache versions lower than 7.6.
Option 4: Hot Standby liveCache
Two liveCache instances are running in a hot standby liveCache cluster during normal operation. No instance
failover takes place. This allows to keep instance-specific data local to each node. The cluster design follows
the principle to share as little as possible.
The following directories are relevant:
Table 4-5 File System Layout for Hot Standby liveCache
Volume ManagerMount PointPackageAccess Point
any/sapdb/<LCSID>nonelocal
any/sapdb/programsnonelocal
any/sapdb/datanonelocal
any/var/spool/sql/ininonelocal
must be LVM-based/sapdb/<LCSID>/datannonelocal; with XP BCVs
between the nodes
must be CVM-based/sapdb/<LCSID>/lognSG-CFS-DG-<LCSID>logn
SG-CFS-MP-<LCSID>logn
shared disk and CFS
MAXDB Storage Considerations
SGeSAP supports current MAXDB, liveCache and older MAXDB releases. The considerations made below
will apply similarly to MAXDB,liveCache and MAXDB clusters unless otherwise indicated.
MAXDB Storage Considerations 97