Chapter 4. Updating Capsule Server
Update Capsule Servers to the next minor version.
Procedure
-
Synchronize the
satellite-capsule-6.14-for-rhel-8-x86_64-rpmsrepository in the Satellite Server. - Publish and promote a new version of the content view with which the Capsule is registered.
Ensure that the Satellite Maintenance repository is enabled:
subscription-manager repos --enable \ satellite-maintenance-6.14-for-rhel-8-x86_64-rpms
# subscription-manager repos --enable \ satellite-maintenance-6.14-for-rhel-8-x86_64-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Check the available versions to confirm the next minor version is listed:
satellite-maintain upgrade list-versions
# satellite-maintain upgrade list-versionsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Use the health check option to determine if the system is ready for upgrade:
satellite-maintain upgrade check --target-version 6.14.z
# satellite-maintain upgrade check --target-version 6.14.zCopy to Clipboard Copied! Toggle word wrap Toggle overflow Review the results and address any highlighted error conditions before performing the upgrade.
Because of the lengthy update time, use a utility such as
tmuxto suspend and reattach a communication session. You can then check the upgrade progress without staying connected to the command shell continuously.If you lose connection to the command shell where the upgrade command is running, you can see the logged messages in the
/var/log/foreman-installer/capsule.logfile to check if the process completed successfully.Perform the update:
satellite-maintain upgrade run --target-version 6.14.z
# satellite-maintain upgrade run --target-version 6.14.zCopy to Clipboard Copied! Toggle word wrap Toggle overflow Determine if the system needs a reboot:
dnf needs-restarting --reboothint
# dnf needs-restarting --reboothintCopy to Clipboard Copied! Toggle word wrap Toggle overflow If the previous command told you to reboot, then reboot the system:
reboot
# rebootCopy to Clipboard Copied! Toggle word wrap Toggle overflow