Skip to content

Commit

Permalink
Merge pull request #490 from ja9fuchs/ha_for_nw
Browse files Browse the repository at this point in the history
sap_ha_pacemaker_cluster: fix: pause before HACheckConfig is run
  • Loading branch information
sean-freeman authored Sep 29, 2023
2 parents 5e1e42f + d15fb38 commit 836e86a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@
/usr/sap/hostctrl/exe/sapcontrol -nr {{ sap_ha_pacemaker_cluster_nwas_abap_ers_instance_nr }} -function RestartService
changed_when: __sap_ha_pacemaker_cluster_register_restart_ers.rc == 0

- name: "SAP HA Pacemaker - (SAP HA Interface) Pause after service restart"
when:
- __sap_ha_pacemaker_cluster_register_restart_ascs.changed
or __sap_ha_pacemaker_cluster_register_restart_ers.changed
ansible.builtin.pause:
seconds: 10

- name: "SAP HA Pacemaker - (SAP HA Interface) Run HA check for ASCS"
when:
- __sap_ha_pacemaker_cluster_register_where_ascs.rc == 0
Expand Down

0 comments on commit 836e86a

Please sign in to comment.