3. Responding to Notifications and Changed Status
3.1. Red Hat Subscription Manager: Autoattaching and Updating Subscriptions
rhsmcertd, monitors the subscriptions that are attached to a system and tracks when they near their expiration dates or if they are removed.
- As new products are installed.
- When subscriptions expire.Within 24 hours of when the subscription expires, the Subscription Manager automatically re-attaches subscriptions to the system.
- When subscriptions are renewed.
- When a subscription management application replaces its manifest.If a new manifest is uploaded (instead of refreshing the original manifest), the old manifest is delete. Any subscriptions attached to a system from the old manifest are automatically removed — which means that the system could have products that no longer have a subscription for them. Enabling autoattaching on a system means that the system can automatically request and apply subscriptions from the new manifest.
rhsmcertd can be changed.
3.1.1. Setting Preferences for Systems
- Service levels for subscriptions
- The operating system minor version (X.Y) to use
3.1.1.1. Setting Preferences in the UI
- Open the Subscription Manager.
- Open the System menu.
- Select the System Preferences menu item.

- Select the desired service level agreement preference from the drop-down menu. Only service levels available to the Red Hat account, based on all of its active subscriptions, are listed.
- Select the operating system release preference in the Release version drop-down menu. The only versions listed are Red Hat Enterprise Linux versions for which the account has an active subscription.

- The preferences are saved and applied to future subscription operations when they are set. To close the dialog, click .
3.1.1.2. About Service-Level Preferences

Figure 30. Service Level Information for a Subscription
Note
3.1.1.3. Setting Service Levels Through the Command Line
- It selects subscriptions on a best match with the desired service level (and other criteria).
- It sets the system preference to the specified service level.
Note
service-level --set command.
Example 1. Setting a Service Level Preference
--list option with the service-level command.
[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 option:
[root#server ~]# subscription-manager service-level --show Current service level: self-support
register and attach commands have the --servicelevel option to set a preference for that action.
Example 2. Autoattaching Subscriptions with a Premium Service Level
[root#server ~]# subscription-manager attach --auto --servicelevel Premium Service level set to: Premium Installed Product Current Status: ProductName: RHEL 6 for Workstations Status: Subscribed
Note
--servicelevel option requires the --auto-attach option (for register) or --auto option (for attach). It cannot be used when attaching a specified pool or when importing a subscription.
3.1.1.4. Viewing Service Level Settings in the Command Line
service-level command. This is an information command; it returns the current information about service levels for the system or the account, but it does not make any changes to the assigned service level.
--list option. Simply knowing what levels are available is helpful for setting preferences, autoattaching, or even purchasing subscriptions.
[root@server ~]# subscription-manager service-level --list
+-------------------------------------------+
Available Service Levels
+-------------------------------------------+
Standard
None
Premium--show option:
[root#server ~]# subscription-manager service-level --show Current service level: Premium
3.1.1.5. Setting a Preferred Operating System Release Version in the Command Line
yum update and move from version to version.
Example 3. Setting an Operating System Release During Registration
--release option with the register. This applies the release preference to any subscriptions selected and auto-attached to the system at registration time.
--auto-attach option, because it is one of the criteria used to select subscriptions to auto-attach.
[root#server ~]# subscription-manager register --auto-attach --release=6.4 --username=admin@example.com...Note
attach command.
Example 4. Setting an Operating System Release Preference
release command can display the available operating system releases, based on the available, purchased (not only attached) subscriptions for the account.
[root#server ~]# subscription-manager release --list
+-------------------------------------------+
Available Releases
+-------------------------------------------+
6.2
6.3--set then sets the preference to one of the available release versions:
[root#server ~]# subscription-manager release --set=6.3 Release version set to: 6.3
3.1.1.6. Removing a Preference
--unset with the appropriate command. For example, to unset a release version preference:
[root#server ~]# subscription-manager release --unset Release version set to:
- Open the Subscription Manager.
- Open the System menu.
- Select the System Preferences menu item.

- Set the service level or release version value to the blank line in the corresponding drop-down menu.

- Click .
3.1.2. Autoattaching in Response to Notifications

Figure 31. Auto-attach Button
3.1.3. Autoattaching at Registration
register command has an option, --auto-attach, which allows the system to be registered to the subscription service and immediately attaches the subscriptions which best match the system's architecture, in a single step.
[root@server1 ~]# subscription-manager register --username admin-example --password secret --auto-attach3.1.4. Autoattaching after Registration
--auto option with the attach (which is analogous to the --auto-attach option with the register command) attaches the best-fitting subscriptions to the system based on it's currently installed products and other criteria.
[root@server1 ~]# subscription-manager 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.