This section explains how to set up the introspective instance monitor to
enhance the reliability of virtual machines in your OpenStack environment.
To configure the introspective instance monitoring:
Verify that the introspective instance monitor is enabled in the
OpenStackDeployment custom resource as described in
Enabling introspective instance monitor.
Create a high availability (HA) segment to group relevant compute hosts that
will participate in monitoring and recovery as described in
Group compute nodes into segments.
Ensure the virtual machine image supports the QEMU Guest Agent for
monitoring by updating the image with the hw_qemu_guest_agent=yes
property:
Install the QEMU Guest Agent to enable communication between the host and
guest operating systems and ensure precise monitoring of the instance
health.
Linux-based virtual machines
Install the QEMU Guest Agent using the system package manager.
For example:
sudoaptinstallqemu-guest-agent
Verify that the agent is up and running:
systemctlstatusqemu-guest-agent
Windows-based virtual machines
Note
This procedure uses a generic approach to adding drivers
to Windows. The exact steps may vary depending on the Windows
version. Refer to the installation documentation specific to your
Windows version for detailed instructions.
Download the VirtIO driver ISO file (virtio-win.iso).
Install the VirtIO Serial Driver:
Attach virtio-win.iso to your Windows virtual machine.
Log in to the virtual machine.
Open the Windows Device Manager.
Locate PCI Simple Communications Controller
in the device list.
Right-click on it and select Update Driver.
Browse to the mounted ISO directory DRIVE:\vioserial\<OSVERSION>\,
where <OSVERSION> corresponds to the Windows version of your
Windows virtual machine.
Click Next to install the driver.
Reboot the virtual machine to complete the driver installation.
Install the QEMU Guest Agent:
Log in to the virtual machine.
Use the File Explorer to navigate to
the guest-agent directory in the virtio-win CD drive.
Run the installer: qemu-ga-x86_64.msi(64-bit) or
qemu-ga-i386.msi(32-bit).
Verify that the qemu-guest-agent is up and running.
For example, in the PowerShell: