lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parker Johnson <Parker_John...@gap.com>
Subject Master/Dormant Master and NFS. SimpleFSLockFactory?
Date Mon, 27 Jun 2011 23:17:27 GMT

I am trying to run through a few failure scenarios using a dual master
approach using NFS as a shared storage solution to hold the Master's
indexes.  My goal is to be able to bring up a secondary master in the case
that the primary master fails.  I have several slaves using replication to
pull indexes from the master.

I am NOT trying to do an active/active master.  I will be failing traffic
over from master to dormant master using a F5 vip.  But it does beg the
question...has anyone here done an active/active master with shared
storage?

So assuming for a moment I am doing active/dormant:

>From a few quick google searches it looks like I need to configure both
master's to use the SimpleFSLockFactory and to set "unlockOnStartup" to
true in solconfig.xml.  For those that have done this before, are there
any other settings I should be aware of?  What are the downsides to the
SimpleFSLockFactory?  Are most folks here keeping solr up and running on
both hosts at the same time, or rather just starting solr manually on the
dormant host once the primary dies?

Thanks,
Parker




Mime
View raw message