Recently I got a case where vCenter 6.0 where the webclient was not showing inventory while loading.
Issue occur when the customer was performing migration activity of virtual machine.
We verified that the vpxd services of vCenter, which is VCSA (Appliance), went into stopped stated just after starting means its crashing.
On VCSA Shell:
service-control --status vmware-vpxd shows "stopped"
service-control --start vmware-vpxd starts the service starts for a couple of seconds and stops again
VCSA 6.0 is linked with extrnal PSC 6.0. Verified the services of PSC and found all looks into good state.
Tried to power off both the VCSA and PSC and Power on in sequence where we started first PSC and later VCSA.
After restarting the VCSA, status of the VPXD services was same as it was getting stopped after couple of seconds.
Checked the VPXD logs and found that the heartbeat between ESXi and VCSA was getting timed out for more than 1032 ms or more.
VCSA has generated the core dump at /var/core. From core dump its identify that the issue identified with a single VM into the environment. Where the network adaptor on that VM was showing NULL value in DB.
Thought about getting into its DB, as its embedded DB , login into vPostgres using below path.
Login to vPostgress
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
Tried to the VM from below command.
select v.id, v.local_file_name, h.IP_ADDRESS FROM VPX_VM v, VPX_NIC n, VPX_HOST h WHERE v.id=n.entity_id and v.host_id=h.id and n.network_name=''; (get affected VM)
select * from vpx_entity where id = '<YOURID>'; (get affected VM Name)
Fix the VM and VPXD issue
Remove Network Adapter, save config, readd Network Adapter
service-control --start vmware-vpxd
Once the vpxd services started. You can login to the vCenter without any issue.
Happy Sharing.. J