Skip to content

Commit

Permalink
Align azure deployment with the documentation (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillAnastasiadis authored Nov 11, 2024
1 parent 354016c commit 1491df6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ansible/playbooks/tasks/azure-cluster-hana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
InstanceNumber="{{ sap_hana_install_instance_number }}"
when: hana_topology_resource | length == 0

- name: Set stonith-timeout [sdb]
- name: Set stonith-timeout [sbd]
ansible.builtin.command:
cmd: crm configure property stonith-timeout=144
when:
Expand All @@ -51,13 +51,20 @@
cmd: crm configure property stonith-timeout=900
when:
- stonith_timeout | length == 0
- use_sbd | bool
- not use_sbd | bool

- name: Enable stonith
ansible.builtin.command:
cmd: crm configure property stonith-enabled=true
when: stonith_enabled != 'true'

# see https://learn.microsoft.com/en-us/azure/sap/workloads/high-availability-guide-suse-pacemaker?tabs=msi#create-a-fencing-device-on-the-pacemaker-cluster
- name: Enable concurrent fencing (native fencing)
ansible.builtin.command:
cmd: crm configure property concurrent-fencing=true
when:
- not use_sbd | bool

- name: Create HANA topology clone
ansible.builtin.command:
cmd: >-
Expand Down

0 comments on commit 1491df6

Please sign in to comment.