Re: 3 Solr instances different ports
To add to the concerns above, running on the same machine, using the same disk, is going to be really detrimental to performance..but for a prototype its fine On Wed, Nov 14, 2018 at 4:10 PM Shawn Heisey wrote: > 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 > >
Re: 3 Solr instances different ports
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
Re: 3 Solr instances different ports
bin/solr start -help e.g. bin/solr start -z localhost:2181 -p 8981 -s example/cloud/node1/solr On Wed, Nov 14, 2018 at 7:59 AM cristian.tiu...@gmail.com wrote: > > Helloo > > I want to have 3 different solr instances on the same server. > 1 - Master > 2 - Slave > > I want to have this 3 instances also on different ports. > > How can i do this. > > Thx > > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html