YYYY-MM-DDTHH:MM:SS[StellarDbBackup:PID-#######] [backupRestoreDispatch::dispatchFiles:backupRestoreDispatch.py:371] INFO: tarCmd = ['/usr/bin/tar', '-cz', '-C', '/tmp/backup_stellardb/', '--ignore-failed-read', '--warning', 'no-file-ignored', 'stellar.db']YYYY-MM-DDTHH:MM:SS[LotusBackup:PID-#######] [Lotus::BackupLotus:Lotus.py:74] INFO: stdout: VdcBackupDB: Server in state (5) in which it cannot perform backup. error(9125)YYYY-MM-DDTHH:MM:SS[LotusBackup:PID-#######] [Lotus::BackupLotus:Lotus.py:80] ERROR: BackupLotus: command "/usr/lib/vmware-vmdir/bin/vdcbackup /storage/db/vmware-vmdir/ /tmp/backup_lotus" failed. rc: 165./usr/lib/vmware-vmdir/bin/vdcadmintool
Checking Replication Status through vCenter SSH we see output similar to below:
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator
Partner: #######vCenter
Host available: Yes
Status available: No
My last change number: 100537
Partner has seen my change number: 99947
Partner is 590 changes behind.
To resolve this issue with scheduled and manual VAMI file-based backups, address the Enhanced Linked Mode and replication problems between the vCenter nodes.
Step 1: Reboot the vCenter
/usr/lib/vmware-vmdir/bin/vdcadmintool (Then option 6 to get vmdir state)
Step 2: Rebuilding Replication between vCenter
Note: Before proceeding, you must take an offline snapshot of all vCenter Server nodes in the Linked Mode group. This ensures you have a recovery point if the replication rebuild fails.
cd /tmp
unzip fix-psc-master
cd fix-psc-master
./fixpsc rebuild --healthy-psc-fqdn <FQDN>
service-control --stop --all && service-control --start --all
/usr/lib/vmware-vmdir/bin/vdcadmintool
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator
root@Test-vCenter [ ~ ]# /usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator
password:
Partner: <vCenter FQDN>
Host available: Yes
Status available: Yes
My last change number: 100537
Partner has seen my change number: 100537
Partner is 0 changes behind.
Since we see host available and status available as "Yes" last change number values are same for both, and Partner shows "0" changes behind, which shows replication is intact