[Satellite6] How to configure single virt-who instance to support multiple organizations?
Environment
- Red Hat Satellite 6.1.x
- Red Hat Enterprise Linux 6.6+ 7.x
- virt-who >= 0.14
Issue
- Can a single virt-who instance support Multiple Organizations in Satellite 6?
- Is there a way to have a single instance of the
virt-whoservice selectively import data into multiple organizations? - Is it possible to run single
virt-whoinstance directly on the Satellite Server?
Resolution
- With the latest version of virt-who-0.14, it is possible to configure single instance of
virt-whoto support multiple organization.
Here is an example configuration to show how it will look like
# cat /etc/virt-who.d/config.conf
[test-esx]
type=esx
server=vmware.example.com
username=administrator@vSphere.local
password=******
owner=Default_Organization
env=Library
hypervisor_id=hostname
rhsm_hostname=satellite.example.com
rhsm_username=admin
rhsm_encrypted_password=*********
rhsm_prefix=/rhsm
[test-esx2]
type=esx
server=vmware1.example.com
username=administrator@vSphere.local
password=***********
owner=Other_Organization
env=Library
hypervisor_id=hostname
rhsm_hostname=satellite.example.com
rhsm_username=admin
rhsm_encrypted_password=************
rhsm_prefix=/rhsm
For more KB articles/solutions related to Virt-who and Virtual Datacenter (VDC) Subscriptions Issues, please refer to the Consolidated Troubleshooting Article for Virt-who and Virtual Datacenter (VDC) Subscriptions Issues
SBR
Product(s)
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.