HACore" profile in /var/log/vmware/vmon/vmon-syslog.log/var/log/preefreeze/prefreeze_#####_#_stderr.log on the VCHA nodesWhen a snapshot is taken of vCenter, part of the prefreeze script creates a file called backupMarker.txt, but the prefreeze script fails due to VCHA being enabled. During the second failover, the passive node is rebooted. During the boot, the applmgmt service finds the /etc/vmware/backupMarker.txt file and attempts to perform restore. As part of the restore, it masks all services, which prevents the vcha service from coming up.
Taking snapshots of a vCenter Server with VCHA enabled is not supported and the vCenter should be restored from backup. Furthermore before attempting a failover operation, ensure that no snapshots exist and remove the /etc/vmware/backupMarker.txt file on any of the vCenter Server HA nodes.
Workaround:
To restore the vCenter, follow the below steps:
Repair the Network Configuration:
cd /etc/systemd/network/ls 10-eth0.network.manualmv 10-eth0.network.manual 10-eth0.networksystemctl restart systemd-networkdClean up VCHA and Files:
vcha-destroy -frm /etc/vmware/backupMarker.txtUnmask and Start Services:
systemctl list-unit-files | grep masked | awk '{print $1}' | xargs -n1 systemctl unmaskservice-control --stop --all && service-control --start --all