Report VMware vSphere RHEL guests to RHSM using Red Hat Satellite 6.2

If you’re utilizing Red Hat Satellite 6 for managing virtual Red Hat Enterprise Linux instances, you will need to leverage Red Hat Subscription Management (RHSM) for maintaining licenses. In comparison with the former Red Hat Network Classic licensing, signed manifest certificates are used. For bigger system landscapes it is easier to list required and needed licenses as RHSM can integrate seamlessly into hypervisors. Using a software that is executed on the Red Hat Satellite server, running RHEL instances and used hypervisors are detected and reported to RHSM to ensure correct licensing. There is no need to install custom software on the hypervisor – it is only required to read information from the hypervisor API. It is advisable to create a read-only service account for reading information.

The conventional subscription management will cease to exist beginning on the 31th July 2017 – even for Red Hat Satellite 5. Users of the older management suite also need to migrate to RHSM.

Before going ahead you should ensure that your managed systems should be at least versions 5.7, 6.1 and 7.0 or higher. When using Red Hat Satellite 6, it is necessary to install the virt-who package on that system. It is advisable to create a configuration file per hypervisor or vCenter Server – e.g. for a vCenter instance:

It is very important to enter the username in the name@sso.tld format and not like sso.tldname! If you’re using the second format, username and password are not submitted correctly and incorrect logins are the result.

RHSM_ID needs to be replaced by the RHSM organization ID ersetzt werden. The easiest approach to retrieve this ID is to enter the following command on the Red Hat Satellite Server as this system is usually already registered to RHSM:

I have to mention that the official documentation is slightly incomplete regarding this detail. My first approach was to enter the internal organization ID within Satellite and was very confused when receiving the following error message in the RHSM log (/var/log/rhsm/rhsm.log):