Red Hat Training

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

9.3. Updating Your Current System

To update your system to the latest update version of Red Hat Storage 3, follow these steps. The following steps have to be performed on each node of the replica pair:

Note

Ensure that the system is registered to the Red Hat Network. For more information refer to, Chapter 5, Subscribing to the Red Hat Storage Server Channels

Warning

  • The Samba version 3 is being deprecated from Red Hat Storage 3.0 Update 4. Further updates will not be provided for samba-3.x. It is recommended that you upgrade to Samba-4.x, which is provided in a separate channel or repository, for all updates including the security updates.
  • Downgrade of Samba from Samba 4.x to Samba 3.x is not supported.
  • Ensure that Samba is upgraded on all the nodes simultaneously, as running different versions of Samba in the same cluster will lead to data corruption.
  1. Stop the gluster services on the storage server using the following commands:
    # service glusterd stop 
    # pkill glusterfs 
    # pkill glusterfsd
    1. For Red Hat Storage 3.0.4 or later, if you require Samba, then enable the following channel:
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpms
    2. Stop the CTDB and SMB services across all nodes in the Samba cluster using the following command. This is because different versions of Samba cannot run in the same Samba cluster.
      # service ctdb stop   ;Stopping the CTDB service will also stop the SMB service.
    3. To verify if the CTDB and SMB services are stopped, execute the following command:
      ps axf | grep -E '(ctdb|smb|winbind|nmb)[d]'
  2. Update the server using the following command:
    # yum update
  3. Reboot the server if a kernel update was included as part of the update process in the previous step.

    Note

    If a reboot of the server was not required, then start the gluster services on the storage server using the following command:
    # service glusterd start
    1. If the CTDB and SMB services were stopped earlier, then start the services by executing the following command.
      # service ctdb start
    2. To verify if the CTDB and SMB services have started, execute the following command:
      ps axf | grep -E '(ctdb|smb|winbind|nmb)[d]'
  4. Start self-heal on the volume.
    # gluster volume heal volname full
  5. To verify if you have upgraded to the latest version of the Red Hat Storage server execute the following command:
    # gluster --version
  6. Ensure that all the bricks are online. To check the status, execute the following command:
    # gluster volume status
  7. Ensure self-heal is complete on the replica using the following command:
    # gluster volume heal volname info
  8. Repeat the above steps on the other node of the replica pair.

    Note

    In the case of a distributed-replicate setup, repeat the above steps on all the replica pairs.