i want to make a load balance and do with nfsv4 , help me !!!
slushpupie at gmail.com
Thu Sep 28 14:50:00 EDT 2006
On 9/28/06, Kanyana Phaholtap <kanyana_pha at hotmail.com> wrote:
>
> > > Dear sir,
> > >
> > > i want to make a load balance and do with nfsv4
> > > Now, I have the 4 servers that is
> > > NFSv4 1 server and
> > > The 2 client servers run a service apache
> > >
> > > I would like NFS witre file Log a connection in to the same file
> > > "access.log " into NFSV4 server
> > > as number's connection that I used send connection
> > >
> > > i can mount the 2 client to a NFS server but log is not showed the
> >same
> > > number that I just send
> > > I want to know why It's happen like this? and What should i do to solve
> >this
> > > problem?
> >
> >You are trying to have 2 clients write to the same file at the same time
> >without using locking? That isn't supported by any NFS clients. See
> >
> >http://nfs.sourceforge.net/#faq_a8
> >
> >and
> >
> >http://nfs.sourceforge.net/#faq_a9
> >
> >Either have them write the logs into different files, or modify apache
> >to use locking.
> >
> >Cheers,
> > Trond
> >
>
> Is Locking file can solve my problem ,isn't it?
> I'm not sure NFS is defult Locking, or not.
> and if not defult Locking i would like to know step to Locking File?
> Could you give any suggestion or example?
No, file locking will not solve your problem. The way Apache writes
its log files is the problem. You will need to find another solution
to your problem.
--
Jay Kline
http://www.slushpupie.com/
More information about the NFSv4
mailing list