To resolve this issue:
- Increase the storage space for the database.
- Delete unnecessary historical data from the database and shrink database to reduce the DB file size.
Note:
- If you want to restart vCenter without fixing the problem, you must override the startup check.
- If you restart vCenter Server without fixing the problem, any corrective action afterwards might cause the database to go out of space.
Workaround:
To workaround this issue:
- Reduce the error threshold percentage by executing this command against the database. For more information, see Interacting with the vCenter Server Appliance 6.5 embedded vPostgres Database (2147285).
update vpx_parameter set value=99 where name='vpxd.vdb.space.errorPercent';
Note: If VC upgrade fails due to this issue, update the threshold in DB during the upgrade process at VirtualCenter Server firstboot.
- Change the default settings for the Database Health Alarm through the Advanced Settings in vCenter Server:
- In vSphere Web Client, navigate to vCenter Server.
- In the Configure tab, select Advanced Settings and click Edit.
- Use the Filter drop-down menu to find the configuration parameters that are related to the Database Health Alarm and set their new values.
Configuration parameter | Description | Default value |
vpxd.vdb.space.warningPercent | Sets the percentage at which a warning is triggered. Changing this setting does not require you to restart vCenter Server. | 80% |
vpxd.vdb.space.errorPercent | Sets the percentage at which an error is triggered, and an action takes place. Changing this setting does not require you to restart vCenter Server. | 95% |
config.vpxd.vdb.space.skipInitialCheck | Turns off the startup checking for free space | false |
config.vpxd.vdb.space.checkIntervalSec | Defines the interval at which vCenter Server checks a database for available space. | 15 minutes |
- If you cannot find a configuration parameter, you must add it to the list:
- In the Edit Advanced vCenter Server Settings dialog box, enter the name of the configuration parameter in the Name text box.
- In the Value text box, set the value for the configuration parameter and click Add.
- Click OK.