The failover mode for the cluster is INDETERMINATE in VMware Cloud Director
search cancel

The failover mode for the cluster is INDETERMINATE in VMware Cloud Director

book

Article ID: 449404

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When reviewing the Embedded Database Availability section of the VAMI on a VMware Cloud Director (VCD) cell (https://<cell address>:5480/cluster), the Failover Mode is set to the following:

    INDETERMINATE

  • Entering the command curl -k -X GET -u root https://localhost:5480/api/1.0.0/nodes from the command line on a VCD cell shows details similar to the following for one or more cells:

            "repmgrd": {
              "details": "On node ##### (############): repmgrd = not running",
              "status": "NOT RUNNING"
            }

  • Running the following command on the cell(s) associated with the status in the results above shows that the service is not running:

    systemctl status repmgrd

Environment

VMware Cloud Director 10.6.x

Cause

The repmgrd service on one or more of the cells is not running. The repmgrd service is required if the failover mode is set to AUTOMATIC and, if it is not running on all cells, the failover mode is not fully functional. Otherwise, this service is not required for the MANUAL failover mode and will be stopped on all cells.

Resolution

In order to remediate the failover mode status, perform the following steps:

  1. Initiate a command line session as root on one of the VMware Cloud Director (VCD) cells via the console or SSH.
  2. Enter the following and provide the password, when prompted:

    curl -k -X GET -u root https://localhost:5480/api/1.0.0/nodes

  3. Note the cells with the following status:

            "repmgrd": {
              "details": "On node ##### (############): repmgrd = not running",
              "status": "NOT RUNNING"
            }

  4. If the affected cells are different then the current session, start a command line session on each cell and log in as root.
  5. Perform the following to restart the repmgrd service:

    systemctl restart repmgrd

  6. Confirm the status once more.

Alternatively, change the failover mode of the cluster to MANUAL.

Additional Information

For more information regarding the failover mode, refer to the following documents:

VMware Cloud Director Appliance Deployments and Database High Availability Configuration

Changing the Failover Mode of Your VMware Cloud Director Appliance