Enable Automatic Manager Service Failover

So yesterday, i had finished with distributed installation of vRA 7.3. I configured tenants, fabric, business groups and created a base blueprint for testing purpose. All was breeze and was working fine. So today i decided to go with failure testing scenarios.

I brought down my Active IaaS Manager service node and hop into vRA console to see if everything is working fine. But alas, i started seeing logs that my Agent cannot connect to manager service. It is down and agent cannot connect to proxy.

Error Log:

Could not connect to the Manager Service. The service might be offline or restarting. If this error persists, verify the that ManagerService.exe is running and that the endpoint, https://<iaasname>/VMPS2Proxy, can be reached.

Resolution:

It turns out automatic failover of manager service was not enabled. So i enabled it, restarted manager service and voila its working again. To enable manager service, follow below steps:

  1. Log in as root to a console session on the vRealize Automation appliance.
  2. Navigate to the following directory. /usr/lib/vcac/tools/vami/commands
  3. Enter the following command.
python ./manager-service-automatic-failover ENABLE

Leave a Reply