On a quick pass this looks okay - especially if it works on the same host. Seems odd you would get a 404 with the zk link - without more info I don't know what is up with that, but perhaps when Solr tries to determine the local machines address, it's not finding what you want? We use localHost = "http://" + InetAddress.getLocalHost().getHostName(); by default.
You can override it by settings host= in solr.xml on solr/cores. If you want to use a system property instead, host=${nameOfSysProp} - Mark On Oct 16, 2011, at 8:27 PM, prakash wrote: > start master node in host-1 (dot) > dot> java -Dbootstrap_confdir=./solr/conf -Dcollection.configName=myconf > -DzkRun -jar start.jar > > start another node in host-2 (megatron) > megatron> java -Djetty.port=8000 -DhostPort=8000 -DzkHost=dot:8983 -jar > start.jar > > added ipod_video.xml file to dot > dot> java -Durl=http://localhost:8983/solr/collection1/update -jar post.jar > ipod_video.xml > > added mem.xml file to megatron > megatron> java -Durl=http://localhost:8000/solr/collection1/update -jar > post.jar mem.xml > > now when i search for contents in dot, i m not getting contents from > megatron (and vice-versa) > > but the same kind of setup worked well within same host and with different > ports (eg: dot:8983 and dot:8000) > > Am i missing something in this setup ?? > > and > > How to check the status of nodes ?? (zoo-keeper link says : HTTP ERROR 404) > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-CLOUD-IN-TWO-DIFFERENT-HOSTS-tp3426396p3426396.html > Sent from the Solr - User mailing list archive at Nabble.com. - Mark Miller lucidimagination.com 2011.lucene-eurocon.org | Oct 17-20 | Barcelona