If a standby cell is not running properly, you can recover from the failure by deploying a new standby cell.
If one of the standby cells is in the
Not reachable or
Failed state, you can deploy a new cell. To view the state of the cells in the cluster, see View the VMware Cloud Director Appliance Cluster Health and Failover Mode.
You can use this workflow to reuse the IP addresses and hostname of the failed standby when you deploy a new standby.
- If possible, use the cell management tool to shut down the VMware Cloud Director process. From the failed standby cell, run the following command.
/opt/vmware/vcloud-director/bin/cell-management-tool -u <admin username> cell --shutdown
- Power off the failed standby VM.
- From any cell other than the failed standby cell, by using the appliance API Unregister method, remove the failed standby cell from the repmgr high availability cluster. See the VMware Cloud Director Appliance API documentation.
- Use the Service Provider Admin Portal to remove the failed standby appliance from the VMware Cloud Director server group.
- From the top navigation bar, under Resources, select Cloud Resources.
- In the left panel, click Cloud Cells.
- Select an inactive cell and click Unregister.
- If you want to reuse the IP address and DNS name of the failed standby cell, you must ensure that the failed standby remains powered off or delete it.
- Deploy a new standby appliance. You can deploy the appliance by using the vSphere Client or deploy the appliance by using the VMware OVF Tool.
After deploying the new standby, the cluster health must be Healthy.Important: The OVA version of the newly deployed standby must be the same as the existing appliances in the cluster. To view the version of running appliances, see the About information in the appliance management UI. The appliance is distributed with a name of the form VMware Cloud Director-v.v.v.v- nnnnnn_ OVF10.ova, where v. v. v. v represents the product version and nnnnnn the build number. For example: VMware Cloud Director-10.2.0.0-9229800_OVA10.ova.
- To reset the cluster failover mode to
Automatic, from any cell other than the failed standby cell, use the appliance API Failover method. See the VMware Cloud Director Appliance API documentation.
For more information about the automatic failover mode, see Automatic Failover of the VMware Cloud Director Appliance.
- If the VMware Cloud Director appliance FIPS mode was on before the restore, you must set it again by using the VMware Cloud Director appliance API.
The cell FIPS mode restores automatically.