Hi there,

I am encountering an issue whereby I am facing a timeout when attempting to 
create a collection in SolrCloud by linking it to an existing configuration 
called sitecore_common_configs uploaded to the Zookeeper cluster.

E:\solr-5.3.0\bin>solr.cmd create_collection -c sitecore_core_index -n sitecore_
common_configs -shards 1 -replicationFactor 3

Connecting to ZooKeeper at 10.0.0.4:2181,10.0.0.5:2182,10.0.0.6:2183 ...
Re-using existing configuration directory sitecore_common_configs

Creating new collection 'sitecore_core_index' using command:
http://localhost:8983/solr/admin/collections?action=CREATE&name=sitecore_core_in
dex&numShards=1&replicationFactor=3&maxShardsPerNode=2&collection.configName=sit
ecore_common_configs

ERROR: Failed to create collection 'sitecore_core_index' due to: create the coll
ection time out:180s

I have setup a Solr Cluster in Azure. Currently, I have setup three VMs with 
one Solr 5.3.0 instance and one Zookeeper instance in each VM for minimal HA. I 
can verify that a quorum is now setup between all (3) VMs with 1 leader and 2 
followers. Addiitionally, I can also see the uploaded configurations 
(sitecore_common_configs/conf/solrconfig.xml, 
sitecore_common_configs/conf/schema.xml, 
sitecore_common_configs/conf/currency.xml, 
sitecore_common_configs/conf/synonyms.txt etc.) by running the following on 
each server:

zkcli.bat -z 10.0.0.4:2181 -cmd list
zkcli.bat -z 10.0.0.5:2182 -cmd list
zkcli.bat -z 10.0.0.6:2183 -cmd list

When attempting to run the create_collection command as above, I get the 
timeout issue. Anyone able to share?

Regards,
Adrian

Reply via email to