6.2. Before You Begin

6.2.1. Prerequisites

To install and run virt-who:
  • You must have credentials that allow virt-who to communicate with:
    • a Satellite user account
    • your virtualization system
  • The system running virt-who is registered already to the Satellite server(virt-who will use the host credentials).
  • The ports configured for your hypervisor allow communication (the default virt-who port is 443).

6.2.2. User Login for virt-who

Login credentials to the data center are required for the following hypervisor types:
  • Red Hat Enterprise Virtualization Manager
  • VMware vSphere
  • Microsoft Hyper-V

Note

When configuring the permissions to the login credentials, the permissions must allow access to the virtual machines and hypervisors. Red Hat recommends the following:
  • The login has read-only permission.
  • The login is for a service account or non-user login.
  • The password does not expire.

6.2.3. virt-who Configuration File Location

The virt-who configuration is stored in the following configuration files:
  • /etc/sysconfig/virt-who (default)
    Sample Configuration File:
    $ cat /etc/sysconfig/virt-who
    [rdu]
    VIRTWHO_BACKGROUND=1
    VIRTWHO_DEBUG=1
    VIRTWHO_ESX=1
    VIRTWHO_ESX_OWNER=Organization_label
    VIRTWHO_ESX_SERVER=vcenter-server.example.com
    VIRTWHO_ESX_USERNAME=esx-readonly-user
    VIRTWHO_ESX_PASSWORD=password
    VIRTWHO_ESX_ENV=Library
    
  • /etc/virt-who.d/exampleconfig.conf (only for encrypted passwords)
    Sample Configuration File:
    $ cat /etc/virt-who.d/exampleconfig.conf
    [rdu]
    type=abc
    owner=virtwho
    server=abc-server.example.com
    username=root
    password=password
    rhsm_username=admin
    rhsm_password=admin
    #rhsm_encrypted_password=61fde1a1e2cbe95faef0ef0ecfd85057