Red Hat Training

A Red Hat training course is available for Red Hat Gluster Storage

Chapter 9. Upgrading Red Hat Gluster Storage Console

This section covers both updating your Red Hat Gluster Storage Console environment between minor releases, and upgrading to the next major version. Always update to the latest minor version of your current Red Hat Gluster Storage Console version before you upgrade to the next major version.
Upgrading Red Hat Gluster Storage Console involves three main steps:
  • Configuring channels and entitlements.
  • Updating the required packages.
  • Performing the upgrade.
The command used to perform the upgrade is rhsc-setup, which provides an interactive interface. While the upgrade is in process, Red Hat Gluster Storage hosts continue to operate independently. When the upgrade is complete, you can then upgrade your hosts to the latest versions of Red Hat Gluster Storage.

9.1. Upgrades between Minor Releases

You can upgrade Red Hat Gluster Storage Console between minor releases.

Procedure 9.1. Checking for Red Hat Gluster Storage Console Updates

  1. Run the following command on the machine on which the Red Hat Gluster Storage Console is installed:
    # rhsc-upgrade-check
    • If there are no updates are available, the command will output the text No upgrade:
      # rhsc-upgrade-check
      VERB: queue package rhsc-setup for update
      VERB: Building transaction
      VERB: Empty transaction
      VERB: Transaction Summary:
      No upgrade
    • If updates are available, the command will list the packages to be updated:
      # rhsc-upgrade-check 
      VERB: queue package rhsc-setup for update
      VERB: Downloading: repomdoInTMztmp.xml (0%)
      VERB: Downloading: repomdoInTMztmp.xml 4.4 k(100%)
      VERB: Downloading: repomdhPVwA7tmp.xml (0%)
      VERB: Downloading: repomdhPVwA7tmp.xml 4.4 k(100%)
      VERB: Downloading: repomdvWktrFtmp.xml (0%)
      VERB: Downloading: repomdvWktrFtmp.xml 3.3 k(100%)
      VERB: Downloading: rhs-nagios-3-for-rhel-6-server-rpms/primary_db (0%)
      VERB: Downloading: rhs-nagios-3-for-rhel-6-server-rpms/primary_db 13 k(74%)
      VERB: Downloading: rhs-nagios-3-for-rhel-6-server-rpms/primary_db 18 k(100%)
      VERB: Downloading: repomds0eFt9tmp.xml (0%)
      VERB: Downloading: repomds0eFt9tmp.xml 2.8 k(100%)
      VERB: Downloading: repomdrL4fCttmp.xml (0%)
      VERB: Downloading: repomdrL4fCttmp.xml 3.3 k(100%)
      VERB: Downloading: rhsc-3-for-rhel-6-server-rpms/primary_db (0%)
      VERB: Downloading: rhsc-3-for-rhel-6-server-rpms/primary_db 9.1 k(55%)
      VERB: Downloading: rhsc-3-for-rhel-6-server-rpms/primary_db 16 k(100%)
      VERB: package rhsc-setup queued
      VERB: Building transaction
      VERB: Transaction built
      VERB: Transaction Summary:
      VERB:     updated    - otopi-1.2.3-1.el6ev.noarch
      VERB:     update     - otopi-1.4.0-0.0.1.master.el6ev.noarch
      VERB:     updated    - otopi-java-1.2.3-1.el6ev.noarch
      VERB:     update     - otopi-java-1.4.0-0.0.1.master.el6ev.noarch
      VERB:     updated    - rhsc-lib-3.0.4-1.25.el6rhs.noarch
      VERB:     update     - rhsc-lib-3.1.0-0.62.el6.noarch
      VERB:     updated    - rhsc-setup-3.0.4-1.25.el6rhs.noarch
      VERB:     update     - rhsc-setup-3.1.0-0.62.el6.noarch
      VERB:     updated    - rhsc-setup-base-3.0.4-1.25.el6rhs.noarch
      VERB:     update     - rhsc-setup-base-3.1.0-0.62.el6.noarch
      VERB:     updated    - rhsc-setup-plugin-ovirt-engine-3.0.4-1.25.el6rhs.noarch
      VERB:     update     - rhsc-setup-plugin-ovirt-engine-3.1.0-0.62.el6.noarch
      VERB:     updated    - rhsc-setup-plugin-ovirt-engine-common-3.0.4-1.25.el6rhs.noarch
      VERB:     update     - rhsc-setup-plugin-ovirt-engine-common-3.1.0-0.62.el6.noarch
      VERB:     updated    - rhsc-setup-plugins-3.0.4-1.2.el6rhs.noarch
      VERB:     update     - rhsc-setup-plugins-3.1.0-3.el6rhs.noarch
      Upgrade available
You have checked for updates to the Red Hat Gluster Storage Console.

Procedure 9.2. Updating Red Hat Gluster Storage Console

Updates to the Red Hat Gluster Storage Console are released via Red Hat Network. Before installing an update from Red Hat Network, ensure you read the advisory text associated with it and the latest version of the Red Hat Gluster Storage Release Notes and Red Hat Gluster Storage Technical Notes. A number of actions must be performed to complete an upgrade, including:
  • Stopping the ovirt-engine service.
  • Downloading and installing the updated packages.
  • Backing up and updating the database.
  • Performing post-installation configuration.
  • Starting the ovirt-engine service.
  1. Run the following command to update the rhsc-setup package:
    # yum update rhsc-setup
  2. Run the following command to update the Red Hat Gluster Storage Console:
    # rhsc-setup
  3. Run the following command to ensure that all packages are up to date:
    # yum update
You have successfully updated the Red Hat Gluster Storage Console.