第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
# subscription-manager clean
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install the katello-ca-consumer-latest RPM.
rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
# rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# subscription-manager register --org="Default_Organization" \ --activationkey=ak-Reg_To_Dev_EL7
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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:wget http://satellite.example.com/pub/katello-rhsm-consumer
[root@atomic_client ~]# wget http://satellite.example.com/pub/katello-rhsm-consumer
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Change the mode of
katello-rhsm-consumer
in order to make it executable:chmod +x katello-rhsm-consumer
[root@atomic_client ~]# chmod +x katello-rhsm-consumer
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Run
katello-rhsm-consumer
:./katello-rhsm-consumer
[root@atomic_client ~]# ./katello-rhsm-consumer
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Register with Red Hat Subscription Manager:
subscription-manager register
[root@atomic_client ~]# subscription-manager register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Because Atomic is functionally an appliance, we do not recommend that you try to install katello-agent
on it.