Stas Oskin
2008-Dec-27 23:14 UTC
[Gluster-users] NUFA sample volume file to the following configuration
Hi. I'm looking to run GlusterFS in NUFA approach for 2 servers in following configuration: /dev/md2 4.8G 1.1G 3.5G 25% / /dev/sda5 357G 195M 339G 1% /disk1 /dev/sdb5 357G 195M 339G 1% /disk2 /dev/sdc3 357G 195M 339G 1% /disk3 /dev/sdd3 357G 195M 339G 1% /disk4 /dev/md0 190M 12M 169M 7% /boot Where the data would be located on sda/b/c/d disks. I studied the volume file syntax, but couldn't understand how to create a file to unify all these disks into one volume. If someone could post a sample file, which does a NUFA setup for 2 servers with such disks topology + AFR between them, so I could get started with it, I'd much appreciate it. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081228/13ad907c/attachment.html>
Basavanagowda Kanur
2008-Dec-28 04:25 UTC
[Gluster-users] NUFA sample volume file to the following configuration
Stas, http://gluster.org/docs/index.php/NUFA_with_single_process will help you setup NUFA. -- gowda On Sun, Dec 28, 2008 at 4:44 AM, Stas Oskin <stas.oskin at gmail.com> wrote:> Hi. > > I'm looking to run GlusterFS in NUFA approach for 2 servers in following > configuration: > > /dev/md2 4.8G 1.1G 3.5G 25% / > /dev/sda5 357G 195M 339G 1% /disk1 > /dev/sdb5 357G 195M 339G 1% /disk2 > /dev/sdc3 357G 195M 339G 1% /disk3 > /dev/sdd3 357G 195M 339G 1% /disk4 > /dev/md0 190M 12M 169M 7% /boot > > Where the data would be located on sda/b/c/d disks. > > I studied the volume file syntax, but couldn't understand how to create a > file to unify all these disks into one volume. > > If someone could post a sample file, which does a NUFA setup for 2 servers > with such disks topology + AFR between them, so I could get started with it, > I'd much appreciate it. > > Thanks in advance. > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users > >-- hard work often pays off after time, but laziness always pays off now -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081228/213e76b9/attachment.html>
Stas Oskin
2008-Dec-29 10:25 UTC
[Gluster-users] Fwd: NUFA sample volume file to the following configuration
Hi. Can you advice regarding the below? Regards. 2008/12/28 Stas Oskin <stas.oskin at gmail.com>> Hi. > > Thanks for the link, but I already seen it. > > What I need to know, is how to include in volume the separate disk drives > that I have on the server. > Also, how to set an AFR there. > > Regards. > > > 2008/12/28 Basavanagowda Kanur <gowda at zresearch.com> > > Stas, >> http://gluster.org/docs/index.php/NUFA_with_single_process will help you >> setup NUFA. >> >> -- >> gowda >> >> On Sun, Dec 28, 2008 at 4:44 AM, Stas Oskin <stas.oskin at gmail.com> wrote: >> >>> Hi. >>> >>> I'm looking to run GlusterFS in NUFA approach for 2 servers in following >>> configuration: >>> >>> /dev/md2 4.8G 1.1G 3.5G 25% / >>> /dev/sda5 357G 195M 339G 1% /disk1 >>> /dev/sdb5 357G 195M 339G 1% /disk2 >>> /dev/sdc3 357G 195M 339G 1% /disk3 >>> /dev/sdd3 357G 195M 339G 1% /disk4 >>> /dev/md0 190M 12M 169M 7% /boot >>> >>> Where the data would be located on sda/b/c/d disks. >>> >>> I studied the volume file syntax, but couldn't understand how to create a >>> file to unify all these disks into one volume. >>> >>> If someone could post a sample file, which does a NUFA setup for 2 >>> servers with such disks topology + AFR between them, so I could get started >>> with it, I'd much appreciate it. >>> >>> Thanks in advance. >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users >>> >>> >> >> >> -- >> hard work often pays off after time, but laziness always pays off now >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081229/2e515ff5/attachment.html>
Stas Oskin
2008-Dec-29 16:09 UTC
[Gluster-users] Fwd: NUFA sample volume file to the following configuration
Actually, reviewing the option, I now understand that actually need to mount the disks and then include the mounting points in GlusterFS volume. Is this correct? 2008/12/29 Stas Oskin <stas.oskin at gmail.com>> Hi. > > Thanks a lot, I will test and adapt it to my needs. > > Just one question - "option directory /disk1" means it would work straight > from the disk, and no mounting is needed? > > Regards. > > 2008/12/29 Basavanagowda Kanur <gowda at zresearch.com> > > simple server configuration for AFR over two storage directories would look >> like this: >> volume storage-1 >> type storage/posix >> option directory /disk1 >> end-volume >> >> volume locks-1 >> type features/locks >> subvolumes storage-1 >> end-volume >> >> volume storage-2 >> type storage/posix >> option directory /disk2 >> end-volume >> >> volume locks-2 >> type features/posix-locks >> subvolumes storage-2 >> end-volume >> >> volume afr-1 >> type cluster/afr >> subvolumes locks-1 locks-2 >> end-volume >> >> volume server >> type protocol/server >> option transport-type tcp >> option auth.addr.afr-1.allow * >> subvolumes afr-1 >> end-volume >> >> volume afr-2 >> type protocol/client >> option remote-subvolume afr-2 >> option remote-host <host-ip-address> >> end-volume >> >> volume nufa >> type cluster/nufa >> option local-volume-name afr-1 >> subvolumes afr-1 afr-2 >> end-volume >> >> PS: this is a template, you need to specify ip-address & port numbers >> according to your settings. >> >> -- >> gowda >> >>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081229/a60a0837/attachment.html>