© 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
Содержание C880 M4
Страница 46: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 46 of 146 Figure 44 ...
Страница 47: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 47 of 146 Figure 45 ...
Страница 48: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 48 of 146 Figure 46 ...
Страница 49: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 49 of 146 Figure 47 ...
Страница 50: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 50 of 146 Figure 48 ...
Страница 51: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 51 of 146 Figure 49 ...
Страница 52: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 52 of 146 Figure 50 ...
Страница 139: ... 2017 Cisco and or its affiliates All rights reserved This document is Cisco Public Page 139 of 146 Figure 147 ...