How to configure multiple VMware vCenter's by running virt-who in single RHEL instance?
Environment
- Red Hat Enterprise Linux 6 (virt-who >= 0.12)
- Red Hat Enterprise Linux 7 (virt-who >= 0.14)
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
subscription-manager
Issue
- How to configure multiple VMware vCenter's by running
virt-whoin single RHEL instance?
Resolution
Note: virt-who-0.19.x+ requires .conf suffix for the files under /etc/virt-who.d/*.conf
# vi /etc/virt-who.d/some-config.conf
[vcenter1]
type=esx
server=<hostname_of_your_vcenter1>
username=<username>
password=<password>
owner=<owner1>
env=Library
hypervisor_id=hostname <----- to list hostname , see virt-who config manpage
[vcenter2]
type=esx
server=<hostname_of_your_vcenter2>
username=<username>
password=<password>
owner=<owner1>
env=Library
hypervisor_id=hostname
- Restart
virt-whoservice once after the configuration change.
# service virt-who restart
- To configure multiple vCenter on Satellite 6/SAM with single/multiple organization, refer to KBase 2028243
- To use
Windowsdomain user for vCenter authentication then refer KCS for steps to configurevirt-whowithWindowsdomain user.
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)
Components
Category
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.