As of the Red Hat Enterprise Linux 7.4 release, the Red Hat Resiliant Storage Add-On provides support for running Samba in an active/active cluster configuration using Pacemaker. The Red Hat Resiliant Storage Add-On includes the High Availability Add-On.
This chapter describes how to configure a highly available active/active Samba server on a two-node Red Hat Enterprise Linux High Availability Add-On cluster using shared storage. The procedure uses
pcs to configure Pacemaker cluster resources.
This use case requires that your system include the following components:
Two nodes, which will be used to create the cluster running Clustered Samba. In this example, the nodes used are
z2.example.com which have IP address of
A power fencing device for each node of the cluster. This example uses two ports of the APC power switch with a host name of
Shared storage for the nodes in the cluster, using iSCSI or Fibre Channel.
Configuring a highly available active/active Samba server on a two-node Red Hat Enterprise Linux High Availability Add-On cluster requires that you perform the following steps.
4.1. Creating the Cluster
Use the following procedure to install and create the cluster to use for the Samba service:
Create the two-node cluster that consists of
, using the procedure provided in Section 1.2, “Cluster Creation”
. As in that example procedure, this use case names the cluster
Configure fencing devices for each node of the cluster, using the procedure provided in Section 1.3, “Fencing Configuration”
. This example configures fencing using two ports of the APC power switch with a host name of