Login via SSH to the vCenter Appliance.
Run the following command to re-generate the missing file .cns_pgpass:
# PYTHONPATH=/usr/lib/vmware-vpx/pyJack/:/usr/lib/vmware/site-packages/ python /usr/lib/vmware-vpx/firstboot/CnsVcConfigure.py
You should see the following output in the terminal:
2020-05-07T12:18:31.108Z Configuring DB for CNS service
2020-05-07T12:18:41.108Z Getting value for install-parameter: vpostgres.int.server_port
2020-05-07T12:18:51.108Z CNS DB configured successfully.
Start vsan-health service by running command:
service-control --start vmware-vsan-health
Verify the vsan-health service has started:
service-control --status vsan-health
Leave a Reply