Show Table of Contents
6.8. vCenter Configuration Example for Reporting Data to Multiple Organizations
In this example, you have two vCenter environments, and you want to do the following:
- Place hypervisors from the first instance of vCenter into the Organization 'Engineering' on your Satellite 6.
- Place hypervisors from the second instance of vCenter into the Organization 'Operations' on your Satellite 6.
Note
You must have
virt-who running on two systems, one for each organization. The following system hostnames denote the difference between the two virt-who systems:
hostname - eng-virt-who.example.com (virt-who instance reports hypervisors in vCenter1 to the 'Engineering' Organization) hostname - ops-virt-who.example.com (virt-who instance reports hypervisors in vCenter2 to the 'Operations' Organization)
This example uses the following information:
Vcenter1: Hostname - vcenter1.example.com username - read_write@vsphere.local password - supersecret Vcenter2: Hostname - vcenter2.example.com username - read_only@vsphere.local password - notsosecret
Procedure 6.1. Part 1
- On system
eng-virt-who.example.com, installvirt-who:[root@eng-virt-who.example.com]# yum install virt-who
- Create an encrypted password string for
vcenter1:[root@eng-virt-who.example.com]# virt-who-password Password: type the 'supersecret' password Use following as value for encrypted_password key in the configuration file: 5e7367195d9fe2aa4b6667f93f17c5bd
- Edit
/etc/virt-who.d/vcenter-1and add the following content:[vcenter-1] type=esx server=vcenter1.example.com username=read_only@vsphere.local encrypted_password=5e7367195d9fe2aa4b6667f93f17c5bd owner=Engineering env=Library
- Restart
virt-who.- On Red Hat Enterprise Linux 6:
# service virt-who restart
- On Red Hat Enterprise Linux 7:
# systemctl restart virt-who
Procedure 6.2. Part 2
On system
ops-virt-who.example.com, complete the following steps:
- Install
virt-who:[root@ops-virt-who.example.com]# yum install virt-who
- Create an encrypted password string for
vcenter2:[root@ops-virt-who.example.com]# virt-who-password Password: type the 'notsosecret' password Use following as value for encrypted_password key in the configuration file: 4ff5da2eee0648d99fd0c24337f98bd6
- Edit
/etc/virt-who.d/vcenter-2and add the following content:[vcenter-2] type=esx server=vcenter2.example.com username=read_only@vsphere.local encrypted_password=4ff5da2eee0648d99fd0c24337f98bd6 owner=Operations env=Library
- Restart
virt-who.- On Red Hat Enterprise Linux 6:
# service virt-who restart
- On Red Hat Enterprise Linux 7:
# systemctl restart virt-who

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.