Validating the virtualization environment for virtual machine availability

The VCS utility havirtverify validates the virtualization environment. If the virtualization environment is not valid for VCS to manage virtual machines, it logs an error message indicating that the virtualization environment is invalid and resource state is UNKNOWN. Upon receiving this error message, you must correct the virtualization environment and run the havirtverify utility manually to validate the environment. Upon successful validation, a verification message displays and the VCS resource state clears in the next monitor cycle.

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

# /opt/VRTSvcs/bin/KVMGuest/havirtverify resource_name

If validation passes, the following message displays:

#/opt/VRTSvcs/bin/KVMGuest/havirtverify resource_name
Red Hat Enterprise Virtualization Environment validation successfully 
completed for resource resource_name

If validation fails, the following message displays:

# /opt/VRTSvcs/bin/KVMGuest/havirtverify resource_name
Virtualization environment validation failed for resource resource_name

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

See Sample configuration in a KVM environment.

See Sample configurations for a Red Hat Enterprise Virtualization (RHEV) environment.