3.3. Satellite Infrastructure サブスクリプションのアタッチ
Red Hat カスタマーポータルで SCA を有効にしている場合は、この手順をスキップしてください。subscription-manager を使用して Red Hat Satellite Infrastructure Subscription サブスクリプションを Satellite Server にアタッチする必要はありません。SCA の詳細は、Simple Content Access を参照してください。
Satellite Server の登録後に、サブスクリプションプール ID を特定して、利用可能なサブスクリプションを割り当てる必要があります。Red Hat Satellite Infrastructure サブスクリプションは、Red Hat Satellite および Red Hat Enterprise Linux コンテンツにアクセスできるようになります。Red Hat Enterprise Linux 7 では、Red Hat Software Collections (RHSCL) にアクセスできます。必要なサブスクリプションはこれだけです。
Red Hat Satellite Infrastructure は、Satellite (以前は Smart Management と呼ばれていました) を提供するすべてのサブスクリプションに含まれています。詳細は、Red Hat ナレッジベース の Satellite Infrastructure サブスクリプション MCT3718 MCT3719 を参照してください。
サブスクリプションがシステムに割り当てられていない場合には、利用可能として分類されます。利用可能な Satellite サブスクリプションが見つからない場合は、Red Hat ナレッジベースソリューション Red Hat Subscription Manager に登録されているクライアントが使用したサブスクリプションを把握するにはどうすればよいですか? を参照してスクリプトを実行し、サブスクリプションが別のシステムで使用されているかどうかを確認します。
手順
Satellite Infrastructure サブスクリプションのプール ID を特定します。
subscription-manager list --all --available --matches 'Red Hat Satellite Infrastructure Subscription'
# subscription-manager list --all --available --matches 'Red Hat Satellite Infrastructure Subscription'Copy to Clipboard Copied! Toggle word wrap Toggle overflow このコマンドを実行すると、以下のような出力が表示されます。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - サブスクリプションプール ID を書き留めます。上記の例と、実際のサブスクリプションプール ID は異なります。
Satellite Server が実行されているベースオペレーティングシステムに、Satellite Infrastructure サブスクリプションを割り当てます。SCA が Satellite Server で有効になっている場合は、この手順をスキップできます。
subscription-manager attach --pool=pool_id
# subscription-manager attach --pool=pool_idCopy to Clipboard Copied! Toggle word wrap Toggle overflow このコマンドを実行すると、以下のような出力が表示されます。
Successfully attached a subscription for: Red Hat Satellite Infrastructure Subscription
Successfully attached a subscription for: Red Hat Satellite Infrastructure SubscriptionCopy to Clipboard Copied! Toggle word wrap Toggle overflow オプション: Satellite Infrastructure サブスクリプションが割り当てられていることを確認します。
subscription-manager list --consumed
# subscription-manager list --consumedCopy to Clipboard Copied! Toggle word wrap Toggle overflow