Adding VM managers for VMware, Hyper-V, KVM with RHV-M, Citrix Hypervisor and Nutanix

After you configure the capacity scan, BigFix Inventory can evaluate capacity of virtual machines in your environment. However, to accurately calculate subcapacity consumption, it also needs data about physical hosts on which these VMs are running. The data can be collected only from VM managers. To ensure that the data is available to BigFix Inventory, configure connections to VM managers in your infrastructure.

Before you begin

  • An icon representing a user. You must have the Manage VM Managers and Servers permission to perform this task.
  • The computer where the main instance of the VM Manager Tool is installed must belong to the computer group to which you are assigned. Otherwise, the option to add VM managers is disabled.
  • If the panel is blocked and displays a warning, see: Troubleshooting: Enabling the VM Managers panel.

About this task

9.2.7 VM Manager Tool, starting from update 1.5.0.0, is enhanced to attempt to automatically fix the most common problems with the VM manager connection parameters. This feature is disabled by default. To enable this feature, go to Management > Advanced Server Settings and change the setting of vmman_fix_parameters_enabled parameter to true. While fixing connection problems the VM Manager Tool can connect using the HTTP protocol when the defined HTTPS connection is not available. This setting is enabled by default. To disable switching protocol from HTTPS to HTTP, go to Management > Advanced Server Settings and change the setting of vmman_http_connection_allowed parameter to false. For more information, see: Advanced server settings.

Procedure

  1. In the top navigation bar, click Management > VM Managers.
  2. To add a VM manager, click New.
  3. Select the virtualization type and provide the required details.
    • To add Microsoft Hyper-V:
      1. Select one of the available communication interfaces: PowerShell or WinRM. For more information about these interfaces, see: Microsoft Hyper-V.
        Important: WinRM is the preferred communication interface. Before you add the VM Manager, configure WinRM on the Hyper-V host. For more information, see: Configuring WinRM on Hyper-V hosts.
      2. Provide the URL of the VM manager in the following format: https:///ovirt-engine/api to https://{manager-host}/ovirt-engine/api.
      3. To share credentials with other hosts in the same cluster, select Share credentials with other hosts in the same cluster.
      4. Provide the Administrator account credentials. Define the user as user_name\domain or user_name@domain. For example: test\cluster.com or test@cluster.com.
    • To add KVM with RHV-M:
      1. Provide the URL of the VM manager in the following format: https://<RHV-M_IP_address>/ovirt-engine/api.
      2. Provide the account credentials. Define the user as user_name@domain, for example: test@cluster.com.
    • 9.2.17 To add Nutanix:
      1. Provide the URL of the VM manager in the following format: https://<NUTANIX_PRISM_IP_ADDRESS>:9440/PrismGateway/services/rest/v2.0.
      2. Provide the account credentials.
    • 9.2.14 To add Oracle VM:
      1. Provide the URL of the VM manger in the following format:
      2. https:///ovirt-engine/api to https://{manager-host}/ovirt-engine/api
      3. Provide the account credentials.
    • To add VMware ESX, ESXi or vCenter:
      1. Provide the URL of the VM manager in the following format:
        • https://<vCenter_IP_address>/sdk/vimService.wsdl
      2. Provide the account credentials. Define the user as domain\user_name, for example: cluster.com\test.
    • 9.2.12 To add Citrix Hypervisor (formerly XenServer):

      1. Provide the URL of the VM manager in the following format: https://Citrix_hypervisor.
      2. Provide the account credentials.

    The following example shows a configured connection to VMware ESX, ESXi or vCenter.

    Note: "KVM RHV-M" VM Manager type has been renamed to "KVM RHV-M or Oracle Linux Virtualization". This change is only on the UI. As Oracle VM is approaching end of life, instead of the new version, Oracle moves to KVM and introduces Oracle Linux Virtualization Manager as manager. Oracle Linux Virtualization Manager works with previous versions of BigFix Inventory which supports KVM RHV-M.
  4. Click Create. Connection to the VM manager is created and its status is Pending.
  5. Select the VM manager, and click Test Connection.
    The test might take a few minutes. Refresh the panel. If the VM manager connection is properly configured, the connection test status changes to Successful.

Results

You have created a VM manager. Its status remains Pending until the data is collected from the VM manager, uploaded to the BigFix server, and transferred to BigFix Inventory during the import of data.

The upload of data collected from VM managers is triggered shortly after you modify any VM manager, for example create a new connection or change the existing one. If you do not make any modifications, the data is uploaded according to the schedule, which is every 12 hours by default. For more information, Capacity data flow.

Note: BigFix Inventory can count the cluster cores properly only if the data comes from a single VM manager connection for the whole cluster. This option is visible on Management > VM Managers panel.
  • For VMware, the data should come from vCenter where VMs in the same cluster must belong to a single vCenter, otherwise the cluster core results will not be correct.
  • For Hyper-V, the data should come from a single host within a cluster when Share credentials with other hosts in the same cluster option is enabled.

    Cluster Cores are assigned based on the node layer and not the machines. Physical machines that host Hyper-V, share the same node layer as VMs they host. These machines have the same cluster name. As a result, Hardware Inventory report shows the same Cluster Name for Hyper-V hosts and the hosted VMs.