From 1d0ab6e7e2e5a67fd3aeccb3d0479e0bcfe24a22 Mon Sep 17 00:00:00 2001 From: Rob Dobozy Date: Fri, 3 Jan 2025 18:19:24 +0000 Subject: [PATCH 1/4] sap_ha_pacemaker_cluster: Allow to append manual cluster config to the generated config --- roles/sap_ha_pacemaker_cluster/README.md | 18 +++++++++++++++++- .../tasks/construct_final_hacluster_vars.yml | 10 +++++----- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/roles/sap_ha_pacemaker_cluster/README.md b/roles/sap_ha_pacemaker_cluster/README.md index a74280e49..10b338efe 100644 --- a/roles/sap_ha_pacemaker_cluster/README.md +++ b/roles/sap_ha_pacemaker_cluster/README.md @@ -89,7 +89,7 @@ It is recommended to execute this role together with other roles in this collect #### SAP Netweaver cluster 1. [sap_general_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_general_preconfigure) -2. [sap_netweaver_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_netweaver_preconfigure) +2. [sap_netweaver_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_netweaver_preconfigure) 3. [sap_install_media_detect](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_install_media_detect) 4. [sap_swpm](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_swpm) 5. *`sap_ha_pacemaker_cluster`* @@ -1167,4 +1167,20 @@ Name of the NetWeaver SCS resource group.
Name of the Virtual IP resource for NetWeaver Central Services (SCS).
+### sap_ha_pacemaker_cluster_constraints_colocation_append
sap_ha_cluster_constraints_location_append
sap_ha_pacemaker_cluster_constraints_order_append
sap_ha_cluster_resource_clones_append
sap_ha_cluster_resource_primitives_append + +- _Type:_ `list` + +This role generally respects pre-defined ha_cluster* variables and tries to merge the configuration it generates with the content of the pre-defined variables.
+However, in some cases the order of resources is important. The above variables allow to append a specific cluster configuration AFTER the configuration generated by this role.
+ +The order in which cluster configuration is generated before it's passed to `ha_cluster` role is: +1. `ha_cluster*` variables (if defined). +2. Configuration created by this role based on provided parameters. +3. The content of `sap_ha_[pacemaker|cluster]*_append` variables is appended. +
+ +NOTE: The config in the `*_append` variables is appended only if this role has created entries in the equivalent HA cluster variable e.g. `ha_cluster_constraints_colocation` during the run. If nothing has been defined by this role, there is no reason to append anything. In this case just use the appropriate `ha_cluster*` variable (step 1. above). +
+ diff --git a/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml b/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml index 9c9af77f4..d86f411f3 100644 --- a/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml +++ b/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml @@ -69,17 +69,17 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_colocation'" when: __sap_ha_pacemaker_cluster_constraints_colocation is defined ansible.builtin.set_fact: - ha_cluster_constraints_colocation: "{{ __sap_ha_pacemaker_cluster_constraints_colocation }}" + ha_cluster_constraints_colocation: "{{ __sap_ha_pacemaker_cluster_constraints_colocation + sap_ha_pacemaker_cluster_constraints_colocation_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_location'" when: __sap_ha_pacemaker_cluster_constraints_location is defined ansible.builtin.set_fact: - ha_cluster_constraints_location: "{{ __sap_ha_pacemaker_cluster_constraints_location }}" + ha_cluster_constraints_location: "{{ __sap_ha_pacemaker_cluster_constraints_location + sap_ha_cluster_constraints_location_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_order'" when: __sap_ha_pacemaker_cluster_constraints_order is defined ansible.builtin.set_fact: - ha_cluster_constraints_order: "{{ __sap_ha_pacemaker_cluster_constraints_order }}" + ha_cluster_constraints_order: "{{ __sap_ha_pacemaker_cluster_constraints_order + sap_ha_pacemaker_cluster_constraints_order_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_extra_packages'" when: __sap_ha_pacemaker_cluster_extra_packages is defined @@ -105,7 +105,7 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_clones'" when: __sap_ha_pacemaker_cluster_resource_clones is defined ansible.builtin.set_fact: - ha_cluster_resource_clones: "{{ __sap_ha_pacemaker_cluster_resource_clones }}" + ha_cluster_resource_clones: "{{ __sap_ha_pacemaker_cluster_resource_clones + sap_ha_cluster_resource_clones_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_groups'" when: __sap_ha_pacemaker_cluster_resource_groups is defined @@ -115,7 +115,7 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_primitives'" when: __sap_ha_pacemaker_cluster_resource_primitives is defined ansible.builtin.set_fact: - ha_cluster_resource_primitives: "{{ __sap_ha_pacemaker_cluster_resource_primitives }}" + ha_cluster_resource_primitives: "{{ __sap_ha_pacemaker_cluster_resource_primitives + sap_ha_cluster_resource_primitives_append | d([]) }}" no_log: true # be paranoid, there could be credentials in it - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_totem'" From e1f5da816549b85fd3274973ce988abc3043b414 Mon Sep 17 00:00:00 2001 From: Rob Dobozy Date: Fri, 21 Feb 2025 17:28:16 +0000 Subject: [PATCH 2/4] sap_ha_pacemaker: Add experimental append variables for HA cluster configuration --- roles/sap_ha_pacemaker_cluster/README.md | 32 ++++---- .../meta/argument_specs.yml | 74 +++++++++++++++++++ .../tasks/construct_final_hacluster_vars.yml | 6 +- 3 files changed, 93 insertions(+), 19 deletions(-) diff --git a/roles/sap_ha_pacemaker_cluster/README.md b/roles/sap_ha_pacemaker_cluster/README.md index 021ee61d6..d90e9c41a 100644 --- a/roles/sap_ha_pacemaker_cluster/README.md +++ b/roles/sap_ha_pacemaker_cluster/README.md @@ -146,6 +146,22 @@ It is recommended to execute this role together with other roles in this collect ## Further Information + +### sap_ha_pacemaker_cluster_*_append variables +`*EXPERIMENTAL*`
+This role inherits pre-defined `ha_cluster*` variables and merges them with role specific parameters.
+However, in some cases the order of resources is important. The `*_append` variables allow to append a specific cluster configuration AFTER the configuration generated by this role.
+ +The order in which cluster configuration is generated before it's passed to `ha_cluster` role is: +1. `ha_cluster*` variables (if defined). +2. Configuration created by this role based on provided parameters. +3. The content of `sap_ha_pacemaker_*_append` variables is appended. +
+ +NOTE: There is no check to validate the content of the `*_append` variables. You must append your configuration in a way that it doesn't break the configuration generated by this role.
+NOTE: The config in the `*_append` variables is appended only if this role has created entries in the equivalent HA cluster variable e.g. `ha_cluster_constraints_colocation` during the run. If nothing has been defined by this role, there is no reason to append anything. In this case just use the appropriate `ha_cluster*` variable (step 1. above). +
+ For more examples on how to use this role in different installation scenarios, refer to the [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) playbooks. Cluster can be further customized with inputs available from underlying role [ha_cluster](https://github.com/linux-system-roles/ha_cluster/blob/main/README.md), which will take precedence over `sap_ha_pacemaker_cluster` inputs. @@ -1168,20 +1184,4 @@ Name of the NetWeaver SCS resource group.
Name of the Virtual IP resource for NetWeaver Central Services (SCS).
-### sap_ha_pacemaker_cluster_constraints_colocation_append
sap_ha_cluster_constraints_location_append
sap_ha_pacemaker_cluster_constraints_order_append
sap_ha_cluster_resource_clones_append
sap_ha_cluster_resource_primitives_append - -- _Type:_ `list` - -This role generally respects pre-defined ha_cluster* variables and tries to merge the configuration it generates with the content of the pre-defined variables.
-However, in some cases the order of resources is important. The above variables allow to append a specific cluster configuration AFTER the configuration generated by this role.
- -The order in which cluster configuration is generated before it's passed to `ha_cluster` role is: -1. `ha_cluster*` variables (if defined). -2. Configuration created by this role based on provided parameters. -3. The content of `sap_ha_[pacemaker|cluster]*_append` variables is appended. -
- -NOTE: The config in the `*_append` variables is appended only if this role has created entries in the equivalent HA cluster variable e.g. `ha_cluster_constraints_colocation` during the run. If nothing has been defined by this role, there is no reason to append anything. In this case just use the appropriate `ha_cluster*` variable (step 1. above). -
- diff --git a/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml b/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml index 8f699c35d..184430c30 100644 --- a/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml +++ b/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml @@ -361,6 +361,80 @@ argument_specs: no_log: true required: true + ########################################################################## + # Parameters that are optionally appended to 'sap_ha_pacemaker' parameters + ########################################################################## + + sap_ha_pacemaker_cluster_constraints_colocation_append: + type: dict + description: + - EXPERIMETAL + - Additional colocation constraints to be appended to the generated constraints. + - Equivalent to `ha_cluster_constraints_colocation` in the `ha_cluster` Linux System Role. + - Supported options can be reviewed in the `ha_cluster` Linux System Role + [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. + + example: + sap_ha_pacemaker_cluster_constraints_location_append: + - resource: + id: "grp_{{ sap_system_sid }}_ASCS{{ sap_ha_pacemaker_cluster_nwas_abap_ascs_instance_nr }}" + rule: "ethmonitor-ens192 ne 1" + id: "location-grp_{{ sap_system_sid }}_ASCS{{ sap_ha_pacemaker_cluster_nwas_abap_ascs_instance_nr }}" + options: + - name: score + value: -INFINITY + + sap_ha_pacemaker_cluster_constraints_location_append: + type: dict + description: + - EXPERIMETAL + - Additional location constraints to be appended to the generated constraints. + - Equivalent to `ha_cluster_constraints_location` in the `ha_cluster` Linux System Role. + - Supported options can be reviewed in the `ha_cluster` Linux System Role + [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. + + + sap_ha_pacemaker_cluster_constraints_order_append: + type: dict + description: + - EXPERIMETAL + - Additional order constraints to be appended to the generated constraints. + - Equivalent to `ha_cluster_constraints_order` in the `ha_cluster` Linux System Role. + - Supported options can be reviewed in the `ha_cluster` Linux System Role + [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. + + sap_ha_pacemaker_cluster_resource_clones_append: + type: dict + description: + - EXPERIMETAL + - Additional resource clones to be appended to the generated resource clones. + - Equivalent to `ha_cluster_resource_clones` in the `ha_cluster` Linux System Role. + - Supported options can be reviewed in the `ha_cluster` Linux System Role + [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. + + example: + sap_ha_cluster_resource_clones_append: + - resource_id: ethmonitor-ens192 + + sap_ha_pacemaker_cluster_resource_primitives_append: + type: dict + description: + - EXPERIMETAL + - Additional resource primitives to be appended to the generated resource primitives. + - Equivalent to `ha_cluster_resource_primitives` in the `ha_cluster` Linux System Role. + - Supported options can be reviewed in the `ha_cluster` Linux System Role + [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. + + example: + sap_ha_cluster_resource_primitives_append: + - id: ethmonitor-ens192 + agent: ocf:heartbeat:ethmonitor + instance_attrs: + - attrs: + - name: interface + value: ens192 + - name: link_status_only + value: 'true' ########################################################################## # HANA specific parameters diff --git a/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml b/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml index d86f411f3..3d605c525 100644 --- a/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml +++ b/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml @@ -74,7 +74,7 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_location'" when: __sap_ha_pacemaker_cluster_constraints_location is defined ansible.builtin.set_fact: - ha_cluster_constraints_location: "{{ __sap_ha_pacemaker_cluster_constraints_location + sap_ha_cluster_constraints_location_append | d([]) }}" + ha_cluster_constraints_location: "{{ __sap_ha_pacemaker_cluster_constraints_location + sap_ha_pacemaker_cluster_constraints_location_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_order'" when: __sap_ha_pacemaker_cluster_constraints_order is defined @@ -105,7 +105,7 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_clones'" when: __sap_ha_pacemaker_cluster_resource_clones is defined ansible.builtin.set_fact: - ha_cluster_resource_clones: "{{ __sap_ha_pacemaker_cluster_resource_clones + sap_ha_cluster_resource_clones_append | d([]) }}" + ha_cluster_resource_clones: "{{ __sap_ha_pacemaker_cluster_resource_clones + sap_ha_pacemaker_cluster_resource_clones_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_groups'" when: __sap_ha_pacemaker_cluster_resource_groups is defined @@ -115,7 +115,7 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_primitives'" when: __sap_ha_pacemaker_cluster_resource_primitives is defined ansible.builtin.set_fact: - ha_cluster_resource_primitives: "{{ __sap_ha_pacemaker_cluster_resource_primitives + sap_ha_cluster_resource_primitives_append | d([]) }}" + ha_cluster_resource_primitives: "{{ __sap_ha_pacemaker_cluster_resource_primitives + sap_ha_pacemaker_cluster_resource_primitives_append | d([]) }}" no_log: true # be paranoid, there could be credentials in it - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_totem'" From de516c0b270c69be05dc52f320ac182331656c2f Mon Sep 17 00:00:00 2001 From: Rob Dobozy Date: Fri, 21 Feb 2025 17:30:52 +0000 Subject: [PATCH 3/4] sap_ha_pacemaker: Fix spelling of "EXPERIMENTAL" in argument specifications for HA cluster configuration --- roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml b/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml index 184430c30..c6afecfa5 100644 --- a/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml +++ b/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml @@ -368,7 +368,7 @@ argument_specs: sap_ha_pacemaker_cluster_constraints_colocation_append: type: dict description: - - EXPERIMETAL + - EXPERIMENTAL - Additional colocation constraints to be appended to the generated constraints. - Equivalent to `ha_cluster_constraints_colocation` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role @@ -387,7 +387,7 @@ argument_specs: sap_ha_pacemaker_cluster_constraints_location_append: type: dict description: - - EXPERIMETAL + - EXPERIMENTAL - Additional location constraints to be appended to the generated constraints. - Equivalent to `ha_cluster_constraints_location` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role @@ -397,7 +397,7 @@ argument_specs: sap_ha_pacemaker_cluster_constraints_order_append: type: dict description: - - EXPERIMETAL + - EXPERIMENTAL - Additional order constraints to be appended to the generated constraints. - Equivalent to `ha_cluster_constraints_order` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role @@ -406,7 +406,7 @@ argument_specs: sap_ha_pacemaker_cluster_resource_clones_append: type: dict description: - - EXPERIMETAL + - EXPERIMENTAL - Additional resource clones to be appended to the generated resource clones. - Equivalent to `ha_cluster_resource_clones` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role @@ -419,7 +419,7 @@ argument_specs: sap_ha_pacemaker_cluster_resource_primitives_append: type: dict description: - - EXPERIMETAL + - EXPERIMENTAL - Additional resource primitives to be appended to the generated resource primitives. - Equivalent to `ha_cluster_resource_primitives` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role From 1a3c34e101741076a1264cbb9734480660d4df68 Mon Sep 17 00:00:00 2001 From: Rob Dobozy Date: Mon, 24 Feb 2025 17:02:46 +0000 Subject: [PATCH 4/4] sap_ha_pacemaker: updated documentation + added resource_groups_append --- roles/sap_ha_pacemaker_cluster/README.md | 2 +- .../meta/argument_specs.yml | 19 ++++++++++++++----- .../tasks/construct_final_hacluster_vars.yml | 2 +- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/roles/sap_ha_pacemaker_cluster/README.md b/roles/sap_ha_pacemaker_cluster/README.md index d90e9c41a..fbfbe6f4a 100644 --- a/roles/sap_ha_pacemaker_cluster/README.md +++ b/roles/sap_ha_pacemaker_cluster/README.md @@ -150,7 +150,7 @@ It is recommended to execute this role together with other roles in this collect ### sap_ha_pacemaker_cluster_*_append variables `*EXPERIMENTAL*`
This role inherits pre-defined `ha_cluster*` variables and merges them with role specific parameters.
-However, in some cases the order of resources is important. The `*_append` variables allow to append a specific cluster configuration AFTER the configuration generated by this role.
+However, in some cases the order in which the resources are created is important. The `*_append` variables allow you to append a specific cluster configuration AFTER the configuration generated by this role.
The order in which cluster configuration is generated before it's passed to `ha_cluster` role is: 1. `ha_cluster*` variables (if defined). diff --git a/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml b/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml index c6afecfa5..917209027 100644 --- a/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml +++ b/roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml @@ -369,7 +369,7 @@ argument_specs: type: dict description: - EXPERIMENTAL - - Additional colocation constraints to be appended to the generated constraints. + - Additional colocation constraints to be appended to the constraints generated by this role.. - Equivalent to `ha_cluster_constraints_colocation` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. @@ -388,7 +388,7 @@ argument_specs: type: dict description: - EXPERIMENTAL - - Additional location constraints to be appended to the generated constraints. + - Additional location constraints to be appended to the constraints generated by this role. - Equivalent to `ha_cluster_constraints_location` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. @@ -398,7 +398,7 @@ argument_specs: type: dict description: - EXPERIMENTAL - - Additional order constraints to be appended to the generated constraints. + - Additional order constraints to be appended to the constraints generated by this role. - Equivalent to `ha_cluster_constraints_order` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. @@ -407,7 +407,7 @@ argument_specs: type: dict description: - EXPERIMENTAL - - Additional resource clones to be appended to the generated resource clones. + - Additional resource clones to be appended to the resource clones generated by this role. - Equivalent to `ha_cluster_resource_clones` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. @@ -416,11 +416,20 @@ argument_specs: sap_ha_cluster_resource_clones_append: - resource_id: ethmonitor-ens192 + sap_ha_pacemaker_cluster_resource_groups_append: + type: dict + description: + - EXPERIMENTAL + - Additional resource clones to be appended to the resource clones generated by this role. + - Equivalent to `ha_cluster_resource_groups` in the `ha_cluster` Linux System Role. + - Supported options can be reviewed in the `ha_cluster` Linux System Role + [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. + sap_ha_pacemaker_cluster_resource_primitives_append: type: dict description: - EXPERIMENTAL - - Additional resource primitives to be appended to the generated resource primitives. + - Additional resource primitives to be appended to the resource primitives generated by this role. - Equivalent to `ha_cluster_resource_primitives` in the `ha_cluster` Linux System Role. - Supported options can be reviewed in the `ha_cluster` Linux System Role [https://github.com/linux-system-roles/ha_cluster/blob/master/README.md]. diff --git a/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml b/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml index 3d605c525..46e685622 100644 --- a/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml +++ b/roles/sap_ha_pacemaker_cluster/tasks/construct_final_hacluster_vars.yml @@ -110,7 +110,7 @@ - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_groups'" when: __sap_ha_pacemaker_cluster_resource_groups is defined ansible.builtin.set_fact: - ha_cluster_resource_groups: "{{ __sap_ha_pacemaker_cluster_resource_groups }}" + ha_cluster_resource_groups: "{{ __sap_ha_pacemaker_cluster_resource_groups + sap_ha_pacemaker_cluster_resource_groups_append | d([]) }}" - name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_primitives'" when: __sap_ha_pacemaker_cluster_resource_primitives is defined