may be you can check int he Admin UI --> Cloud --> Tree --> /live_nodes. To see the list of live nodes before running. If it is less than what you expected, check the Zoo keeper logs? or make sure connectivity between the shards and zookeeper.
On Thu, Mar 29, 2018 at 10:25 AM, Abhi Basu <9000r...@gmail.com> wrote: > What am I missing? I used the following instructions > http://blog.thedigitalgroup.com/susheelk/2015/08/03/ > solrcloud-2-nodes-solr-1-node-zk-setup/#comment-4321 > on 4 nodes. The only difference is I have 3 external zk servers. So this > is how I am starting each solr node: > > ./bin/solr start -cloud -s /usr/local/bin/solr-7.2.1/server/solr/node1/ -p > 8983 -z zk0-esohad,zk1-esohad,zk3-esohad:2181 -m 8g > > They all run without any errors, but when trying to create a collection > with 2S/2R, I get an error saying only one node is running. > > ./server/scripts/cloud-scripts/zkcli.sh -zkhost > zk0-esohad,zk1-esohad,zk3-esohad:2181 -cmd upconfig -confname > ems-collection -confdir > /usr/local/bin/solr-7.2.1/server/solr/configsets/ems- > collection-72_configs/conf > > > "Operation create caused > exception:":"org.apache.solr.common.SolrException:org.apache.solr.common. > SolrException: > Cannot create collection ems-collection. Value of maxShardsPerNode is 1, > and the number of nodes currently live or live and part of your > createNodeSet is 1. This allows a maximum of 1 to be created. Value of > numShards is 2, value of nrtReplicas is 2, value of tlogReplicas is 0 and > value of pullReplicas is 0. This requires 4 shards to be created (higher > than the allowed number)", > > > Any ideas? > > Thanks, > > Abhi > > -- > Abhi Basu >