Ravishankar N
2016-Feb-25 05:07 UTC
[Gluster-users] Replicated Volume (mirror) on 17 nodes.
On 02/25/2016 03:09 AM, Simone Taliercio wrote:> Hi all :) > > I would need soon to create a pool of 17 nodes. Each node requires a > copy of the same file "locally" so that can be accessed from the > deployed application. > > * Do you see any performance issue in creating a Replica Set on 17 > nodes ? Any best practice that I should follow ? > > * An other question: in case there's no problem then on this line > > gluster volume create gv0 replica* 2* server1:/data/brick1/gv0 > server2:/data/brick1/gv0 > > do i need to provide 17 instead of 2 ?I don't know what your use case is but I don't think you want to create so many replicas. Why not just create a glusterfs volume of replica-2 or replica-3 or even an arbiter volume, and mount them on all 17 nodes? I think replica 4 is what some people in the community have used at the max but even that is an overkill IMO. Regards, Ravi> > Sorry for my basic questions. > > Thanks a lot for your support! > > Simone > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160225/72eeb777/attachment.html>
Simone Taliercio
2016-Feb-25 06:12 UTC
[Gluster-users] Replicated Volume (mirror) on 17 nodes.
Hi Ravi, Thanks a lot for your prompt reply! 2016-02-25 6:07 GMT+01:00 Ravishankar N <ravishankar at redhat.com>:> I don't know what your use case is but I don't think you want to create so many replicas.I need to scale my application on multiple nodes because we have to tackle an high number of requests per second. The application is hosted on AWS EC2 instances and each one uses EBS. Each instance needs to read some local files. That's why I'm currently replicating all the files on each instance. So far I had max 3 nodes.> Why not just create a glusterfs volume of replica-2 or replica-3 or even an arbiter volume, and mount them on all 17 nodes?Here I'm definitely missing some basics (sorry for that): what are the steps to set-up 3-replicas (+1 arbiter) but still allow all 17 nodes to retrieve the files ? Are they transferred on demands over the network ? So far I followed those steps: - mount an empty "hard disk" to the instance - format it in xfs - create directory for one brick - add peers - create 1 volume with "... replica 3 <host1:brick> <host2:brick>...." - mount the volume on a specific path And then I can see one file that is created on one machine being replicated on all the others. I have a limited vision at this use case :-/> > I think replica 4 is what some people in the community have used at the max but even that is an overkill IMO.Help :) Thanks, Simone> > Regards, > Ravi > > > >