Home Linux Central_Management Satellite_6

* In satellite 6.2 it is now recommended to install virt-who on the satellite server

Install the virt-who package on the satellite server

yum install virt-who


Encrypt the password for the virt-who user

[root ~]# virt-who-password
Password:
Use following as value for encrypted_password key in the configuration file:
abcdefgh123456789
[root ~]#

* keep the encrypted_password key for later use


vim /etc/sysconfig/virt-who

uncomment the line # VIRTWHO_SATELLITE6=0 and change it to  VIRTWHO_SATELLITE6=1
<xmp class="code"> 

add virt-who-admin user in satellite interface 
<xmp class="code">
[root ~]# virt-who-password
Password:
Use following as value for encrypted_password key in the configuration file:
987654321hgfedcba
 

vim /etc/virt-who.d/vcenterd01 

[myvcenter01]
type=esx
SERVER=server01.domain.com
USERNAME=uvirtwho
encrypted_password=abcdefgh123456789
owner=MyCorp
ENV=Library
hypervisor_id=hostname
rhsm_hostname=mysatserver@domain.com
rhsm_username=virt-who-admin
rhsm_encrypted_password=987654321hgfedcba
rhsm_prefix=/rhsm


Start and enable virt-who

systemctl enable virt-who.service
systemctl start virt-who.service
 

Add the subscriptions to the hypervisors

{ Hosts } -> Content Hosts  and click on the hypervisor

In the Subscriptions -> Subscriptions  tab of the hypervisor and the  
 "Red Hat Enterprise Linux for Virtual Datacenters with Smart Management, Premium"
 

Verify the log file to confirm hosts and guests mappings are sent

cat /var/log/rhsm/rhsm.log