Show Table of Contents
6.2. コマンドラインを使用したサービスレベルの設定
一般的なサービスレベルは、
service-level --set コマンドを使用して設定できます。
例4 サービスレベル詳細の設定
まず、
service-level コマンドを --list オプションで実行して、システムで利用可能なサービスレベルを表示します。
[root@server ~]# subscription-manager service-level --list
+-------------------------------------------+
Available Service Levels
+-------------------------------------------+
Standard
None
Premium
Self-Support
次に、システムで希望するレベルを設定します。
[root@server ~]# subscription-manager service-level --set=self-support Service level set to: self-support
ローカルシステムの現在の設定は、
--show オプションで表示できます。
[root#server ~]# subscription-manager service-level --show Current service level: self-support
サービスレベルの設定は、サブスクリプション動作 (システム登録や登録後のサブスクリプションのアタッチなど) の実行中に定義できます。これにより、システム設定の上書きが可能です。
register と attach のコマンドでは、--servicelevel オプションで動作の詳細を設定できます。
例5 プレミアムサービスレベルでのサブスクリプションの自動アタッチ
[root#server ~]# subscription-manager attach --auto --servicelevel Premium Service level set to: Premium Installed Product Current Status: ProductName: RHEL 6 for Workstations Status: Subscribed
注記
--servicelevel オプションには、--auto-attach オプション (登録用) または --auto オプション (アタッチ用) が必要です。特定のプールのアタッチや、サブスクリプションのインポートには使用できません。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.