building 1.4.0rc6

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

 



I got it all figured out.
I think it'll work well for a web repository, but it wouldn't work 
for a shared hosting environment.

I was hoping for something which would recognize the documentroot as 
being a gluster mountpoint and therefor serve files directly from 
gluster instead of through the filesystem interface.

I'm not sure if this is even possible, but if it is, then that would 
be very ideal and, presumably, would work for shared hosting,

but, it is easily installed and configured if one does take 3 seconds 
to read, which I clearly didn't :P



At 09:23 PM 12/30/2008, Raghavendra G wrote:
>Hi Keith,
>Please find the comments inlined.
>
>On Tue, Dec 30, 2008 at 11:38 AM, Keith Freedman 
><<mailto:freedman at freeformit.com>freedman at freeformit.com> wrote:
>is there documentation for the apache mod?
>or a sample of how to configure it in httpd.conf?
>
>
>Documentation can be found in 
>mod_glusterfs/apache/1.3/src/README.txt. We will be updating the 
>documentation for 2.2 shortly, though there is not much difference 
>in installation procedure b/w 1.3 and 2.2.
>
>'make install' does not install the mod_glusterfs.so into apache 
>modules directory. Instead it prints the apxs command along with its 
>arguments on the screen. All you need to do is to copy the command 
>and execute it.
>
>
>
>also, make install doesn't install it to the apache directory, which
>I suppose is fine, but I had to search for the thing which, for a
>lazy person such as myself, is undesirable :)
>
>At 10:59 PM 12/29/2008, Harshavardhana Ranganath wrote:
> >Hi Stas,
> >
> >     mod_glusterfs is for checking for apache module build directly
> >with glusterfs build. But there is no lighttpd support at the moment
> >at the configure level.
> >
> >Regards
> >On 12/30/08, Stas Oskin 
> <<mailto:stas.oskin at gmail.com>stas.oskin at gmail.com> wrote:
> > > Hi.
> > >
> > > Yes, this is clear to me, as I built lighttpd modules in the past.
> > >
> > > What I'm asking about, is what the "mod_glusterfs" option means
> > in configure
> > > script?
> > >
> > > Regards.
> > >
> > > 2008/12/29 Harshavardhana Ranganath 
> <<mailto:harsha at zresearch.com>harsha at zresearch.com>
> > >
> > >> Hi Stas,
> > >>
> > >>    Seperately means not even through the configure script. You need to
> > >> copy
> > >> the lighttpd files from glusterfs directory and copy it to 
> actual lighttpd
> > >> source directory
> > >> and patch its Makefile using the *.diff provided under 
> lighttpd directory
> > >> from glusterfs
> > >> Only then you will be able to build lighttpd glusterfs module.
> > >>
> > >> Regards
> > >>
> > >> On Mon, Dec 29, 2008 at 3:54 PM, Stas Oskin 
> <<mailto:stas.oskin at gmail.com>stas.oskin at gmail.com> wrote:
> > >>
> > >>> Hi.
> > >>>
> > >>> If the lighttpd module needs to be compiled separately, what the the
> > >>> lighttpd config option does in the ./configure script?
> > >>>
> > >>> Regards.
> > >>>
> > >>> 2008/12/29 Harshavardhana Ranganath 
> <<mailto:harsha at zresearch.com>harsha at zresearch.com>
> > >>>
> > >>> Hi Stas,
> > >>>>
> > >>>>     Right now there are no such ways, you need to read the 
> README inside
> > >>>> the glusterfs lighttpd directory and copy the source files to lighttpd
> > >>>> source directory and patch the Makefile using the diff provided and
> > >>>> compile.
> > >>>> Apart from that you can build RPMS for glusterfs and get it 
> installed as
> > >>>> stated earlier . Also you need glusterfs rpms installed for lighttpd
> > >>>> module
> > >>>> of glusterfs to work as it depends on "libglusterfsclient"
> > >>>>
> > >>>> Regards
> > >>>>
> > >>>> On Sun, Dec 28, 2008 at 2:41 AM, Stas Oskin 
> <<mailto:stas.oskin at gmail.com>stas.oskin at gmail.com>wrote:
> > >>>>
> > >>>>> Hi.
> > >>>>>
> > >>>>> I'm just building my own copy of GlusterFS 1.4.0rc7 RPM. Anyone knows
> > >>>>> of
> > >>>>> a way to build the mod_glusterfs for Lighttpd via RPM?
> > >>>>>
> > >>>>> Regards.
> > >>>>>
> > >>>>> 2008/12/21 Harshavardhana Ranganath 
> <<mailto:harsha at zresearch.com>harsha at zresearch.com>
> > >>>>>
> > >>>>>>  rpmbuild -ta glusterfs-1.4.0rc6.tar.gz --without modglfs
> > >>>>>>
> > >>>>>> should work for you. Let us know if you get any issue.
> > >>>>>>
> > >>>>>> On Sun, Dec 21, 2008 at 1:14 AM, Matt Lawrence 
> <<mailto:matt.lawrence at tamu.edu>matt.lawrence at tamu.edu
> > >>>>>> > wrote:
> > >>>>>>
> > >>>>>>> Harshavardhana Ranganath wrote:
> > >>>>>>>
> > >>>>>>>> * Replies inline *
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> On Sun, Dec 21, 2008 at 1:05 AM, Matt Lawrence <
> > >>>>>>>> <mailto:matt.lawrence at tamu.edu>matt.lawrence at tamu.edu 
> <mailto:matt.lawrence at tamu.edu>> wrote:
> > >>>>>>>>
> > >>>>>>>>    Matt Lawrence wrote:
> > >>>>>>>>    > I am trying to build the latest release candidate 
> and have run
> > >>>>>>>>    into a
> > >>>>>>>>    > bit of a problem.
> > >>>>>>>>    >
> > >>>>>>>>    > When I run ./configure, I get:
> > >>>>>>>>    >
> > >>>>>>>>    > GlusterFS configure summary
> > >>>>>>>>    > ===========================
> > >>>>>>>>    > FUSE client        : no
> > >>>>>>>>    > Infiniband verbs   : no
> > >>>>>>>>    > epoll IO multiplex : yes
> > >>>>>>>>    > Berkeley-DB        : no
> > >>>>>>>>    > libglusterfsclient : yes
> > >>>>>>>>    > mod_glusterfs      : no ()
> > >>>>>>>>    > argp-standalone    : no
> > >>>>>>>>    >
> > >>>>>>>>    I'm answering my own question.  In my case, the solution was to
> > >>>>>>>> run
> > >>>>>>>>    "rpmbuild -ta glusterfs-1.4.0rc6.tar.gz", install packages to
> > >>>>>>>> satisfy
> > >>>>>>>>    dependencies and then run "rpmbuild -ta 
> glusterfs-1.4.0rc6.tar.gz
> > >>>>>>>>    --without apxs_default".
> > >>>>>>>>
> > >>>>>>>>    Minor problem when I went to install:
> > >>>>>>>>    -bash-3.2# rpm -U /usr/src/redhat/RPMS/x86_64/glusterfs-*rpm
> > >>>>>>>>    /var/tmp/rpm-tmp.71291: line 2: /apxs: No such file 
> or directory
> > >>>>>>>>    error: %post(glusterfs-1.4.0rc6-1.x86_64) scriptlet 
> failed, exit
> > >>>>>>>>    status 127
> > >>>>>>>>
> > >>>>>>>>  rpmbuild "--without apxs_default" needs to be used in conjunction
> > >>>>>>>> with "--define apxs_path /usr/local/apache"
> > >>>>>>>> if you have "apxs" installed in standard path then such 
> an option is
> > >>>>>>>> not required. Also look inside glusterfs.spec file inside tarball
> > >>>>>>>> for more
> > >>>>>>>> information on glusterfs specific rpmbuild command line parameters
> > >>>>>>>>
> > >>>>>>>
> > >>>>>>> I looked in the spec file, but I'm a novice at them.  How 
> do I build
> > >>>>>>> a
> > >>>>>>> glusterfs rpm without any apache support?
> > >>>>>>>
> > >>>>>>> -- Matt
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> --
> > >>>>>> Harshavardhana
> > >>>>>> [y4m4 on #<mailto:gluster at irc.freenode.net>gluster at irc.freenode.net]
> > >>>>>> "Samudaya TantraShilpi"
> > >>>>>> Z Research Inc - <http://www.zresearch.com>http://www.zresearch.com
> > >>>>>>
> > >>>>>>
> > >>>>>> _______________________________________________
> > >>>>>> Gluster-users mailing list
> > >>>>>> <mailto:Gluster-users at gluster.org>Gluster-users at gluster.org
> > >>>>>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> > >>>>>>
> > >>>>>>
> > >>>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> Harshavardhana
> > >>>> [y4m4 on #<mailto:gluster at irc.freenode.net>gluster at irc.freenode.net]
> > >>>> "Samudaya TantraShilpi"
> > >>>> Z Research Inc - <http://www.zresearch.com>http://www.zresearch.com
> > >>>>
> > >>>>
> > >>
> > >>
> > >> --
> > >> Harshavardhana
> > >> [y4m4 on #<mailto:gluster at irc.freenode.net>gluster at irc.freenode.net]
> > >> "Samudaya TantraShilpi"
> > >> Z Research Inc - <http://www.zresearch.com>http://www.zresearch.com
> > >>
> > >>
> > >
> >
> >
> >--
> >Harshavardhana
> >[y4m4 on #<mailto:gluster at irc.freenode.net>gluster at irc.freenode.net]
> >"Samudaya TantraShilpi"
> >Z Research Inc - <http://www.zresearch.com>http://www.zresearch.com
> >
> >_______________________________________________
> >Gluster-users mailing list
> ><mailto:Gluster-users at gluster.org>Gluster-users at gluster.org
> >http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>
>
>_______________________________________________
>Gluster-users mailing list
><mailto:Gluster-users at gluster.org>Gluster-users at gluster.org
>http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>
>
>
>
>--
>Raghavendra G




[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