hae-config-creator version 2.4
Written by Gao, Ming
Rebuild by Liguangtao (ligtpea@163.com)
This tool could be used to configure HAE for HANA easily.
Before you run this tool, you need finish the following:
1. HANA installed on both nodes
2. System Replication is configured and takeover works
3. HAE packages are installed and configured(zypper -n install --type pattern ha_sles; zypper install SAPHanaSR; sleha-init; scp /etc/corosync/corosync.conf server02:/etc/corosync/; sleha-join).
4. Pacemaker's status is good on both HANA nodes.
5. Both IMM IPs are accessible from OS
Note: For hana2.0, please upgrade SAPHanaSR to SAPHanaSR-0.152.21-1.1 or higher.
Usage:
1. Edit settings.sh
2. Run the following:
chmod +x crmconfig.sh
./crmconfig.sh
3. Check the status on HAWK: https://server01:7630/
##Edit by Liguangtao
##delete the under configure parameter @v2.4 , because it will lead the HAE into cycle reboot fencing mode at the version of HANA 2 SP04+
## so , if you are using under the version HANA 2 SP04,please don't delete it
no-quorum-policy=ignore \