Re: gluster 3.0.4 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Vijay Bellur wrote:


On Mon, Mar 13, 2017 at 1:36 PM, Deyan <dchepishev@xxxxxxxxx> wrote:
Hello,

I have one server, running CentOS5 and gluster 3.0.4

Now obviously I need to upgrade to newer version of both, OS and gluster.

I plan to use CentOS7, but my question is, what is the best way to upgrade the current cluster to gluster 3.10

I am using only DHT with 7 bricks and single volume

What is the best upgrade path ?


This is a rather difficult process considering that a lot of things have changed between 3.0 and now.

The recommended approach would be to copy over data from the old volume (running 3.0) to a new volume (with 3.10) if you can.


I considered this option too, but there are the following issues:

We assume that I install one new machine with CentOS7 and start copying the data from CentOS5

1. Gluster 3.0.4 just does not work on CentOS7, it just crashes, and I need it in order to copy the data
2. This is damn slow and I doubt it will copy all the files, because I found some weird behavior in 3.0.4 which for some reason does not show all the files despite the fact that you can access them, ls or find just doest not show them.




I tried on a test machine, to install newer version of gluster (3.7) and created the volume with "volume create" and using the same bricks and it looks like the files are visible, but since this is only a test set of files, I am not actually sure, that this is the right thing to do.

Can someone give me some recommendation what is best thing to do?

Do you have more details on the volume files used with 3.0? Have you figured out the right volume type that you would need to use with "volume create"?

The volumes in 3.0 are created manually by me. I am pretty familiar with them.
When I created the volumes with the newer version,  which used the same test bricks as 3.0 I used the following command:

gluster volume create testvolume 10.15.236.249:/exportdir1 10.15.236.249:/exportdir2 10.15.236.249:/exportdir3 10.15.236.249:/exportdir4 10.15.236.249:/exportdir5 10.15.236.249:/exportdir6  10.15.236.249:/exportdir7 force


I took a look at the new volume config files created from gluster 3.7 and they are quite similar to the ones manually created by me for 3.0.4.

It also looks like working when trying to access 100k test files created under 3.0.4. However I can not be 100% sure that this will be ok with production data, that is why I am asking for suggestions.

Thank you.

Regards,
Deyan

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux