第5章 Deploying a virt-who Configuration
After you create a virt-who configuration, Satellite provides a script to automate the deployment process. The script installs virt-who and creates the individual and global virt-who configuration files.
For Red Hat products, you must deploy each configuration file on the hypervisor specified in the file. For other products, you must deploy the configuration files on Satellite Server, Capsule Server, or a separate Red Hat Enterprise Linux server that is dedicated to running virt-who.
- To deploy the files on a hypervisor or Capsule Server, see 「Deploying a virt-who Configuration on a Hypervisor」.
- To deploy the files on Satellite Server, see 「Deploying a virt-who Configuration on Satellite Server」.
- To deploy the files on a separate Red Hat Enterprise Linux server, see 「Deploying a virt-who Configuration on a Separate Red Hat Enterprise Linux Server」.
5.1. Deploying a virt-who Configuration on a Hypervisor
Use this procedure to deploy a virt-who configuration on the Red Hat hypervisor that you specified in the file. Global values apply only to this hypervisor.
You can also use this procedure to deploy a vCenter or Hyper-V virt-who configuration on Capsule Server. Global configuration values apply to all virt-who configurations on the same Capsule Server, and are overwritten each time a new virt-who configuration is deployed.
Prerequisites
- Register the hypervisor to Red Hat Satellite.
-
If you are using Red Hat Virtualization Host (RHVH), update it to the latest version so that the minimum virt-who version is available. Virt-who is available by default on RHVH, but cannot be updated individually from the
rhel-7-server-rhvh-4-rpms
repository. - Create a read-only virt-who user on the hypervisor.
- Create a virt-who configuration for your virtualization platform.
Procedure
- In the Satellite web UI, navigate to Infrastructure > Virt-who configurations.
- Click the name of the virt-who configuration.
- Click the Deploy tab.
- Under Configuration script, click Download the script.
Copy the script to the hypervisor:
# scp deploy_virt_who_config_1.sh root@hypervisor.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