Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 17. Configuring System Purpose using the subscription-manager command-line tool
System purpose is a feature of the Red Hat Enterprise Linux installation to help RHEL customers get the benefit of our subscription experience and services offered in the Red Hat Hybrid Cloud Console, a dashboard-based, Software-as-a-Service (SaaS) application that enables you to view subscription usage in your Red Hat account.
You can configure system purpose attributes either on the activation keys or by using the subscription manager tool.
Prerequisites
- You have installed and registered your Red Hat Enterprise Linux 10 system, but system purpose is not configured.
-
You are logged in as a
root
user.
Procedure
From a terminal window, run the following command to set the intended role of the system:
subscription-manager syspurpose role --set VALUE
# subscription-manager syspurpose role --set VALUE
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace
VALUE
with the role that you want to assign:-
Red Hat Enterprise Linux Server
-
Red Hat Enterprise Linux Workstation
-
Red Hat Enterprise Linux Compute Node
For example:
subscription-manager syspurpose role --set Red Hat Enterprise Linux Server
# subscription-manager syspurpose role --set Red Hat Enterprise Linux Server
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Before setting a value, see the available roles supported by the subscriptions for your organization:
subscription-manager syspurpose role --list
# subscription-manager syspurpose role --list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Run the following command to unset the role:
subscription-manager syspurpose role --unset
# subscription-manager syspurpose role --unset
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Run the following command to set the intended Service Level Agreement (SLA) of the system:
subscription-manager syspurpose service-level --set VALUE
# subscription-manager syspurpose service-level --set VALUE
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace
VALUE
with the SLA that you want to assign:-
Premium
-
Standard
-
Self-Support
For example:
subscription-manager syspurpose service-level --set "Standard"
# subscription-manager syspurpose service-level --set "Standard"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Before setting a value, see the available service-levels supported by the subscriptions for your organization:
subscription-manager syspurpose service-level --list
# subscription-manager syspurpose service-level --list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Run the following command to unset the SLA:
subscription-manager syspurpose service-level --unset
# subscription-manager syspurpose service-level --unset
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Run the following command to set the intended usage of the system:
subscription-manager syspurpose usage --set "VALUE"
# subscription-manager syspurpose usage --set "VALUE"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace
VALUE
with the usage that you want to assign:-
Production
-
Disaster Recovery
-
Development/Test
For example:
subscription-manager syspurpose usage --set "Production"
# subscription-manager syspurpose usage --set "Production"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Before setting a value, see the available usages supported by the subscriptions for your organization:
subscription-manager syspurpose usage --list
# subscription-manager syspurpose usage --list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Run the following command to unset the usage:
subscription-manager syspurpose usage --unset
# subscription-manager syspurpose usage --unset
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Run the following command to show the current system purpose properties:
subscription-manager syspurpose --show
# subscription-manager syspurpose --show
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: For more detailed syntax information run the following command to access the
subscription-manager
man page and browse to the SYSPURPOSE OPTIONS:man subscription-manager
# man subscription-manager
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
To verify the system’s subscription status:
subscription-manager status
# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Registered
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For more information on the subscriptions services, see the Getting Started with the Subscriptions Service guide.