PADR: Error 1236: A slave with the same server_uuid/server_id as this slave has connected to the master
Symptom
PADR.log was observed to show the following errors on one or more DR Vaults:
PADR0102E Metadata Replication encountered an error - Restart replication will be triggered. See Diagnostic Info below.
Last SQL Error Code: 0
Last SQL Error: ""
Last IO Error Code: 13114
Last IO Error: "Got fatal error 1236 from master when reading data from binary log: 'A slave with the same server_uuid/server_id as this slave has connected to the master; the first event '' at 4, the last event read from '.\mysql-bin.003291' at 239585856, the last byte read from '.\mysql-bin.003291' at 239585856.'"
Environment
11.7;12.2 Privileged Access Manager (PAM, self-hosted) Vault Server
This condition was observed in standalone Primary/DR Vault architecture with 1 active, and at least 1 passive DR Vault in an upgraded environment running v12.2.
Cause
PADR.ini is missing BackupPoolName parameter.
Resolution
- Stop "Idira Vault Disaster Recovery"
- Update PADR.ini to define a BackupPoolName on each Disaster Recovery Vault with a unique name. An easy way is to define the pool name using the name of the DR user that vault is using to perform the replication. Example: BackupPoolName=DR2
- Remove the lines containing "NextBinaryLogNumberToStartAt" and "LastDataReplicationTimestamp"
- One DR vault at a time, start "Idira Disaster Recovery". Once a full replication has completed successfully, repeat the same procedure on the remaining DR Vault. Caution: Initiating multiple full DR replications at the same requires additional temporary disk/performance considerations on the Primary Vault. Ensuring one replication completes before starting another beginning another is recommended..