On 3/29/2016 1:58 AM, Victor D'agostino wrote: > Thanks for your help, here is what I've done. > > 1. I deleted zookeepers and Solr installations. > 2. I setup zookeepers on my two servers. > 3. I successfully setup Solr Cloud node 1 with the same API call (1 > collection named db and two cores) : > wget --no-proxy > "http://$HOSTNAME:8983/solr/admin/collections?numShards=2&collection.configName=copiemail3&route.name=compositeId&maxShardsPerNode=2&router.field=mail_id&name=db&replicationFactor=1&action=CREATE"
FYI: You can't build a redundant SolrCloud with only two physical servers. Solr itself only needs two servers for redundancy, but Zookeeper, which is essential for SolrCloud, needs three. This is documented explicitly. See the "Note" box here: http://zookeeper.apache.org/doc/r3.4.8/zookeeperStarted.html#sc_RunningReplicatedZooKeeper Thanks, Shawn