Web UIでクライアントを登録する

1. 概要

Web UIを使用してクライアントをブートストラップする場合、Salt SSHを使用してクライアントでブートストラッププロセスを実行します。Salt SSHは、Salt Bundleおよびそれに含まれているPythonインタープリターを使用します。したがって、その他のPythonインタープリターをクライアントにインストールする必要はありません。

Salt Bundleはブートストラップリポジトリと一緒に利用可能になります。 したがって、クライアントでブートストラッププロセスを開始する前にブートストラップリポジトリを作成する必要があります。 シェルスクリプトは、クライアントのオペレーティングシステムを検出し、適切なブートストラップリポジトリからSalt Bundleを配備し、ブートストラップスクリプトと同じロジックを使用します。

詳細については、ブートストラップリポジトリー作成の準備を参照してください。

SUSE Multi-Linux Managerサーバをこのサーバ自体に登録しないでください。SUSE Multi-Linux Managerサーバは個別に管理するか、別のSUSE Multi-Linux Managerサーバを使用して管理する必要があります。複数のサーバを使用する方法の詳細については、Multiple Servers with Hub to Manage Large Scale Deploymentsを参照してください。

2. Web UIでクライアントを登録する

プロシージャ: Web UIでクライアントを登録する
  1. SUSE Multi-Linux ManagerのWeb UIで、システム  ブートストラップに移動します。

  2. In the Host field, type the fully qualified domain name (FQDN) of the client to be bootstrapped.

  3. In the SSH Port field, type the SSH port number to use to connect and bootstrap the client. By default, the SSH port is 22.

  4. In the User field, type the username to log in to the client. By default, the username is root.

  5. Select an Authentication method:

    1. To bootstrap the client with an SSH key, in the Authentication field, check SSH Private Key, and upload the SSH private key to use to log in to the client. If your SSH private key requires a passphrase, type it into the SSH Private Key Passphrase field, or leave it blank for no passphrase.

    2. To bootstrap the client with a password, in the Authentication field, check Password, and type the password to log in to the client.

  6. In the Activation Key field, select the activation key that is associated with the software channel you want to use to bootstrap the client. 詳細については、アクティベーションキーを参照してください。

  7. OPTIONAL: In the Proxy field, select the proxy to register the client to.

  8. By default, the Disable SSH Strict Key Host Checking checkbox is selected. このチェックボックスにチェックが付いていると、ブートストラッププロセスは、手動認証なしでSSHホストキーを自動的に受け入れます。

  9. OPTIONAL: Check the Manage System Completely via SSH checkbox. このオプションにチェックを付けると、サーバへの接続にSSHを使用するようにクライアントは設定され、その他の接続メソッドは設定されません。

    接続メソッドの詳細については、クライアントの接続メソッドを参照してください。

  10. ブートストラップをクリックして、登録を開始します。

  11. ブートストラッププロセスが完了したら、クライアントは[システム  システム一覧]にリストされます。

  • SSH秘密鍵は、ブートストラッププロセス中のみ保存されます。 秘密鍵は、ブートストラップが完了するとすぐにSUSE Multi-Linux Managerサーバから削除されます。

  • SUSE Multi-Linux Managerを使用してクライアントに新しいパッケージまたは更新がインストールされると、エンドユーザライセンスアグリーメント(EULA)が自動的に受け入れられます。 パッケージのEULAを確認するには、Web UIでパッケージ詳細ページを開きます。

3. ローカルで割り当てられたリポジトリの取り扱い

SUSE Multi-Linux Managerがサービスを提供しないクライアントにリポジトリを直接割り当てることは、一般的なユースケースではありません。 問題の原因になる可能性があります。 したがって、Saltを介してブートストラップすることで、ブートストラッププロセスの開始時にすべてのローカルリポジトリを無効にします。

その後、Highstateやパッケージのインストールを実行するなど、チャンネルの状態を使用するたびに、ローカルに割り当てられたすべてのリポジトリが再び無効になります。

All software packages which are used on the clients should come from channels served by SUSE Multi-Linux Manager. For more information about creating a custom channel, see Custom Channels at カスタムチャンネル.