8.2. Upgrading a Satellite
Once you have obtained the required items for the Satellite upgrade, follow the next procedure to upgrade.
Important
The following is a basic procedure for upgrading Satellite from version 5.4 to 5.5. For comprehensive instructions, refer to the
/etc/sysconfig/rhn/satellite-upgrade/README
file in the rhn-upgrade
package.
Procedure 8.2. Upgrade a Satellite
- Mount the ISO as specified in Section 4.1.2, “Mounting the Installation Media”
- Change your directory to the mounted ISO and run the Installer Program using the
--upgrade
option.cd /mount/cdrom ./install.pl --upgrade
# cd /mount/cdrom # ./install.pl --upgrade
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Important
Ensure to use additional options if your Red Hat Network Satellite is disconnected or using a Stand-Alone Database. For more information, read Section 4.2.1, “Options for the Installer Script”. - Disable all services on the Satellite server:
/usr/sbin/rhn-satellite stop
# /usr/sbin/rhn-satellite stop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Important
The next step will upgrade the database schema. Ensure the database is running on your Stand-Alone Database. If using an Embedded Satabase, ensure the database is running via the following command:service oracle start
# service oracle start
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Upgrade the database with
spacewalk-schema-upgrade
:/usr/bin/spacewalk-schema-upgrade
# /usr/bin/spacewalk-schema-upgrade
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Important
It is recommended to backup your database before upgrading. - Activate the Satellite. If using a connected Satellite:
rhn-satellite-activate --rhn-cert [PATH-TO-NEW-CERT] --ignore-version-mismatch
# rhn-satellite-activate --rhn-cert [PATH-TO-NEW-CERT] --ignore-version-mismatch
Copy to Clipboard Copied! Toggle word wrap Toggle overflow If disconnected, run:rhn-satellite-activate --rhn-cert [PATH-TO-NEW-CERT] --disconnected --ignore-version-mismatch
# rhn-satellite-activate --rhn-cert [PATH-TO-NEW-CERT] --disconnected --ignore-version-mismatch
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Rebuild search indexes with the following command:
service rhn-search cleanindex
# service rhn-search cleanindex
Copy to Clipboard Copied! Toggle word wrap Toggle overflow This command makes therhn-search
service clean search indexes and restart. - Enable Monitoring and Monitoring Scout. To enable Monitoring without enabling Monitoring Scout, run the following command:
/usr/share/spacewalk/setup/upgrade/rhn-enable-monitoring.pl
# /usr/share/spacewalk/setup/upgrade/rhn-enable-monitoring.pl
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To enable both Monitoring and Monitoring Scout, run the following command:/usr/share/spacewalk/setup/upgrade/rhn-enable-monitoring.pl --enable-scout
# /usr/share/spacewalk/setup/upgrade/rhn-enable-monitoring.pl --enable-scout
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart Satellite services:
/usr/sbin/rhn-satellite restart
# /usr/sbin/rhn-satellite restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
The upgrade procedure is complete and the Satellite is ready to use again.