Validating the virtualization environment

The KVMGuest agent validates the virtualization environment with the help of a standalone utility havirtverify.

The agent invokes this utility in open entry point and attr_changed entry point. The utility validates the configured virtualization environment for a resource based on its configuration.

For RHEV, the utility:

For KVM, the utility checks whether libvirtd is running or not.

Once the validation is passed, the agent can start monitoring the resource. If validation fails for a particular resource, its state is reported as UNKNOWN. This validation is also triggered if value of either of the following attributes changes:RHEVMInfo, GuestName.

You can also run this utility manually for verifying the environment.

To validate the RHEV environment

All the log messages of this utility are sent to the engine log file.