Skip to content

Commit

Permalink
Align azure deployment with the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
BillAnastasiadis committed Nov 11, 2024
1 parent 354016c commit fa9a362
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 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,19 @@
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'

- 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 fa9a362

Please sign in to comment.