Saminnet-Search Article Wiki Forum Blog SNS Cloud
Satellite server update

  • Data-Articles
    • Slower CKD stage (3) Wed12,16:41pm

      Having your kidneys work 窶 even a little 窶 can help you feel better and live longer. If you can slow your CKD, you can delay the need for treatment of kidney failure. The types of changes you might make to help your heart or the rest of your body will help your kidneys, too. Here are some things you can do 窶 or avoid 窶 to protect your kidneys: r Blood Sugar In The Target Range.…

      Read More...

Satellite server update

Prerequisites

  • Ensure you have synchronized Satellite Server repositories for Satellite, Capsule, and Satellite Tools.
  • Ensure each external Capsule and Content Host can be updated by promoting the updated repositories to all relevant Content Views.

Updating Satellite Server to the Next Minor Version

To Update Satellite Server:

  1. Check that only the correct repositories are enabled:

    1. List the enabled repositories:

      # subscription-manager repos --list-enabled
    2. Ensure you only have the following repositories enabled:

      rhel-X-server-rpms
      rhel-X-server-satellite-6.2-rpms
      rhel-server-rhscl-X-rpms

      WhereツXツis the major version of Red Hat Enterprise Linux you are using. If required, seeツSectionツ3.1.3, 窶廚onfiguring Repositories窶ツfor more information on disabling and enabling repositories. If you have a self-registered Satellite, theツrhel-X-server-satellite-tools-6.2-rpmsツrepository, which provides Katello Agent, can also be present. If required, seeツSectionツ4.7.1, 窶廬nstalling the katello Agent窶ツfor more information.

  2. If you are on a self-registered Satellite, download all packagesツbeforeツstopping Satellite Server:

    # yum update --downloadonly

    This step is optional for Satellites which areツnotツself-registered.

  3. Stop Katello services:

    # katello-service stop
  4. Update all packages:

    # yum update

    For a self-registered Satellite, enter the following command:

    # yum update --cache --disableplugin=enabled_repos_upload \
    --disableplugin=package_upload \
    --disableplugin=subscription-manager

    If a kernel update occurs, make a note to rebootツafterツthe upgrade is complete. Doツnotreboot at this point.

  5. If you have custom Apache server configurations, they will be reverted to the installation defaults in the next step. If you want to see what will be changedツwhen you perform the upgrade, you can enter the upgrade command with theツ--noopツ(no operation) option and review the changes that will be applied when you enter the upgrade command in the following step. If you choose not to do this test, skip to the next step now. Alternatively, proceed as follows:

    1. Add the following line to theツ/etc/httpd/conf/httpd.confツconfiguration file.

      Include /etc/httpd/conf.modules.d/*.conf
    2. Restart theツhttpdツservice.

      • On Red Hat Enterprise Linux 6, enter the following command:

        # service httpd restart
      • On Red Hat Enterprise Linux 7, enter the following command:

        # systemctl restart httpd
    3. Start theツpostgresqlツandツmongodツdatabase services.

      • On Red Hat Enterprise Linux 6, enter the following command:

        # service postgresql start
        # service mongod start
      • On Red Hat Enterprise Linux 7, enter the following command:

        # systemctl start postgresql
        # systemctl start mongod
  6. Enter the command with theツ--noopツoption as follows.

    # satellite-installer --scenario satellite --upgrade --verbose --noop

    Review theツ/var/log/foreman-installer/satellite.logツto see what changesツwould be appliedツif theツ--noopツoption was omitted. Look for theツ+++ツandツ---ツsymbols indicating changes to configurations files. Because the above "no operation" command does not actually create the files, and some Puppet resources in the module expect them to be there, some failure messages are to be expected.

  7. Stop Katello services.

    # katello-service stop
  8. Perform the update by running the installer script with theツ--upgradeツoption.

    # satellite-installer --scenario satellite --upgrade
  9. If a kernel update occurred during theツyum updateツstep, reboot the system:

    # reboot
  10. If you are on a self-registered Satellite, and did not reboot the system in the previous step, restartツgoferd:

    • On RedツHat EnterpriseツLinuxツ6, run the following command:

      # service goferd restart
    • On RedツHat EnterpriseツLinuxツ7, run the following command:

      # systemctl restart goferd
  11. If you have updated from Satellite 6.2.12 or lower, add theツ--assumeyesツparameter toツkatello-backupツcommands in your backup script if it is not there yet.

    From Satellite 6.2.13, you must add theツ--assumeyesツparameter because theツkatello-backupツcommand prompts for confirmation that the backup is to proceed. For more information about backing up Satellite Server, seeツBackup and Disaster Recoveryツin theツServer Administration Guide.

7.2.ツUpdating Capsule Server

Updating Capsule Servers to the Next Minor Version

To Update a Capsule Server:

  1. Check that only the correct repositories are enabled:

    1. List the enabled repositories:

      # subscription-manager repos --list-enabled
    2. Ensure you only have the following repositories enabled:

      rhel-X-server-rpms
      rhel-X-server-satellite-capsule-6.2-rpms
      rhel-server-rhscl-X-rpms
      rhel-X-server-satellite-tools-6.2-rpms

      WhereツXツis the major version of Red Hat Enterprise Linux you are using. If required, seeツSectionツ4.3, 窶廚onfiguring Repositories窶ツfor more information on disabling and enabling repositories. Theツrhel-X-server-satellite-tools-6.2-rpmsツrepository provides Katello Agent. If required, seeツSectionツ4.7.1, 窶廬nstalling the katello Agent窶for more information. The Red Hat Software Collections repository is optional, it is required for the Remote Execution feature.

  2. Stop Katello services:

    # katello-service stop
  3. Update all packages:

    # yum update

    If a kernel update occurs, make a note to rebootツafterツthe upgrade is complete. Doツnotreboot at this point.

  4. If you have custom Apache server configurations, they will be reverted to the installation defaults in the next step. If you want to see what will be changedツwhen you perform the upgrade, you can enter the upgrade command with theツ--noopツ(no operation) option and review the changes that will be applied when you enter the upgrade command in the following step. If you choose not to do this test, skip to the next step now. Alternatively, proceed as follows:

    1. Add the following line to theツ/etc/httpd/conf/httpd.confツconfiguration file.

      Include /etc/httpd/conf.modules.d/*.conf
    2. Restart theツhttpdツservice.

      • On Red Hat Enterprise Linux 6, enter the following command:

        # service httpd restart
      • On Red Hat Enterprise Linux 7, enter the following command:

        # systemctl restart httpd
    3. Start theツmongodツdatabase service.

      • On Red Hat Enterprise Linux 6, enter the following command:

        # service mongod start
      • On Red Hat Enterprise Linux 7, enter the following command:

        # systemctl start mongod
    4. Enter the command with theツ--noopツoption as follows.

      # satellite-installer --scenario capsule --upgrade --verbose --noop

      Review theツ/var/log/foreman-installer/capsule.logツto see what changesツwould be appliedツif theツ--noopツoption was omitted. Look for theツ+++ツandツ---ツsymbols indicating changes to configurations files. Because the above "no operation" command does not actually create the files, and some Puppet resources in the module expect them to be there, some failure messages are to be expected.

    5. Stop Katello services.

      # katello-service stop
      • Perform the update by running the installer script with theツ--upgradeツoption.

        # satellite-installer --scenario capsule --upgrade
  5. If a kernel update occurred during theツyum updateツstep, reboot the system:

    # reboot
  6. If you did not reboot the system in the previous step, restartツgoferd:

    • On RedツHat EnterpriseツLinuxツ6, run the following command:

      # service goferd restart
    • On RedツHat EnterpriseツLinuxツ7, run the following command:

      # systemctl restart goferd
  7. If you have updated from Satellite 6.2.12 or lower, add theツ--assumeyesツparameter toツkatello-backupツcommands in your backup script if it is not there yet.

    From Satellite 6.2.13, you must add theツ--assumeyesツparameter because theツkatello-backupツcommand prompts for confirmation that the backup is to proceed. For more information about backing up Satellite Server, seeツBackup and Disaster Recoveryツin theツServer Administration Guide.

7.3.ツUpdating Content Hosts

Updating Content Hosts to the Next Minor Version

To Update a Content Host, enter the following commands:

  1. Update all packages:

    # yum update
  2. If a kernel update occurs, reboot the system:

    # reboot
  3. If you did not reboot the system in the previous step, restartツgoferd:

    • On RedツHat EnterpriseツLinuxツ6, run the following command:

      # service goferd restart
    • On RedツHat EnterpriseツLinuxツ7, run the following command:

Add comment


Articles by Date

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email