Collecting capacity data from virtualization hosts for Xen and KVM (BigFix scenario)
For Xen and KVM, connection to the VM manager does not have to be defined in License Metric Tool to collect capacity data. The data can be collected directly from virtualization hosts by using the Run Capacity Scan on Virtualization Hosts task.
Before you begin
- This method is applicable on the following virtualizations:
Xen Hypervisor
XenServer (formerly Citrix Hypervisor)
Important:
Starting from application update 9.2.12, it is recommended to collect data from XenServer (formerly Citrix Hypervisor) by configuring connections to VM managers. For more information, see: Adding VM managers in local and central mode.- PowerKVM
- KVM x86 not managed by RHV-M nor Oracle Linux Virtualization Manager
Tip: If your KVM x86 hosts are controlled by RHV-M or Oracle Linux Virtualization Manager, configure the RHV-M or Oracle Linux Virtualization Manager respectively as a VM manager in License Metric Tool. Do not use the Run Capacity Scan on Virtualization Hosts task. For more information, see: Adding VM managers in local and central mode.
- This method does not support BIOS limits.
About this task
Ensure that virtualization hosts from which you want to collect capacity data meet the following prerequisites.
- KVM hosts
-
Ensure that the following prerequisites are met on the KVM hosts:
- The host runs on Linux x86 or Linux on Power
- Bash shell is available
libvirt-clientlibrary is installed directly on the hypervisor or inside a container running within the hypervisor (virsh command is available)- The container needs to have either nova_libvirt or nova_virtqemud name
libxml2library is installed (xmllint command is available)
- Xen hosts
-
Ensure that the following prerequisites are met on the Xen hosts:
- The host runs on Linux x86
- Bash shell is available
xlcommand is availablelibxml2library is installed (xmllint command is available)
Procedure
Removing capacity scan data from the host
During the capacity scan, some files and folders are generated on the virtualization host. If you no longer collect capacity data from a particular host, remove the files and folders that were created by the capacity scan.
Procedure
-
Stop the actions that were created by the Run Capacity Scan on Virtualization Hosts task on the specified endpoints. Otherwise, the scan continues running and the files are recreated.
- In the navigation tree of the BigFix console, click .
- Select the actions, and in the lower pane, click Stop.
- In the navigation tree, go to Fixlets and Tasks.
- In the upper right pane, select Remove Capacity Scan Data from Virtualization Hosts, and click Take Action.
- Select the computers from which you want to remove the data that was generated during the capacity scan, and click OK.