RHEL Register a Virtual Hypervisor: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== VMWare ESXi Hypervisor == # The <tt>'''virt-who'''</tt> package must be installed. ## <tt>'''# yum install virt-who'''</tt> # Register the guest via Subscription Management...") |
No edit summary |
||
Line 4: | Line 4: | ||
# Register the guest via Subscription Management. | # Register the guest via Subscription Management. | ||
## <tt>'''# subscription-manager register'''</tt> | ## <tt>'''# subscription-manager register'''</tt> | ||
# Record the <tt>'''org | # Record the <tt>'''org ID'''</tt> from subscription manager. | ||
## <tt>'''# subscription-manager identify'''</tt> | ## <tt>'''# subscription-manager identify'''</tt> | ||
## Should return similar to. | ## Should return similar to. | ||
##:<tt>'''Current identity is: 5acd8904-25fc-498e-ad9d-239d262be0aa'''</tt> | ##:<tt>'''Current identity is: 5acd8904-25fc-498e-ad9d-239d262be0aa'''</tt> | ||
# | ##:<tt>'''word-wrap: break-word;">name: system1.example.redhat.com'''</tt> | ||
# | ##:<tt>'''org name: 7086261'''</tt> | ||
# | ##:<tt>'''org ID: 7086261</pre>'''</tt> | ||
# Configure the <tt>'''virt-who'''</tt> options. | # Configure the <tt>'''virt-who'''</tt> options. | ||
## <tt>'''# vi /etc/sysconfig/virt-who'''</tt> | ## <tt>'''# vi /etc/sysconfig/virt-who'''</tt> | ||
# | ## Configure the following options, the <tt>'''org ID:'''</tt> number will be used for the <tt>'''VIRTWHO_ESX_OWNER'''</tt> option. | ||
##: <tt>'''VIRTWHO_BACKGROUND=1'''</tt> | |||
##: <tt>'''VIRTWHO_DEBUG=1'''</tt> | |||
##: <tt>'''VIRTWHO_ESX=1'''</tt> | |||
##: <tt>'''VIRTWHO_ESX_OWNER=<org ID output>'''</tt> | |||
##: <tt>'''VIRTWHO_ESX_ENV=Library'''</tt> | |||
##: <tt>'''VIRTWHO_ESX_SERVER=<IP Address or FQDN hostname of VCenter Server>'''</tt> | |||
##: <tt>'''VIRTWHO_ESX_USERNAME=<Administrator Username>'''</tt> | |||
##: <tt>'''VIRTWHO_ESX_PASSWORD=<Administrator Password>'''</tt> | |||
# Start the <tt>'''virt-who'''</tt> service and configure for autostart. | |||
## <tt>'''service virt-who start'''</tt> | |||
## <tt>'''chkconfig virt-who on'''</tt> | |||
# Attached a physical "Virtual Datacenter" subscription to the hypervisor. | |||
## <tt>'''# subscription-manager list --available'''</tt> | |||
## <tt>'''# subscription-manager subscribe --auto'''</tt> | |||
== Further Reading == |
Revision as of 18:47, 12 January 2016
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