If you have one collection you just need to define hostnames of Zookeeper ensembles and run that command once.
2013/7/11 Zhang, Lisheng <lisheng.zh...@broadvision.com> > Hi, > > We are testing solr 4.3.0 in Tomcat (considering upgrading solr 3.6.1 to > 4.3.0), in WIKI page > for solrCloud in Tomcat: > > http://wiki.apache.org/solr/SolrCloudTomcat > > we need to link each collection explicitly: > > /// > 8) Link uploaded config with target collection > java -classpath .:/home/myuser/solr-war-lib/* org.apache.solr.cloud.ZkCLI > -cmd linkconfig -collection mycollection -confname ... > /// > > But our application has many cores (a few thousands which all share same > schema/config, > is there a moe convenient way ? > > Thanks very much for helps, Lisheng >