On Sun, 19 Dec 2010 10:20 -0800, "Tri Nguyen" <tringuye...@yahoo.com> wrote: > How do we tell the slaves to point to the new master without modifying > the config files? Can we do this while the slave is up, issuing a > command to it?
I believe this can be done (details are in http://wiki.apache.org/solr/SolrReplication), but I've not actually done it. Upayavira > --- On Sun, 12/19/10, Upayavira <u...@odoko.co.uk> wrote: > > > From: Upayavira <u...@odoko.co.uk> > Subject: Re: master master, repeaters > To: solr-user@lucene.apache.org > Date: Sunday, December 19, 2010, 10:13 AM > > > We had a (short) thread on this late last week. > > Solr doesn't support automatic failover of the master, at least in > 1.4.1. I've been discussing with my colleague (Tommaso) about ways to > achieve this. > > There's ways we could 'fake it', scripting the following: > > * set up a 'backup' master, as a replica of the actual master > * monitor the master for 'up-ness' > * if it fails: > * tell the master to start indexing to the backup instead > * tell the slave(s) to connect to a different master (the backup) > * then, when the master is back: > * wipe its index (backing up dir first?) > * configure it to be a backup of the new master > * make it pull a fresh index over > > But, Jan Høydahl suggested using SolrCloud. I'm going to follow up on > how that might work in that thread. > > Upayavira > > > On Sun, 19 Dec 2010 00:20 -0800, "Tri Nguyen" <tringuye...@yahoo.com> > wrote: > > Hi, > > > > In the master-slave configuration, I'm trying to figure out how to > > configure the > > system setup for master failover. > > > > Does solr support master-master setup? From my readings, solr does not. > > > > I've read about repeaters as well where the slave can act as a master. > > When the > > main master goes down, do the other slaves switch to the repeater? > > > > Barring better solutions, I'm thinking about putting 2 masters behind a > > load > > balancer. > > > > If this is not implemented already, perhaps solr can be updated to > > support a > > list of masters for fault tolerance. > > > > Tri >