LoginSignup
90
99

More than 5 years have passed since last update.

CentOS7.1にKVMハイパーバイザーを構築してoVirtで管理してみる Part.1

Last updated at Posted at 2015-05-29

全体のアウトライン

Part.1 KVM及び、oVirtの構築
Part.2 oVirtの初期設定
Part.3 仮想マシンを作成する(Linux)
Part.4 仮想マシンの作成(Windows)
おまけ


本章のアウトライン

  • 経緯
  • KVMって何?
  • oVirtって何?
  • 今回の構成
  • KVMの構築
    1. 必要パッケージのインストール
    2. KVMが有効か確認
    3. ネットワークインターフェイスの設定
      1. ブリッジインターフェイス
      2. 物理インターフェイス
  • oVirtの構築
    1. oVirtリポジトリのインストール
    2. oVirtセットアップ
    3. oVirt にアクセスしてみる

経緯

自宅に不要なノートPCのLenovo G570 (Intel i5, ディスク容量650GB, メモリ4GB) が放ってあったので、「どうせ使わないしLinux入れるか」という事でCentOS 7.1(Minimal ISO)をインストールし、「どうせだから仮想化するか」と思い立ち、Webで管理できるoVirtを入れました。
で、どうにかできたので、構築から仮想マシンを動かすまでの手順をまとめたいと思います。
本当はvSphere Hypervisorを入れたかったのですが、ノートPCで動くかわからなかった為断念しました。
他の仮想化と言えばHyper-V、Xen、Docker、KVM・・・。
Hyper-Vは重そうなのでパスです。
(Windows 2012 R2 の媒体はあるんですが・・・。)
DockerはLinuxしか動かせないと聞いたのでこれもパス。
(本当は手を出してみたかったのですが・・・Windowsも動かしたかったので・・・。)
残ったのはXenとKVMでしたが、KVMの方が今後使えそうだったので、KVMハイパーバイザーを構築する事にしました。

今回の記事のキャプチャやコマンド結果はLenovoのものではなく、VMware上で構築したものをキャプチャしています。
IPアドレス割り当てはDHCPです
でもDHCPは止めておきましょう。IPアドレスが不安定になるので・・・。
ただ、有線の場合は多少安定するようです。
また、DNS環境等は特に整えていません。

今回はKVMハイパーバイザー上でoVirtを動作させます。
あまり良くない構成なのですが・・・。

KVMって何?

Linuxに標準搭載されている仮想化基盤の事です。
Linux自身をハイパーバイザーとして動かうことで、仮想マシンを動作させることが可能です。
様々なディストリビューションで利用ができ、管理方法やツールも多岐に渡ります。
VMware ESXi と同様、ライブマイグレーションや電源管理の利用ができたりと、OSSではありますが、機能に遜色はないと思います。
管理には、CLIでの管理方法、X Window からGUIを起動して管理する方法、Web上から管理する方法とあるようですが、今回は3つ目のWeb上からKVMを管理する方法で実施していこうと思います。
そのために使うツールがoVirtです。

oVirtって何?

oVirtは、ハイパーバイザーをWebブラウザから管理することのできるツールです。
VMware vSphere の代替を目指しているようで、最初は有志によるプロジェクトだったようですが、今はRedHat社の傘下に入っています。
RHELではRHEVという仮想化ツールがあるのですが、これとoVirtプロジェクトが統合したようです。
「vSphereの代替」の目標通りoVirtでは、登録してあるKVMホストの情報、仮想マシンの状態、ネットワーク、クラスタ構成等の閲覧、操作、作成が可能です。
ただし、ブラウザ画面による管理なので、サポートしていないブラウザも多く、改良が待たれるところです。
しかし、機能豊富で設定も簡単な事から、KVMの管理ツールとして右に出るものはいないのではないかと思っています。
現状KVM管理ツールにスタンダードとなるものはありませんが、これからはoVirtがデファクトスタンダードになるだろうと思うので、構築してみてまとめようと思った次第です。
中々日本で浸透していないのか、twitterでサーチしても日本語の情報が出てこなかったり、構築の説明をしているサイトも1年前だったりと、最近の記事がなかったという事も理由の一つです。

今回の構成

ホスト:1台
ホスト名:kvmhv.example.com
IPアドレス構成:DHCP 192.168.0.0/24 で払い出し
OS:CentOS Minimal ISO 7.1
言語:日本語
パッケージ:最小構成
SELinux:Disabled
firewalld:dead disable
yum update:済み

実際に物理サーバ上に構築したのですが、キャプチャはVMware Playerで構築したものを取得したり物理サーバから取得したりと、混在しています。
極端にディスクが少ないとか、CPUが1だったりとか、IPが変更するとかはVMで構築した際のものなので、ご容赦ください。

KVMの構築

必要パッケージのインストール

CentOSに下記のパッケージをインストールします。
必要になるのは libvirt, qemu-kvm, bridge-utils です。

パッケージ名 機能
libvirt 仮想マシンの制御をするライブラリ
qemu-kvm 仮想マシンのI/Oデバイスエミュレータ
bridge-utils ブリッジインターフェイスの設定パッケージ
これを入れないと仮想マシンがNAT接続になるらしい

yum で一括インストールしてしまいます。
依存性の関係で色々なパッケージが一緒に導入されます。
全部インストールしましょう。

$ yum install libvirt qemu-kvm bridge-utils

インストール中:
 bridge-utils                    x86_64 1.5-9.el7                 base     32 k
 libvirt                         x86_64 1.2.8-16.el7_1.2          updates  96 k
 qemu-kvm                        x86_64 10:1.5.3-86.el7_1.1       updates 1.8 M
依存性関連でのインストールをします:
 augeas-libs                     x86_64 1.1.0-17.el7              base    332 k
 autogen-libopts                 x86_64 5.18-5.el7                base     66 k
 boost-system                    x86_64 1.53.0-23.el7             base     39 k
 boost-thread                    x86_64 1.53.0-23.el7             base     56 k
 bzip2                           x86_64 1.0.6-12.el7              base     52 k
 celt051                         x86_64 0.5.1.3-8.el7             base     53 k
 cyrus-sasl                      x86_64 2.1.26-17.el7             base     87 k
 cyrus-sasl-md5                  x86_64 2.1.26-17.el7             base     55 k
 flac-libs                       x86_64 1.3.0-5.el7_1             updates 169 k
 fuse-libs                       x86_64 2.9.2-5.el7               base     93 k
 glusterfs                       x86_64 3.6.0.29-2.el7            base    1.2 M
 glusterfs-api                   x86_64 3.6.0.29-2.el7            base     59 k
 glusterfs-libs                  x86_64 3.6.0.29-2.el7            base    279 k
 gnutls-dane                     x86_64 3.3.8-12.el7              base     32 k
 gnutls-utils                    x86_64 3.3.8-12.el7              base    227 k
 gsm                             x86_64 1.0.13-11.el7             base     30 k
 gssproxy                        x86_64 0.3.0-10.el7              base     81 k
 ipxe-roms-qemu                  noarch 20130517-6.gitc4bce43.el7 base    559 k
 iscsi-initiator-utils           x86_64 6.2.0.873-29.el7          base    413 k
 iscsi-initiator-utils-iscsiuio  x86_64 6.2.0.873-29.el7          base     81 k
 keyutils                        x86_64 1.5.8-3.el7               base     54 k
 ldns                            x86_64 1.6.16-7.el7              base    473 k
 libICE                          x86_64 1.0.8-7.el7               base     63 k
 libSM                           x86_64 1.2.1-7.el7               base     38 k
 libX11                          x86_64 1.6.0-2.1.el7             base    605 k
 libX11-common                   noarch 1.6.0-2.1.el7             base    181 k
 libXau                          x86_64 1.0.8-2.1.el7             base     29 k
 libXext                         x86_64 1.3.2-2.1.el7             base     38 k
 libXi                           x86_64 1.7.2-2.1.el7             base     39 k
 libXtst                         x86_64 1.2.2-2.1.el7             base     20 k
 libasyncns                      x86_64 0.8-7.el7                 base     26 k
 libbasicobjects                 x86_64 0.1.1-24.el7              base     24 k
 libcgroup                       x86_64 0.41-8.el7                base     64 k
 libcollection                   x86_64 0.6.2-24.el7              base     40 k
 libevent                        x86_64 2.0.21-4.el7              base    214 k
 libibverbs                      x86_64 1.1.8-5.el7               base     55 k
 libini_config                   x86_64 1.1.0-24.el7              base     50 k
 libiscsi                        x86_64 1.9.0-6.el7               base     60 k
 libjpeg-turbo                   x86_64 1.2.90-5.el7              base    134 k
 libnfsidmap                     x86_64 0.25-11.el7               base     46 k
 libogg                          x86_64 2:1.3.0-7.el7             base     24 k
 libpath_utils                   x86_64 0.2.1-24.el7              base     27 k
 libpng                          x86_64 2:1.5.13-5.el7            base    212 k
 librados2                       x86_64 1:0.80.7-2.el7            base    1.5 M
 librbd1                         x86_64 1:0.80.7-2.el7            base    347 k
 librdmacm                       x86_64 1.0.19.1-1.el7            base     63 k
 libref_array                    x86_64 0.1.4-24.el7              base     26 k
 libseccomp                      x86_64 2.1.1-2.el7               base     40 k
 libsndfile                      x86_64 1.0.25-9.el7              base    149 k
 libtalloc                       x86_64 2.1.1-1.el7               base     30 k
 libtevent                       x86_64 0.9.21-3.el7              base     31 k
 libtirpc                        x86_64 0.2.4-0.5.el7             base     85 k
 libusbx                         x86_64 1.0.15-4.el7              base     50 k
 libverto-tevent                 x86_64 0.2.5-4.el7               base    9.0 k
 libvirt-client                  x86_64 1.2.8-16.el7_1.2          updates 4.3 M
 libvirt-daemon                  x86_64 1.2.8-16.el7_1.2          updates 540 k
 libvirt-daemon-config-network   x86_64 1.2.8-16.el7_1.2          updates  97 k
 libvirt-daemon-config-nwfilter  x86_64 1.2.8-16.el7_1.2          updates 100 k
 libvirt-daemon-driver-interface x86_64 1.2.8-16.el7_1.2          updates 140 k
 libvirt-daemon-driver-lxc       x86_64 1.2.8-16.el7_1.2          updates 680 k
 libvirt-daemon-driver-network   x86_64 1.2.8-16.el7_1.2          updates 268 k
 libvirt-daemon-driver-nodedev   x86_64 1.2.8-16.el7_1.2          updates 139 k
 libvirt-daemon-driver-nwfilter  x86_64 1.2.8-16.el7_1.2          updates 162 k
 libvirt-daemon-driver-qemu      x86_64 1.2.8-16.el7_1.2          updates 511 k
 libvirt-daemon-driver-secret    x86_64 1.2.8-16.el7_1.2          updates 133 k
 libvirt-daemon-driver-storage   x86_64 1.2.8-16.el7_1.2          updates 291 k
 libvorbis                       x86_64 1:1.3.3-8.el7             base    204 k
 libxcb                          x86_64 1.9-5.el7                 base    169 k
 libxslt                         x86_64 1.1.28-5.el7              base    242 k
 lzop                            x86_64 1.03-10.el7               base     54 k
 netcf-libs                      x86_64 0.2.6-3.el7               base     69 k
 nfs-utils                       x86_64 1:1.3.0-0.8.el7           base    362 k
 nmap-ncat                       x86_64 2:6.40-4.el7              base    200 k
 numad                           x86_64 0.5-14.20140620git.el7    base     34 k
 pixman                          x86_64 0.32.4-3.el7              base    254 k
 pulseaudio-libs                 x86_64 3.0-30.el7                base    556 k
 qemu-img                        x86_64 10:1.5.3-86.el7_1.1       updates 622 k
 qemu-kvm-common                 x86_64 10:1.5.3-86.el7_1.1       updates 367 k
 quota                           x86_64 1:4.01-11.el7             base    176 k
 quota-nls                       noarch 1:4.01-11.el7             base     89 k
 radvd                           x86_64 1.9.2-7.el7               base     85 k
 rpcbind                         x86_64 0.2.0-26.el7              base     55 k
 rsyslog-mmjsonparse             x86_64 7.4.7-7.el7_0             base     27 k
 seabios-bin                     noarch 1.7.5-8.el7               base     73 k
 seavgabios-bin                  noarch 1.7.5-8.el7               base     31 k
 sgabios-bin                     noarch 1:0.20110622svn-4.el7     base    7.1 k
 spice-server                    x86_64 0.12.4-9.el7              base    378 k
 tcp_wrappers                    x86_64 7.6-77.el7                base     78 k
 unbound-libs                    x86_64 1.4.20-19.el7             base    294 k
 usbredir                        x86_64 0.6-7.el7                 base     44 k
 yajl                            x86_64 2.0.4-4.el7               base     39 k

トランザクションの要約
================================================================================
インストール  3 パッケージ (+91 個の依存関係のパッケージ)

総ダウンロード容量: 22 M
インストール容量: 80 M

全パッケージがインストールされたら完了です。

KVMが有効か確認

折角インストールしても、KVMが無効になっていては意味がありません。
有効ならばモジュールが読み込まれているはずなので、 lsmod コマンドで確認します。

$ lsmod | grep kvm
kvm_intel             148081  4
kvm                   461126  1 kvm_intel

上記のような表示がされれば有効です。

ネットワークインターフェイスの設定

次にネットワークインターフェイスの設定をします。
今あるNICの設定を ifcfg-ovirtmgmt という名称でコピーします。
とあるサイトでは「nmcliコマンドを使う」と書いてあったりもするのですが、今回は直接ファイルを操作して実施します。
nmcliの方が、ひょっとしたらシステム的には良いのかもしれませんが・・・私は全く慣れていないので・・・。

ブリッジインターフェイス

$ cp -ip /etc/sysconfig/network-scripts/ifcfg-eno16777736  /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt

コピーしたら ifcfg-ovirtmgmt の設定を変更します。
このインターフェイスはKVMの通常ネットワーク兼管理ネットワークになります。
VMwareでいうところのVMkernelと同じものですね。

ifcfg-ovirtmgmt
TYPE="Bridge"
BOOTPROTO="dhcp"
IPV6INIT="no"
NAME="ovirtmgmt"
DEVICE="ovirtmgmt"
ONBOOT="yes"

インターフェイスタイプに「Bridge」を指定し、インターフェイスのデバイスと名前に「ovirtmgmt」を設定しています。デバイスがこの名前でないとoVirtはネットワーク設定を読み取ってくれません。

物理インターフェイス

物理インターフェイスである ifcfg-eno16777736 の設定も変更します。

ifcfg-eno16777736
NAME="eno16777736"
DEVICE="eno16777736"
ONBOOT="yes"
BRIDGE=ovirtmgmt

IPアドレスはブリッジインターフェイスに取得させるようにして、物理NICはブリッジインターフェイスと紐付けをさせます。
設定ファイルからIPアドレスやDNSの項目は全て除外し、名前とデバイス名と、OS起動時の設定と、「BRIDGE」としてどのブリッジインターフェイスと紐付けるかだけを設定します。

KVMの設定は以上で終了です。
confファイル等は変更不要です。
全然KVM触ってねえのに何が設定だふざけんな!とお思いでしょうがご容赦ください。

oVirtの構築

oVirtリポジトリのインストール

まずはリポジトリのインストールから始めます。

$ yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm
読み込んだプラグイン:fastestmirror
ovirt-release35.rpm                                      | 8.6 kB     00:00
/var/tmp/yum-root-o47XDW/ovirt-release35.rpm を調べています: ovirt-release35-003-1.noarch
/var/tmp/yum-root-o47XDW/ovirt-release35.rpm をインストール済みとして設定してい ます
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ ovirt-release35.noarch 0:003-1 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

================================================================================
 Package               アーキテクチャー
                                    バージョン     リポジトリー            容量
================================================================================
インストール中:
 ovirt-release35       noarch       003-1          /ovirt-release35       6.9 k

トランザクションの要約
================================================================================
インストール  1 パッケージ

合計容量: 6.9 k
インストール容量: 6.9 k
Is this ok [y/d/N]: y # ← y を入力
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : ovirt-release35-003-1.noarch                    1/1
  検証中                  : ovirt-release35-003-1.noarch                    1/1

インストール:
  ovirt-release35.noarch 0:003-1

完了しました!

/etc/yum.repos.d 配下に ovirt3.5 の yumリポジトリが追加されていると思います。

$ ls -la /etc/yum.repos.d
合計 48
drwxr-xr-x.  2 root root 4096  5月  4 20:51 .
drwxr-xr-x. 84 root root 8192  5月  4 18:42 ..
-rw-r--r--.  1 root root 1664  4月  1 07:27 CentOS-Base.repo
-rw-r--r--.  1 root root 1309  4月  1 07:27 CentOS-CR.repo
-rw-r--r--.  1 root root  649  4月  1 07:27 CentOS-Debuginfo.repo
-rw-r--r--.  1 root root 1331  4月  1 07:27 CentOS-Sources.repo
-rw-r--r--.  1 root root 1002  4月  1 07:27 CentOS-Vault.repo
-rw-r--r--.  1 root root  290  4月  1 07:27 CentOS-fasttrack.repo
-rw-r--r--   1 root root 1450  5月  4 20:43 ovirt-3.5-dependencies.repo
-rw-r--r--   1 root root  289  5月  4 20:43 ovirt-3.5.repo

次に yum でパッケージをインストールします。
インストールするパッケージは、 ovirt-enginevdsm です。
ovirt-engine はその名の通りoVirtのパッケージです。
vdsm は仮想マシンの作成、 統計値の蓄積、 ログ収集などホスト管理作業を管理する為のパッケージになります。
通常のリポジトリではインストールできなかったので、ここで一緒にインストールします。

$ yum install ovirt-engine vdsm
インストール中:
 ovirt-engine              noarch 3.5.2-1.el7.centos       ovirt-3.5      1.8 M
 qemu-img-rhev             x86_64 10:1.5.3-86.el7.1        ovirt-3.5      623 k
     qemu-img.x86_64 10:1.5.3-86.el7_1.1 を入れ替えます
 qemu-kvm-common-rhev      x86_64 10:1.5.3-86.el7.1        ovirt-3.5      366 k
     qemu-kvm-common.x86_64 10:1.5.3-86.el7_1.1 を入れ替えます
 qemu-kvm-rhev             x86_64 10:1.5.3-86.el7.1        ovirt-3.5      1.8 M
     qemu-kvm.x86_64 10:1.5.3-86.el7_1.1 を入れ替えます
 vdsm                      x86_64 4.16.14-0.el7            ovirt-3.5      813 k
依存性関連でのインストールをします:
 OpenIPMI-modalias         x86_64 2.0.19-11.el7            base            15 k
 ant                       noarch 1.9.2-9.el7              base           1.9 M
 apache-commons-codec      noarch 1.8-7.el7                base           223 k
 apache-commons-io         noarch 1:2.4-12.el7             base           189 k
 apache-commons-logging    noarch 1.1.2-7.el7              base            78 k
 apr                       x86_64 1.4.8-3.el7              base           103 k
 apr-util                  x86_64 1.5.2-6.el7              base            92 k
 atk                       x86_64 2.8.0-4.el7              base           233 k
 atlas                     x86_64 3.10.1-7.el7             base           4.5 M
 attr                      x86_64 2.4.46-12.el7            base            66 k
 audit-libs-python         x86_64 2.4.1-5.el7              base            69 k
 augeas                    x86_64 1.1.0-17.el7             base            37 k
 avalon-framework          noarch 4.3-10.el7               base            88 k
 avalon-logkit             noarch 2.1-14.el7               base            87 k
 batik                     noarch 1.8-0.12.svn1230816.el7  base           6.3 M
 bea-stax-api              noarch 1.2.0-9.el7              base            31 k
 bind-libs                 x86_64 32:9.9.4-18.el7_1.1      updates        1.0 M
 bind-utils                x86_64 32:9.9.4-18.el7_1.1      updates        199 k
 blas                      x86_64 3.4.2-4.el7              base           398 k
 cairo                     x86_64 1.12.14-6.el7            base           697 k
 checkpolicy               x86_64 2.1.12-6.el7             base           247 k
 color-filesystem          noarch 1-13.el7                 base           5.3 k
 cracklib-python           x86_64 2.9.0-11.el7             base            25 k
 cryptsetup                x86_64 1.6.6-3.el7              base           117 k
 cups-libs                 x86_64 1:1.6.3-17.el7           base           354 k
 device-mapper-multipath   x86_64 0.4.9-77.el7             base           112 k
 device-mapper-multipath-libs
                           x86_64 0.4.9-77.el7             base           215 k
 dosfstools                x86_64 3.0.20-9.el7             base           101 k
 easymock2                 noarch 2.5.2-12.el7             base            92 k
 fence-agents-all          x86_64 4.0.11-11.el7_1          updates        8.9 k
 fence-agents-apc          x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-apc-snmp     x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-bladecenter  x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-brocade      x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-cisco-mds    x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-cisco-ucs    x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-common       x86_64 4.0.11-11.el7_1          updates         52 k
 fence-agents-drac5        x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-eaton-snmp   x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-eps          x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-hpblade      x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-ibmblade     x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-ifmib        x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-ilo-mp       x86_64 4.0.11-11.el7_1          updates         11 k
 fence-agents-ilo-ssh      x86_64 4.0.11-11.el7_1          updates         14 k
 fence-agents-ilo2         x86_64 4.0.11-11.el7_1          updates         14 k
 fence-agents-intelmodular x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-ipdu         x86_64 4.0.11-11.el7_1          updates         13 k
 fence-agents-ipmilan      x86_64 4.0.11-11.el7_1          updates         19 k
 fence-agents-kdump        x86_64 4.0.11-11.el7_1          updates         22 k
 fence-agents-rhevm        x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-rsb          x86_64 4.0.11-11.el7_1          updates         12 k
 fence-agents-scsi         x86_64 4.0.11-11.el7_1          updates         15 k
 fence-agents-vmware-soap  x86_64 4.0.11-11.el7_1          updates         14 k
 fence-agents-wti          x86_64 4.0.11-11.el7_1          updates         13 k
 fence-virt                x86_64 0.3.2-1.el7              base            41 k
 fontconfig                x86_64 2.10.95-7.el7            base           228 k
 fontpackages-filesystem   noarch 1.44-8.el7               base           9.9 k
 fop                       noarch 1.1-6.el7                base           3.6 M
 fuse                      x86_64 2.9.2-5.el7              base            84 k
 gdisk                     x86_64 0.8.6-5.el7              base           187 k
 gdk-pixbuf2               x86_64 2.28.2-4.el7             base           533 k
 genisoimage               x86_64 1.1.11-22.el7            base           298 k
 geronimo-jms              noarch 1.1.1-19.el7             base            31 k
 ghostscript               x86_64 9.07-18.el7              base           4.3 M
 ghostscript-fonts         noarch 5.50-32.el7              base           324 k
 giflib                    x86_64 4.1.6-9.el7              base            40 k
 glusterfs-cli             x86_64 3.6.3-1.el7              ovirt-3.5-glusterfs-epel
                                                                          156 k
 glusterfs-fuse            x86_64 3.6.3-1.el7              ovirt-3.5-glusterfs-epel
                                                                           95 k
 glusterfs-rdma            x86_64 3.6.3-1.el7              ovirt-3.5-glusterfs-epel
                                                                           55 k
 graphite2                 x86_64 1.2.2-5.el7              base            81 k
 gtk2                      x86_64 2.24.22-5.el7_0.1        base           3.4 M
 hamcrest                  noarch 1.3-6.el7                base           124 k
 harfbuzz                  x86_64 0.9.20-4.el7             base           145 k
 hexedit                   x86_64 1.2.13-5.el7             base            39 k
 hicolor-icon-theme        noarch 0.12-7.el7               base            42 k
 hivex                     x86_64 1.3.10-5.7.el7           base           100 k
 httpd                     x86_64 2.4.6-31.el7.centos      base           2.7 M
 httpd-tools               x86_64 2.4.6-31.el7.centos      base            79 k
 icc-profiles-openicc      noarch 1.3.1-5.el7              base           327 k
 icoutils                  x86_64 0.31.0-3.el7             base            82 k
 ioprocess                 x86_64 0.14.0-1.el7             ovirt-3.5-epel  27 k
 ipmitool                  x86_64 1.8.13-8.el7_1           updates        367 k
 jackson                   noarch 1.9.4-7.el7              base           1.0 M
 jai-imageio-core          noarch 1.2-0.14.20100217cvs.el7 base           330 k
 jakarta-commons-httpclient
                           noarch 1:3.1-16.el7_0           base           241 k
 jasper-libs               x86_64 1.900.1-26.el7_0.3       base           149 k
 java-1.7.0-openjdk        x86_64 1:1.7.0.79-2.5.5.1.el7_1 updates        202 k
 java-1.7.0-openjdk-devel  x86_64 1:1.7.0.79-2.5.5.1.el7_1 updates        9.2 M
 java-1.7.0-openjdk-headless
                           x86_64 1:1.7.0.79-2.5.5.1.el7_1 updates         25 M
 javamail                  noarch 1.4.6-8.el7              base           758 k
 javapackages-tools        noarch 3.4.1-6.el7_0            base            72 k
 jbigkit-libs              x86_64 2.0-11.el7               base            46 k
 jline                     noarch 1.0-8.el7                base            69 k
 joda-convert              noarch 1.3-5.el7                base            46 k
 joda-time                 noarch 2.2-3.tzdata2013c.el7    base           484 k
 jsr-311                   noarch 1.1.1-6.el7              base            45 k
 junit                     noarch 4.11-8.el7               base           261 k
 lapack                    x86_64 3.4.2-4.el7              base           5.4 M
 lcms2                     x86_64 2.5-4.el7                base           133 k
 libXcomposite             x86_64 0.4.4-4.1.el7            base            22 k
 libXcursor                x86_64 1.1.14-2.1.el7           base            30 k
 libXdamage                x86_64 1.1.4-4.1.el7            base            20 k
 libXfixes                 x86_64 5.0.1-2.1.el7            base            18 k
 libXfont                  x86_64 1.4.7-2.el7_0            base           144 k
 libXft                    x86_64 2.3.1-5.1.el7            base            57 k
 libXinerama               x86_64 1.1.3-2.1.el7            base            14 k
 libXrandr                 x86_64 1.4.1-2.1.el7            base            25 k
 libXrender                x86_64 0.9.8-2.1.el7            base            25 k
 libXt                     x86_64 1.1.4-6.1.el7            base           173 k
 libXxf86vm                x86_64 1.1.3-2.1.el7            base            17 k
 libconfig                 x86_64 1.4.9-5.el7              base            59 k
 libfontenc                x86_64 1.1.1-5.el7              base            29 k
 libgfortran               x86_64 4.8.3-9.el7              base           290 k
 libguestfs                x86_64 1:1.28.1-1.18.el7        base           1.7 M
 libguestfs-tools-c        x86_64 1:1.28.1-1.18.el7        base           2.1 M
 libicu                    x86_64 50.1.2-11.el7            base           6.9 M
 libnl                     x86_64 1.1.4-3.el7              base           128 k
 libosinfo                 x86_64 0.2.11-4.el7             base           215 k
 libquadmath               x86_64 4.8.3-9.el7              base           179 k
 libreport-filesystem      x86_64 2.1.11-21.el7.centos.0.4 base            35 k
 libsemanage-python        x86_64 2.1.10-16.el7            base            94 k
 libthai                   x86_64 0.1.14-9.el7             base           187 k
 libtiff                   x86_64 4.0.3-14.el7             base           167 k
 libusal                   x86_64 1.1.11-22.el7            base           135 k
 libvirt-daemon-kvm        x86_64 1.2.8-16.el7_1.2         updates         96 k
 libvirt-lock-sanlock      x86_64 1.2.8-16.el7_1.2         updates        144 k
 libvirt-python            x86_64 1.2.8-7.el7_1.1          updates        292 k
 libwebp                   x86_64 0.3.0-3.el7              base           170 k
 libxml2-python            x86_64 2.9.1-5.el7_1.2          updates        244 k
 log4j                     noarch 1.2.17-15.el7            base           443 k
 lsscsi                    x86_64 0.27-3.el7               base            47 k
 m2crypto                  x86_64 0.21.1-15.el7            base           428 k
 mailcap                   noarch 2.1.41-2.el7             base            31 k
 mdadm                     x86_64 3.3.2-2.el7              base           391 k
 mesa-libEGL               x86_64 10.2.7-5.20140910.el7    base            70 k
 mesa-libGL                x86_64 10.2.7-5.20140910.el7    base           149 k
 mesa-libgbm               x86_64 10.2.7-5.20140910.el7    base            31 k
 mesa-libglapi             x86_64 10.2.7-5.20140910.el7    base            37 k
 mod_ssl                   x86_64 1:2.4.6-31.el7.centos    base            99 k
 mom                       noarch 0.4.3-1.el7              ovirt-3.5-epel 109 k
 mtools                    x86_64 4.0.18-5.el7             base           203 k
 net-snmp-libs             x86_64 1:5.7.2-20.el7           base           745 k
 net-snmp-utils            x86_64 1:5.7.2-20.el7           base           195 k
 netpbm                    x86_64 10.61.02-9.el7           base           180 k
 netpbm-progs              x86_64 10.61.02-9.el7           base           1.9 M
 novnc                     noarch 0.5.1-2.el7              ovirt-3.5-epel 176 k
 ntp                       x86_64 4.2.6p5-19.el7.centos    base           540 k
 ntpdate                   x86_64 4.2.6p5-19.el7.centos    base            82 k
 numactl                   x86_64 2.0.9-4.el7              base            65 k
 numpy                     x86_64 1:1.7.1-10.el7           base           2.8 M
 objectweb-asm             noarch 3.3.1-9.el7              base           197 k
 otopi                     noarch 1.3.1-1.el7              ovirt-3.5      132 k
 otopi-java                noarch 1.3.1-1.el7              ovirt-3.5       25 k
 ovirt-engine-backend      noarch 3.5.2-1.el7.centos       ovirt-3.5       11 M
 ovirt-engine-cli          noarch 3.5.0.5-1.el7.centos     ovirt-3.5      199 k
 ovirt-engine-dbscripts    noarch 3.5.2-1.el7.centos       ovirt-3.5      210 k
 ovirt-engine-extensions-api-impl
                           noarch 3.5.2-1.el7.centos       ovirt-3.5       43 k
 ovirt-engine-jboss-as     x86_64 7.1.1-1.el7              ovirt-3.5      117 M
 ovirt-engine-lib          noarch 3.5.2-1.el7.centos       ovirt-3.5       20 k
 ovirt-engine-restapi      noarch 3.5.2-1.el7.centos       ovirt-3.5      1.4 M
 ovirt-engine-sdk-python   noarch 3.5.2.1-1.el7.centos     ovirt-3.5      407 k
 ovirt-engine-setup        noarch 3.5.2-1.el7.centos       ovirt-3.5      4.1 k
 ovirt-engine-setup-base   noarch 3.5.2-1.el7.centos       ovirt-3.5       91 k
 ovirt-engine-setup-plugin-ovirt-engine
                           noarch 3.5.2-1.el7.centos       ovirt-3.5      146 k
 ovirt-engine-setup-plugin-ovirt-engine-common
                           noarch 3.5.2-1.el7.centos       ovirt-3.5       59 k
 ovirt-engine-setup-plugin-websocket-proxy
                           noarch 3.5.2-1.el7.centos       ovirt-3.5       21 k
 ovirt-engine-tools        noarch 3.5.2-1.el7.centos       ovirt-3.5      160 k
 ovirt-engine-userportal   noarch 3.5.2-1.el7.centos       ovirt-3.5       70 M
 ovirt-engine-webadmin-portal
                           noarch 3.5.2-1.el7.centos       ovirt-3.5      117 M
 ovirt-engine-websocket-proxy
                           noarch 3.5.2-1.el7.centos       ovirt-3.5       13 k
 ovirt-host-deploy         noarch 1.3.1-1.el7              ovirt-3.5       76 k
 ovirt-host-deploy-java    noarch 1.3.1-1.el7              ovirt-3.5       12 k
 ovirt-image-uploader      noarch 3.5.1-1.el7.centos       ovirt-3.5      101 k
 ovirt-iso-uploader        noarch 3.5.2-1.el7.centos       ovirt-3.5       36 k
 pango                     x86_64 1.34.1-5.el7             base           283 k
 patternfly1               noarch 1.1.4-1.el7.centos       ovirt-3.5-patternfly1-noarch-epel
                                                                          2.2 M
 perl                      x86_64 4:5.16.3-285.el7         base           8.0 M
 perl-Business-ISBN        noarch 2.06-2.el7               base            25 k
 perl-Business-ISBN-Data   noarch 20120719.001-2.el7       base            24 k
 perl-Carp                 noarch 1.26-244.el7             base            19 k
 perl-Compress-Raw-Bzip2   x86_64 2.061-3.el7              base            32 k
 perl-Compress-Raw-Zlib    x86_64 1:2.061-4.el7            base            57 k
 perl-Data-Dumper          x86_64 2.145-3.el7              base            47 k
 perl-Digest               noarch 1.17-245.el7             base            23 k
 perl-Digest-MD5           x86_64 2.52-3.el7               base            30 k
 perl-Encode               x86_64 2.51-7.el7               base           1.5 M
 perl-Encode-Locale        noarch 1.03-5.el7               base            16 k
 perl-Exporter             noarch 5.68-3.el7               base            28 k
 perl-File-Listing         noarch 6.04-7.el7               base            13 k
 perl-File-Path            noarch 2.09-2.el7               base            26 k
 perl-File-Temp            noarch 0.23.01-3.el7            base            56 k
 perl-Filter               x86_64 1.49-3.el7               base            76 k
 perl-Getopt-Long          noarch 2.40-2.el7               base            56 k
 perl-HTML-Parser          x86_64 3.71-4.el7               base           115 k
 perl-HTML-Tagset          noarch 3.20-15.el7              base            18 k
 perl-HTTP-Cookies         noarch 6.01-5.el7               base            26 k
 perl-HTTP-Daemon          noarch 6.01-5.el7               base            20 k
 perl-HTTP-Date            noarch 6.02-8.el7               base            14 k
 perl-HTTP-Message         noarch 6.06-6.el7               base            82 k
 perl-HTTP-Negotiate       noarch 6.01-5.el7               base            17 k
 perl-HTTP-Tiny            noarch 0.033-3.el7              base            38 k
 perl-IO-Compress          noarch 2.061-2.el7              base           260 k
 perl-IO-HTML              noarch 1.00-2.el7               base            23 k
 perl-IO-Socket-IP         noarch 0.21-4.el7               base            35 k
 perl-IO-Socket-SSL        noarch 1.94-3.el7               base           113 k
 perl-LWP-MediaTypes       noarch 6.02-2.el7               base            24 k
 perl-Net-HTTP             noarch 6.06-2.el7               base            29 k
 perl-Net-LibIDN           x86_64 0.12-15.el7              base            28 k
 perl-Net-SSLeay           x86_64 1.55-3.el7               base           285 k
 perl-PathTools            x86_64 3.40-5.el7               base            82 k
 perl-Pod-Escapes          noarch 1:1.04-285.el7           base            50 k
 perl-Pod-Perldoc          noarch 3.20-4.el7               base            87 k
 perl-Pod-Simple           noarch 1:3.28-4.el7             base           216 k
 perl-Pod-Usage            noarch 1.63-3.el7               base            27 k
 perl-Scalar-List-Utils    x86_64 1.27-248.el7             base            36 k
 perl-Socket               x86_64 2.010-3.el7              base            49 k
 perl-Storable             x86_64 2.45-3.el7               base            77 k
 perl-Text-ParseWords      noarch 3.29-4.el7               base            14 k
 perl-Time-HiRes           x86_64 4:1.9725-3.el7           base            45 k
 perl-Time-Local           noarch 1.2300-2.el7             base            24 k
 perl-TimeDate             noarch 1:2.30-2.el7             base            52 k
 perl-URI                  noarch 1.60-9.el7               base           106 k
 perl-WWW-RobotRules       noarch 6.02-5.el7               base            18 k
 perl-constant             noarch 1.27-2.el7               base            19 k
 perl-hivex                x86_64 1.3.10-5.7.el7           base            41 k
 perl-libs                 x86_64 4:5.16.3-285.el7         base           687 k
 perl-libwww-perl          noarch 6.05-2.el7               base           205 k
 perl-macros               x86_64 4:5.16.3-285.el7         base            42 k
 perl-parent               noarch 1:0.225-244.el7          base            12 k
 perl-podlators            noarch 2.5.1-3.el7              base           112 k
 perl-threads              x86_64 1.87-4.el7               base            49 k
 perl-threads-shared       x86_64 1.43-6.el7               base            39 k
 pexpect                   noarch 2.3-11.el7               base           142 k
 policycoreutils-python    x86_64 2.2.5-15.el7             base           434 k
 poppler-data              noarch 0.4.6-3.el7              base           2.2 M
 postgresql                x86_64 9.2.10-2.el7_1           updates        3.0 M
 postgresql-libs           x86_64 9.2.10-2.el7_1           updates        230 k
 postgresql-server         x86_64 9.2.10-2.el7_1           updates        3.8 M
 psmisc                    x86_64 22.20-8.el7              base           140 k
 pyparted                  x86_64 1:3.9-11.el7             base           193 k
 python-IPy                noarch 0.75-6.el7               base            32 k
 python-chardet            noarch 2.0.1-7.el7              base           222 k
 python-cheetah            x86_64 2.4.4-5.el7.centos       extras         341 k
 python-cpopen             x86_64 1.3-4.el7                ovirt-3.5-epel  21 k
 python-crypto             x86_64 2.6.1-1.el7.centos       extras         470 k
 python-daemon             noarch 1.6-4.el7                ovirt-3.5-epel  26 k
 python-dmidecode          x86_64 3.10.13-11.el7           base            82 k
 python-ecdsa              noarch 0.11-3.el7.centos        extras          69 k
 python-ethtool            x86_64 0.8-5.el7                base            33 k
 python-inotify            noarch 0.9.4-4.el7              base            49 k
 python-ioprocess          noarch 0.14.0-1.el7             ovirt-3.5-epel  15 k
 python-javapackages       noarch 3.4.1-6.el7_0            base            31 k
 python-kitchen            noarch 1.1.1-5.el7              base           267 k
 python-lockfile           noarch 1:0.9.1-4.el7            ovirt-3.5-epel  28 k
 python-lxml               x86_64 3.2.1-4.el7              base           758 k
 python-markdown           noarch 2.4.1-1.el7.centos       extras         186 k
 python-netaddr            noarch 0.7.5-7.el7              base           983 k
 python-nose               noarch 1.3.0-2.el7              base           272 k
 python-paramiko           noarch 1.15.1-1.el7             ovirt-3.5-epel 999 k
 python-pillow             x86_64 2.0.0-17.gitd1c6db8.el7  base           438 k
 python-ply                noarch 3.4-4.el7                ovirt-3.5-epel 124 k
 python-psycopg2           x86_64 2.5.1-3.el7              base           132 k
 python-pthreading         noarch 0.1.3-3.el7              ovirt-3.5-epel  17 k
 python-pygments           noarch 1.4-9.el7                base           599 k
 python-requests           noarch 1.1.0-8.el7              base            70 k
 python-six                noarch 1.3.0-4.el7              base            18 k
 python-suds               noarch 0.4.1-5.el7              base           204 k
 python-urllib3            noarch 1.5-8.el7                base            41 k
 python-websockify         noarch 0.6.0-1.el7              ovirt-3.5-epel  62 k
 qdox                      noarch 1.12.1-9.el7             base           170 k
 rhino                     noarch 1.7R4-5.el7              base           1.0 M
 sac                       noarch 1.3-17.el7               base            17 k
 sanlock                   x86_64 3.2.2-2.el7              base           109 k
 sanlock-lib               x86_64 3.2.2-2.el7              base            46 k
 sanlock-python            x86_64 3.2.2-2.el7              base            18 k
 scrub                     x86_64 2.5.2-5.el7              base            40 k
 setools-libs              x86_64 3.3.7-46.el7             base           485 k
 sg3_utils                 x86_64 1.37-5.el7               base           640 k
 sg3_utils-libs            x86_64 1.37-5.el7               base            63 k
 sos                       noarch 3.2-15.el7.centos.1      updates        287 k
 spice-html5               noarch 0.1.6-1.el7              ovirt-3.5-epel  80 k
 stax2-api                 noarch 3.1.1-10.el7             base           165 k
 supermin5                 x86_64 5.1.10-1.2.el7           base           574 k
 syslinux                  x86_64 4.05-12.el7              base           990 k
 syslinux-extlinux         x86_64 4.05-12.el7              base           363 k
 telnet                    x86_64 1:0.17-59.el7            base            63 k
 tomcat-servlet-3.0-api    noarch 7.0.54-1.el7             base           207 k
 tree                      x86_64 1.6.0-10.el7             base            46 k
 ttmkfdir                  x86_64 3.0.9-41.el7             base            47 k
 tzdata-java               noarch 2015d-1.el7              updates        144 k
 urw-fonts                 noarch 2.4-16.el7               base           3.0 M
 vdsm-jsonrpc              noarch 4.16.14-0.el7            ovirt-3.5       90 k
 vdsm-jsonrpc-java         noarch 1.0.15-1.el7             ovirt-3.5       94 k
 vdsm-python               noarch 4.16.14-0.el7            ovirt-3.5      153 k
 vdsm-python-zombiereaper  noarch 4.16.14-0.el7            ovirt-3.5      4.3 k
 vdsm-xmlrpc               noarch 4.16.14-0.el7            ovirt-3.5       23 k
 vdsm-yajsonrpc            noarch 4.16.14-0.el7            ovirt-3.5       23 k
 ws-commons-util           noarch 1.0.1-29.el7             base            44 k
 xalan-j2                  noarch 2.7.1-23.el7             base           1.9 M
 xerces-j2                 noarch 2.11.0-17.el7_0          base           1.1 M
 xml-commons-apis          noarch 1.4.01-16.el7            base           227 k
 xml-commons-resolver      noarch 1.2-15.el7               base           108 k
 xmlgraphics-commons       noarch 1.5-3.el7                base           545 k
 xorg-x11-font-utils       x86_64 1:7.5-18.1.el7           base            87 k
 xorg-x11-fonts-Type1      noarch 7.5-9.el7                base           521 k
 yum-plugin-versionlock    noarch 1.1.31-29.el7            base            29 k
 yum-utils                 noarch 1.1.31-29.el7            base           112 k
依存性関連での更新をします:
 bind-libs-lite            x86_64 32:9.9.4-18.el7_1.1      updates        712 k
 bind-license              noarch 32:9.9.4-18.el7_1.1      updates         80 k
 glusterfs                 x86_64 3.6.3-1.el7              ovirt-3.5-glusterfs-epel
                                                                          1.3 M
 glusterfs-api             x86_64 3.6.3-1.el7              ovirt-3.5-glusterfs-epel
                                                                           67 k
 glusterfs-libs            x86_64 3.6.3-1.el7              ovirt-3.5-glusterfs-epel
                                                                          297 k
 libxml2                   x86_64 2.9.1-5.el7_1.2          updates        664 k

トランザクションの要約
================================================================================
インストール  5 パッケージ (+308 個の依存関係のパッケージ)
更新                       (   6 個の依存関係のパッケージ)

総ダウンロード容量: 473 M

これでoVirtと関連パッケージのインストール完了です。

oVirtセットアップ

oVirtには、 engine-setup という便利なコマンドが実装されています。
これを使用する事で、ファイルの編集を必要とせず、対話式に必要な設定を行ってくれます。
早速実行してみましょう

$ engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20150505191630-9wm51a.log
          Version: otopi-1.3.1 (otopi-1.3.1-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

          --== PRODUCT OPTIONS ==--

          Configure Engine on this host (Yes, No) [Yes]: # ← Enter を押下
          Configure WebSocket Proxy on this host (Yes, No) [Yes]: no # ← proxyは設定しない為、 no を入力

          --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found

          --== ALL IN ONE CONFIGURATION ==--


          --== NETWORK CONFIGURATION ==--

          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite current settings.
          Do you want Setup to configure the firewall? (Yes, No) [Yes]: no # ← firewalld は動かれると厄介なので no を入力
          Host fully qualified DNS name of this server [kvmhv.example.com]: # ← ホスト名を確認し、 Enter
[WARNING] Failed to resolve kvmhv.example.com using DNS, it can be resolved only locally
# 今回はDNS環境ではないため、上記の警告が表示される

          --== DATABASE CONFIGURATION ==--

          Where is the Engine database located? (Local, Remote) [Local]: # Enter を押下
          Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications.
          Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: # DBは特に構築しているサーバもないし設定は勝手にやってくれて構わないので Enter を押下

          --== OVIRT ENGINE CONFIGURATION ==--

          Engine admin password: # ← ブラウザからoVirtにログインする際に利用する為のパスワードを設定
          Confirm engine admin password: # パスワード再入力
[WARNING] Password is weak: 辞書の読み込み中にエラーが発生しました # 今回脆弱なパスワードだった場合、上記の警告が表示される
          Use weak password? (Yes, No) [No]: yes # 脆弱なもので問題ない場合 yes を入力
          Application mode (Virt, Gluster, Both) [Both]: # Enter を押下

          --== PKI CONFIGURATION ==--

          Organization name for certificate [example.com]: # 鍵生成に利用するドメインを確認し Enter を押下

          --== APACHE CONFIGURATION ==--

          Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.
          Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]: # Webサーバのデフォルトページにするかを聞かれる為 Enter を押下
          Setup can configure apache to use SSL using a certificate issued from the internal CA.
          Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]: # 内部CAの証明書を自動的に利用するかを聞かれる為 Enter を押下

          --== SYSTEM CONFIGURATION ==--

          Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [Yes]: # NFSをISO Domainとして設定するか聞かれる為 Enter を押下
          Local ISO domain path [/var/lib/exports/iso]: # Enter を押下
          Local ISO domain ACL - note that the default will restrict access to kvmhv.example.com only, for security reasons [kvmhv.example.com(rw)]: # NFSのアクセスリストを聞かれる為 Enter を押下
          Local ISO domain name [ISO_DOMAIN]: # Enter を押下

          --== MISC CONFIGURATION ==--


          --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
[WARNING] Cannot validate host name settings, reason: resolved host does not match any of the local addresses
[WARNING] Warning: Not enough memory is available on the host. Minimum requirement is 4096MB, and 16384MB is recommended.
# メモリが最小構成の4GBに達していなかった場合、上記の警告が表示される
          Do you want Setup to continue, with amount of memory less than recommended? (Yes, No) [No]: yes # メモリの設定を見直す場合、 no でセットアップを中断できるが、今回は続行させる為、 yes を入力

          --== CONFIGURATION PREVIEW ==--

          Application mode                        : both
          Update Firewall                         : False
          Host FQDN                               : kvmhv.example.com
          Engine database name                    : engine
          Engine database secured connection      : False
          Engine database host                    : localhost
          Engine database user name               : engine
          Engine database host name validation    : False
          Engine database port                    : 5432
          Engine installation                     : True
          NFS setup                               : True
          PKI organization                        : example.com
          NFS mount point                         : /var/lib/exports/iso
          NFS export ACL                          : kvmhv.example.com(rw)
          Configure local Engine database         : True
          Set application as default page         : True
          Configure Apache SSL                    : True
          Configure WebSocket Proxy               : False
          Engine Host FQDN                        : kvmhv.example.com

# 上記が設定値になる為、要確認

          Please confirm installation settings (OK, Cancel) [OK]: # 設定にミスが有った場合、Cancel を入力するが、今回は上記で問題ないため Enter を押下
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Initializing PostgreSQL
[ INFO  ] Creating PostgreSQL 'engine' database
[ INFO  ] Configuring PostgreSQL
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Creating CA
[ INFO  ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up
[ INFO  ] Restarting nfs services

          --== SUMMARY ==--

[WARNING] Warning: Not enough memory is available on the host. Minimum requirement is 4096MB, and 16384MB is recommended.
          SSH fingerprint: D6:B6:03:D6:F0:4B:9F:94:3A:AB:B8:09:FB:D0:4F:E6
          Internal CA BB:00:15:86:91:7D:A4:30:C2:40:C3:C3:42:2C:F6:05:4F:9F:C8:1C
          Web access is enabled at:
              http://kvmhv.example.com:80/ovirt-engine
              https://kvmhv.example.com:443/ovirt-engine
          Please use the user "admin" and password specified in order to login
          In order to configure firewalld, copy the files from
              /etc/ovirt-engine/firewalld to /etc/firewalld/services
              and execute the following commands:
              firewall-cmd -service ovirt-postgres
              firewall-cmd -service ovirt-https
              firewall-cmd -service ovirt-fence-kdump-listener
              firewall-cmd -service ovirt-nfs
              firewall-cmd -service ovirt-http
          The following network ports should be opened:
              tcp:111
              tcp:2049
              tcp:32803
              tcp:443
              tcp:5432
              tcp:662
              tcp:80
              tcp:875
              tcp:892
              udp:111
              udp:32769
              udp:662
              udp:7410
              udp:875
              udp:892
          An example of the required configuration for iptables can be found at:
              /etc/ovirt-engine/iptables.example

          --== END OF SUMMARY ==--

[ INFO  ] Starting engine service
[ INFO  ] Restarting httpd
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20150505191630-9wm51a.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20150505192336-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of setup completed successfully

successfully と出れば設定完了です。

oVirtにアクセスしてみる

engine-setup でoVirtのセットアップが終了すれば、もうoVirt管理サーバにアクセスができます。
アクセス方法は engine-setup 実行時に表示されていました。
http://kvmhv.example.com/ovirt-engine
https://kvmhv.example.com/ovirt-engine

上記にアクセスすればいいのですが、今回はDNS環境ではないのでホスト名でつながりません。
よってIPアドレス直打ちになります。
https://IPアドレス/ovirt-engine

アクセスすると下記のようなページが表示されます。
「管理ポータル」というリンクがある為、そちらをクリックしてみましょう。

image

ログインページが表示されるのでログインします。
ユーザ名は admin
パスワードは engine-setup 実行時に設定したパスワードを入力します。
Profileは「internal」のままで結構です。
因みに私は使用ブラウザがOperaなので、「使ってるブラウザだとちゃんと表示されないかもよ?」という警告が表示されてしまいますが、使っていて特に不具合を感じた事はありません。
firefoxならこの警告は出ないようですが・・・。

image

ログインが正常に完了すると下記のようなページが表示されるかと思います。

image

oVirtではここから仮想マシンやらクラスタやらストレージやらの管理ができます。
ユーザーを作成してロールを設定する事も可能です。
グラフ描画機能まではないようですが、個人で運用するには全く問題なく利用できると思います。



Part.1はここまでです。
Part.2では、oVirtの初期設定を実施していきます。

90
99
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
90
99