No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

How to clear the alarm "Invalid VM Existing in the System"

Publication Date:  2013-07-21 Views:  43 Downloads:  0
Issue Description
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.
Alarm Information
ALM-15.1001012 Invalid VM Existing in the System.
Handling Process
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:
    cd /opt/galax/crm/scripts
    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.

Root Cause
The system fails to delete a VM at the customer's request due to underlying-layer equipment errors.

Suggestions
If the system failed to delete a invalid VM, we can use this method.

END