How to upgrade Gluster from 3.0.2 to 3.0.3 ?

In this article I am going to show you the offline upgrade procedure from Gluster 3.0.2 to 3.0.3. RHS (Redhat Storage) has latest version 3.0.3

Step 1 : I was running on distributed volume across three nodes. I stopped that volume and then glusterd service.

[root@Node1 tmp]# gluster vol stop vol1
Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y
volume stop: vol1: success
[root@Node1 tmp]# /etc/init.d/glusterd stop

Step 2 : I make note of current kernel version and glusterd packages.

Current gluster version on server is :

[root@Node1 ~]# cat /etc/redhat-storage-release
Red Hat Storage Server 3.0 Update 2

Current Kernel Version is :

[root@Node1 ~]# uname -a
Linux Node1 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Gluster packages version is :

[root@Node1 tmp]# rpm -qa | grep -i gluster

glusterfs-geo-replication-3.6.0.29-3.el6rhs.x86_64
gluster-nagios-common-0.1.3-2.el6rhs.noarch
samba-glusterfs-3.6.509-169.1.el6rhs.x86_64
glusterfs-libs-3.6.0.29-3.el6rhs.x86_64
glusterfs-cli-3.6.0.29-3.el6rhs.x86_64
glusterfs-rdma-3.6.0.29-3.el6rhs.x86_64
vdsm-gluster-4.14.7.2-1.el6rhs.noarch
glusterfs-3.6.0.29-3.el6rhs.x86_64
glusterfs-fuse-3.6.0.29-3.el6rhs.x86_64
glusterfs-server-3.6.0.29-3.el6rhs.x86_64
gluster-nagios-addons-0.1.10-2.el6rhs.x86_64
glusterfs-api-3.6.0.29-3.el6rhs.x86_64

Step 3 : I registered the system with RHN and register it with child channels.

[root@Node1 ~]# rhn-channel –add –channel rhel-x86_64-server-6-rhs-3 –channel rhel-x86_64-server-sfs-6

Step 4 : As I was supposed to upgrade the kernel as well hence I issued the yum update command directly without specifying any particular package name.

[root@Node1 ~]# yum update

Step 5 : Rebooted the server and once the server come back successfully. Checked the current gluster version and packages.

[root@Node1 ~]# uname -a
Linux Node1 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

[root@Node1 ~]# cat /etc/redhat-storage-release
Red Hat Storage Server 3.0 Update 3

[root@Node1 ~]# rpm -qa | grep -i gluster
glusterfs-api-3.6.0.42-1.el6rhs.x86_64
glusterfs-rdma-3.6.0.42-1.el6rhs.x86_64
samba-glusterfs-3.6.509-169.4.el6rhs.x86_64
glusterfs-3.6.0.42-1.el6rhs.x86_64
glusterfs-cli-3.6.0.42-1.el6rhs.x86_64
glusterfs-server-3.6.0.42-1.el6rhs.x86_64
glusterfs-geo-replication-3.6.0.42-1.el6rhs.x86_64
vdsm-gluster-4.14.7.3-1.el6rhs.noarch
gluster-nagios-common-0.1.4-1.el6rhs.noarch
glusterfs-libs-3.6.0.42-1.el6rhs.x86_64
glusterfs-fuse-3.6.0.42-1.el6rhs.x86_64
gluster-nagios-addons-0.1.14-1.el6rhs.x86_64

We need to repeat the same steps on all the other nodes. Once it has been successfully done on other nodes we can start the volume.

I am able to start the volume as well.

[root@Node1 ~]# gluster vol start vol1
volume start: vol1: success

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s