4.10. Healing Subscriptions
Subscription Manager can monitor all of the active entitlements for a system. Along with passively warning that a subscription is close to expiration (
Section 4.9, “Responding to Subscription Notifications”), Subscription Manager can be configured to re-subscribe to subscriptions, automatically and actively, as one nears its expiry. This is
system healing.
System healing prevents a system from having unentitled products as long as any valid subscription is available for it.
System healing is disabled by default. It can be enabled by manually adding the autoheal parameter to the Subscription Manager configuration.
Open the Subscription Manager configuration file.
vim /etc/rhsm/rhsm.conf
In the [rhsmcertd] area, add the autoheal line, and set the value to true.
[rhsmcertd]
certFrequency = 240
healFrequency = 1440
autoheal = true
The configuration can also be updated using the config command:
[root@server1 ~]# subscription-manager config --rhsmcertd.autoheal=true