I have a GPFS cluster made of four nodes : two on one site (node_A1, node_A2) and two on another site (node_B1, node_B2). The four nodes have access to the wan but the GPFS traffic transits on a dedicated private subnet (mmlscluster shows node_ A1, node_A2, node_B1, node_B2 with their dedicated private subnet IP). I want to add node_C1, a distant GPFS quorum node (no NSD, no storage pool). node_C1 does not have access to the dedicated private subnet and must communicate with the four other nodes using the wan. Please note that we are using version 5.2.3 of Storage Scale on all of the five nodes and that all of the five nodes run on RHEL 9. Once the GPFS software is installed on node_C1, what are, in details, the other steps to add it to the existing cluster ?
Assistant
Adding node_C1 as a Distant Quorum Node to an Existing GPFS Cluster
Overview of the Challenge
The core complexity here is that node_C1 cannot reach the private subnet used by the other nodes for GPFS communication. IBM Spectrum Scale (GPFS) uses the addresses shown in mmlscluster for inter-node communication, so you need to use the multi-homed / alternate address (also called subnet-based routing or node address mapping) capability to allow node_C1 to communicate over WAN with the other nodes, while those nodes continue to use the private subnet among themselves.
SSH passwordless root access between node_C1 and all existing nodes (in both directions)
WAN firewall rules allowing GPFS traffic (TCP/UDP 1191 by default, plus the ephemeral/daemon port range you configured) between node_C1's WAN IP and the WAN IPs of node_A1, node_A2, node_B1, node_B2
Verify with mmchconfig what your minReleaseLevel is — all nodes must be compatible
Step 1 — Verify and Prepare the GPFS Installation on node_C1
bash
# On node_C1, verify packages are installed
rpm -qa | grep gpfs
# Ensure the GPL layer compiles correctly
/usr/lpp/mmfs/bin/mmbuildgpl
# Verify the kernel module can be loaded (do NOT mount yet)
modprobe mmfs # or it will be loaded automatically later
Step 2 — Establish SSH Trust Between node_C1 and All Existing Nodes
bash
# From an existing cluster node (e.g., node_A1), test SSH to node_C1's WAN IP
ssh root@<node_C1_WAN_IP> "hostname"
# From node_C1, test SSH to the WAN IPs of all existing nodes
ssh root@<node_A1_WAN_IP> "hostname"
ssh root@<node_A2_WAN_IP> "hostname"
ssh root@<node_B1_WAN_IP> "hostname"
ssh root@<node_B2_WAN_IP> "hostname"
Important: GPFS uses SSH for cluster operations. The SSH must work using the hostnames that will be registered in the cluster, not just IPs. Ensure /etc/hosts or DNS resolves correctly on all five nodes.
Step 3 — Understand the Current Cluster Addressing
bash
# On any existing node
mmlscluster
This will show something like:
code
Node Daemon node name IP address Admin node name
1 node_A1 10.0.1.1 node_A1
2 node_A2 10.0.1.2 node_A2
3 node_B1 10.0.2.1 node_B1
4 node_B2 10.0.2.2 node_B2
The IP address column is the private subnet address used for GPFS daemon communication. node_C1 cannot reach these IPs.
Step 4 — Configure the GPFS Daemon Port and Firewall
On node_C1
bash
# Ensure firewalld allows GPFS traffic
firewall-cmd --permanent --add-port=1191/tcp
firewall-cmd --permanent --add-port=1191/udp
# Also open the ephemeral port range used by GPFS (check mmchconfig output for tscCmdPortRange)
# Typical example:
firewall-cmd --permanent --add-port=60000-61000/tcp
firewall-cmd --permanent --add-port=60000-61000/udp
firewall-cmd --reload
On node_A1, node_A2, node_B1, node_B2
Ensure their WAN-facing firewall (or security groups if cloud) allows inbound/outbound on port 1191 and the ephemeral range from/to node_C1's WAN IP.
Step 5 — Configure the Subnet-Based Communication (the Critical Step)
Since node_C1 can only communicate over WAN, you must tell GPFS which address to use when any node communicates with node_C1, and which address node_C1 uses to reach each of the other nodes.
IBM Spectrum Scale handles this with mmchconfig using the subnets parameter or, more precisely, with the nodeClass and cnfsSharedRoot — but the correct mechanism here is the mmaddnode with explicit daemon address combined with the subnets configuration.
5a — Define Subnets for GPFS Communication
The subnets parameter in GPFS tells the daemon which network interface to prefer when communicating with nodes in specific subnets. You need to add the WAN subnet so that:
When existing nodes communicate with node_C1, they use their WAN interface
node_C1 uses its WAN interface for all cluster communication
bash
# Check current subnets configuration
mmlsconfig subnets
# On ALL existing nodes AND node_C1, you need to define the subnet mapping
# The subnets parameter lists all subnets that GPFS should consider
# Format: mmchconfig subnets="<subnet1> <subnet2> ..."
# Example: private subnet is 10.0.0.0/8, WAN subnet is 192.168.100.0/24
mmchconfig subnets="10.0.1.0/24 10.0.2.0/24 192.168.100.0/24" -N all
How subnets works: When GPFS needs to communicate between two nodes, it looks at the list of subnets and picks the interface on each node that belongs to a common subnet. Since node_C1 only has an interface in the WAN subnet (192.168.100.0/24), and the existing nodes also have a WAN interface in that subnet, GPFS will use the WAN interfaces for communication involving node_C1. For communication between existing nodes, GPFS will prefer the shared private subnet.
5b — Verify Each Node Has Its WAN Interface Visible to GPFS
bash
# On each existing node, verify all interfaces
ip addr show
# GPFS will detect all interfaces automatically when subnets is configured
# Ensure the WAN interface is UP and has the correct IP on all nodes
Step 6 — Create the NodeDesc File for node_C1
Create a node definition file on node_A1 (or any existing cluster node):
# Run from an existing cluster node with cluster manager role (e.g., node_A1)
mmaddnode -N /tmp/node_C1_add.txt
GPFS will:
SSH into node_C1
Copy the cluster configuration files (mmsdrfs)
Register node_C1 in the cluster
If SSH uses non-standard port or the hostname doesn't resolve to the WAN IP, you may need to specify the daemon nodename explicitly:
bash
# Alternative: specify daemon address explicitly
# Format in the node file: nodename:nodetype:daemonNodename:daemonIPaddress
cat > /tmp/node_C1_add.txt << 'EOF'
node_C1::node_C1:<node_C1_WAN_IP>
EOF
mmaddnode -N /tmp/node_C1_add.txt --accept-license
Step 8 — Accept the License on node_C1
bash
mmchlicense server --accept -N node_C1
# or if it's truly a client-only node (no NSD serving):
mmchlicense client --accept -N node_C1
In Storage Scale 5.2.x, license acceptance is mandatory before the daemon can start.
Step 9 — Verify the Cluster Configuration Before Starting the Daemon
bash
# Check node_C1 appears correctly
mmlscluster
# Verify the quorum count is now correct (you now have 5 nodes)
# With 5 nodes, quorum requires 3 nodes — this is healthy
mmlsquorum
# Check node roles
mmlsnode -a
Step 10 — Start the GPFS Daemon on node_C1
bash
# Start the daemon on node_C1
mmstartup -N node_C1
# Wait a few seconds, then verify
mmgetstate -N node_C1
Expected output:
code
Node number Node name GPFS state
-------------------------------------------
5 node_C1 active
Step 11 — Verify Quorum and Cluster Health
bash
# Check quorum status
mmlsquorum
# Check all nodes are active
mmgetstate -a
# Verify node_C1 is seen as a quorum node
mmlscluster
Expected mmlsquorum output should now show 5 quorum nodes with a quorum vote of 3.
Step 12 — Verify Network Communication Paths
bash
# From node_C1, verify it can communicate with the cluster
mmdiag --network -N node_C1
# Check which IP addresses are being used for communication
mmdiag --network | grep -A5 node_C1
This will confirm that node_C1 is communicating over the WAN IPs and not attempting to use the private subnet IPs (which it cannot reach).
Step 13 — (Optional but Recommended) Verify Filesystem Access
Since node_C1 has no NSD, it will be a client that mounts the filesystem over the network (data will transit via WAN from the NSD servers):
bash
# Check filesystem status
mmlsmount all -L
# If you want node_C1 to mount the filesystem
mmmount <filesystem_name> -N node_C1
# Verify mount
mmdf <filesystem_name>
Performance note: Since node_C1 is a WAN-connected quorum node with no local storage, you may want to configure it as a dedicated quorum node without mounting the filesystem, purely for tiebreaker purposes. In that case, skip the mount.
Step 14 — (Recommended) Configure Failure Scenarios and Timeout Tuning
WAN links have higher latency than LAN. Adjust GPFS timeout parameters to avoid false node failures:
bash
# Check current timeout settings
mmlsconfig | grep -i timeout
# Increase the TCP connection timeout for WAN (example values — tune for your WAN latency)
mmchconfig maxMBpS=100 -N node_C1 # Limit bandwidth if needed
mmchconfig tcpPort=1191 # Ensure consistent port
# Consider adjusting these cluster-wide parameters for WAN tolerance
mmchconfig failureDetectionTime=60 # Default is 35 seconds; increase for WAN
Summary of Key Points
Step
Action
Command
1
Build GPL on node_C1
mmbuildgpl
2
SSH trust all nodes ↔ node_C1
Manual
3
Open firewall ports
firewall-cmd
4
Configure subnets for WAN routing
mmchconfig subnets=...
5
Add node to cluster
mmaddnode -N <file>
6
Accept license
mmchlicense
7
Start daemon
mmstartup -N node_C1
8
Verify quorum
mmlsquorum
9
Verify network paths
mmdiag --network
Important Caveats
The subnets parameter is the key mechanism — without it, GPFS will try to reach node_C1 via its private subnet IP (which node_C1 cannot reach), causing communication failures
Quorum implications — you now have 5 quorum nodes; losing any 3 will cause the cluster to go down. Ensure this is the desired quorum topology
WAN bandwidth — if node_C1 ever mounts the filesystem, all data will traverse the WAN; consider using prefetchPct and caching parameters accordingly
NTP synchronization — all five nodes must have synchronized clocks; use the same NTP source across sites