Red Hat Training

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

6.2. Upgrading from Red Hat Storage 2.1 to Red Hat Storage 3.0 for Systems Subscribed to Red Hat Network

Pre-Upgrade Steps:
  1. Unmount the clients using the following command:
    umount mount-point
  2. Stop the volumes using the following command:
    gluster volume stop volname
  3. Unmount the data partition(s) on the servers using the following command:
    umount mount-point
  4. To verify if the volume status is stopped, use the following command:
    # gluster volume info
    If there is more than one volume, stop all of the volumes.
  5. Stop the glusterd services on all the servers using the following command:
    # service glusterd stop
yum Upgrade Steps:

Important

  • You can upgrade to Red Hat Storage 3.0 only from Red Hat Storage 2.1 Update 4 release. If your current version is lower than Update 4, then upgrade it to Update 4 before upgrading to Red Hat Storage 3.0.
  • Upgrade the servers before upgrading the clients.
  1. Execute the following command to kill all gluster processes:
    # pkill gluster
  2. To check the system's current subscription status run the following command:
    # migrate-rhs-classic-to-rhsm --status
  3. Install the required packages using the following command:
    # yum install subscription-manager-migration
    # yum install subscription-manager-migration-data
  4. Execute the following command to migrate from Red Hat Network Classic to Red Hat Subscription Manager
    # migrate-rhs-classic-to-rhsm --rhn-to-rhsm
  5. To enable the Red Hat Storage 3.0 repos, execute the following command:
    # migrate-rhs-classic-to-rhsm --upgrade --version 3
    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

      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.
    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]'
  6. To verify if the migration from Red Hat Network Classic to Red Hat Subscription Manager is successful, execute the following command:
    # migrate-rhs-classic-to-rhsm --status
  7. To upgrade the server from Red Hat Storage 2.1 to 3.0, use the following command:
    # yum update

    Note

    It is recommended to add the child channel of Red Hat Enterprise Linux 6 that contains the native client to refresh the clients and access the new features in Red Hat Storage 3.0. For more information, refer to Installing Native Client in the Red Hat Storage Administration Guide.
  8. Reboot the servers. This is required as the kernel is updated to the latest version.