rd1
2.>shard2
both of shard will be point to solr1(server) and solr2 respectively.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Setting-up-Solr-on-multiple-machines-tp4242343p4242681.html
Sent from the Solr - User mailing list archive at Nabble.com.
Also I am interested in knowing how to create a collection where the
replica and the same shard do not reside on the same machine. So,
basically, shard1 with replica2 in one machine and shard2 with replica1 on
the other machine. Is that by default when creating a collection of 2
shards and 2 replic
Connecting to one Zookeeper node is fine. Until that node fails. Then what does
Solr do for cluster information?
The entire point of Zookeeper is to share that information in a reliable,
fault-tolerant way. Solr can talk to any Zookeeper node and get the same
information.
wunder
Walter Underwo
Correct me if I am wrong but my understanding is that even connecting to
one zookeeper should be enough as internally that zookeeper will sync Solr
server info to other zookeepers in the ensemble (as long as that zookeeper
belongs to an ensemble). Having said that, if that particular zookeeper
goes
Why would that link answer the question?
Each Solr connects to one Zookeeper node. If that node goes down, Zookeeper is
still available, but the node will need to connect to a new node.
Specifying only one zk node is a single point of failure. If that node goes
down, Solr cannot continue opera
This should answer your question:
https://zookeeper.apache.org/doc/r3.2.2/zookeeperOver.html#sc_designGoals
On 11/29/15, 12:04 PM, "Salman Ansari" wrote:
>my point is that what is the exact difference between the whole list and
>one zookeeper? Moreover, I think this issue is related to Windo
my point is that what is the exact difference between the whole list and
one zookeeper? Moreover, I think this issue is related to Windows command
as mentioned here
http://stackoverflow.com/questions/28837827/solr-5-0-unable-to-start-solr-with-zookeeper-ensemble
On Sun, Nov 29, 2015 at 10:55 PM,
It is highly recommended to list all, but for testing, you might be able to get
away giving only one.
If the list doesn’t work, then you might even want to look into zookeeper and
see whether they are setup properly.
Bosco
On 11/29/15, 11:51 AM, "Salman Ansari" wrote:
>but the point is:
but the point is: do I really need to list all the zookeepers in the
ensemble when starting solr or I can just specify one of them?
On Sun, Nov 29, 2015 at 10:45 PM, Don Bosco Durai wrote:
> You might want to check the logs for why solr is not starting up.
>
>
> Bosco
>
>
> On 11/29/15, 11:30 AM
You might want to check the logs for why solr is not starting up.
Bosco
On 11/29/15, 11:30 AM, "Salman Ansari" wrote:
>Thanks for your reply.
>
>
>
>Actually I am following the official guide to start solr using (on Windows
>machines)
>
>
>
>bin/solr start -e cloud -z zk1:2181,zk2:2182,zk3:2
Thanks for your reply.
Actually I am following the official guide to start solr using (on Windows
machines)
bin/solr start -e cloud -z zk1:2181,zk2:2182,zk3:2183
(it is listed here
https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble
)
However, I am f
For 2a, assuming you want to tell Solr where to store the local indexes, in
SolrCloud I have generally updated the solr.in.sh for the variable
SOLR_HOME=. Make sure solr.xml is in that folder and optionally zoo.cfg.
For 2b, as Erick mentioned, you need all three params. Solr by default will
exp
1> I'll pass
2a> yes.
2b> This should be automatic when you create the collection. You
should specify numShards=2, replicationFactor=2 and
maxShardsPerNode=2. Solr tries hard to distribute the shards and
replicas on different machines.
If you _really_ require exact placement, you can specify
I have started with one Zookeeper to test things and I have the following
questions
1) In my zoo.cfg I have defined
tickTime=4000
dataDir=C:\\Solr\\Zookeeper\\zookeeper-3.4.6\\data
clientPort=2183
the strange thing is that it picks up dataDir and clientPort but always
keeps tickTime = 3000. Any i
Yes, the ZooKeeper is Windows compatible.
You can follow the guide, just need to replace the Linux commands with the
Windows commands and paths
Regards,
Edwin
On 26 November 2015 at 20:56, Alessandro Benedetti
wrote:
> I think it should be straightforward following the Solr wiki :
>
>
> https
I think it should be straightforward following the Solr wiki :
https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble
I never played much in details with zookeeper ( never tried on a windows
machine), but I assume it is windows compatible ( I can see binaries .
Hi,
I have seen the guide of setting up Solr on one machine as well as setting
it up on multiple machines on Liunx. Is there a good guide of how to setup
Solr on multiple machines on Windows Server with Zookeeper ensemble? My
structure is as follows
1) 3 machines will have Zookeeper to create an
17 matches
Mail list logo