Chapter 20. Upgrading Your Cluster from v1.2.2 to v1.2.3

To obtain the Red Hat Ceph Storage installation ISO image files for the newer version, visit the Software & Download Center in the Red Hat Customer Service Portal (https://access.redhat.com/downloads). Use a valid Red Hat Subscription to download the full installation files. To download the Red Hat Ceph Storage installation files using a Red Hat Subscription or a Red Hat Evaluation Subscription:

  1. Visit the Red Hat Customer Service Portal at https://access.redhat.com/login and enter your user name and password to log in.
  2. Click Downloads to visit the Software & Download Center.
  3. In the Red Hat Ceph Storage area, click Download Software and download the version of the software you want to upgrade to.
Important

Do not downgrade to an earlier version, as it may introduce compatibility issues.

  1. Using sudo, mount the image:

    sudo mount -o loop <path_to_iso>/rhceph-1.2.3-rhel-6-x86_64.iso /mnt

    OR

    sudo mount <path_to_iso>/rhceph-1.2.3-rhel-7-x86_64.iso /mnt
  2. Using sudo, copy each Ceph *.pem product certificates from /mnt to /etc/pki/product. For example:

    sudo cp /mnt/RHCeph-Calamari-1.2-x86_64-c1e8ca3b6c57-285.pem /etc/pki/product/285.pem
    sudo cp /mnt/RHCeph-Installer-1.2-x86_64-8ad6befe003d-281.pem /etc/pki/product/281.pem
    sudo cp /mnt/RHCeph-MON-1.2-x86_64-d8afd76a547b-286.pem /etc/pki/product/286.pem
    sudo cp /mnt/RHCeph-OSD-1.2-x86_64-25019bf09fe9-288.pem /etc/pki/product/288.pem
  3. Using sudo, install the setup script.

    sudo yum install /mnt/ice_setup-*.rpm
  4. Back up your Ceph configuration, log and key files.
  5. Using sudo, run the setup script in the working directory you created at step 7 of Setting Up Your Administration Server.

    sudo ice_setup -d /mnt
    Note

    You cannot run the setup script in /mnt or a read-only directory or the script will crash. The script will output a cephdeploy.conf file, which ceph-deploy will use to point to the local repository. Remember to backup the original cephdeploy.conf file too.

  6. Remove any priority settings in /etc/yum.repos.d/ceph.repo. If you are upgrading from ICE 1.2.2, you may have a priority= setting in ceph.repo. This should not be used in Red Hat Ceph Storage 1.2.3 or any later versions.

    sudo grep ^priority `/etc/yum.repos.d/ceph.repo`
    sudo vi /etc/yum.repos.d/ceph.repo
  7. Restart Apache and Calamari.
  8. Update your system.

    sudo yum update

ICE v1.2.2 can run on RHEL 7.0, but not on RHEL 7.1. If you deferred an upgrade from RHEL 7.0 to RHEL 7.1, because you were running ICE v1.2.2, you MAY upgrade to RHEL 7.1 once you have upgraded to Red Hat Ceph Storage v1.2.3.

  1. Update your system to RHEL 7.1 by subscribing to the Content Delivery Network (CDN) and enabling respective repositories for RHEL 7.
  2. In /etc/yum/pluginconf.d/priorities.conf, add the following line:

    check_obsoletes=1
  3. In /etc/yum/repos.d remove the following line:

    priority=1
  4. Update your system.

    sudo yum update
  5. To upgrade the Ceph daemons running on your cluster hosts, see Storage Cluster Upgrade for details.