You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -943,38 +943,45 @@ Now you're ready to create the cluster resources:
943
943
> [!NOTE]
944
944
> For the minimum supported version of package `resource-agents-sap-hana-scaleout`foryour operating system release, see [Support policies for RHEL HA clusters - Management of SAP HANAin a cluster](https://access.redhat.com/articles/3397471) .
945
945
946
-
2. **[1,2]** Install the HANA system replication hook on one HANA DB node on each system replication site. SAP HANA should still be down.
946
+
2. **[1,2]** Configure the HANA system replication hooks on one HANA DB node on each system replication site. SAP HANA should still be down.
947
+
`resource-agents-sap-hana-scaleout` version 0.185.3-0 or newer includes both hooks SAPHanaSR and ChkSrv. It is mandatory for correct cluster operation to enable the SAPHanaSR hook. We highly recommend that you configure both SAPHanaSR and ChkSrv Python hooks.
If you point parameter `path` to the default `/usr/share/SAPHanaSR-ScaleOut` location, the Python hook code updates automatically through OS updates. HANA uses the hook code updates when it next restarts. With an optional own path like `/hana/shared/myHooks`, you can decouple OS updates from the hook version that HANA will use.
970
+
971
+
You can adjust the behavior of `ChkSrv` hook by using the `action_on_lost` parameter. Valid values are [ `ignore`|`stop`|`kill` ].
972
+
973
+
For more information on the implementation of the SAP HANA hooks, see [Enabling the SAP HANA srConnectionChanged() hook](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_for_sap_solutions/9/html-single/automating_sap_hana_scale-out_system_replication_using_the_rhel_ha_add-on/index#proc_instances_automating-sap-hana-scale-out-v9) and [Enabling the SAP HANA srServiceStateChanged() hook for hdbindexserver process failure action (optional)](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_for_sap_solutions/9/html-single/automating_sap_hana_scale-out_system_replication_using_the_rhel_ha_add-on/index#con_hooks_automating-sap-hana-scale-out-v9).
974
+
969
975
3. **[AH]** The cluster requires sudoers configuration on the cluster node for<sid\>adm. In this example, you achieve this by creating a new file. Run the commands as `root`.
970
976
971
977
```bash
972
978
sudo visudo -f /etc/sudoers.d/20-saphana
973
979
# Insert the following lines and then save
974
980
Cmnd_Alias SOK = /usr/sbin/crm_attribute -n hana_hn1_glob_srHook -v SOK -t crm_config -s SAPHanaSR
6. **[1]** Verify the ChkSrv hook installation. Run as <sid\>adm on the active HANA system replication site.
1007
+
1008
+
```bash
1009
+
cdtrace
1010
+
tail -20 nameserver_chksrv.trc
1000
1011
```
1001
1012
1002
-
6. **[1]** Create the HANA cluster resources. Run the following commands as `root`.
1013
+
7. **[1]** Create the HANA cluster resources. Run the following commands as `root`.
1003
1014
1. Make sure the cluster is already in maintenance mode.
1004
1015
1005
1016
2. Next, create the HANA topology resource.
@@ -1089,7 +1100,7 @@ Now you're ready to create the cluster resources:
1089
1100
pcs constraint location SAPHanaTopology_HN1_HDB03-clone rule resource-discovery=never score=-INFINITY hana_nfs_s1_active ne true and hana_nfs_s2_active ne true
1090
1101
```
1091
1102
1092
-
7. **[1]** Place the cluster out of maintenance mode. Make sure that the cluster status is `ok`, and that all of the resources are started.
1103
+
8. **[1]** Place the cluster out of maintenance mode. Make sure that the cluster status is `ok`, and that all of the resources are started.
0 commit comments