Adding VM managers for VMware, Hyper-V, KVM with RHEV-M, Xen Server 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://<Hyper-V_IP_address>/wsman.
      3. Optional: 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 RHEV-M:
      1. Provide the URL of the VM manager in the following format:
        • For version 3.0: https://<RHEV-M_IP_address>:8443/api
        • For version 3.1 up to 3.6: https://<RHEV-M_IP_address>/api
        • For version 4.0: https://<RHEV-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.
    • To add VMware ESX, ESXi or vCenter:
      1. Provide the URL of the VM manager in the following format:
        • For versions up to 5.1: https://<vCenter_IP_address>/sdk
        • For version 5.5 and higher: 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 XenServer or Citrix XenServer:
      1. Provide the URL of the VM manager in the following format: https://xen-server.
      2. Provide the account credentials.
    The following example shows a configured connection to VMware ESX, ESXi or vCenter.
    Configured connection to VMware ESX, ESXi or vCenter.
  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 added 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, see: Capacity data flow.