How to Install RHEV 3.5 in Linux
To Install RHEV 3.5 in Linux
RHEV stands for Red Hat Enterprise Virtualization, which is a desktop and server platform from the Red Hat based on KVM hypervisor. It provides a RHEL-based centralized management server with a web-based interface to manage the virtual machines (VMs). In this article, we will learn the various steps to install RedHat Enterprise Virtualization (RHEV).
Features
- OpenStack integration.
- Supported Daily missions like offline migration, High availability, Clustering, etc.
- Open source solution based on the Red Hat Enterprise Linux kernel with the Kernel-based Virtual Machine (KVM) hypervisor technology.
- Supports limit upto 160 logical CPUs and 4TB per host and up to 160 vCPU and 4TB vRAM per virtual machine.
To Install RedHat Enterprise Virtualization Manager
Get a free 60 day trail subscription from the redhat official site using the coporate mail account. Register the system using the subscription_manager command
[root@linuxhelp2 ~]# subscription_manager register --username username --password password
The system has been registered with id: 030c633d-6dec-4284-86ee-3abaa92deb71
To subscribe, use the rhn_register command
[root@linuxhelp2 ~]# rhn_register
Update the system by using the following command.
[root@linuxhelp2 ~]# yum update
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
....
....
Enable the following repos to install the RedHat enterprise virtualisation manager.
[root@linuxhelp2:~]# vi /etc/yum.repos.d/redhat.repo
[rhel-6-server-rhevm-3.2-rpms]
metadata_expire = 86400
sslclientcert = /etc/pki/entitlement/6612492169868388517.pem
baseurl = https://cdn.redhat.com/content/dist/rhel/server/6/$releasever/$basearch/rhevm/3.2/os
ui_repoid_vars = releasever basearch
sslverify = 1
name = Red Hat Enterprise Virtualization Manager 3.2 (RPMs)
sslclientkey = /etc/pki/entitlement/6612492169868388517-key.pem
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled = 1
sslcacert = /etc/rhsm/ca/redhat-uep.pem
gpgcheck = 1
[jb-eap-7-for-rhel-6-server-rpms]
metadata_expire = 86400
sslclientcert = /etc/pki/entitlement/6612492169868388517.pem
baseurl = https://cdn.redhat.com/content/dist/rhel/server/6/$releasever/$basearch/jbeap/7/os
ui_repoid_vars = releasever basearch
sslverify = 1
name = JBoss Enterprise Application Platform 7 (RHEL 6 Server) (RPMs)
sslclientkey = /etc/pki/entitlement/6612492169868388517-key.pem
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled = 1
sslcacert = /etc/rhsm/ca/redhat-uep.pem
gpgcheck = 1
[rhel-6-server-sam-rpms]
metadata_expire = 86400
sslclientcert = /etc/pki/entitlement/6612492169868388517.pem
baseurl = https://cdn.redhat.com/content/dist/rhel/server/6/$releasever/$basearch/subscription-asset-manager/1/os
ui_repoid_vars = releasever basearch
sslverify = 1
name = Red Hat Subscription Asset Manager (for RHEL 6 Server) (RPMs)
sslclientkey = /etc/pki/entitlement/6612492169868388517-key.pem
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled = 1
sslcacert = /etc/rhsm/ca/redhat-uep.pem
gpgcheck = 1
[jb-eap-7-for-rhel-6-server-source-rpms]
metadata_expire = 86400
sslclientcert = /etc/pki/entitlement/6612492169868388517.pem
baseurl = https://cdn.redhat.com/content/dist/rhel/server/6/$releasever/$basearch/jbeap/7/source/SRPMS
ui_repoid_vars = releasever basearch
sslverify = 1
name = JBoss Enterprise Application Platform 7 (RHEL 6 Server) (Source RPMs)
sslclientkey = /etc/pki/entitlement/6612492169868388517-key.pem
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled = 1
sslcacert = /etc/rhsm/ca/redhat-uep.pem
gpgcheck = 1
Install RHEVM
Run the following commands to install RHEVM.
[root@linuxhelp2:~]# yum install rhevm Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager This system is receiving updates from RHN Classic or RHN Satellite. Setting up Install Process rhel-6-server-eus-rhn-tools-rpms | 3.2 kB 00:00 rhel-6-server-eus-rhn-tools-rpms/primary_db | 57 kB 00:00 rhel-6-server-eus-rpms | 3.7 kB 00:00 rhel-6-server-eus-satellite-tools-6.1-debug-rpms | 3.8 kB 00:00 rhel-6-server-eus-satellite-tools-6.1-debug-rpms/primary_db | 4.1 kB 00:00 While installing you will get a error for not enabling some repos Error: Package: rhevm-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: virtio-win > = 1.6.4-1 Error: Package: rhevm-tools-common-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: apache-commons-collections-eap6 Error: Package: rhevm-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: jbossas-bundles > = 7.2.0 Error: Package: rhevm-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: jbossas-modules-eap > = 7.2.0 Error: Package: rhevm-tools-common-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: apache-commons-lang-eap6 Error: Package: rhevm-tools-common-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: apache-commons-codec-eap6 Error: Package: rhevm-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: jbossas-standalone > = 7.2.0 Error: Package: rhevm-tools-common-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: log4j-eap6 Error: Package: rhevm-tools-common-3.2.6-0.50.el6ev.noarch (rhel-6-server-rhevm-3.2-rpms) Requires: apache-commons-configuration ********************************************************************** Dependency resolving failed due to missing dependencies. Some repositories on your system are disabled, but yum can enable them and search for missing dependencies. This will require downloading metadata for disabled repositories and may take some time and traffic. ********************************************************************** Enable all repositories and try again? [y/N]: y give yes to enable all the required repos to continue the installation after downloading all the dependency packages if any conflict between packages occur Transaction Check Error: file /usr/lib/python2.6/site-packages/sos/plugins/postgresql.py from install of sos-3.2-40.el6.noarch conflicts with file from package rhevm-log-collector-3.2.2-8.el6ev.noarch file /usr/lib/python2.6/site-packages/sos/plugins/postgresql.pyc from install of sos-3.2-40.el6.noarch conflicts with file from package rhevm-log-collector-3.2.2-8.el6ev.noarch file /usr/lib/python2.6/site-packages/sos/plugins/postgresql.pyo from install of sos-3.2-40.el6.noarch conflicts with file from package rhevm-log-collector-3.2.2-8.el6ev.noarch Error Summary -------------
To resolve the above error, downgrade the sos package to version 2.2.
[root@linuxhelp2 ~]# yum downgrade sos
[root@linuxhelp2 ~]# yum install sos-2.2-2.el6.noarch
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
...
...
Again run the rhevm install command.
[root@linuxhelp2:~]# yum install rhevm
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
rhel-6-server-eus-rhn-tools-rpms | 3.2 kB 00:00
rhel-6-server-eus-rhn-tools-rpms/primary_db | 57 kB 00:00
rhel-6-server-eus-rpms | 3.7 kB 00:00
rhel-6-server-eus-satellite-tools-6.1-debug-rpms | 3.8 kB 00:00
rhel-6-server-eus-satellite-tools-6.1-debug-rpms/primary_db | 4.1 kB 00:00
.
.
.
ws-commons-neethi.noarch 0:3.0.2-8.redhat_3.1.ep6.el6 ws-scout.noarch 0:1.2.6-4.redhat_3.1.ep6.el6
wsdl4j-eap6.noarch 0:1.6.3-1.redhat_1.1.ep6.el6 wss4j.noarch 0:1.6.19-3.redhat_2.1.ep6.el6
xalan-j2-eap6.noarch 0:2.7.1-10.redhat_8.1.ep6.el6 xerces-j2-eap6.noarch 0:2.9.1-17.redhat_6.1.ep6.el6
xjc-utils.noarch 0:2.6.2-3.redhat_1.1.ep6.el6 xml-commons-resolver-eap6.noarch 0:1.2.0-1.redhat_10.2.ep6.el6
xml-security.noarch 0:1.5.8-1.redhat_1.1.ep6.el6 xmltooling.noarch 0:1.3.4-6.redhat_3.1.ep6.el6
xom.noarch 0:1.2.7-3.redhat_4.1.ep6.el6 xorg-x11-font-utils.x86_64 1:7.2-11.el6
xorg-x11-fonts-Type1.noarch 0:7.2-11.el6 yum-plugin-versionlock.noarch 0:1.1.30-37.el6
zip.x86_64 0:3.0-1.el6_7.1
Complete!
Now RHEVM is installed successfully. Use the engine-setup command to configure the RHEV.
[root@linuxhelp1 ~]# engine-setup Availble memory (981) is lower then the minimum requirments (4096) Would you like to proceed? (yes|no): yes Welcome to RHEV Manager setup utility RHEV Manager uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. . . . **** To access RHEV Manager browse to http://linuxhelp2.com:80 **** Additional information: * RHEV Manager CA SSL Certificate SHA1 fingerprint: 23:1B:7E:12:33:47:B8:49:F5:69:11:27:52:6F:B8:9A:4F:76:83:59 * SSH Public key fingerprint: 93:aa:7d:ca:7c:ed:d0:ad:ce:25:90:d2:cf:71:9e:6c * A default ISO share has been created on this host. If IP based access restrictions are required, please edit /var/lib/exports/iso entry in /etc/exports * The firewall has been updated, the old iptables configuration file was saved to /var/lib/ovirt-engine/backups/iptables.backup.075258-06282016_13959 * The installation log file is available at: /var/log/ovirt-engine/engine-setup_2016_06_28_07_47_13.log * Please use the user " admin" and password specified in order to login into RHEV Manager * To configure additional users, first configure authentication domains using the ' rhevm-manage-domains' utility
This show additional information about how to access the admin panel and starting the services.
To run RHEV web user interface
Open the browser and navigate to http://< IP_address> /
Now click Administrator Portal and enter your user credentials. Then click Login.
Comments ( 0 )
No comments available