Managing HP Serviceguard Extension for SAP for Linux, December 2013

# rpm -ivh
serviceguard-extension-for-sap-A.06.00.20.99-0.sles11.x86_64.rpm
Depending on the date on which the used HANA appliances were pre-installed, a
pidentd package might already be on the systems.
Do not replace HANA appliances with any other version if the pre-installed one is of a
higher version.
3. Run the following command to check if SGeSAP is installed:
# rpm -qa | grep serviceguard
serviceguard-A.11.20.20-0.sles11
serviceguard-extension-for-sap-A.06.00.20.99-0.sles11
4. Run the following command to configure the SLES operating system:
# cmpreparecl n <node_1> -n <node_2> -q <quorum_node>
cmpreparecl updates $SGCONF/cmclnodelist, /etc/hosts, and /etc/
nsswitch.conf files for all the nodes listed with the command.
NOTE: In Linux, cmpreparecl command automatically sets up the ssh
public/private keys.
5. Create an empty cluster using node1 and node2.
a. Create an ASCII cluster configuration file.
cmquerycl -n <node_1> -n <node_2> -q <quorum_node> -C
/opt/cmcluster/conf/cluster.conf
b. Edit the cluster.conf file to modify the local settings.
c. Verify and apply the cluster configuration by using the following commands.
# cmcheckconf -C /opt/cmcluster/conf/cluster.conf
# cmapplyconf -C /opt/cmcluster/conf/cluster.conf
6. Run the following command to start the cluster.
# cmruncl
7. Run the following command to view the configured HANA cluster.
# cmviewcl
CLUSTER STATUS HANA_sg_concept_cluster up NODE STATUS STATE<node_1> up running <node_2> up running
6.3 Deploying HANA cluster packages
To integrate the SAP HANA instances into the cluster:
1. Run the following command on primary node to identify the instance.
# sapgetconf sap_global
The output displays a HANA system ID.
sgesap/hdb_global/hdb_system=<SID>
NOTE: The SGeSAP tool sapgetconf scans for SAP configurations on the current node
and displays selected parameters.
2. Run the following command on the secondary node to identify the instance.
Use the secondary node for Dual-purpose.
# sapgetconf sap_global
6.3 Deploying HANA cluster packages 91