cancel
Showing results for 
Search instead for 
Did you mean: 

start master/slave node of solr

former_member66948
Participant
0 Kudos

Hi experts, I am trying to deploy master/slave nodes according to below link. https://help.hybris.com/6.4.0/hcd/8c5f54f386691014abb090e75e1cffb2.html

But i am lost.according to its comments 'Find the standalone Solr directory that is delivered with the solrfacetsearch extension out of the box: \ext-commerce\solrserver\resources\solr\server Copy the content of this directory to your's dedicated master server directory: c:\solrCluster\master'

i created a folder and copied the file.

afterwards, according to comments 'Run the Solr standalone servers. Run start.bat or start.sh in the Slave server and Master server directories. You should be able to get responses from the servers using the following URLs:' I should be able to find 'start/bat' in my master/slave node. But i could not find them.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

You start the server by running "solr" in the bin directory from the command prompt

If you have the master slave configuration and i am assuming that you are trying it in your local/same box, You might need start both in different ports

master > solr -p 8983
slave > solr -p 8984

former_member66948
Participant
0 Kudos

Hi Ajith, there is not a 'bin' folder under below path.That is why i can not start them. \ext-commerce\solrserver\resources\solr\server

0 Kudos

Try Extracting the Installable Zip file again. Bin directory is part of SOLR directory under resource in the path \hybris\bin\ext-commerce\solrserver\resources\
I have attached a screen shot for reference.
Copy the SOLR folder completely to a outside location from the above path.
Also when you extract out the SOLR outside you might want to give solrserver.instances.default.autostart=false to avoid starting the solr server with hybris server start.

former_member66948
Participant
0 Kudos

Hi,

then i think the wiki has issue it mentioned path ' \ext-commerce\solrserver\resources\solr\server'. actually it should be ' \ext-commerce\solrserver\resources\solr'.

addtional i did not find any file name 'scripts.conf ' which under folder \ext-commerce\solrserver\resources\solr' .But the wiki mentioned it. we need change scripts.conf for the port as the wiki mentioned.