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
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
Register the Red Hat Enterprise Linux server to Satellite Server:
# subscription-manager register \ --org=organization_label \ --auto-attach
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
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
- In the Satellite web UI, navigate to Infrastructure > Virt-who configurations.
- Click the name of the virt-who configuration file.
- Click the Deploy tab.
- Under Configuration script, click Download the script.
Copy the script to the Red Hat Enterprise Linux server:
# scp deploy_virt_who_config_1.sh root@rhel.example.com:
Make the deployment script executable and run it:
# chmod +x deploy_virt_who_config_1.sh # sh deploy_virt_who_config_1.sh
After the deployment is complete, delete the script:
# rm deploy_virt_who_config_1