Wednesday, November 19, 2014

RHEV configuration setp by step



Requirements:
RHEV 3.4 ISO
RHEL 6
4 NODES (RHEVh1, RHEVh2, RHEVm, DNS&Iscsi target)
RHN account

RHEV (RedHat Enterprise Virtualization):
Install RHEV 3.4 on two nodes called RHEVh1 and RHEVh2 (Make sure Intel VT is enabled in both the machines)
Enable Network, SSH under security.
oVirt Engine: Join to RHEVm (Management server)

To install updates, Join the RHEVh1 and RHEVh2 to Red Hat Network.
Management Server Config:
Install RHEL 6.x (Basic server would do)
Join to RHN network:
In the HOST run rhn_register and follow the steps.
Then run #yum update -y
Login to rhn.redhat.com
Go to RHN classic and you would see the registered machines list.
Red symbol indicates updates are not done.

Click on machine name (DONALD.asicdesigners.com) you would see all subscribed channels.

Click on alter channel subscription to change the channels.
In the base channel click and modify as below.
Under below

Select below

Under additional channels select below.

Then again run #yum upate –y
#yum install rhevm –y
With this package installation is done.
VMware workstation:
apic.xapic.enable = "FALSE"
vcpu.hotadd = "TRUE" to vcpu.hotadd = "FALSE"
Configuration of RHEVM:
#rhevm-setup
Follow the steps, provide everything default except firewall, proxy, brokered update via ovirt.
          Web access is enabled at:
              http://DONALD.blr.asicdesigners.com:80/ovirt-engine
              https://DONALD.blr.asicdesigners.com:443/ovirt-engine
          Please use the user "admin" and password specified in order to login
Password we will be setting in the process of rhevm-setup
The below is the default web page, if everything is perfect we should see that screen as home page.
Select on Administration portal to login.

Click on Administration portal

After login right click and create new Datacenter then create cluster.
In both RHEVh1 and RHEVh2 provide RHEVm IP in ovirt engine.


Make sure you don’t add RHEVh* to ovirt engine, unless you have cluster data centre up and running.
First by default, all hosts comes to default cluster.
Right click approve them, while approving move them to proper cluster.
Then click on activate, HOSTS will be activated.
Now add our storage, by clicking on storage tab.
Provide iSCSI in dropdown box. Provide target IP and scan. Then select LUN and click ok.
HOSTS ARE UP.


STORAGE is up.


[root@DONALD images]# rhevm-iso-uploader -v -i ISO_DOMAIN upload /opt/images/RHEL6.iso




NFS based storage attach:
# mkdir /storage

# chmod 0755 /storage
# chown 36:36 /storage/

# cat /etc/exports
/storage    *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)

# /etc/init.d/nfs restart

No comments: