RHEL Register a Virtual Hypervisor

From UNIX Systems Administration
Jump to navigation Jump to search

RHEL6 - VMWare ESXi Hypervisor

  1. The virt-who package must be installed.
    # yum install virt-who
  2. Register the guest via Subscription Management.
    # subscription-manager register
  3. Record the org ID from subscription manager.
    # subscription-manager identify
    1. Should return similar to.
      Current identity is: 5acd8904-25fc-498e-ad9d-239d262be0aa
      word-wrap: break-word;">name: system1.example.redhat.com
      org name: 7086261
      org ID: 7086261
  4. Configure the virt-who options.
    # vi /etc/sysconfig/virt-who
    1. Configure the following options, the org ID: number will be used for the VIRTWHO_ESX_OWNER option.
      VIRTWHO_BACKGROUND=1
      VIRTWHO_DEBUG=1
      VIRTWHO_ESX=1
      VIRTWHO_ESX_OWNER=<org ID output>
      VIRTWHO_ESX_ENV=Library
      VIRTWHO_ESX_SERVER=<IP Address or FQDN hostname of VCenter Server>
      VIRTWHO_ESX_USERNAME=<Administrator Username>
      VIRTWHO_ESX_PASSWORD=<Administrator Password>
  5. Start the virt-who service and configure for autostart.
    # service virt-who start
    # chkconfig virt-who on
  6. Attached a physical "Virtual Datacenter" subscription to the hypervisor.
    # subscription-manager list --available
    # subscription-manager subscribe --auto

KVM Hypervisor

Microsoft HyperV

Further Reading

  1. How to register a VMware ESX host/hypervisor on the Customer Portal to use virtual subscriptions
  2. How to register RHEV-H host/hypervisor on customer portal to use virtual subscriptions
  3. Red Hat Subscription Management