System version: V1R2C01SPC300
The customer had a standdart VDI system,after an unexpected power outage,all the VMs can't start up and the ESC servers were broken.We recovered the active and standby ESC servers, the system can create VM、and this new VMs can be stoped or restart.
But the old VMs before the ESC failed can't start anymore, and the OMS got critical alarms "Invalid VM Existing in the System".
These old VMs need to be deleted manually because the system can't delete them automatically.
ALM-15.1001012 Invalid VM Existing in the System.
1: Use PuTTY to log in to the CRM on which the uncontrolled VM runs as user root.
Ensure that the management IP address of the node is used to establish the connection.
2: Run the following command to delete the uncontrolled VM:
If the alarm object is an ESC node, run perl terminateInstances.pl floating IP address of the CRM ID of the uncontrolled VM
If the alarm object is a CNA node, run perl ncTerminateInstance.pl Management IP address of the computer host ID of the uncontrolled VM
If success is displayed, the VM is deleted successfully.
3: After 2 or 3 minutes, view real-time alarms and check whether the alarm is cleared.
If the alarm object is a CNA, the alarm is not automatically cleared. To clear the alarm, choose Operation > Manually clear on the right of the alarm.
The system fails to delete a VM at the customer's request due to underlying-layer equipment errors.
If the system failed to delete a invalid VM, we can use this method.