A couple of comments about your deployment architecture too. You'll need to
change the zoo.cfg to make the Zookeeper ensemble work with two instances
as you are trying to do, have you? The example configuration with the
zoo.cfg is intended for a single ZK instance as described in the SolrCloud
example. That said, really a two instances ZK ensemble as the one you are
intending to have doesn't make much sense, if ANY of your Solr servers
break (which as you are running embedded, ZK will also stop), the whole
cluster will be useless until you start the server again.

Tomás


On Fri, Mar 8, 2013 at 12:26 PM, Shawn Heisey <s...@elyograg.org> wrote:

> On 3/8/2013 7:37 AM, roySolr wrote:
>
>> java -Djetty.port=4110 -DzkRun=10.100.10.101:5110
>> -DzkHost=10.100.10.101:5110,10**.100.10.102:5120<http://10.100.10.102:5120>-Dbootstrap_conf=true
>> -DnumShards=1 -Xmx1024M -Xms512M -jar start.jar
>>
>> It runs Solr on port 4110, the embedded zk on 5110.
>>
>> The -DzkHost gives the urls of the localhost zk(5110) and the url of the
>> other server(zk port). When i try to start this it give the error: "port
>> out
>> of range:-1".
>>
>
> The full log line, ideally with several lines above and below for context,
> is going to be crucial for figuring this out.  Also, the contents of your
> solr.xml file may be important.
>
> Thanks,
> Shawn
>
>

Reply via email to