第5章 ホスト登録用ロードバランサーの設定
ホスト登録機能を使用する場合、ロードバランサーを介してクライアントを登録するように Satellite を設定できます。
Capsule の代わりにロードバランサーにホストを登録できるようになります。ロードバランサーは、リクエスト時にホストを登録する Capsule を決定します。登録時に、ホスト上のサブスクリプションマネージャーがロードバランサーを介してコンテンツを管理するように設定されます。
前提条件
- すべての Capsule Server で SSL 証明書を設定した。詳細は、4章Capsule Server のロードバランシング用の設定 を参照してください。
すべての Capsule Server で登録プラグインおよびテンプレートプラグインを有効にしている。
satellite-installer --scenario capsule \ --foreman-proxy-registration true \ --foreman-proxy-templates true
# satellite-installer --scenario capsule \ --foreman-proxy-registration true \ --foreman-proxy-templates true
Copy to Clipboard Copied!
手順
すべての Capsule Server で、
satellite-installer
を使用して登録 URL とテンプレート URL を設定します。satellite-installer --scenario capsule \ --foreman-proxy-registration-url "https://loadbalancer.example.com:9090" \ --foreman-proxy-template-url "http://loadbalancer.example.com:8000"
# satellite-installer --scenario capsule \ --foreman-proxy-registration-url "https://loadbalancer.example.com:9090" \ --foreman-proxy-template-url "http://loadbalancer.example.com:8000"
Copy to Clipboard Copied! - Satellite Web UI で、Infrastructure > Capsules に移動します。
- 各 Capsule について、Actions 列のドロップダウンメニューをクリックし、Refresh を選択します。