SupreetK
Commander
Commander

Seeing the below errors in vpxd.log -->

2018-09-14T17:32:22.276+03:00 error vpxd[7F73A580C700] [Originator@6876 sub=vpxUtil opID=FlowBasedWizard-apply-911-ngc-80] /usr/bin/python failed with error [1] and output [2018-09-14T14:32:22.095Z   Failed to start statsmonitor services. Error: Operation timed out

2018-09-14T17:32:22.276+03:00 info vpxd[7F73A580C700] [Originator@6876 sub=Default opID=FlowBasedWizard-apply-911-ngc-80] [VpxLRO] -- ERROR task-65223 -- FailoverClusterConfigurator -- vim.vcha.FailoverClusterConfigurator.deploy: vmodl.fault.SystemError:

--> Result:

--> (vmodl.fault.SystemError) {

-->    faultCause = (vmodl.MethodFault) null,

-->    faultMessage = <unset>,

-->    reason = "Failed to start HACore profile on node 192.168.18.22"

-->    msg = ""

--> }

Before initiating vCHA, perform the below steps on the vCSA active node -

  • Take a snapshot of the vCSA VM.
  • Login to vCSA with root credentials via SSH.
  • Modify statsmonitor service config for vMon

               sed -i '/StartTimeout/d' /etc/vmware/vmware-vmon/svcCfgfiles/statsmonitor.json

               sed -i '/ApiHealthFile/a "StartTimeout": 600,' /etc/vmware/vmware-vmon/svcCfgfiles/statsmonitor.json

  • Reload vMon service config through SIGHUP

               kill -HUP $(cat /var/run/vmon.pid)

  • Stop and start statsmonitor service.

               /usr/lib/vmware-vmon/vmon-cli -k statsmonitor

               /usr/lib/vmware-vmon/vmon-cli -i statsmonitor

  • Enable vCHA.

Cheers,

Supreet

View solution in original post