Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure an Azure fence agent or STONITH Block Device (SBD)

A worked example

Single answer

A company runs three separate two-node Pacemaker clusters on SLES for SAP 15 SP5 Azure VMs for SAP ASCS/ERS and SAP HANA scale-up. All clusters are in the same virtual network, and each cluster's VMs are in an availability set.

Requirements:

  • Every cluster must use SBD for fencing.
  • All three clusters must share one set of fencing infrastructure.
  • If the design uses dedicated fencing VMs, nodes must still be fenced automatically while any one of those VMs is down for OS patching.
  • The design must follow Microsoft guidance for Pacemaker fencing on Azure.

Which fencing design meets all the requirements?

Choose one answer
Why

The clusters must use SBD, so the Azure fence agent does not qualify. A single fencing infrastructure for several clusters is possible with iSCSI target servers, which Microsoft states can serve more than one Pacemaker cluster, while an SBD shared disk is meant to be used by one cluster only. To keep fencing available while one target server is being patched, each cluster needs three SBDs, one from each of three separate iSCSI target servers. A two-server design loses automatic fencing when one SBD is unavailable.

  • Not correct: Azure fence agent configured separately in each of the three clusters. The Azure fence agent fences nodes by calling the Azure APIs to restart them; it is not an SBD, so it does not meet the SBD requirement.
  • Not correct: Two shared iSCSI target server VMs, each providing one SBD to every cluster. The target servers can be shared, but with only two SBDs Pacemaker cannot fence automatically when one of them is unavailable, such as during patching of one target server.
  • Not correct: A separate Premium SSD shared disk SBD device for each of the three clusters. A per-cluster Premium SSD shared disk is a valid SBD option, but three separate disks are not one set of fencing infrastructure shared by all clusters.
  • Correct: Three shared iSCSI target server VMs, each providing one SBD to every cluster. iSCSI target servers can be shared with other Pacemaker clusters, and three SBDs from three target servers keep fencing working when one target server is down.
  • Not correct: One Premium SSD shared disk SBD device attached to all six cluster nodes. Microsoft guidance says a shared disk used as an SBD device should not be connected to nodes of more than one Pacemaker cluster, so one disk cannot serve all three clusters.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free