Tuesday 15 September 2015

How to install Red Hat Enterprise Virtualization Hypervisor RHEV-H on the ESX server


Installing RHEV Hypervisor on ESXi

OS NAME and Version: rhev-hypervisor6-6.6
Please follow the below instructions for creating a RHEV-H virtual machine
1)First download the RHEV Hypervisor from redhat website
2)Create a new virtual machines in vmware esxi here I am using vsphere client for creating and manipulating virtual machines
Select "Other" in Guest Operating System
In Version Select "Other(64bit)"
 
  1. When you get to the virtual hardware customization, make sure you select LSI Logic SASfor the SCSI controller and also enable VHV (Virtual Hardware-Assisted Virtualization) under the CPU option.



                                                                                                                               

For Enable VHV{ Virtual Hardware-Assisted Virtualization} under the CPU option you have to login to the esxi machine by using root user:-

~ # vmware -v
VMware ESXi 5.5.0 build-2068190

Shutdown the nested/guest hypervisor

Locate the guest hypervisor virtual machine configuration file (<VM-name.vmx>), edit and add the following line at the end:
vhv.enable = "TRUE"

{RHEV-Hypervisor.vmx is a configuration file in my case}

~ # vi /vmfs/volumes/551188b8-e37540f2-f767-b8ac6f8debbf/RHEV-Hypervisor/RHEV-Hypervisor.vmx

STEP3:- Identify the nested hypervisor vm ID

~ # vim-cmd vmsvc/getallvms | grep -i RHEV-Hypervisor
47 RHEV-Hypervisor [Raid5-LocalDisk] RHEV-Hypervisor/RHEV-Hypervisor.vmx otherGuest64 vmx-08

Reload it's configuration with the [b]vim-cmd esxi command:[/b]
~ # vim-cmd vmsvc/reload 47
Finally you have to mount the RHEV-H ISO and once the VM starts to boot up, when you are presented with install/upgrade options, hit the TAB key. This will allow you to change the boot parameters and you will need to move your cursor to the left and remove "quiet" from the command-line which is right after the install keyword and then hit enter.


No comments:

Post a Comment