首先,需要准备两台内核在3.10以上的Linux服务器,这里以CentOS 7.4为例。两台服务器的IP地址和主机名分别为:
node1.test.com—->192.168.10.10—-oVirt管理端
node2.test.com—->192.168.10.11—-KVM虚拟化物理机
服务器配置好后,需要将SELinux、firewalld关闭,并且配置好yum源,建议采用aliyun的yum源。
Ovirt介绍
目前oVirt的最新版本为oVirt 4.1,这里以安装4.1为例
Install oVirt using package manager
oVirt 4.1 is intended for production use and is available for the following platforms:
Fedora 24
Red Hat Enterprise Linux 7.4 or later
CentOS Linux 7.4 or later
Scientific Linux 7.4 or later
Our recommended method of installing oVirt is to use the pre-built packages for Fedora or a supported Enterprise Linux 7 distribution, such as CentOS Linux or Red Hat Enterprise Linux. This makes installing oVirt very easy.
Important: Please note you can not skip a version. If you are updating from e.g. 3.6, you first need to update to 4.0 and then to 4.1. If you’re upgrading from a previous version, please update ovirt-release40 and verify you have the correct repositories enabled by running the following commands before upgrading with the usual procedure.
[root@test ~]yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
You should also read the Release Notes for oVirt 4.1.6.
|
|
ovirt 4.1安装好之后,需要在node1(oVirt管理端)上安装oVirt-engine,安装oVirt-engine有100多个包需要安装,耗费的时间就会稍微久一点。
等ovirt-engine相关的包安装完成之后则,运行engine-setup开始安装配置oVirt
具体的配置如下:
至此,oVirt已经安装完成,需要打开浏览器,输入下面的网址打开oVirt的控制台界面,然后输入账号和密码登陆即可。
http://node1.test.com:80/ovirt-engine
https://node1.test.com:443/ovirt-engine