このコンテンツは選択した言語では利用できません。
Chapter 3. Updating a disconnected Satellite Server
Update your air-gapped Satellite setup where the connected Satellite Server, which synchronizes content from CDN, is air-gapped from a disconnected Satellite Server, to the next patch version. You can follow this process to update the underlying operating system between minor release versions.
Prerequisites
- Back up your disconnected Satellite Server. For more information, see Backing Up Satellite Server and Capsule Server in Administering Red Hat Satellite.
3.1. Exporting repositories from the connected Satellite Server リンクのコピーリンクがクリップボードにコピーされました!
Export the required repositories on the connected Satellite Server to transfer to the disconnected Satellite Server.
Procedure
Synchronize the following repositories on your connected Satellite Server:
-
rhel-9-for-x86_64-baseos-rpms -
rhel-9-for-x86_64-appstream-rpms -
satellite-6.18-for-rhel-9-x86_64-rpms -
satellite-maintenance-6.18-for-rhel-9-x86_64-rpms
Ensure to set the download policy to Immediate for each repository.
-
List the repositories to identify their IDs:
hammer repository list \ --organization-label My_Organization_Label
$ hammer repository list \ --organization-label My_Organization_LabelCopy to Clipboard Copied! Toggle word wrap Toggle overflow Export each repository in the syncable format:
hammer content-export complete repository \ --format syncable \ --id My_Repository_ID
$ hammer content-export complete repository \ --format syncable \ --id My_Repository_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Transfer the exported directories to your disconnected Satellite Server.
3.2. Preparing repositories on the disconnected Satellite Server リンクのコピーリンクがクリップボードにコピーされました!
Create local repositories on your disconnected Satellite Server.
Prerequisites
- You have transferred the exported directories to your disconnected Satellite Server.
Procedure
- Locate the transferred exported directories.
Create the
/etc/yum.repos.d/update.repofile and update thebaseurlvalues to point to the local file system:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.3. Performing the update of the disconnected Satellite Server リンクのコピーリンクがクリップボードにコピーされました!
Evaluate that the system is ready for update and perform the update of the disconnected Satellite Server. Your Satellite Server does not require internet access to perform the update.
Prerequisites
- You have prepared the required repositories on the disconnected Satellite Server.
Procedure
Evaluate that the system is ready for update:
satellite-maintain update check --whitelist="repositories-validate,repositories-setup"
# satellite-maintain update check --whitelist="repositories-validate,repositories-setup"Copy to Clipboard Copied! Toggle word wrap Toggle overflow The first time you run this command,
satellite-maintainprompts you to enter the Hammer admin user credentials and saves them to/etc/foreman-maintain/foreman-maintain-hammer.yml.- Review the results and resolve any errors before proceeding with the update.
Due to the lengthy update time, use a utility such as
tmuxto suspend and resume the session as needed. By using such utility, you can monitor progress without maintaining a continuous connection to the command shell.If you lose connection to the command shell where the update command is running, check the
/var/log/foreman-installer/satellite.logfile to confirm whether the process completed successfully.Perform the update:
satellite-maintain update run --whitelist="repositories-validate,repositories-setup"
# satellite-maintain update run --whitelist="repositories-validate,repositories-setup"Copy to Clipboard Copied! Toggle word wrap Toggle overflow If the
satellite-maintaincommand told you to reboot, then reboot the system:reboot
# rebootCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources