Managing Serviceguard Extension for SAP Version A.06.00 for Linux, December 2012

NOTE:
To get complete package configurations it is recommend that SAP database and instances
are running on the node where deploysappkgs is invoked. Otherwise, attributes (especially
regarding the filesystem and volume_group module) might be missing.
deploysappkgs can also be invoked at the end of Phase2 on the primary node. However,
the created package configurations cannot be applied yet.
Creating SGeSAP package with guided configuration using Serviceguard Manager
NOTE: To create a package you can use either Serviceguard Manager GUI or the CLI. This
section describes GUI steps and the CLI steps are described in the “Creating SGeSAP package
with CLI interface (page 65) section.
1. Startup the Servicegurad Manager and add the SGeSAP modules to the existing base
packages, if they are not added in phase 1.
2. Update the SGeSAP attributes with the current values, if the SGeSAP modules are already
added in Phase 1.
Creating SGeSAP package with CLI interface
NOTE: To create a package you can use either Serviceguard Manager GUI or the CLI. This
section describes CLI steps and the GUI steps are described in the “Creating SGeSAP package
with guided configuration using Serviceguard Manager” (page 65) section.
The SGeSAP configuration must be added to the Serviceguard “base packages created earlier,
if they are not added in phase 1.
An example for adding or updating the package using the command line is as follows:
1. Run the mv <pkg>.config<pkg>.config.SAVE command to add sapinstance module
to an existing package.
2. Run the cmmakepkg m sgesap/sapinstance -i <pkg>.config.SAVE
<pkg>.config command
3. Run the mv <pkg>.config<pkg>.config.SAVE command to add dbinstance module
to an existing package.
4. Run the cmmakepkg m sgesap/dbinstance -i <pkg>.config.SAVE
<pkg>.config command
5. Edit the package configuration file to update the relevant SGeSAP attributes.
NOTE: Non SGeSAP attributes such as service or generic_resource must also be
updated.
6. Run the cmapplyconf P <pkg>.config command to apply the configuration.
7. Run the cmrunpkg <pkg> command to start the package.
Module sgesap/sap_global SAP common instance settings
This module contains the common SAP instance settings that are included by the following SGeSAP
modules:
sapinstance
mdminstance
sapextinstance
sapinfra
Completing SGeSAP package creation (Phase 3b) 65