If you have insufficient space on the PostgreSQL database disk of a VMware Cloud Director appliance, you can increase the capacity of the embedded PostgreSQL database.
The PostgreSQL database resides on Hard disk 3. It has a default size of 80 GB. The procedure can be done while the appliances are operational.
Important: You must increase the capacity of any existing standby appliances before increasing the capacity of the primary appliance.
The PostgreSQL Database disk size on each standby appliance must be the same as the PostgreSQL database disk on the primary appliance.
- If your VMware Cloud Director environment has standby nodes, identify the standby nodes and the primary node, and begin the procedure from a standby node. For more information on identifying the roles of the nodes, see View the VMware Cloud Director Appliance Cluster Health and Failover Mode.
- If your VMware Cloud Director environment consists of only a primary node, run the procedure on the primary node.
- Log in to the vSphere Client to increase the capacity of Hard Disk 3 to the size that you want.
The PostgreSQL database disk size on each standby appliance must be as large as the PostgreSQL database disk on the primary appliance.
The progress of the reconfiguration task appears in the Recent tasks pane.
- Select the appliance virtual machine that you want to change.
- Select .
- Increase the size of Hard disk 3 and click OK.
- Apply the changes to the OS of the appliance node.
- Log in directly or by using an SSH client to the VMware Cloud Director appliance console as root.
- To apply the hard disk resizing change to the OS, run the following script.
- If your environment does not consist of only one primary appliance, repeat the procedure for each of the nodes that has a database.