第6章 Patching Your Systems
To patch your systems through Satellite Server, you need to register your systems first, and then choose to install Katello agent or use remote execution. Remote execution is enabled by default. This chapter covers both methods. Choose the option that suits your environment
Note that the Katello agent is deprecated and will be removed in a future Satellite version. Migrate your workloads to use the remote execution feature to update clients remotely. For more information, see Host Management Without Goferd and Katello Agent in the Managing Hosts Guide.
6.1. Registering Existing Hosts
This section explains how to register Red Hat Enterprise Linux Hosts and Atomic Hosts.
6.1.1. Registering an Existing Red Hat Enterprise Linux Host
On the host, clear any old data to ensure updated data is uploaded correctly.
# subscription-manager clean
Install the katello-ca-consumer-latest RPM.
# rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
This installs the proper certificates which allow communication between the client and the Satellite Server.
Register the host.
# subscription-manager register --org="Default_Organization" \ --activationkey=ak-Reg_To_Dev_EL7
6.1.2. Registering an Atomic Host
The following procedure explains how to register an Atomic Host with Subscription Manager.
Retrieve
katello-rhsm-consumer
from the Satellite Server:[root@atomic_client ~]# wget http://satellite.example.com/pub/katello-rhsm-consumer
Change the mode of
katello-rhsm-consumer
in order to make it executable:[root@atomic_client ~]# chmod +x katello-rhsm-consumer
Run
katello-rhsm-consumer
:[root@atomic_client ~]# ./katello-rhsm-consumer
Register with Red Hat Subscription Manager:
[root@atomic_client ~]# subscription-manager register
Because Atomic is functionally an appliance, we do not recommend that you try to install katello-agent
on it.