付録F 別のマシンへの Websocket プロキシーのインストール
Websocket プロキシーにより、ユーザーは noVNC コンソールを介して仮想マシンに接続することができます。noVNC クライアントは Websocket を使用して VNC データを渡しますが、QEMU の VNC サーバーには Websocket サポートがないため、Websocket プロキシーはクライアントと VNC サーバーの間に配置する必要があります。プロキシーは、Manager マシンなど、ネットワークにアクセス可能なマシンで実行可能です。
セキュリティーおよびパフォーマンスの理由から、ユーザーは別のマシンで Websocket プロキシーを設定することを推奨します。
このセクションでは、Manager が実行されていない別のマシンに Websocket プロキシーをインストールおよび設定する方法を説明します。Manager に Websocket プロキシーを設定する手順については「Red Hat Virtualization Manager の設定」を参照してください。
別のマシンへの Websocket プロキシーのインストールおよび設定
Websocket プロキシーをインストールします。
# yum install ovirt-engine-websocket-proxy
engine-setupコマンドを実行して Websocket プロキシーを設定します。# engine-setup
注記rhvmパッケージもインストールした場合には、このホストに engine を設定するか聞かれた場合にNoを選択してください。Enterを押して、engine-setupがマシンに Websocket プロキシーサーバーを設定できるようにします。Configure WebSocket Proxy on this machine? (Yes, No) [Yes]:
Enterを押して自動検出されたホスト名を受け入れるか、別のホスト名を入力してEnterを押します。仮想化ホストを使用している場合には、自動的に検出されたホスト名が間違っている可能性がある点に注意してください。Host fully qualified DNS name of this server [host.example.com]:Enterを押して、engine-setupがファイアウォールを設定して外部との通信に必要なポートを開放できるようにします。engine-setupでのファイアウォール設定の変更を許可しない場合には、手動で必要なポートを開放する必要があります。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]:
Manager のマシンの完全修飾 DNS 名を入力して
Enterを押します。Host fully qualified DNS name of the engine server []: engine_host.example.comEnterを押して、engine-setupが Manager マシンでアクションを実行するのを許可するか、2を押して手動でアクションを実行してください。Setup will need to do some actions on the remote engine server. Either automatically, using ssh as root to access it, or you will be prompted to manually perform each such action. Please choose one of the following: 1 - Access remote engine server using ssh as root 2 - Perform each action manually, use files to copy content around (1, 2) [1]:
Enterを押してデフォルトの SSH ポート番号を受け入れるか、Manager マシンのポート番号を入力します。ssh port on remote engine server [22]:
Manager マシンにログインするための root パスワードを入力して
Enterを押します。root password on remote engine server engine_host.example.com:
現在の設定と異なる場合には、iptables のルールを確認するかどうかを選択します。
Generated iptables rules are different from current ones. Do you want to review them? (Yes, No) [No]:
Enterを押して構成設定を確定します。--== CONFIGURATION PREVIEW ==-- Firewall manager : iptables Update Firewall : True Host FQDN : host.example.com Configure WebSocket Proxy : True Engine Host FQDN : engine_host.example.com Please confirm installation settings (OK, Cancel) [OK]:
Manager が設定済みの Websocket プロキシーを使用するように設定する際の説明が表示されます。
Manual actions are required on the engine host in order to enroll certs for this host and configure the engine about it. Please execute this command on the engine host: engine-config -s WebSocketProxy=host.example.com:6100 and than restart the engine service to make it effective
Manager マシンへログインして、表示された説明に沿って操作を行います。
# engine-config -s WebSocketProxy=host.example.com:6100 # systemctl restart ovirt-engine.service

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.