带有嵌入式 vPostgres 数据库的 vCenter Server Appliance 因数据库分区已满而崩溃
search cancel

带有嵌入式 vPostgres 数据库的 vCenter Server Appliance 因数据库分区已满而崩溃

book

Article ID: 341114

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
免责声明:本文是 vCenter Server Appliance with embedded vPostgres database crashes due to full database partition (2058273) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。


带有嵌入式 vPostgres 数据库的 vCenter Server Appliance 停止运行。出现该问题的原因是 vPostgres 数据库上的磁盘分区没有可用空间。执行以下检查确认 vPostgres 数据库是否已满:

  • 通过运行以下命令验证 vCenter Server Appliance 中的 vpxd 服务是否已停止:
      service vmware-vpxd status
  • 通过运行以下命令验证 vPostgres 服务是否已停止:
      service vmware-vpostgres status
  • 通过运行以下命令验证 vPostgres 数据库是否已满:
      df -h 
  • 在 vpxd 日志文件中,检查是否有类似以下内容的消息:
      No Space left on device
  • /storage/db/vpostgres/pg_log/postgresql.log 日志文件中,您会看到类似以下内容的条目:
      PANIC: could not write to file ...No space left on device
      ERROR: could not extend file ...No space left on device

有关日志文件的信息,请参见 Location of vCenter Server log files (1021804)


Environment

VMware vCenter Server Appliance 5.1.x
VMware vCenter Server Appliance 5.5.x

Resolution

  1. 扩充 vPostgres 数据库的磁盘大小 Increasing the disk space in vCenter Server Appliance 5.x (2056764)

  2. 为防止数据库分区满,可监视 vCenter Server Appliance 数据库磁盘的使用情况以及更改 vCenter Server 数据保留设置 Monitor vCenter Server Appliance database disk usage (2058187)


Additional Information

Increasing the disk space in vCenter Server Appliance 5.x
Monitor vCenter Server Appliance database disk usage
vCenter Server Appliance with embedded vPostgres database crashes due to full database partition