...
vCenter Server が次のようなエラーをレポートする。 vSphere UI Health Alarm", "Log disk exhaustion on vcenter nameDatabase Health Alarm", "Core and Inventory Disk Exhaustion on vcenter name vCenter Server が、503 Service Unavailable エラーでアクセスできない場合がある。vSphere Appliance Management Interface (VAMI) の [監視] > [ディスク] に /storage/log の使用率が 75% またはそれ以上であることが表示される。 75% 以上の使用率が継続すると 黄色 の警告ステータスをトリガーします85% に達すると 赤 のクリティカルアラームをトリガーします95% に達するとファイルとデータベースの破損を防ぐために vpxd サービスがシャットダウンします
この記事では、vCenter Server Appliance で /storage/log パーティションが逼迫している場合のトラブルシューティングと解決方法について説明します。
以下の潜在的な要因があります。 vCenter Server ログ バンドルが生成後にクリアされないログに非常に高い頻度で大量のイベントが出力されるApache Tomcat Java Servlet サービスなどのサービスがファイルのクリーンアップに失敗する/storage/log パーティションの設定が小さすぎる
デフォルトの設定で、パーティションの使用率が 75% に達した状態が 10 分継続した時: アラームがトリガされます。 パーティションの使用率が 95 % に達した時 : オペレーティングシステムはファイルの破損を防ぐために主要サービスである vmware-vpxd の開始を妨げます 継続的に 95 % の使用率である必要は無く、このしきい値を超えると vpxd サービスをシャットダウンします。シャットダウン後は一時ファイルが削除されることにより、使用率は低下している可能性があります。重要なファイルを削除すると、vCenter Server Appliance が機能しなくなる可能性があります。vCenter Server Appliance 仮想ディスクのサイズを変更すると、データが破損するリスクがあります。WARNING: ファイルの削除またはディスクのサイズ変更を行う前に、vCenter Server Appliance の適切なバックアップを作成してください。
次のいずれかの既知の問題が原因で発生していないかを確認します。 影響のあるバージョン関連する KB のリンク6.0 /storage/log partition full due to cloudvm-ram-size.log file rotation is not working in vCenter Server Appliance 6.0 before Update 3, 6.5 before Update 1 /storage/log partition full due to SSO log files are not compressed in vCenter Server Appliance/storage/log partition full due to SSO log files are not compressed in vCenter Server Appliance 7.0 before Update 1C vCenter Appliance /storage/log partition full due to excessive pod-startup.log files 7.0 before Update 3c vmafdd.log is not being compressed which eventually leads to "log disk exhaustion" warning on the vCenter (83238) (vmware.com)vCenter Server /storage/log filling up due to localhost_access.log and catalina.log in sso and lookupsvc log directories (85475) (vmware.com) 7.0 before Update 3o, 8.0 before Update 1 /storage/log filling up with imfile-state files | rsyslogd (87669) (vmware.com) 7.0, 8.0 の最新バージョンでも解消していない vCenter Server Appliance 7.0.x /storage/log partition runs out of space due to VMware Analytics service log file (analytics-runtime.log.stderr) (85468) 7.0 Update 1 から Update 2。 Update 3 にて修正 vCenter has a large number of localhost_access log files generated under /storage/log/vmware/eam/web/ (85249) 7.0 Update 1 以降のリリース。 8.0 にて修正。 vCenter has a large number of localhost_access log files generated under /storage/log/vmware/eam/web/ (85249) 7.0 Update 2。 Update 3 にて修正。 The /storage/log volume is filling up in vCenter 7.0 U2 due to growing sps-runtime.log.stderr (83671) (vmware.com) すべてのバージョン /storage/log partition full due to Large Java dump files created under /storage/log/vmware/perfcharts in vCenter Server Appliance /storage/log becomes 100% full when exporting the vCenter Appliance log bundles vCenter Appliance /storage/log partition full due to excessive pod-startup.log files VCSA /storage/log/ partition runs out of space due to java hprof dumps created by VMware Analytics service 既知の問題から問題を特定できない場合は、パーティション内の不要な Tomcat ログ ファイルを探します。 SSH または vCenter Server 仮想マシン コンソールを介して vCenter Server Appliance に接続します。shell と入力して BASH シェルに切り替えます。 SSH および Bash シェル アクセスの有効化/無効化の詳細については、「Enable or Disable SSH and Bash Shell Access」を参照してください。 次のコマンドを使用して、以下のパスの下にある Apache Tomcat サービスのログ ファイルをリストします。 /storage/log/vmware/sso/tomcat/ /storage/log/vmware/eam/web/ /storage/log/vmware/lookupsvc/tomcat/ (vCenter 7.0 only) これらのログ ファイルの数が多い場合は、削除して容量を解放できます。 ls -lha catalina*log rm catalina*log 容量が大幅に改善されたかどうかを確認します。改善されている場合は、ドライブがログ トラフィックに対して小さすぎた可能性があります。vCenter Server Appliance disk space is full を参照して /storage/log 仮想ディスクのサイズを大きくすることを推奨します。 df -h 不要な PostgreSQL サービス健全性アラーム ログ ファイルを確認して削除します。 /storage/log/vmware/sso/tomcat/, /storage/log/vmware/eam/web/ & /storage/log/vmware/lookupsvc/tomcat/ (vCenter 7.0 only)ディレクトリで、次のコマンドを実行します。 ls -lha localhost_access* rm localhost_access* 容量が大幅に改善されたかどうかを再度確認します。改善されている場合は、ドライブがログ トラフィックに対して小さすぎた可能性があります。vCenter Server Appliance disk space is full を参照して /storage/log 仮想ディスクのサイズを大きくすることを推奨します。 不要なストレージ プロファイル サービス アクセス ログを確認して削除します。 cd /var/log/vmware/vmware-sps ls -lha sps-access*log rm sps-access*log 容量が大幅に改善されたかどうかを再度確認します。改善されている場合は、ドライブがログ トラフィックに対して小さすぎた可能性があります。vCenter Server Appliance disk space is full を参照して /storage/log 仮想ディスクのサイズを大きくすることを推奨します。 前の手順で問題を特定できなかった場合は、 vCenter Server Appliance disk space is full の "Further troubleshooting" の項目に従って. パーティション内のサイズの大きいファイルを探します。 Warning: vCenter Server Appliance からファイルを削除する前に、vCenter Server のバックアップが適切に作成されている必要があります。
vCenter Server Appliance disk space is fullvCenter Server /storage/log filling up due to localhost_access.log and catalina.log in sso and lookupsvc log directories