sap-linuxlab / community.sap_install

Automation for SAP - Collection of Ansible Roles for various SAP software installation
Apache License 2.0
54 stars 57 forks source link

sap_ha_pacemaker_cluster: JAVA HA scenarios and complete refactor #882

Open marcelmamula opened 3 weeks ago

marcelmamula commented 3 weeks ago

Purpose

  1. Add SAP Netweaver SCS/ERS cluster scenario
  2. Simplify variables to align with SAP naming (ASCS is ABAP SCS, there is no reason to specify ABAP ASCS as it is contained in its name).

Changes

  1. Added SCS/ERS ENSA1 and ENSA2 Classic and Simple Mount (same code as ASCS since there are no differences in config itself)

  2. Refactor of all variables with *nwas_abap_* to *nwas_* to work with java and to make more sense in regards to SAP naming.

    • *nwas_abap_* is retained only as part of sap_ha_pacemaker_cluster_host_type
      nwas_abap_ascs_ers
      nwas_abap_pas_aas
      nwas_java_scs_ers
  3. Refactor of private variables to remove all calculations from defaults and vars. All of them are moved to include_vars tasks separately so we can do

    • Use backwards compatible variables until they are removed
    • Use user variables if specified
    • Default back to empty string or calculated variable of user did not specify.
  4. New asserts to cover mandatory variables, that were mandatory before, but never validated with assert.

  5. Added variables for future proofing PAS/AAS, but not actual cluster setup code.

  6. argument_spec and readme updated with variables that were not listed before (health checks, VIP, etc.)

  7. Added DEPRECATED_VARIABLES.md with list of changed variables and their status.

Tested and validated on

Operating system:

Platforms:

Tested scenarios: