目录

前言

红帽虚拟化RHEV-架构简介篇中介绍了RHEV-M是红帽虚拟化平台的管理中心,本篇主要介绍如何在企业服务器中安装和配置RHEV-M 。本篇使用了Redhat官方收费的RHEV版本,如果有兴趣的话建议可以使用RHEV的开源版——ovrit点这里下载ovrit

软件环境

  • 系统

    • RHEL 6.4
  • 软件
    • RHEV-M
    • rhel server supplementory
    • JBoss

时间同步

可以说所有的企业集群服务平台都需要时间同步服务器的支持。

打开时间同步服务界面

system-config-data



Click OK to sync the date

更新系统

确保RHEL是最新的软件环境

yum update -y ; reboot

安装并配置RHEV-M

安装

yum  install  -y rhevm  rhevm-reports

配置rhevm

rhevm-setup
# Output as below:
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 #是否重启JBoss,ovirt-engine是JBoss的服务别名
Stopping ovirt-engine service... 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服务配置并重启服务? 默认为Yes,可以重新设定HTTP、HTTPS的端口。再设定之后,还需要到HTTP的配置文件中修改成一直的Port号。
HTTP Port [80] :
HTTPS Port [443] :
Host fully qualified domain name. Note: this name should be fully resolvable [rhevm.pod1.example.com] : #设定RHEV-M主机的FQDN
Enter a password for an internal RHEV Manager administrator user (admin@internal) : #设定管理平台的Admin账户的密码
Warning: Weak Password.
Confirm password :
Organization Name for the Certificate [pod1.example.com] :
The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : ISCSI #选择RHEV存储方式
Enter DB type for installation ['remote'| 'local'] [local] : #选择PostgreSQL的安装类型,这里选择本地。如果条件允许可以将PostgreSQL安装到独立的服务器中,会更加的安全。
Enter a password for a local RHEV Manager DB admin user (engine) : #设定PostgreSQL管理员的密码
Warning: Weak Password.
Confirm password :
Configure NFS share on this server to be used as an ISO Domain? ['yes'| 'no'] [yes] : #ISO镜像存储域是否使用NFS
Local ISO domain path [/var/lib/exports/iso] : #设定ISO镜像存储路径
Firewall ports need to be opened.
The installer can configure iptables automatically overriding the current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example iptables file found under /etc/ovirt-engine/iptables.example
Configure iptables ? ['yes'| 'no']: no #是否配置iptables RHEV Manager will be installed using the following configuration:
=================================================================
override-httpd-config: yes
http-port: 80
https-port: 443
host-fqdn: rhevm.pod1.example.com
auth-pass: ********
org-name: pod1.example.com
default-dc-type: ISCSI
db-remote-install: local
db-local-pass: ********
nfs-mp: /var/lib/exports/iso
config-nfs: yes
override-iptables: no
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 (iptables)... [ DONE ]
Starting ovirt-engine Service... [ DONE ]
Configuring HTTPD... [ DONE ] *** Installation completed successfully ****** (Please allow RHEV Manager a few moments to start up.....)

Setup Done

添加域并为用户授权远程登陆

为了安全,RHEV-M的默认只允许admin管理员账户在本地登陆。为了让其他管理账户能够从远程登陆管理平台,需要在RHEV-M中指定。

rhevm-manage-domains -action=add -domain=example.com -user=rhevadmin -provider=IPA -interactive
service ovirt-engine restart #任何对RHEV-M的配置都需要重启JBoss生效

进入Web管理平台为远程登陆的用户授权

先在DOMAIN internal以admin的账号登陆

点击Configure进入角色授予界面–>

点击System permissions选项–>

点击Add –>

为DOMAIN example.com中的USER rhevadmin授予SuperUser的角色。



这样就可以使用rhevadmin的账户从远程登陆到Web管理平台中,当然要注意的是DOMAIN应该选择example.com

安装rhevm报告

rhevm-dwh-setup
rhevm-reports-setup

注意:rhevm-reports的登陆账号为rhevm-admin

安装Spice协议

Spice协议是用户连接到RHEV-H端中VM的通讯协议,比VNC拥有着更加快的传输率。

**注意:**Spice是浏览器的插件,所以你需要在远程连接的HOST中安装,而不是仅仅在RHEV-M中安装。

yum  intall -y spice-xpi

最后

至此RHEV-M按安装和配置就基本上完事了,但RHEV-M只是作为RHEV中的一个组件。安装好M端后还需要安装H端才能够感受到红帽虚拟化的功能。

红帽虚拟化RHEV-安装RHEV-M的更多相关文章

  1. 红帽虚拟化RHEV-PXE批量安装RHEV-H

    目录 目录 前言 软件环境 前提 部署 PXE 环境 使用 yum 安装所需软件 配置 DHCP 配置 TFTP-Server 配置 vsftpd 服务用于提供安装系统所需软件包 安装 kicksta ...

  2. 红帽虚拟化RHEV-架构简介

    目录 目录 软件环境 RHEV简介 RHEV与KVM的区别 RHEV的组成 RHEV-MManager RHEV-HHypervisor 虚拟机管理程序 存储 RHEV的架构 LDAPIPAAD We ...

  3. 红帽虚拟化RHEV3.2创建虚拟机(图文Step by Step)

    目录 目录 前言 Install RHEV 创建Data CenterClusterHost 创建存储 创建虚拟机 前言 RHEV3.2的Web管理界面有了很大的改进,更加的简单和便捷,还可以使用中文 ...

  4. VMware vSphere 服务器虚拟化之二十八 桌面虚拟化之安装View传输服务器

    VMware vSphere 服务器虚拟化之二十八 桌面虚拟化之安装View传输服务器 View 传输服务器用于管理和简化数据中心与在最终用户本地系统上检出使用的 View 桌面之间的数据传输.必须安 ...

  5. VMware vSphere 服务器虚拟化之十七 桌面虚拟化之安装View链接服务器

    VMware vSphere 服务器虚拟化之十七 桌面虚拟化之安装View链接服务器 View链接服务器(View Connection Server)是Vmware Horizon View桌面虚拟 ...

  6. VMware vSphere 服务器虚拟化之十八桌面虚拟化之安装View Composer服务器

                        VMware vSphere 服务器虚拟化之十八桌面虚拟化之安装View Composer服务器      View Compose服务可安装在管理虚拟机的vC ...

  7. VMwarevSphere 服务器虚拟化之二十九 桌面虚拟化之安装View副本服务器

    VMwarevSphere 服务器虚拟化之二十九  桌面虚拟化之安装View副本服务器 VMware View中高可用性可是一个必须要考虑的问题.在整个虚拟桌面环境中View Connection S ...

  8. KVM虚拟化主机安装

    KVM虚拟化主机安装 最小化安装CentOS6.X或者CentOS7.X,RHEL6.X以上系列建议建议选择安装最小虚拟化主机 如果要安装桌面可以先选择最小化虚拟主机,再选择Gnome桌面包 安装过程 ...

  9. 使用虚拟化KVM安装RHEL7系统

    使用虚拟化KVM安装RHEL7系统 作者:Eric 微信:loveoracle11g 检查真实物理机是否支持虚拟化功能 [root@server ~]# grep vmx /proc/cpuinfo ...

随机推荐

  1. js 元素offset,client , scroll 三大系列总结

    1,element.offsetWidth : 包括 padding 和 边框 2,element.clientWidth : 包括 padding ,不包含边框 , 内容超出会溢出盒子的时候,就用s ...

  2. JS全屏事件 模拟键盘事件F11 兼容IE

    方法1: // 全屏 //el为全屏对象 fullScreen(el) { var rfs = el.requestFullScreen || el.webkitRequestFullScreen | ...

  3. QByteArray引发的bug

    QByteArray引发的bug 在接收UDP数据的函数里,有如下代码片段 if(0x10 == data.size() && 0xCA == (unsigned char)data. ...

  4. 前端批量迁移NAS存储

    在实际生产中,老的NAS存储无法扩容,需要迁移到新的存储,种种原因只能前端迁移. 系统:Linux 容量:1.5T 为了减少对生产系统的影响. 1.提前将老的存储数据备份到新的存储上: 2.正试割接存 ...

  5. 集合操作符 Union / Union All / Intersect / Minus

    集合操作符 Union / UnionAll / Intersect / Minus -- 生成测试数据 create table dept_01 as select * from dept wher ...

  6. 脚本.sh

    一:什么是脚本 shell文件,是跑在linux中的命令集合 #!/bin/sh  必须在文件的第一行 符号#!  用来告诉系统它后面的参y数是用来执行该文件的程序

  7. 【新手】【十分钟上手系列-一】快速开发vue插件

    2018.6.28 在这浮躁的前端娱乐圈,不会三两个新框架都觉得自己不是前端.哦,不是我说的.说到底.原生才是重中之重.加油. vue用了大半年多,一直在用ui库,插件等,没有自己的东西. 想想连个v ...

  8. java数据结构5--集合Map

    Map Map与Collection在集合框架中属并列存在 Map存储的是键值对<K,V> Map存储元素使用put方法,Collection使用add方法 Map集合没有直接取出元素的方 ...

  9. 【NOIP2016提高组day1】†换教室

    题目 对于刚上大学的牛牛来说,他面临的第一个问题是如何根据实际情况申请合适的 课程. 在可以选择的课程中,有 2n 节课程安排在 n 个时间段上. 在第 i ( 1 ≤ i ≤ n )个 时间段上,两 ...

  10. 【NOIP2016提高A组五校联考2】running

    题目 小胡同学是个热爱运动的好孩子. 每天晚上,小胡都会去操场上跑步,学校的操场可以看成一个由n个格子排成的一个环形,格子按照顺时针顺序从0 到n- 1 标号. 小胡观察到有m 个同学在跑步,最开始每 ...