VAMI shows Cluster Health: Read Only Primary or Degraded state
search cancel

VAMI shows Cluster Health: Read Only Primary or Degraded state

book

Article ID: 384987

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • After a failed upgrade snapshot revert or increasing the capacity of the embedded PostgreSQL database on VMware Cloud Director Appliance by following the Increase PostgreSQL database disk , the Cluster Health shows DEGRADED or READ ONLY PRIMARY

  • Cannot access VMware Cloud Director UI, instead getting the below error when trying to access the page:

    HTTP ERROR 404 JSP file [/error.jsp] not found

  • Upgrade process failed and now the service will not start
  • NFS Server used for the Transfer Server Storage was in-accessible and now the VAMI shows "READ ONLY PRIMARY"

Environment

VMware Cloud Director 10.x

Cause

  1. Cluster Health shows DEGRADED when the primary and one of the standby cells are online and operational, but the other standby cell is non-functional. The primary database is functional in this state, but if there is another database failure of either of the operational cells, the primary will become non-functional. The non-functional standby cell must be replaced with a new, functioning standby cell as soon as possible to restore the cluster to a Healthy state. The VMware Cloud Director UI and API are functional.

  2. Cluster Health shows READ ONLY PRIMARY when there is an online primary database, but it is READ_ONLY because the environment does not have an operational standby cell. Two new standby cells must be deployed. The VMware Cloud Director UI and API are not available.

Resolution

  • To workaround the issue please use the following KB Article.

Reverting from a Cloud Director Appliance Deployment with Database HA to a Cloud Director Appliance Deployment Without Database HA