從電源中斷還原後,IDPA 型號 DP5x00 或 DP8x00 (含三個 ESXi 主機) 顯示無法從 vSphere UI 和 ESXi 命令列存取 vSAN 物件。將三個 ESXi 主機重新開機也無法解決問題。
以下為範例:
- 顯示任何 ESXi 主機的 vSAN 健全狀況狀態:
# esxcli vsan health cluster list Health Test Name Status -------------------------------------------------- ------------------------ Overall health red (vSAN Object health) Data red vSAN object health red
無法顯示 VM 物件。無法從 vSphere Web UI 或命令列開啟 VM,並出現類似的錯誤:
# vim-cmd vmsvc/getallvms Skipping invalid VM '41' Skipping invalid VM '43' Skipping invalid VM '44'
從其中一個叢集節點顯示 vSAN 叢集資訊發現維護模式仍設定為「開啟」:
# esxcli vsan cluster get Cluster Information Enabled: true Current Local Time: 2021-04-11T00:44:48Z Local Node UUID: 5afb4fd2-6e89-df35-0ab3-3cfdfe2caa40 Local Node Type: NORMAL Local Node State: MASTER Local Node Health State: HEALTHY Sub-Cluster Master UUID: 5afb4fd2-6e89-df35-0ab3-3cfdfe2caa40 Sub-Cluster Backup UUID: 5afb4f4f-589e-acf6-1c85-3cfdfe2c89e0 Sub-Cluster UUID: 52740a1b-3621-f158-7b09-439048860c07 Sub-Cluster Membership Entry Revision: 2 Sub-Cluster Member Count: 3 Sub-Cluster Member UUIDs: 5afb4fd2-6e89-df35-0ab3-3cfdfe2caa40, 5afb4f4f-589e-acf6-1c85-3cfdfe2c89e0, 5afb4ef8-b1b7-1f4a-f923-3cfdfe2c88a0 Sub-Cluster Membership UUID: 4c137260-c6b9-0aa9-e52b-3cfdfe2caa40 Unicast Mode Enabled: true Maintenance Mode State: ON Config Generation: 66541957-e1a1-478b-9a87-106bcf5cb77a 25 2021-03-18T20:31:02.389
在相同的 ESXi 主機中,執行時會顯示系統維護模式狀態,這表示其已停用。這與上述命令輸出不一致。
# esxcli system maintenanceMode get Disabled
- SSH 登入顯示維護模式狀態不一致的 ESXi 主機。手動將主機設為維護模式,然後將其移出維護模式:
# esxcli system maintenanceMode set --enable=true # esxcli system maintenanceMode set --enable=false
- 再次檢查 vSAN 叢集狀態。預期維護模式狀態會顯示為「關閉」,而 VM 可開啟而不會發生錯誤:
# esxcli vsan cluster get Cluster Information Enabled: true Current Local Time: 2021-04-11T00:44:48Z Local Node UUID: 5afb4fd2-6e89-df35-0ab3-3cfdfe2caa40 Local Node Type: NORMAL Local Node State: MASTER Local Node Health State: HEALTHY Sub-Cluster Master UUID: 5afb4fd2-6e89-df35-0ab3-3cfdfe2caa40 Sub-Cluster Backup UUID: 5afb4f4f-589e-acf6-1c85-3cfdfe2c89e0 Sub-Cluster UUID: 52740a1b-3621-f158-7b09-439048860c07 Sub-Cluster Membership Entry Revision: 2 Sub-Cluster Member Count: 3 Sub-Cluster Member UUIDs: 5afb4fd2-6e89-df35-0ab3-3cfdfe2caa40, 5afb4f4f-589e-acf6-1c85-3cfdfe2c89e0, 5afb4ef8-b1b7-1f4a-f923-3cfdfe2c88a0 Sub-Cluster Membership UUID: 4c137260-c6b9-0aa9-e52b-3cfdfe2caa40 Unicast Mode Enabled: true Maintenance Mode State: OFF