@@ -92,6 +92,8 @@ __sap_ha_pacemaker_cluster_platform_extra_packages_dict:
92
92
93
93
# Dictionary with additional cluster packages for specific scenarios
94
94
__sap_ha_pacemaker_cluster_sap_extra_packages_dict :
95
+ hana_angi :
96
+ - sap-hana-ha
95
97
hana_scaleout :
96
98
- resource-agents-sap-hana-scaleout
97
99
hana_scaleup :
@@ -106,13 +108,10 @@ __sap_ha_pacemaker_cluster_sap_extra_packages_dict:
106
108
__sap_ha_pacemaker_cluster_resource_agents :
107
109
saphanatopology : " ocf:heartbeat:SAPHanaTopology"
108
110
saphana : " ocf:heartbeat:SAPHana"
109
- # TODO: Uncomment when SAPHanaSR-angi is available on Red Hat
110
- # saphanacontroller: "ocf:heartbeat:SAPHanaController"
111
- # saphanafilesystem: "ocf:heartbeat:SAPHanaFilesystem"
112
- # TODO: Uncomment when SAPStartSrv is available on Red Hat
113
- # sapstartsrv: "ocf:heartbeat:SAPStartSrv"
111
+ saphanacontroller : " ocf:heartbeat:SAPHanaController"
112
+ saphanafilesystem : " ocf:heartbeat:SAPHanaFilesystem"
113
+ sapstartsrv : " ocf:heartbeat:SAPStartSrv"
114
114
115
- # TODO: Uncomment when SAPHanaSR-angi is available on Red Hat
116
115
__sap_ha_pacemaker_cluster_saphanasr_angi_available : false
117
116
118
117
# Default SAP HANA hook parameters combined based on user decision
@@ -123,18 +122,39 @@ __sap_ha_pacemaker_cluster_hook_hana_scaleup_perf:
123
122
options :
124
123
- name : execution_order
125
124
value : 1
126
- # TODO: Add additional hooks
125
+ chksrv :
126
+ - provider : ChkSrv
127
+ path : /usr/share/SAPHanaSR/srHook/
128
+ options :
129
+ - name : execution_order
130
+ value : 2
131
+ - name : action_on_lost
132
+ value : stop
133
+
134
+ __sap_ha_pacemaker_cluster_hook_hana_scaleup_perf_angi :
135
+ saphanasr :
136
+ - provider : HanaSR
137
+ path : /usr/share/sap-hana-ha/
138
+ options :
139
+ - name : execution_order
140
+ value : 1
141
+ chksrv :
142
+ - provider : ChkSrv
143
+ path : /usr/share/sap-hana-ha/
144
+ options :
145
+ - name : execution_order
146
+ value : 2
147
+ - name : action_on_lost
148
+ value : stop
149
+ - name : stop_timeout
150
+ value : 25
127
151
128
- # Placeholder dictionaries
129
- # TODO: Define hooks when SAPHanaSR-angi is available on Red Hat
130
- __sap_ha_pacemaker_cluster_hook_hana_scaleup_perf_angi : []
131
152
__sap_ha_pacemaker_cluster_hook_hana_scaleout : []
132
153
__sap_ha_pacemaker_cluster_hook_hana_scaleout_angi : []
133
154
134
- # Disabled additional hooks until they are present in dictionary above
135
- # TODO: Remove when additional hooks are specified above.
136
- __sap_ha_pacemaker_cluster_hana_hook_tkover : false
137
- __sap_ha_pacemaker_cluster_hana_hook_chksrv : false
155
+ # Enable default OS recommended hooks
156
+ sap_ha_pacemaker_cluster_hana_hook_tkover : false
157
+ sap_ha_pacemaker_cluster_hana_hook_chksrv : true
138
158
139
159
# Central Services Cluster Simple Mount: Enabled as default
140
160
# TODO: Enable when SAPStartSrv resource agents are available on Red Hat
0 commit comments