SUSE Linux Enterpriseクライアントの登録

このセクションでは、SUSE Linux Enterpriseオペレーティングシステムを実行しているクライアントの登録について説明します。

以下を含むすべてのSUSE Linux Enterprise製品を準備する際には、この章の手順を使用してください。

  • SUSE Linux Enterprise Server for SAP

  • SUSE Linux Enterprise Desktop

  • SUSE Linux Enterprise

  • SUSE Linux Enterprise Real Time

これらの手順は、古いSUSE Linux Enterpriseバージョンおよびサービスパックにも使用できます。

1. ソフトウェアチャンネルの追加

In the following section, descriptions often default to the x86_64 architecture. Replace it with other architectures if appropriate.

SUSE Linux EnterpriseクライアントをSUSE Multi-Linux Managerサーバに登録する前に、必要なソフトウェアチャンネルを追加して同期する必要があります。

このプロシージャで必要な製品は次のとおりです。

Table 1. SLE製品 - Web UI
OSバージョン 製品名

SUSE Linux Enterprise Server 16.0

SUSE Linux Enterprise Server 16.0 x86_64

SUSE Linux Enterprise Server 15 SP7

SUSE Linux Enterprise Server 15 SP7 x86_64

SUSE Linux Enterprise Server 15 SP6

SUSE Linux Enterprise Server 15 SP6 x86_64

SUSE Linux Enterprise Server 15 SP5

SUSE Linux Enterprise Server 15 SP5 x86_64

SUSE Linux Enterprise Server 15 SP4

SUSE Linux Enterprise Server 15 SP4 x86_64

SUSE Linux Enterprise Server 15 SP3

SUSE Linux Enterprise Server 15 SP3 x86_64

SUSE Linux Enterprise Server 15 SP2

SUSE Linux Enterprise Server 15 SP2 x86_64

SUSE Linux Enterprise Server 15 SP1

SUSE Linux Enterprise Server 15 SP1 x86_64

SUSE Linux Enterprise Server 12 SP5

SUSE Linux Enterprise Server 12 SP5 x86_64

プロシージャ: ソフトウェアチャンネルの追加
  1. SUSE Multi-Linux ManagerのWeb UIで、管理  セットアップウィザード  製品に移動します。

  2. Locate the appropriate products for your client operating system and architecture using the search bar, and check the appropriate product. This will automatically check all mandatory channels. Also all recommended channels are checked as long as the include recommended toggle is turned on. Click the arrow to see the complete list of related products, and ensure that any extra products you require are checked.

  3. 製品の追加をクリックし、製品の同期が完了するまで待機します。

または、コマンドプロンプトでチャンネルを追加できます。 このプロシージャで必要なチャンネルは次のとおりです。

Table 2. SLE製品 - CLI
OSバージョン ベースチャンネル

SUSE Linux Enterprise Server 16.0

sle-product-sles-16.0-x86_64

SUSE Linux Enterprise Server 15 SP7

sle-product-sles15-sp7-pool-x86_64

SUSE Linux Enterprise Server 15 SP6

sle-product-sles15-sp6-pool-x86_64

SUSE Linux Enterprise Server 15 SP5

sle-product-sles15-sp5-pool-x86_64

SUSE Linux Enterprise Server 15 SP4

sle-product-sles15-sp4-pool-x86_64

SUSE Linux Enterprise Server 15 SP3

sle-product-sles15-sp3-pool-x86_64

SUSE Linux Enterprise Server 15 SP2

sle-product-sles15-sp2-pool-x86_64

SUSE Linux Enterprise Server 15 SP1

sle-product-sles15-sp1-pool-x86_64

SUSE Linux Enterprise Server 12 SP5

sle-product-sles15-sp5-pool-x86_64

To find channel names of older products, at the command prompt on the SUSE Multi-Linux Manager Server, as root, use the mgr-sync command:

mgr-sync list --help

Then specify the argument you are interested in. For example, channels:

mgr-sync list channels [-c]
プロシージャ: コマンドプロンプトからのソフトウェアチャンネルの追加
  1. SUSE Multi-Linux Managerコンテナホストのコマンドプロンプトで、 root として、適切なチャンネルを追加します。

    mgrctl exec -- mgr-sync add channel <channel_label_1>
    mgrctl exec -- mgr-sync add channel <channel_label_2>
    mgrctl exec -- mgr-sync add channel <channel_label_n>
  2. 同期は自動的に開始されます。 チャンネルを手動で同期する場合、次のコマンドを使用します。

    mgrctl exec -- mgr-sync sync --with-children <channel_name>
  3. 続行前に、同期が完了していることを確認してください。

2. 同期ステータスの確認

プロシージャ: Web UIからの同期の進捗状況の確認
  1. In the SUSE Multi-Linux Manager Web UI, navigate to Admin  Setup Wizard and select the Products tab. This dialog displays a completion bar for each product when they are being synchronized.

  2. Alternatively, you can navigate to Software  Manage  Channels, then click the channel associated to the repository. Navigate to the Repositories tab, then click Sync and check Sync Status.

プロシージャ: コマンドプロンプトから同期の進捗状況を確認する
  1. tailを実行する前に利用可能なログを一覧表示するには、コンテナホストで次のコマンドを実行します。

    mgrctl exec ls /var/log/rhn/reposync/
  2. SUSE Multi-Linux Managerコンテナホストのコマンドプロンプトで、rootとして、チャンネルログファイルの同期を確認します。

    mgrctl exec -ti -- tail -f /var/log/rhn/reposync/<channel-label>.log
  3. 同期の進行中に各子チャンネルは独自のログを生成します。 同期が完了したことを確認するには、ベースチャンネルと子チャンネルのログファイルをすべて確認する必要があります。

SUSE Linux Enterpriseチャンネルは非常に大きいことがあります。 同期に数時間かかる場合があります。

3. クライアントの登録

クライアントを登録するには、ブートストラップリポジトリが必要です。 デフォルトでは、ブートストラップリポジトリは自動的に作成され、すべての同期製品に対して毎日再生成されます。 コンテナホストのコマンドプロンプトからブートストラップリポジトリを手動で作成できます。

mgrctl exec -ti mgr-create-bootstrap-repo

クライアントの登録については、クライアントの登録を参照してください。