Unable to reenroll master node after failover
87
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:09 PM
Question
A failover test was performed by shutting down the master node in a 3-tier cluster.
- When trying to re-enroll the former master node with
the following message is shown:
error: Already enrolled in cluster, cannot enroll again.
- When trying to remove the former master node with
the following message is shown:
Cluster member <former master node> not found
Environment
11.2;11.3;11.4;11.5;11.6;11.7
Answer
This can occur when a step in the Repair Cluster Health After Auto-Failover to switch context back to the new Master is missed.
The issue occurs when trying to reenroll the new node to the cluster before telling the cluster that a new node will be added.
To fix run this, ensure the command:
evoke cluster member add <node-FQDN>
is executed before running:
evoke cluster enroll --reenroll --cluster-machine-name=<node-name> --master-name=<master-node-name> <cluster name>