redhat_sap.sap_hana_ha_pacemaker
THIS ROLE IS NO LONGER SUPPORTED
The new version is now part of the community.sap_install collection.
sap-hana-ha-pacemaker

This role sets up pacemaker for an existing SAP HANA System Replication on 8.x systems.
Requirements
This role is designed for RHEL systems where SAP HANA is installed and there are 2 RHEL nodes with HANA System Replication set up. You can use the following Ansible Roles to achieve this:
You will need access to the necessary software repositories for RHEL High Availability (for more details, see: Automated SAP HANA System Replication in Scale-Up in pacemaker cluster).
To automate this process, you can use the redhat_sap.sap_rhsm Galaxy Role.
Role Variables
Variable | Info | Required? |
---|---|---|
sap_hana_ha_pacemaker_hana_sid | SAP HANA System ID | Yes |
sap_hana_ha_pacemaker_hana_instance_number | Instance Number | Yes, must be a string (e.g., "00") |
sap_hana_ha_pacemaker_secondary_read | Configure second Node as Active/Read-Enabled | No (default: false) |
sap_hana_ha_pacemaker_vip | Virtual IP for the HANA clustered service | Yes |
sap_hana_ha_pacemaker_secondary_vip | Virtual IP for the HANA service when second Node is Active/Read-Enabled | Only if sap_hana_ha_pacemaker_secondary_read is 'true' |
sap_hana_ha_pacemaker_configure_firewall | Whether to set up firewall rules for RHEL HA | No (default: false) |
sap_hana_ha_pacemaker_hacluster_password | Password for the 'hacluster' user | Yes |
sap_hana_ha_pacemaker_cluster_name | Name for the RHEL HA Cluster | No (default: 'hana_cluster') |
sap_hana_ha_pacemaker_node1_fqdn | Fully qualified domain name for FIRST node of the cluster | Yes |
sap_hana_ha_pacemaker_node2_fqdn | Fully qualified domain name for SECOND node of the cluster | Yes |
sap_hana_ha_pacemaker_node1_ip | IP address of the FIRST node of the cluster | Yes |
sap_hana_ha_pacemaker_node2_ip | IP address of the SECOND node of the cluster | Yes |
sap_hana_ha_pacemaker_stickiness | Whether to configure resource stickiness | No (default: false) |
sap_hana_ha_pacemaker_threshold | Whether to set migration threshold | No (default: false) |
sap_hana_ha_pacemaker_use_e4s | Whether to use 'e4s' repositories | No (default: true) |
Example Playbook
- hosts: hana
roles:
- { role: redhat_sap.sap_hana_ha_pacemaker }
Example Inventory
# cat <inventory_dir>/group_vars/hana.yml
## Variables for 'sap_hana_ha_pacemaker' role
sap_hana_ha_pacemaker_hana_sid: RH1
sap_hana_ha_pacemaker_hana_instance_number: "00"
sap_hana_ha_pacemaker_vip: 192.168.47.100
sap_hana_ha_pacemaker_hacluster_password: "Mysecretpassword"
sap_hana_ha_pacemaker_node1_fqdn: hana-node1.test.local
sap_hana_ha_pacemaker_node2_fqdn: hana-node2.test.local
sap_hana_ha_pacemaker_node1_ip: 192.168.47.21
sap_hana_ha_pacemaker_node2_ip: 192.168.47.22
License
Apache License 2.0
Author Information
Red Hat SAP Community of Practice
Informazioni sul progetto
HA configuration of pacemaker for SAP HANA
Installa
ansible-galaxy install redhat_sap.sap_hana_ha_pacemaker
Licenza
apache-2.0
Download
6.2k
Proprietario
Community repositories for SAP Solutions on Red Hat Technologies