Vmware Virtual machine instance state values

mayank_ihs
Tera Contributor

Hello, 

Can anyone explain how different values of state are set for a virtual machine instance? 

Like these should be set by the VMwareVMProbe at the time of creation but when a VMI is not discovered it is marked as stale by cloud Discovery so is there a field that reflects the same? like State or Install Status. 

In a broad sense the ServiceNow Document mentions if a VM is deleted, the state changes to terminated and operational status changes to Retired but that's not happening in our case and we are in Paris. Infact there is no "operational state" field present, there is Install Status rather. 

 

find_real_file.png

6 REPLIES 6

JJ20
Kilo Guru

We just stumbled onto the changing of the status when we installed:

 

Discovery and Service Mapping Patterns (1.0.69)

 

However, we had to disable the VM Status Cascade business rule because our vm's were getting terminated, then restarted; however, the instance was getting flagged as retired, but never would go back to installed.

We are currently using Orlando.

 

 

Hope this helps.

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Agree with JJ. Have you upgraded the patterns plugin? Also this improvement was brought i think in orlando which will keep your cmdb updated.

What we also did was event based discovery for the VMs. SO if they are terminated then in real time it was marked as retired or terminated in servicenow. When it was made off then it was off in servicenow.

Now coming back to your field. have you triggered checking the field in list view?

find_real_file.png


We have this three field on vm instance table.

Thakns,
Ashutosh

Pooja84
ServiceNow Employee
ServiceNow Employee

Hi @mayank_ihs,

state, status and operational-status fields would help to identify the state of the VM. this is from paris patch2 version.

find_real_file.png

 

 

Ceasar
Tera Contributor

Got ours as absent status: is it safe to change it to Retired status since it's terminated anyways?

find_real_file.png

 

Thanks!