On 11/14/2018 7:58 AM, cristian.tiu...@gmail.com wrote:
I want to have 3 different solr instances on the same server.
1 - Master
2 - Slave

Why do you want multiple Solr instances on the same server?

If this is to mock up an install that will have the different instances on separate servers in production, then that your plan makes sense.  For most other purposes, it won't make sense.  Solr will be more efficient running everything under a single instance, unless the heap requirements for a single instance would be extremely large.

Separately from whether it's a good idea, here's how you would do it:

On Windows systems, you would just need to copy the information extracted from the download archive to multiple places, configure each one to be what you need, and then start Solr on each one with a different port.  You could use something like NSSM to turn each one into a service.

For non-Windows systems (Linux, Solaris, and LOTS of others), you would run the service installer multiple times, choosing a different port and service name for each one.

Thanks,
Shawn

Reply via email to