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でクライアントを登録する
-
SUSE Multi-Linux ManagerのWeb UIで、に移動します。
-
In the
Hostfield, type the fully qualified domain name (FQDN) of the client to be bootstrapped. -
In the
SSH Portfield, type the SSH port number to use to connect and bootstrap the client. By default, the SSH port is22. -
In the
Userfield, type the username to log in to the client. By default, the username isroot. -
Select an
Authenticationmethod:-
To bootstrap the client with an SSH key, in the
Authenticationfield, checkSSH 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 theSSH Private Key Passphrasefield, or leave it blank for no passphrase. -
To bootstrap the client with a password, in the
Authenticationfield, checkPassword, and type the password to log in to the client.
-
-
In the
Activation Keyfield, select the activation key that is associated with the software channel you want to use to bootstrap the client. 詳細については、アクティベーションキーを参照してください。 -
OPTIONAL: In the
Proxyfield, select the proxy to register the client to. -
By default, the
Disable SSH Strict Key Host Checkingcheckbox is selected. このチェックボックスにチェックが付いていると、ブートストラッププロセスは、手動認証なしでSSHホストキーを自動的に受け入れます。 -
OPTIONAL: Check the
Manage System Completely via SSHcheckbox. このオプションにチェックを付けると、サーバへの接続にSSHを使用するようにクライアントは設定され、その他の接続メソッドは設定されません。接続メソッドの詳細については、クライアントの接続メソッドを参照してください。
-
ブートストラップをクリックして、登録を開始します。
-
ブートストラッププロセスが完了したら、クライアントは[]にリストされます。
|
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 カスタムチャンネル.