Distributed Vault - Primary Candidate Vault failover process fails: error connecting to master
143
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:56 PM
Symptom
The Satellite Vault configured as a Primary Candidate Vault fails to perform the failover process:
1) The "italog.log" confirms when the original Master Vault was not available:
ITADM126E Error checking if Vault is Satellite in the DB. Reason: ITADM112E Database Error (Lost connection to MySQL server during query). . ITATP047E Failed to route local data to the Master Vault. Reason: Failed to perform commit operation on master vault database (Diagnostic information: ITADM112E Database Error (Lost connection to My
2) The "padr.log" contains the following promotion events:
2.1) Vault availability test starts:
PADR0005E CASTM003E Vault transaction failed. Reason: ITACM012S Timeout has expired. . (Code 24) PADR0014E Attempt to test vault availability failed (code=1).
2.2) Vault availability test finishes and failover process is triggered:
PADR0016E Vault availability test failed, failover started. Enter do fail-over method Performing distributed fail-over procedure: DistributedVaultsDRLogicExecuter PADR0103I Failover process started.
2.3) Topology health table shows Slave server/s cannot connect to the Primary Candidate Vault (new Master Vault) IP address:
# Replication Topology Health: +-+ | host | port | role | state | gtid_mode | health | +-+ | 10.0.4.13 | 33063 | MASTER | UP | ON | OK | | 10.0.4.12 | 33062 | SLAVE | UP | ON | IO thread is not running., error connecting to master 'ReplicationUser@10.0.4.13:33063' - retry-time: 60 retries: 1 message: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 | +-+
Environment
11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Distributed Vault PAS (any version)
Cause
All Vaults cannot communicate with each other (inbound and outbound) using port 1858 over TCP due to a network or firewall issue
Resolution
Allow traffic (inbound and outbound) through port 1858 over TCP among the Master and Satellite servers, then perform again the failover process.
In case it's necessary to fix the roles of the Master and Satellite servers, please check Distributed Vaults during Vault Failure from our official documentation.