Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 8. Upgrading Red Hat Gluster Storage to Red Hat Enterprise Linux 7


This chapter describes the procedure to upgrade from Red Hat Enterprise Linux 6 based Red Hat Gluster Storage to Red Hat Enterprise Linux 7 based Red Hat Gluster Storage.

Important

Be aware of the following when upgrading a Gluster node from RHEL 6 to RHEL 7:
  • While performing an upgrade from RHEL 6 to RHEL 7 if you need any help, contact Red Hat Support with details.
  • Upgrading from RHEL 6 to RHEL 7 is an offline procedure which results in Gluster node downtime, as volumes are offline during the upgrade process.
  • Servers must be upgraded prior to upgrading clients.

8.1. Preparing System for Upgrade

  1. Migrate from Red Hat Network Classic to Red Hat Subscription Manager

    Verify that your system is not on the legacy Red Hat Network Classic update system:
    # migrate-rhs-classic-to-rhsm --status
    Copy to Clipboard Toggle word wrap
    If the system is not on Red Hat Network Classic, skip this step
    If the system is on Red Hat Network Classic, migrate to Red Hat Subscription Manager using: Migrating from RHN to RHSM in Red Hat Enterprise Linux.
  2. Register the system with Subscription Manager

    Important

    If the system is already registered using Subscription Manager, skip the registrations steps and start the backup of the Gluster configuration files.
    To register the system with Red Hat Network, execute the following command and enter your Red Hat Network user name and password that have the RHEL entitlements:
    # subscription-manager register --username=user_name --password=password
    Copy to Clipboard Toggle word wrap
  3. Identify the available entitlement pools

    Find the entitlement pools containing the RHEL 6 repositories:
    # subscription-manager list --available
    Copy to Clipboard Toggle word wrap
  4. Attach entitlement pool to the system

    Use the pool identifier located in the previous step to attach the RHEL 6 entitlements to the system:
    # subscription-manager attach --pool=pool_ID
    Copy to Clipboard Toggle word wrap
  5. Enable repositories

    Enable the RHEL 6, scalefs, and Red Hat Gluster Storage repositories:
    # subscription-manager repos --enable=rhel-6-server-rpms --enable=rhel-scalefs-for-rhel-6-server-rpms --enable=rhs-3-for-rhel-6-server-rpms
    Copy to Clipboard Toggle word wrap
  6. Backup the Gluster configuration files

    Note

    It is recommended to make a complete backup using a reliable backup solution before you update your system. This Knowledge Base solution covers one possible approach: https://access.redhat.com/solutions/1484053.
    1. Ensure that the following configuration directories and files are backed up:
      • /var/lib/glusterd
      • /etc/glusterfs
    2. For systems with samba-ctdb enabled cluster, create a new directory to store the backup:
      # mkdir backup_folder_name
      # cd backup_folder_name
      Copy to Clipboard Toggle word wrap
    3. Execute the following command to take a backup samba-ctdb data:
      for each in `ctdb getdbmap | grep PERSISTENT | cut -d" " -f2 | cut -d":" -f2`; do echo $each ; ctdb backup_folder_name $each ${each}.bak; done
      Copy to Clipboard Toggle word wrap
  7. Stop all Gluster services, volumes, and processes

    1. Stop any geo-replication sessions:
      # gluster volume geo-replication MASTER_VOL SLAVE_HOST::SLAVE_VOL stop
      Copy to Clipboard Toggle word wrap
    2. Stop the Nagios process:
      # service nrpe stop
      Copy to Clipboard Toggle word wrap
    3. Stop all volumes:
      # for vol in `gluster volume list`; do gluster --mode=script volume stop $vol; sleep 2s; done
      Copy to Clipboard Toggle word wrap
    4. Stop the Gluster processes:
      # service glusterd stop
      # pkill glusterfs
      # pkill glusterfsd
      Copy to Clipboard Toggle word wrap
    5. For system with samba-ctdb enabled cluster, stop the CTDB services:
      # service ctdb stop
      Copy to Clipboard Toggle word wrap
  8. Update the system and reboot

    Update the system to the latest minor version of RHEL 6, and reboot after the update is complete:
    # yum update
    # reboot
    Copy to Clipboard Toggle word wrap
  9. Verify the version number

    Check the current version number of the updated RHEL 6 system using the following command:
    # cat /etc/redhat-release
    Copy to Clipboard Toggle word wrap

    Important

    The version number should be 6.10.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat