Is there a way to populate the Off/On state from the VMware Virtual Machine Instance in the Windows Server CI?

jeremyjameshans
Mega Guru

Hello All,

I would like a way to update the CI of the windows server whether the VM instance for this server shows Off/On/Paused.  This will help me to easily know why certain CI's are not being updated through daily discovery. 

We currently use the VMware integration which gathers data about each Instance through Discovery this integration shows the state of the Instance that I need.  We also discover the actual server as well which provides all of the information needed such as: the OS, OS Version, Running applications, etc.  I would like a way to populate important fields from both of these such as the State of the VMWare instance in the CI of the windows server.  

What would be the best way to update the fields from both tables?

Thanks,

Jeremy

8 REPLIES 8

christianmalone
ServiceNow Employee
ServiceNow Employee
Does the vm instance guest state populate when you run vcenter Discovery? Do you want to populate a field on the associated server CI record? Do you already have a process to manage the state and operational status fields of CI’s? What outcome are you looking for with having another field populated by guest state?

jeremyjameshans
Mega Guru

Hello Christian,

 

  1. The vcenter discovery works very well.  It populates the State every morning. 
  2. Yes, I am looking to poplulate the vm state on the CI record.
  3. I do not have a process to manage the state and operational status fields on the CI
  4. When I am reviewing my daily discovered CI's and see a CI that is no longer being updated, I would like to know from the CI if the VM is in a paused status or possibly off.  This will help me quickly determine which team to engage (if that makes sense).

Thanks,
Jeremy

Hi Jeremy,

 

According to my understand and knowledge of ServiceNow discovery do not capture/discover and manage the operational status for CI such as if servers are on or off .

We can use event management to get the operational status of the CI and can generate an alert if the server is down which can be assigned to specific team to resolve the issue.

 

 

Regards,

Kiran

mayank_ihs
Tera Contributor

Hello Everyone, 

 

This can be done using a Business Rule Script, We've done that in our Org where we update the state of the CI when the state of the VMI changes, Let me know If anyone still needs that BR and I'll be more than happy to help on the BR and the Documentation. 

 

Regards 

 

Mayank