第8章 Cockpit UI を使用したセルフホストエンジンのデプロイ

本項では、Cockpit UI を使用したセルフホストエンジンのデプロイ方法について説明します。この手順に従って操作を実行すると、デプロイメント内の 1 番目の物理マシン上に仮想マシンとして稼働する Red Hat Virtualization Manager がデプロイされます。また、3 台の物理マシンで構成される Default クラスターも設定され、クラスター内の各マシンに Red Hat Gluster Storage の機能と virtual-host tuned パフォーマンスプロファイルが有効になります。

  1. セルフホストエンジンのデプロイメントウィザードに進みます。

    7章Cockpit UI を使用したセルフホストエンジン向けの Red Hat Gluster Storage の設定」が完了した後に、Continue to Hosted Engine Deploymentをクリックしてウィザードに進みます。

  2. インストールの実行に同意します。

    Continuing will configure this host for serving as hypervisor
    and create a VM where you have to install the engine afterwards.
    Are you sure you want to continue?

    表示されたフィールドに Yes と入力します。Next をクリックして、環境が設定されるのを待ちます。

  3. プロンプトに表示されるデプロイメントについての質問に対する回答

    セルフホストエンジンのデプロイメントウィザードのプロンプトに回答して、セルフホストエンジンのインストールと設定を行います。Ctrl+D キーを押して、プロセスを随時停止することができます。

    表8.1 セルフホストエンジンのデプロイメントウィザードのプロンプト

    プロンプトテキストアクション

    Do you wish to install ovirt-engine-appliance rpm?

    Yes と入力します。

    Do you want to configure this host and its cluster for gluster?

    Yes と入力します。

    iptables was detected on your computer, do you wish setup to configure it?

    No と入力します。

    Please indicate a pingable gateway IP address

    フロントエンドのゲートウェイサーバーの IP アドレスを入力します。

    Please indicate a nic to set ovirtmgmt bridge on

    フロントエンドの管理ネットワークアドレスを入力します。

    The following appliance have been found on your system:
 [1] The RHV-M Appliance image (OVA) - 4.1.20170328.1.el7ev [2] Directly select an OVA file. Please select an appliance

    セルフホストエンジンのアプライアンスの適切な数を入力します (通常は 1)。

    Would you like to use cloud-init to customize the appliance on first boot

    Yes と入力します。

    Would you like to generate on-fly a cloud-init ISO image (of no-cloud type) or do you have an existing one?

    Generate と入力します。

    Please provide the FQDN you would like to use for the engine appliance. Note: This will be the FQDN of the engine VM you are now going to launch, it should not point to the base host or to any other existing machine. Engine VM FQDN:

    セルフホストエンジンに使用する完全修飾ドメイン名を入力します。

    Please provide the domain name you would like to use for the engine appliance. Engine VM domain:

    検出されたドメイン名が正しいことを確認します。

    Automatically execute engine-setup on the engine appliance on first boot

    Yes と入力します。

    Enter root password that will be used for the engine appliance

    セルフホストエンジンへのリモートログインに使用するパスワードを入力します。

    Confirm appliance root password

    セルフホストエンジンのリモートログインに使用するパスワードを再入力します。

    Enter ssh public key for the root user that will be used for the engine appliance

    このフィールドは空欄のままにします。

    Do you want to enable ssh access for the root user

    Yes と入力します。

    Please specify the memory size of the VM in MB

    デフォルト値を使用します。

    The following CPU types are supported by this host:

    Please specify the CPU type to be used by the VM

    デフォルト値を使用します。

    Please specify the number of virtual CPUs for the VM

    デフォルト値を使用します。

    You may specify a unicast MAC address for the VM or accept a randomly generated default

    セルフホストエンジンに指定した完全修飾ドメイン名に名前解決する MAC アドレスを入力します。

    How should the engine VM network be configured

    DHCP と入力します。

    Add lines for the appliance itself and for this host to /etc/hosts on the engine VM? (Note: ensuring that this host could resolve the engine VM hostname is still up to you)

    No と入力します。

    Enter engine admin password (for the RHV UI)

    Red Hat Virtualization Manager の管理者が使用するパスワードを入力します。

    Confirm engine admin password

    Red Hat Virtualization Manager の管理者が使用するパスワードを再入力します。

    Please provide the name of the SMTP server through which we will send notifications

    デフォルト値を使用します。

    Please provide the TCP port number of the SMTP server

    デフォルト値を使用します。

    Please provide the email address from which notifications will be sent

    デフォルト値を使用します。

    Please provide a comma-separated list of email addresses which will get notifications

    セルフホストエンジンからの通知を受信するためのメールアドレスを入力します。デフォルト (root@localhost) で十分です。

  4. インストールの設定を確認します。

    Please confirm installation settings

    設定した値を見直し、正しいことを確認します。問題がない場合には、所定のフィールドに Yes と入力してから Next をクリックします。

    注記

    現在は、プロセスのこの時点で設定を編集する方法はありません。設定の情報が正しくない場合には、このプロセスを再び開始して修正するか、プロセスを続行して、デプロイメント中に修正する必要があります。

  5. デプロイメントの完了待ち

    これには、多少時間がかかります (約 30 分)。

    デプロイメントが完了すると、以下のようなメッセージが表示されます。

    Hosted Engine Setup successfully completed!

    これで Red Hat Virtualization Manager にログインして設定を完了できる状態になりました。

    デプロイメントが完了しなかった場合には、「10章セルフホストエンジンのデプロイメントのエラー処理」を参照してください。