vCSA Backup fails at 5% after upgrade from vCSA 8 U3 to VCSA 9.0.1
search cancel

vCSA Backup fails at 5% after upgrade from vCSA 8 U3 to VCSA 9.0.1

book

Article ID: 428499

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  •  vCSA Backup fails at 5% after upgrade from vCSA 8 U3 to VCSA 9.0.1
  • /var/log/vmware/applmgmt/backup.log:
    YYYY-MM-DDThh:mm:ss.910 [20260202-143007-24957454] [StellarDbBackup:PID-67505] [Proc::run:Proc.py:106] INFO: Updated statusPipe
    YYYY-MM-DDThh:mm:ss.6 [20260202-143007-24957454] [LotusBackup:PID-67503] [Lotus::BackupLotus:Lotus.py:74] INFO: stdout: VdcBackupDB: Server in state (8) in which it cannot perform backup. error(9125)

    YYYY-MM-DDThh:mm:ss.6 [20260202-143007-24957454] [LotusBackup:PID-67503] [Lotus::BackupLotus:Lotus.py:80] ERROR: BackupLotus: command "/usr/lib/vmware-vmdir/bin/vdcbackup /storage/db/vmware-vmdir/ /tmp/backup_lotus" failed. rc: 165.

Environment

VVF 9.x

Cause

The following command was executed to check the VMDir state, which returned Standalone.
/usr/lib/vmware-vmafd/bin/dir-cli state get --login --password --server-name --domain-name

Resolution

  1. Took a snapshot of the vCenter

  2. To set vmdir to NORMAL mode do the following:
    Update the registry values in lwregshell
    /opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Services\vmdir]' "Arguments" "/usr/lib/vmware-vmdir/sbin/vmdird -l 0 -f /usr/lib/vmware-vmdir/share/config/vmdirschema.ldif -L /var/log/vmware/vmdird/vmdird.log"
    Refresh the Likewise registry using below command
    /opt/likewise/bin/lwsm refresh
    Change VMDIR state to NORMAL
    /usr/lib/vmware-vmafd/bin/dir-cli state set --state NORMAL --login administrator --password <password>

  3. Reboot the vCenter and verify if the vmdir state still remained in  NORMAL state?
    /usr/lib/vmware-vmafd/bin/dir-cli state get
  4. Retry the backup