New update cannot be started while domain or some of its components are not in an active state
One or more components in the SDDC Manager database are in an ERROR or in a state other than ACTIVE state.
To resolve this issue, identify the specific component in an ERROR state and manually update its status to ACTIVE within the SDDC Manager platform database.
SSH to SDDC manager with vcf and su to root
Run VCF VDT to identify the component in ERROR state. See Using the VCF Diagnostic Tool for SDDC Manager
INVENTORY STATUS
[PASS] Host Status Check
All hosts are in an ACTIVE state.
[PASS] Domain Status Check
All domains are in an ACTIVE state.
[FAIL] vCenter Status Check
########-####-####-####-########4ce2 | vcsa01.example.com | ERROR
[PASS] PSCs Status Check
All PSCs are in an ACTIVE state.
[PASS] Cluster Status Check
All Clusters are in an ACTIVE state.
[PASS] NSX Manager Status Check
All NSX Managers are in an ACTIVE state.Take Snapshot of the SDDC Manager VM
SSH to SDDC manager as the vcf user and su to root.
Connect to platform database
For SDDC 4.x
psql -h localhost -U postgres -d platformFor SDDC 5.x:
/usr/pgsql/13/bin/psql -h localhost -U postgres -d platformUpdate the component status to ACTIVE identified in Step 1()
update <database_table_name> set status='ACTIVE' where id='<id from step 1(b)>';Sample (vCenter):
update vcenter set status='ACTIVE' where id='########-####-####-####-########4ce2';Sample (NSX):
update nsxt set status='ACTIVE' where id='########-####-####-####-########e92d';
Retry the plan upgrade from the SDDC Manager UI.
(Optional) May need to restart the SDDC Manager services:
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select * from domain where status !='ACTIVE'"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select * from host where status !='ACTIVE'"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select * from vcenter where status !='ACTIVE'"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select * from nsxt where status !='ACTIVE'"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select * from cluster where status !='ACTIVE'"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select id, lb_hostname, status from vrli;"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select id, lb_hostname, status from vrops;"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select id, vrslcm_node, status from vrslcm;"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select id,vm_hostname,status from psc;"
/usr/bin/psql -h localhost -U postgres -d platform -c "\x" -c "select id,cluster_fqdn,status from nsxt;"/usr/pgsql/13/bin/psql -h localhost -U postgres -d platform -c "select * from sddc_manager_controller;"psql -h localhost -U postgres -d platform -c "select id, lb_hostname, status from vrli;"psql -h localhost -U postgres -d platform -c "select id, lb_hostname, status from vrops;"psql -h localhost -U postgres -d platform -c "select id, vrslcm_node, status from vrslcm;"