RHEV ve RHEV-M nedir?
RHEV in açılımı “Redhat Enterprise Virtualization” demektir. Redhat tarafından geliştirilmiş bu uygulama sanallaştırma için kullanılmaktadır, piyasadaki vmware, xen gibi düşünebiliriz.
RHEV-M ise sanalaştırma ortamımızı yönetmemiz için kullanacağımız bir web ara birimidir, bunuda vmware daki vcenter gibi düşünebiliriz.
1- RHEV-M kurulumu
1.1 – Gereksinimler :
** Minimum :
A dual core CPU.
4 GB of available system RAM that is not being consumed by existing processes.
25 GB of locally accessible, writeable, disk space.
1 Network Interface Card (NIC) with bandwidth of at least 1 Gbps.
** Recommended :
A quad core CPU or multiple dual core CPUs.
16 GB of system RAM.
50 GB of locally accessible, writeable, disk space.
1 Network Interface Card (NIC) with bandwidth of at least 1 Gbps.
1.2 – RHEV-M Administrator Portal Erişim için desteklenen OS ve Browser bilgileri,
-
Client
-
Windows XP,
-
Windows 7 (x86, AMD64 and Intel 64), and
-
Windows 2008/R2 (x86, AMD64 and Intel 64).
-
-
Browser
-
Internet Explorer 9, and later, on Microsoft Windows is required to access
-
1.3 – RHEV-M User Portal Erişim için desteklenen OS ve Browser bilgileri,
-
Client
-
Red Hat Enterprise Linux 5.5 (i386, AMD64 and Intel 64)
-
Red Hat Enterprise Linux 6.0 (i386, AMD64 and Intel 64)
-
Windows XP
-
Windows XP Embedded (XPe)
-
Windows 7 (x86, AMD64 and Intel 64)
-
Windows Embedded Standard 7
-
Windows 2008/R2 (x86, AMD64 and Intel 64)
-
Windows Embedded Standard 2009
-
Red Hat Enterprise Virtualization Certified Linux-based thin clients
-
-
Browser
-
Internet Explorer 8, and later, on Microsoft Windows is required to access
-
RHEV-M için kullanacak olduğumuz donanım ve yazılım gereksinimlerimiz hazır ise, RHEV-M kurulumuna geçebiliriz.
2 – RHEL 6.4 OS kurulumu :
RHEV-M kurulumu için öncelikle RHEL 6.4_x64(Redhat Enterprise Linux) kurulumu yapıyoruz, kurulum esnasında dikkat edilmesi gereken adım, sunucu hostname bilgisi, hostname bilgisi manager, rhevm gibi isimler olmamalıdır. rhevm.kayhankayihan.com şeklinde olmalıdır. rhevm.kayhankayihan.com için sunucu ip adresini gösteren bir dns kaydı olmalıdır, dns kaydı yok ise bile sunucunun hosts dosyasına yazılmalıdır. Rhn_register ile sunucu RHN(redhat network) register edilmelidir.
[important]#rhn_register[/important]
3 – RHEL Channel Subscription :
RHEV-M kurulumu gerçekleştirebilmek için ek subscriptionlara register etmek gerekiyor, register edilmesi gereken channel listesi şu şekilde,
- RHEL Server Supplementary (v. 6 64-bit x86_64) (Channel Details)
- Red Hat Enterprise Virtualization Manager (v.3.2 x86_64) (Channel Details)
- Red Hat JBoss EAP (v 6) for 6Server x86_64
4 – RHEL OS Upgrade :
İlgili channelara register edildikten sonra işletim sistemimizi upgrade ediyoruz, en güncel paketleri redhat networkünden çekiyoruz.
[important]#yum upgrade -y[/important]
5 – RHEV-Manager Kurulumu :
rhevm-setup paketini rhn den kuruyoruz,
[important]#yum install rhevm-setup.noarch -y[/important]
rhevm-setup komutu ile kurulumu başlatıyoruz.
Kurulum esnasında bize bazı sorular soracak, DB, storage tipi v.b. gibi. Aşağıda detayları mevcut. Bu bölümde kullandığınız disk tipi v.b. bilgileri seçebilirsiniz.
[important][root@rhevm ~]# rhevm-setup
Availble memory (1877) is lower then the minimum requirments (4096)
Would you like to proceed? (yes|no): yes
Welcome to RHEV Manager setup utility
In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service? (yes|no): yes
RHEV Manager uses httpd to proxy requests to the application server.
It looks like the httpd installed locally is being actively used.
The installer can override current configuration .
Alternatively you can use JBoss directly (on ports higher than 1024)
Do you wish to override current httpd configuration and restart the service? [‘yes’| ‘no’] [yes] : yes
HTTP Port [80] :
HTTPS Port [443] :
Host fully qualified domain name. Note: this name should be fully resolvable [rhevm.endersys.com] :
Enter a password for an internal RHEV Manager administrator user (admin@internal) :
Confirm password :
Organization Name for the Certificate [endersys.com] :
The default storage type you will be using [‘NFS’| ‘FC’| ‘ISCSI’| ‘POSIXFS’] [NFS] : ISCSI
Enter DB type for installation [‘remote’| ‘local’] [local] : local
Enter a password for a local RHEV Manager DB admin user (engine) :
Confirm password :
Configure NFS share on this server to be used as an ISO Domain? [‘yes’| ‘no’] [yes] : yes
Local ISO domain path [/var/lib/exports/iso] :
Firewall ports need to be opened.
The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example file.
Which firewall do you wish to configure? [‘None’| ‘iptables’]: None
RHEV Manager will be installed using the following configuration:
=================================================================
override-httpd-config: yes
http-port: 80
https-port: 443
host-fqdn: rhevm2.endersys.com
auth-pass: ********
org-name: endersys.com
default-dc-type: ISCSI
db-remote-install: local
db-local-pass: ********
nfs-mp: /var/lib/exports/iso
config-nfs: yes
override-firewall: None
Proceed with the configuration listed above? (yes|no): yes
Installing:
Configuring RHEV Manager… [ DONE ]
Configuring JVM… [ DONE ]
Creating CA… [ DONE ]
Updating ovirt-engine service… [ DONE ]
Setting Database Configuration… [ DONE ]
Setting Database Security… [ DONE ]
Creating Database… [ DONE ]
Updating the Default Data Center Storage Type… [ DONE ]
Editing RHEV Manager Configuration… [ DONE ]
Editing Postgresql Configuration… [ DONE ]
Configuring the Default ISO Domain… [ DONE ]
Configuring Firewall… [ DONE ]
Starting ovirt-engine Service… [ DONE ]
Configuring HTTPD… [ DONE ]
**** Installation completed successfully ******
(Please allow RHEV Manager a few moments to start up…..)
**** To access RHEV Manager browse to http://rhevm2.endersys.com:80 ****
Additional information:
* RHEV Manager CA SSL Certificate SHA1 fingerprint: 70:3B:64:11:6C:09:29:10:64:CD:03:FD:A8:B7:6B:42:13:DA:88:FA
* SSH Public key fingerprint: af:46:59:1c:83:0e:96:c7:7c:25:86:cf:f8:9e:35:72
* 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
* RHEV Manager requires the following TCP/IP Incoming ports to be opened on the firewall:
22, 80, 443
* an example of the required configuration for iptables can be found at: /etc/ovirt-engine/iptables.example
* The installation log file is available at: /var/log/ovirt-engine/engine-setup_2013_08_29_13_49_58.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[/important]
6 – RHEV OS Upgrade :
rhevm-setup ile kurmuş olduğumuz paketleri güncellemek adına son birkez daha işletim sistemimizi update etmekte fayda var.
[important]#yum upgrade -y[/important]
7 – Admin portal erişimi :
Kurulumun sonunda da belirtmiş olduğu gibi aşağıdaki URL den RHEV-Manager uygulamasına web üzerinden erişim sağlayabiliriz.
8 – RHEV-M Web GUI Image :
