sap_ha_pacemaker_cluster: Add support for clustered WebDisp systems #929
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi all,
@marcelmamula @ja9fuchs
This PR adds option to configure a clustered SAP Web Dispatcher system.
Rationale: SAP WebDisp (WD) needs to be resilient in the same way Central Services (ASCS) do.
In cloud environments resiliency is generally achieved by installing multiple WD instances and putting a load balancer in front of them. However, with on-prem deployments load balancer is usually an overkill for small to medium deployments as it can have impact on supportability and costs. So specifically with on-prem bare-metal and VMware installations in mind this PR adds supports for clustered WDs.
Thanks to the clever way the ha_pacemaker_cluster role is written, it was relatively easy to add another host type (
sap_ha_pacemaker_cluster_host_type
):sap_webdisp
to achieve it.As far as I can tell (tested on 8 systems) it is completely non-impacting enhancement and can be used stand-alone or together with other cluster host types (mainly nwas_abap_ascs_ers).
It was tested on-prem only and may need a minimal enhancement for different cloud providers. Although I am not sure if there is a usage case for that.
The minimal input for it to work is as the following:
Note: For some reason Github has decided that few files can't be merged automatically and is marking the whole file as different even though only 1 line was changed. I'm not sure if I've done something wrong, but I can't see it. Any advice would be appreciated.