UFM Standby Node Replacement automates the process of replacing a failed standby node in a UFM High Availability (HA) cluster, minimizing downtime and reducing the need for manual operations.
This capability streamlines the preparation, configuration, and reintegration of a replacement node into the existing UFM-HA cluster.
The ufm_replace_standby CLI tool manages the entire workflow, hiding the underlying complexity and providing a simple, user‑friendly interface to prepare, execute, and validate the standby node replacement.
Objectives
In the event of a standby node failure, this feature enables smooth integration of a replacement standby node into the UFM cluster, ensuring minimal service interruption and minimal manual effort.
Prerequisites
Before starting the replacement procedure, ensure the following conditions are met:
-
The failed standby node has been completely removed from the cluster and disconnected from the network.
-
The replacement standby node is physically connected to the cluster network using the correct interfaces — both InfiniBand (IB) and Management links — in a Back‑to‑Back topology.
-
The replacement standby node is running the same UFM appliance version as the master node.
-
UFM‑HA version 6.0.0‑6 (with Seamless RMA support) is installed on both the master and standby nodes.
Replacement Process
The ufm_replace_standby tool automates the replacement of a UFM‑HA standby node. It manages the complete workflow — from preparing and validating the new standby node to fully integrating it into the cluster.
To run the full replacement procedure, use:
ufm_replace_standby run <Options>
Command Options:
|
Option |
Description |
|---|---|
|
|
Primary IP address of the new standby node. |
|
|
Secondary IP address of the new standby node. |
|
|
Optional — Password for the |
|
|
Optional — Resets the existing |
|
|
Optional — Preserves the established SSH trust after the replacement process completes (whether successful or failed). If not set, SSH trust will be removed at the end of a successful run — unless it existed prior to execution. |
|
|
Optional — Enables extended debug output in the console. |
Run Command — Full Replacement Workflow
The ufm_replace_standby run command executes the complete standby node replacement sequence, which includes:
-
Establish SSH Trust
-
Checks if SSH trust is already in place.
-
If not, generates SSH keys and prompts the user to securely copy them to enable passwordless access.
-
-
Validate the New Standby Node
-
Confirms readiness for integration by:
-
Verifying required network interfaces.
-
Ensuring UFM‑HA and HA stack versions match the master node.
-
Checking that
ufm_hais installed and supports standby replacement.
-
-
All validation steps are performed remotely over SSH.
-
-
Transfer Files
-
Copies
ha_nodes.cfgfrom the master node to/etc/ufm_ha/ha_nodes.cfgon the standby node to maintain consistent HA configuration.
-
-
Detach Old Standby
-
Removes the old standby node from HA configuration (PCS and DRBD), even if it is already disconnected.
-
Ensures the cluster is ready to accept the new standby.
-
Performed on the master node.
-
-
Configure the New Standby Node
-
Prepares the standby node by:
-
Initializing the DRBD disk (if applicable).
-
Setting the
haclusteruser password. -
Performing required pre‑join setup tasks.
-
-
Executed remotely on the standby node via SSH.
-
-
Attach the New Standby
-
Adds the standby node to the UFM‑HA cluster by:
-
Authenticating with the
haclusteruser. -
Updating PCS configuration.
-
Adjusting DRBD settings to include the new standby.
-
-
Actions performed from the master node.
-
-
Clean‑up
-
Removes temporary SSH trust files (e.g., encrypted password, secret file).
-
If
--preserve-ssh-trustis not set, removes SSH trust created during the process.
-
-
Cluster Validation
-
Runs automated checks to confirm:
-
The new standby is successfully integrated into the cluster.
-
HA daemons and UFM services are running.
-
DRBD connectivity and disk state (if applicable) are healthy.
-
-
Resuming After a Failure
If the replacement process fails at any stage, ufm_replace_standby can resume from the failure point using its built‑in progress tracking.
After fixing the cause of the failure, resume without starting over:
ufm_replace_standby run --resume [--hacluster-password=<pwd>]
Short form:
ufm_replace_standby --resume [--hacluster-password=<pwd>]
Note: If the process fails, the hacluster password is not retained, even if it was provided in the original run. You must either re‑enter it using --hacluster-password or provide it interactively.
Aborting the Previous Run
To abort an incomplete process and start fresh:
ufm_replace_standby run --abort
Short form:
ufm_replace_standby --abort
Cluster Validation
Once ufm_replace_standby completes all replacement steps, it automatically runs a series of validation checks to confirm successful integration of the new standby node.
The validation process includes:
-
Confirming that the new standby has joined the UFM‑HA cluster.
-
Verifying that HA stack daemons and UFM services are running.
-
Checking disk state and DRBD connectivity (if applicable).
Each validation step is subject to a predefined timeout. For example, the tool will wait up to 10 seconds for DRBD to reach a connected and active state. If a timeout is exceeded, the validation process stops.
Note: A validation timeout does not necessarily indicate a cluster failure. In such cases, manually verify the cluster status using ufm_ha_cluster and other HA monitoring tools to ensure the cluster is functioning properly.
Last updated: