Configure the VMware Events service to auto-update the CMDB
Configure events from the cloud environment to make the necessary updates to your CMDB without additional scanning. The VMware Events service can auto-update CI data in the CMDB whenever Cloud Provisioning and Governance makes a life-cycle state or configuration change to a VMware resource. As a result, the CI data in the CMDB is updated without having to wait for Discovery to run.
Before you begin
- You must have a cloud account with VMware, service accounts and associated logical datacenters.
- The following Cloud Provisioning and Governance plugins must be activated
(Not mandatory for Cloud Discovery):
- Cloud Provisioning and Governance (com.snc.cloud.mgmt)
- Cloud Provisioning and Governance Core (com.snc.cloud.core)
- Cloud API (com.snc.cloud.api)
- Cloud Config Management (com.snc.config.mgmt)
- A MID Server must be available with All or VMware capabilities.
- The vCenter datacenters are successfully discovery and associated data is populated.
About this task
To connect to a different MID Server or vCenter: Update the settings and then click the Start related link. The Status value changes to Updating and then to Started.
If you are on a domain separated instance, only those events that are updated to the CMDB and belong to your domain are visible. Events create configuration items (CI) in the same domain as the cloud service account they are mapped to. Events that are not associated to a service account are visible to all domains.
During event processing, the Cloud Event Scheduler identifies the domain of the service account and assigns to the event. If an error occurs in identifying the domain before processing, the event can sometimes stay unassigned and become visible to all domains. To prevent the failed events visibility to all domains, you can set the sn_cmp.error_events.default_domain property to sys_id of the service-provider domain so that the failed events appears only to the service-provider domain administrator.
Procedure
Result
- If the vCenter has events in the Event Manager and the same events are configured, Cloud Provisioning and Governance gathers the events and take action on the CIs accordingly.
- Identification and Reconciliation Engine (IRE) changes the CI state based on event payload received and the IRE cannot be customized.