5.3. Deploying a virt-who Configuration on a Separate Red Hat Enterprise Linux Server

Use this procedure to deploy a vCenter or Hyper-V virt-who configuration on a dedicated Red Hat Enterprise Linux 7 server. The server can be physical or virtual.

Global configuration values apply to all virt-who configurations on this server, and are overwritten each time a new virt-who configuration is deployed.

Prerequisites

  • Create a read-only virt-who user on the hypervisor or virtualization manager.
  • If you are deploying a Hyper-V virt-who configuration, enable remote management on the Hyper-V hypervisor.
  • Create a virt-who configuration for your virtualization platform.

Procedure

  1. On the Red Hat Enterprise Linux server, install Satellite Server’s CA certificate:

    # rpm -ivh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
  2. Register the Red Hat Enterprise Linux server to Satellite Server:

    # subscription-manager register \
    --org=organization_label \
    --auto-attach
  3. Open a network port for communication between virt-who and Satellite Server:

    # firewall-cmd --add-port="443/tcp"
    # firewall-cmd --add-port="443/tcp" --permanent
  4. Open a network port for communication between virt-who and each hypervisor or virtualization manager:

    • VMware vCenter: TCP port 443
    • Microsoft Hyper-V: TCP port 5985
  5. In the Satellite web UI, navigate to Infrastructure > Virt-who configurations.
  6. Click the name of the virt-who configuration file.
  7. Click the Deploy tab.
  8. Under Configuration script, click Download the script.
  9. Copy the script to the Red Hat Enterprise Linux server:

    # scp deploy_virt_who_config_1.sh root@rhel.example.com:
  10. Make the deployment script executable and run it:

    # chmod +x deploy_virt_who_config_1.sh
    # sh deploy_virt_who_config_1.sh
  11. After the deployment is complete, delete the script:

    # rm deploy_virt_who_config_1