couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerardo Di Iorio <aret...@gmail.com>
Subject Re: How to setup an master - slave enviroment
Date Thu, 12 Jan 2012 12:22:43 GMT
thanks, for reply....
couchdb with multimaster replication is very very good.

regards
Gerardo Di Iorio

2012/1/12 Robert Newson <rnewson@apache.org>

> Master/Slave is a fine setup, why not? :) Just because couchdb can do
> multi-master doesn't mean you have to.
>
> To answer the original question, you need to start replication jobs
> from your master to your slaves. See
> http://wiki.apache.org/couchdb/Replication for details.
>
> As to why you've configured your proxy to direct requests to your
> slaves and also wonder how to stop requests reaching your slaves, I
> cannot answer.
>
> B.
>
> On 12 January 2012 11:08, Daniel Bryan <danbryan@gmail.com> wrote:
> > What's the reason for this? You have one-way replication set up between
> the
> > master and slaves, I assume. Why don't you want the slaves to accept
> write
> > operations?
> >
> > Perhaps your application could simply use a different subdomain or path
> for
> > create/update/delete operations, and your slaves could have a different
> > username and password set up for the admin just in case some writes
> arrive?
> > Master/slave dichotomy doesn't really fit the Couch philosophy, though ..
> > don't you want to Relax?
> > On Jan 12, 2012 8:24 PM, "Gerardo Di Iorio" <arete74@gmail.com> wrote:
> >
> >> Hi,
> >> I have create an couchapp, and now i setup
> >> an enviroment with an master and two slave.
> >> I have setup with ngnix an reverse proxy balance for the two slave.
> >> How to setup the the enviroment for update o insert document only on
> >> master???
> >>
> >> Regards
> >> Gerardo Di Iorio
> >>
> >> --
> >> http://gerardodiiorio.blogspot.com/ <http://www.gerardodiiorio.com>
> >> Lo scopo del lavoro è quello di guadagnarsi il tempo libero
>  (Aristotele)
> >> The purpose of the job is to gain leisure  (Aristotele)
> >>
>



-- 
http://gerardodiiorio.blogspot.com/ <http://www.gerardodiiorio.com>
Lo scopo del lavoro è quello di guadagnarsi il tempo libero  (Aristotele)
The purpose of the job is to gain leisure  (Aristotele)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message