Server's operational status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 08:25 AM
Hello
Is there any documentation regarding how the values Status/State/Operational Status of Virtual Machine Instances interact between them and how they affect the Status/Operational Status of their related server records?
I cannot find anything and we would like to understand how the values of the hosts are being modified by Discovery based on the values retrieved for their VMI.
Thank you
KR
Miguel
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 01:55 PM
This might help get you started
https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/discovery/concept/c_DiscoveryForVMwareVCenter.html
Also
Check out the capabilities with the vcenter event collector
https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/mid-server/concept/c_VCenterEventProcessorExtension.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 02:45 AM
Hi Miguel,
You can have a look at these business rule which would update the server status fields based on the VMware status fields
Cascade deprovisioned status to Server
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 06:05 AM
Since cmdb_ci_vm_instance table is extended from a few other tables, Status (from cmdb) and Operational Status (from cmdb_ci) are extended attributes. Both of these fields might not serve the purpose of depicting the state of a VM (like on, of, terminated, etc), hence the need of creating a new field.
State field, OOB does not have any interaction with the other 2 fields however, you can check for any customizations like Business Rules, to see if there are any.
State field is modified by cloud discovery based on the VM state at the time discovery runs.