Skip to content

sap_ha_pacemaker_cluster: GCP haproxy handling and new platform VIP dictionary#862

Merged
marcelmamula merged 1 commit into
sap-linuxlab:devfrom
marcelmamula:haproxy
Sep 11, 2024
Merged

sap_ha_pacemaker_cluster: GCP haproxy handling and new platform VIP dictionary#862
marcelmamula merged 1 commit into
sap-linuxlab:devfrom
marcelmamula:haproxy

Conversation

@marcelmamula
Copy link
Copy Markdown
Contributor

Changes

  1. GCP Preconfigure task was moved to block to execute only if proper gcp_nlb_reserved_ip_haproxy method is used. This is not necessary for ipaddr method.
  2. New __sap_ha_pacemaker_cluster_sap_extra_packages_dict dictionary in OS var files to accommodate override over default VIP method. This is similar dictionary implementation as done before for stonith, extra packages and others.

Reason

haproxy is not documented method to be used on SUSE as per documentation from Google.

# SUSE - VIP: IPaddr2, Healthcheck: No pacemaker resources, but directly as part of NLB healthcheck
#   HANA: https://cloud.google.com/solutions/sap/docs/sap-hana-ha-config-sles#create_a_local_cluster_ip_resource_for_the_vip_address
#   NWAS: https://cloud.google.com/solutions/sap/docs/netweaver-ha-config-sles#create_the_vip_resources
# RHEL - VIP: IPaddr2, Healthcheck: haproxy
#   HANA: https://cloud.google.com/solutions/sap/docs/sap-hana-ha-config-rhel#create_a_virtual_ip_address_resource
#   NWAS: https://cloud.google.com/solutions/sap/docs/netweaver-ha-config-rhel#create_a_virtual_ip_address_resource

@marcelmamula marcelmamula added the enhancement New feature or request label Sep 11, 2024
@marcelmamula marcelmamula self-assigned this Sep 11, 2024
Copy link
Copy Markdown
Contributor

@ja9fuchs ja9fuchs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, adds flexibility to the VIP methods per platform and OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants