Replies: 2 comments 1 reply
-
@rob0d The SAP HA role is written in a way that it inherits
You run the SAP HA role once with the main parts of your desired setup, then the config file should contain all the variables as they are fed into ha_cluster. You can enhance this config and add the resources and other settings not currently provided by the SAP HA role, but supported by This should also work using a dry-run to just create the Using such an enhanced config as a basis should lead to the desired results, as long as there are no conflicting resource IDs used. In theory anyway, I have not tested it with an advanced resources setup like you plan. Security remark: Another edit: |
Beta Was this translation helpful? Give feedback.
-
Hi @ja9fuchs, The confirmation that I can pre-populate I can't test it yet as the HW is not ready and I am still looking at VmWare specific variables for the role. In the meantime would you be able to confirm if these assumptions and options are correct?
and it will create the cluster with the correct resources (assuming I get the code right).
Thanks a lot |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I have a situation where I need to install multiple clustered SAP instances onto the same cluster. In this case I will have ASCS/ERS on a two node cluster and need to add a clustered Web Dispatcher instance. In the past we had a case of multiple ASCS/ERS resource groups for several SAP systems. Another case could be the "Cost-Optimised" setup with combined ASCS/ERS and HANA cluster.
So there are multiple cases where deploying independent SAP systems onto the same cluster will be helpful. However, the problem is that sap_ha_pacemaker_cluster/rhel-system-roles.ha_cluster will remove an existing cluster config if they are ran twice. This means I can't just prepare two configurations and execute the roles twice.
I am thinking about an enhancement to sap_ha_pacemaker_cluster which would allow us to prepare several configurations and then execute ha_cluster only once.
I don't think that storing things in two YAML or CIB files and then trying to merge them is a good idea (plain text passwords, etc.), so my current plan is to prepare the variables and extend the resource primitives with extra resources/constrains and groups. Possibly by changing the code here to merge
__sap_ha_pacemaker_cluster_resource_groups
with what's already inha_cluster_resource_groups
.Also the role currently doesn't support WebDisp clusters, so I can potentially add that too or use ha_cluster directly to create it.
What would you do with this? Any suggestions, comments, recommendations? Is there a better way of achieving the same outcome?
Beta Was this translation helpful? Give feedback.
All reactions