Este contenido no está disponible en el idioma seleccionado.
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.
- Stop the gluster services on the storage server using the following commands:
service glusterd stop pkill glusterfs pkill glusterfsd
# service glusterd stop # pkill glusterfs # pkill glusterfsdCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
# subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-6-server-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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.
# service ctdb stop ;Stopping the CTDB service will also stop the SMB service.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To verify if the CTDB and SMB services are stopped, execute the following command:
ps axf | grep -E '(ctdb|smb|winbind|nmb)[d]'
ps axf | grep -E '(ctdb|smb|winbind|nmb)[d]'Copy to Clipboard Copied! Toggle word wrap Toggle overflow
- Update the server using the following command:
yum update
# yum updateCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
# service glusterd startCopy to Clipboard Copied! Toggle word wrap Toggle overflow - If the CTDB and SMB services were stopped earlier, then start the services by executing the following command.
service ctdb start
# service ctdb startCopy to Clipboard Copied! Toggle word wrap Toggle overflow - To verify if the CTDB and SMB services have started, execute the following command:
ps axf | grep -E '(ctdb|smb|winbind|nmb)[d]'
ps axf | grep -E '(ctdb|smb|winbind|nmb)[d]'Copy to Clipboard Copied! Toggle word wrap Toggle overflow
- Start self-heal on the volume.
gluster volume heal volname full
# gluster volume heal volname fullCopy to Clipboard Copied! Toggle word wrap Toggle overflow - To verify if you have upgraded to the latest version of the Red Hat Storage server execute the following command:
gluster --version
# gluster --versionCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Ensure that all the bricks are online. To check the status, execute the following command:
gluster volume status
# gluster volume statusCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Ensure self-heal is complete on the replica using the following command:
gluster volume heal volname info
# gluster volume heal volname infoCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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.