[ 
https://issues.apache.org/jira/browse/SOLR-3460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410465#comment-13410465
 ] 

Mark Miller edited comment on SOLR-3460 at 7/10/12 4:11 PM:
------------------------------------------------------------

I've added example/cloud-scripts

In that is zkcli.bat and zkcli.sh - both of which allow you to pass cmd line 
params.

{noformat}
usage: ZkCLI
 -c,--collection <arg>   for linkconfig: name of the collection
 -cmd <arg>              cmd to run: bootstrap, upconfig, downconfig, 
linkconfig,
                         makepath, clear
 -d,--confdir <arg>      for upconfig: a directory of configuration files
 -h,--help               bring up this help page
 -n,--confname <arg>     for upconfig, linkconfig: name of the config set
 -r,--runzk <arg>        run zk internally by passing the solr run port -
                         only for clusters on one machine (tests, dev)
 -s,--solrhome <arg>     for bootstrap, runzk: solrhome location
 -z,--zkhost <arg>       ZooKeeper host address
{noformat}
                
      was (Author: markrmil...@gmail.com):
    I've added example/cloud-scripts

In that is zkcli.bat and zkcli.sh - both of which allow you to pass cmd line 
params.

{noformat}
usage: ZkCLI
 -c,--collection <arg>   for linkconfig: name of the collection
 -cmd <arg>              cmd to run: bootstrap, upconfig, downconfig, 
linkconfig,
                         clear
 -d,--confdir <arg>      for upconfig: a directory of configuration files
 -h,--help               bring up this help page
 -n,--confname <arg>     for upconfig, linkconfig: name of the config set
 -r,--runzk <arg>        run zk internally by passing the solr run port -
                         only for clusters on one machine (tests, dev)
 -s,--solrhome <arg>     for bootstrap, runzk: solrhome location
 -z,--zkhost <arg>       ZooKeeper host address
{noformat}
                  
> Improve cmd line config bootstrap tool.
> ---------------------------------------
>
>                 Key: SOLR-3460
>                 URL: https://issues.apache.org/jira/browse/SOLR-3460
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>         Attachments: SOLR-3460.patch, SOLR-3460.patch
>
>
> Improve cmd line tool for bootstrapping config sets. Rather than take a 
> config set name and directory, make it work like -Dboostrap_conf=true and 
> read solr.xml to find config sets. Config sets will be named after the 
> collection and auto linked to the identically named collection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to