Thanks for the response. It's interesting because when I run jconsole all I can see is one ReplicationHandler jmx mbean. It looks like it is defaulting to the first slice it finds on its path. Is there anyway to have multiple replication handlers or at least obtain replication on a per "slice"/"instance" via JMX like how you can see attributes for each "slice"/"instance" via each replication admin jsp page?
Thanks again. > From: noble.p...@corp.aol.com > Date: Wed, 26 Aug 2009 11:05:34 +0530 > Subject: Re: Solr Replication > To: solr-user@lucene.apache.org > > The ReplicationHandler is not enforced as a singleton , but for all > practical purposes it is a singleton for one core. > > If an instance (a slice as you say) is setup as a repeater, It can > act as both a master and slave > > in the repeater the configuration should be as follows > > MASTER > |_____________SLAVE (I am a slave of MASTER) > | > REPEATER (I am a slave of MASTER and master to my slaves ) > | > | > REPEATER_SLAVE( of REPEATER) > > > the point is that REPEATER will have a slave section has a masterUrl > which points to master and REPEATER_SLAVE will have a slave section > which has a masterurl pointing to repeater > > > > > > > On Wed, Aug 26, 2009 at 12:40 AM, J G<skinny_joe...@hotmail.com> wrote: > > > > Hello, > > > > We are running multiple slices in our environment. I have enabled JMX and I > > am inspecting the replication handler mbean to obtain some information > > about the master/slave configuration for replication. Is the replication > > handler mbean a singleton? I only see one mbean for the entire server and > > it's picking an arbitrary slice to report on. So I'm curious if every slice > > gets its own replication handler mbean? This is important because I have no > > way of knowing in this specific server any information about the other > > slices, in particular, information about the master/slave value for the > > other slices. > > > > Reading through the Solr 1.4 replication strategy, I saw that a slice can > > be configured to be a master and a slave, i.e. a repeater. I'm wondering > > how repeaters work because let's say I have a slice named 'A' and the > > master is on server 1 and the slave is on server 2 then how are these two > > servers communicating to replicate? Looking at the jmx information I have > > in the MBean both the isSlave and isMaster is set to true for my repeater > > so how does this solr slice know if it's the master or slave? I'm a bit > > confused. > > > > Thanks. > > > > > > > > > > _________________________________________________________________ > > With Windows Live, you can organize, edit, and share your photos. > > http://www.windowslive.com/Desktop/PhotoGallery > > > > -- > ----------------------------------------------------- > Noble Paul | Principal Engineer| AOL | http://aol.com _________________________________________________________________ Hotmail® is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009