Red Hat Training

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

Chapter 9. Setting up Software Updates

Red Hat strongly recommends you update your Red Hat Storage software regularly with the latest security patches and upgrades. Associate your system with a content server to update existing content or to install new content. This ensures that your system is up-to-date with security updates and upgrades.
To keep your Red Hat Storage system up-to-date, associate the system with the RHN or your locally-managed content service. This ensures your system automatically stays up-to-date with security patches and bug fixes.

Note

  • Asynchronous errata update releases of Red Hat Storage include all fixes that were released asynchronously since the last release as a cumulative update.
  • When there are large number of snapshots, ensure to deactivate the snapshots before performing an upgrade. The snapshots can be activated after the upgrade is complete. For more information, see Chapter 4.1 Starting and Stopping the glusterd service in the Red Hat Storage 3 Administration Guide.

9.1. Updating Red Hat Storage in the Offline Mode

If you have a distributed volume then you must opt for an offline upgrade. Red Hat Storage supports in-service software upgrade from Red Hat Storage 2.1 only for replicate and distributed-replicate volume.For more information about in-service software upgrade, see Section 9.2.3, “In-Service Software Upgrade”

Important

Offline upgrade results in a downtime as the volume is offline during upgrade.
If the volumes are thickly provisioned, then migrate the volume to a thinly provisioned volume. To migrate the volume to a thinly provisioned volume in the offline mode, perform the following steps:
  1. Take a backup of the bricks using reliable backup solution.
  2. Delete this Logical Volume (LV) and recreate a new thinly provisioned LV. Fore more information, see https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/thinprovisioned_volumes.html
  3. Restore the content to the newly created thinly provisioned LV.
To update Red Hat Storage in the offline mode, execute the following steps:
# yum update
The update process automatically restarts the glusterd management deamon. The glusterfs server processes, glusterfsd is not restarted by default since restarting this daemon affects the active read and write operations.
After all the nodes in the cluster are updated, the volume must be restarted for the changes to be applied. Red Hat recommends that you restart the system when there are no active read and write operations running on the cluster.
To restart the volume, run the following commands:
# gluster volume stop volname 
# gluster volume start volname

Important

After upgrading all the nodes, ensure to bump up the op version of the cluster by executing the following command:
# gluster volume set all cluster.op-version 30000