0% found this document useful (0 votes)
75 views4 pages

Satellite Server Virt-Who Setup

The document outlines the configuration of the virt-who service on a Satellite server, detailing the registration of hypervisors and the submission of guest UUIDs to the subscription service. It specifies the necessary firewall rules, configuration file requirements, and steps to set up individual hypervisor configurations. Additionally, it provides instructions for including or excluding specific hosts and correcting a known typo in the configuration file before starting the virt-who service.

Uploaded by

hosnitmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views4 pages

Satellite Server Virt-Who Setup

The document outlines the configuration of the virt-who service on a Satellite server, detailing the registration of hypervisors and the submission of guest UUIDs to the subscription service. It specifies the necessary firewall rules, configuration file requirements, and steps to set up individual hypervisor configurations. Additionally, it provides instructions for including or excluding specific hosts and correcting a known typo in the configuration file before starting the virt-who service.

Uploaded by

hosnitmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Configure virt-who on Satellite server

Reference Doc:

tldr:

The hypervisor is registered first, and then a related process on the system
scans for any guests and submits the discovered UUIDs to the subscription
service. This is done by the virt-who process on the hypervisor.

Requirements:

Firewall add :
-A INPUT -m state –state NEW -p tcp –dport 443 -j ACCEPT

A virt-who service can be run directly on the Satellite 6 server without the
need for an additional host or you can choose to run this solely on a
separate VM (waste of resource IMHO)

Satellite user with administrator role and an encrypted password using


following command:

# virt-who-password

Configuration:

 The virt-who service requires a minimum of two configuration


files:
a global configuration file, /etc/sysconfig/virt-who, contains
settings which apply to all virt-who connections from that host.
 An individual configuration file for each hypervisor or
virtualization manager to which Satellite is to be connected. These
must be stored in the directory /etc/virt-who.d/.

1. Identify the owner for your organisation


2. determine the value of owner in the /etc/virt-who.d/ configuration
file, run the following command. The org ID string is the owner
value:

3. [root@server1 ~]# subscription-manager identity

4. Current identity is: 63701087-f625-4519-8ab2-


633bb50cb261

5. name: server1.example.com

6. org name: 6340056

org id: 8a85f981302cbaf201302d89931e059a

7. Copy the template configuration file to a new file.

8. cp /etc/virt-who.d/template.conf /etc/virt-
who.d/rhelhost1.conf

9. Edit the configuration file you just created, changing the example
values with those specific to your configuration.

10. [vcenterhost1] 1

11. type=esx 2

12. hypervisor_id=hostname 3

13. owner=org_label 4

14. env=Library 5
15. server=vcenterhost1.example.com 6

16. username=corporate\svc-virt-who 7

encryped_password=bd257f93d@482B76e6390cc54aec1a4d 8

1
This must be unique for each virt-who instance. Use the Red Hat
Virtualization Manager host’s name to make it easy to identify the
configuration file for each hypervisor.
2
The type=rhevm specifies that this virt-who connection is to a
Red Hat Virtualization Manager.
3
Specifies that hypervisors will be identified in the
Subscription Manager web UI by their host name. The default is
to use the hypervisor’s UUID, which is less meaningful.
4
Organization’s label.
5
This specifies the environment in which the host will be placed
and must be Library.
6
Red Hat Enterprise Virtualization Manager’s fully qualified host
name or IP address. The default port number is 8443, but port 443
is used by Red Hat Enterprise Virtualization Manager after
version 3.0.
7
Account name by which virt-who is to connect to the Red Hat
Enterprise Virtualization Manager instance. The username option
requires input in the format username@domain.
8
Encrypted password for the account specified by username.
Please note in Satellite version 6.2.8 there is typo in this
line please refer to this KB article on redhat on this ‘known
issue”.
Correct the spelling
of encryped_password to encrypted_password= and restart the
virt-who daemon.
Including or Excluding Hosts

You can choose to either include or exclude specific virtualization


managers or hosts from scanning by virt-who. To exclude specific
virtualization managers or hypervisors, use
the exclude_host_uuids option in the hypervisor’s configuration
file.

exclude_host_uuids=cee2b725-1e4c-4a98-afc1-d878f714f42f

CONFIGURE AND START VIRT-WHO SERVICE


Edit the global /etc/sysconfig/virt-who configuration file. Use man
virt-who-config for documentation

You might also like