Re: Dinamically change master

2010-12-02 Thread Tommaso Teofili
Back with my master resiliency need, talking with Upayavira we discovered we were proposing the same solution :-) This can be useful if you don't have a VIP with master/backup polling policy. It goes like this: there are 2 host for indexing, one is the main and one is the backup one, the backup one

Re: Dinamically change master

2010-12-01 Thread Tommaso Teofili
Thanks Upayavira, that sounds very good. p.s.: I read that page some weeks ago and didn't get back to check on it. 2010/12/1 Upayavira > Note, all extracted from http://wiki.apache.org/solr/SolrReplication > > You'd put: > > > > >startup >commit > > > > into e

Re: Dinamically change master

2010-12-01 Thread Upayavira
Note, all extracted from http://wiki.apache.org/solr/SolrReplication You'd put: startup commit into every box you want to be able to act as a master, then use: http://slave_host:port/solr/replication?command=fetchindex&masterUrl= As the above page says bett

Re: Dinamically change master

2010-11-30 Thread Tommaso Teofili
Hi Upayavira, this is a good start for solving my problem, can you please tell how does such a replication URL look like? Thanks, Tommaso 2010/12/1 Upayavira > Hi Tommaso, > > I believe you can tell each server to act as a master (which means it > can have its indexes pulled from it). > > You ca

Re: Dinamically change master

2010-11-30 Thread Upayavira
Hi Tommaso, I believe you can tell each server to act as a master (which means it can have its indexes pulled from it). You can then include the master hostname in the URL that triggers a replication process. Thus, if you triggered replication from outside solr, you'd have control over which mast

Re: Dinamically change master

2010-11-30 Thread Tommaso Teofili
Hi, Thanks Jacob and Ken for your replies. I am not able to change project architecture to add Lucandra even if it looks like a nice solution. Going the VIP way can definitely an option even if I'd be more keen to solve that "inside" Solr. I am thinking to try and play with Collection Distribution

Re: Dinamically change master

2010-11-30 Thread Ken Krugler
Hi Tommaso, On Nov 30, 2010, at 7:41am, Tommaso Teofili wrote: Hi all, in a replication environment if the host where the master is running goes down for some reason, is there a way to communicate to the slaves to point to a different (backup) master without manually changing configurati

Re: Dinamically change master

2010-11-30 Thread Jacob Elder
Your best bet might be to look into Lucandra: https://github.com/tjake/Lucandra On Tue, Nov 30, 2010 at 10:41 AM, Tommaso Teofili wrote: > Hi all, > > in a replication environment if the host where the master is running goes > down for some reason, is there a way to communicate to the slaves to

Dinamically change master

2010-11-30 Thread Tommaso Teofili
Hi all, in a replication environment if the host where the master is running goes down for some reason, is there a way to communicate to the slaves to point to a different (backup) master without manually changing configuration (and restarting the slaves or their cores)? Basically I'd like to be