Managing Serviceguard Extension for SAP Version B.05.10, September 2010
/sapdb/programs/runtime/7401=7.4.1.0,
/sapdb/programs/runtime/7402=7.4.2.0,
• For MAXDB and liveCache Version 7.5 (or higher), the SAP_DBTech.ini file does not
contain sections [Installations], [Databases], and [Runtime]. These sections
are stored in separate files Installations.ini, Databases.ini, and Runtimes.ini
in the IndepData path /sapdb/data/config.
A sample SAP_DBTech.ini, Installations.ini, Databases.ini, and Runtimes.ini
for a host with a liveCache 7.5 (LC2) and an APO 4.1 using a MAXDB 7.5 (AP2) from
/var/spool/sql/ini/SAP_DBTech.ini:
[Globals]
IndepData=/sapdb/data
IndepPrograms=/sapdb/programs
from /sapdb/data/config/Runtimes.ini:
[Runtime]
/sapdb/programs/runtime/7500=7.5.0.0
From /sapdb/data/config/Installations.ini:
[Installations]
/sapdb/LC2/db=7.5.0.15,/sapdb/LC2/db
/sapdb/AP2/db=7.5.0.21,/sapdb/AP2/db
From /sapdb/data/config/Databases.ini:
[Databases]
.M750015=/sapdb/LC2/db
LC2=/sapdb/LC2/db.
M750021=/sapdb/AP2/db
AP2=/sapdb/AP2/db
• MaxDB 7.8 doesn’t create SAP_DBTech.ini anymore. [Globals] section is defined in
/etc/opt/sdb. MaxDB 7.8 introduces the concept of “isolated installations.” This means
that a DB installation contains its own set of (version specific) executables
(/sapdb/<DBSID>/db/bin), it own data directory (/sapdb/<DBSID>/data), and a
specific client directory (/sapdb/client/<DBSID>). At runtime, there will be a database
specific set of x_server related processes.
NOTE: The[Globals] section is commonly shared between LC1/LC2 and AP1/AP2. This
prevents setups that keep the directories of LC1 and AP1 completely separated.
The following directories are of special interest:
• /sapdb/programs: this can be seen as a central directory with all MAXDB executables.
The directory is shared between all MAXDB instances that reside on the same host. It is also
possible to share the directory across hosts. But, it is not possible to use different executable
directories for two MAXDB instances on the same host. Furthermore, different SAPDB
versions could get installed on the same host. The files in /sapdb/programs should be
the latest version in any MAXDB on the cluster node. Files in /sapdb/programs are
downwards compatible. For liveCache 7.4 and APO 3.1 using SAPDB 7.3, SAPDB 7.4 version
executables must be installed in /sapdb/programs. It is important to realize, that also any
SAPDB based SAP application server instance will use this path to access the database client
files.
• /sapdb/data/config: This directory is also shared between instances, though you can
find lots of files that are Instance specific in here, for example,
/sapdb/data/config/<DBSID>.* According to SAP this path setting is static.
• /sapdb/data/wrk: The working directory of the main MAXDB processes is also a
subdirectory of the IndepData path for non-HA setups. If a SAPDB restarts after a crash, it
copies important files from this directory to a backup location. This information is then used
to determine the reason of the crash. In HA scenarios, for SAPDB/MAXDB lower than version
Database Instance Storage Considerations 33