RHEL Register a Virtual Hypervisor: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== VMWare ESXi Hypervisor == | == RHEL6 - VMWare ESXi Hypervisor == | ||
# The <tt>'''virt-who'''</tt> package must be installed. | # The <tt>'''virt-who'''</tt> package must be installed. | ||
#: <tt>'''# yum install virt-who'''</tt> | #: <tt>'''# yum install virt-who'''</tt> | ||
Line 23: | Line 23: | ||
##: <tt>'''VIRTWHO_ESX_PASSWORD=<Administrator Password>'''</tt> | ##: <tt>'''VIRTWHO_ESX_PASSWORD=<Administrator Password>'''</tt> | ||
# Start the <tt>'''virt-who'''</tt> service and configure for autostart. | # Start the <tt>'''virt-who'''</tt> service and configure for autostart. | ||
#: <tt>'''service virt-who start'''</tt> | #: <tt>'''# service virt-who start'''</tt> | ||
#: <tt>'''chkconfig virt-who on'''</tt> | #: <tt>'''# chkconfig virt-who on'''</tt> | ||
# Attached a physical "Virtual Datacenter" subscription to the hypervisor. | # Attached a physical "Virtual Datacenter" subscription to the hypervisor. | ||
#: <tt>'''# subscription-manager list --available'''</tt> | #: <tt>'''# subscription-manager list --available'''</tt> |
Latest revision as of 14:58, 29 January 2022
RHEL6 - VMWare ESXi Hypervisor
- The virt-who package must be installed.
- # yum install virt-who
- Register the guest via Subscription Management.
- # subscription-manager register
- Record the org ID from subscription manager.
- # subscription-manager identify
- 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
- Configure the virt-who options.
- # vi /etc/sysconfig/virt-who
- 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>
- Start the virt-who service and configure for autostart.
- # service virt-who start
- # chkconfig virt-who on
- Attached a physical "Virtual Datacenter" subscription to the hypervisor.
- # subscription-manager list --available
- # subscription-manager subscribe --auto