© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 133 of 146
SAP HANA High Availability (Scale-Out Only)
Since SAP HANA Revision 35, the ha_provider Python class supports the STONITH function (STONITH = Shoot
The Other Node In The Head). With this Python class, you can reboot the failing node to prevent a split brain
situation and thus inconsistency in the database. Because NFSv3 is used, you must implement the STONITH
function to prevent the database corruption because of double-mounted file systems. If the database fails over to
another node, the failed node will be rebooted from the master name server. This feature eliminates the risk of
double-mounted file systems.
Configure High Availability
The management node contains the two configuration files located in the C880_HA_Scripts.tar package.
Copy both files to /hana/shared/HA and adapt the user settings.
At the Cisco C880 M4 console, prepare the script to match the configured IPMI user name and password. The
default settings are ipmi-user
sapadm
and ipmi-user-password
cisco
.
linux:/ # mkdir /hana/shared/HA
linux:/ # cd /hana/shared/HA
linux:/ # tar –xvf /tmp/C880_HA_Scripts.tar
linux:/ # chown -R anaadm:sapsys /hana/shared/HA
linux:/ # ls -l /hana/shared/HA
-rwxr-xr-x 1 root root 1225 Jul 3 14:25
ucs_ha_class.py
-rwxr-xr-x 1 root root 2058 Jul 28 18:50 ucs
_ipmi_reset.sh
mgmtsrv06:/opt/Cisco/scripts #
vi ucs_ipmi_reset.sh
cishana01:/hana/shared/HA # cat ucs_ipmi_reset.sh
#!/bin/bash
# Cisco Systems Inc.
# SAP HANA High Availability
# Version c880.01
# changelog: 30/12/2015: Changed for C880
if [ -z $1 ]
then
echo "please add the hostname to reset to the command line"
exit 1
fi
# Trim the domain name off of the hostname
host=`echo "$1" | awk -F'.' '{print $1}'`
PASSWD=cisco
USER=sapadm