系統管理員可能無法存取 vCenter。他們可能發現 vpxd 和清查服務無法啟動。
錯誤訊息: 503 Service Unavailable Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x00007f975808ee30] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)
此錯誤的原因可能多種。以下是兩種可能的情況:
機器帳戶使用的密碼會定期自動重新整理。
此密碼儲存在 vCenter Server 上的機器帳戶,以及位於平臺服務控制器上的 VMware 目錄服務內。如果用於執行還原的備份會預先設定最新的密碼重新整理,則在還原時,機器帳戶無法登入 VMware 目錄服務。
此外,如果 vCenter Server 復原至快照狀態,而該狀態會在還原前預先完成密碼更新,則機器帳戶無法登入 VMware 目錄服務。
使用 VSAN 資料存放區的內容庫時,ISO 會安裝在 vCenter UI 內任意數量的 VM 上,名稱很長。這會使資料庫的使用時間過長。
在檔案中 /var/log/vmware/vpxd.log
,最後一行讀取 string too large
或 string too large for database
。
若為 vCenter Server Appliance:
shell
命令以切換至 BASH。/usr/lib/vmware-vmafd/bin/dir-cli computer password-reset --login administrator --live-dc-hostname
--password 密碼> /usr/lib/vmware-vmafd/bin/dir-cli computer password-reset --login administrator --live-dc-hostname mgmt01psc01.sfo01.rainpole.local --password 'VMware1!'
Password for machine account reset.
service-control --stop --all
service-control --start --all
請遵循 VMware KB 文章,因為錯誤而無法將主機連接至 vCenter:字串過大,無法連接至資料庫 (55610) 。
如果這兩種情況都不適用,請使用此 VMware KB 文章進行額外的故障診斷:登入或存取 vCenter Server 時,vSphere Web 用戶端發生「503 Service Unavailable」錯誤 (67818) 。
VMware 知識庫文章:
相關資源
以下是與本主題相關的一些建議資源,您可能會感興趣: