From 1491df6b6b656cf078892163357e216e9a516cc7 Mon Sep 17 00:00:00 2001 From: BillAnastasiadis <54620830+BillAnastasiadis@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:49:34 +0200 Subject: [PATCH] Align azure deployment with the documentation (#290) --- ansible/playbooks/tasks/azure-cluster-hana.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ansible/playbooks/tasks/azure-cluster-hana.yaml b/ansible/playbooks/tasks/azure-cluster-hana.yaml index c189cfba..5813d824 100644 --- a/ansible/playbooks/tasks/azure-cluster-hana.yaml +++ b/ansible/playbooks/tasks/azure-cluster-hana.yaml @@ -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: @@ -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: >-