Invalid vCenter Server Status: All required services are not up! Stopped services: 'vc-ws1a-broker'.
Below errors are reported in /var/log/vmware/vc-ws1a-broker/federation-service.log
YYYY-MM-DDTHH:MM:SS.###Z ERROR ###.###.###:federation (ForkJoinPool-2-worker-3) [-;-;-;-;-;-] com.vmware.vidm.federation.AcsMetadataRegistrar - Failed to register metadata with ACS: Connection refused: localhost/127.0.0.1:1###4, will retry again in 1 seconds io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:1###4 Caused by: java.net.ConnectException: Connection refused
/var/log/vmware/vc-ws1a-broker/accesscontrol-service.log
YYYY-MM-DDTHH:MM:SS.###Z WARN ###.###.###.###:accesscontrol (ForkJoinPool-3-worker-7) [-;-;-;-;-;-;-] com.vmware.vidm.common.resiliency.circuitbreaker.CircuitBreakers - Exception during execution inside circuit breaker LOCALHOST java.util.concurrent.CompletionException: java.lang.IllegalStateException: Client is closed
VMware vCenter Server 8.x
A mismatch exists between the Primary Network Identifier (PNID) and the system FQDN/hostname, prevents the vc-ws1a-broker service from validating the appliance identity.
To resolve the issue update the hostname to match with the PNID. Follow the steps below:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
hostname -f
/opt/vmware/share/vami/vami_config_net
Select Option 3 (Hostname) when prompted and enter the correct FQDN that matches the PNID.reboot -f
If services remain in a stopped state after the reboot, a redeployment of the vCenter Server using the correct FQDN is required. Please refer System Requirements for the vCenter Server Appliance
If the vcenter is deployed with IP, it may fail during upgrade with the same error "Failed to start vc-ws1a-broker services" Error when attempting to update vCenter Server
The backup issue with vc-ws1a-broker can also be caused vCenter appliance back up fails due to vc-ws1a-broker service in stopped state