跳到主內容
版本:3.0

重設運算虛擬機狀態

使用命令列介面重設因意外錯誤而無法回應的虛擬機(虛擬機器)。 接著透過虛擬控制台或使用 ICMP ping 來驗證虛擬機的健康狀態。

使用命令列介面重設虛擬機狀態

cc1> iaas compute reset
Select an instance to be reset:
1: cluster-jtds6g-worker-1 (ID: 70a436b2-9bea-4de6-b47f-14ac13d0b192, Status: ERROR)
2: all
Enter index: 1
Reset state for server 70a436b2-9bea-4de6-b47f-14ac13d0b192 succeeded; new state is active
Confirm to hard reboot instances.
Enter 'YES' to confirm: YES
Hard rebooted instance: 70a436b2-9bea-4de6-b47f-14ac13d0b192