Discussion:
solr, multiple ports
David Hastings
2018-09-12 15:03:50 UTC
Permalink
is there a way to start the default solr installation on more than one
port? Only thing I could find was adding another connector to Jetty, via
https://stackoverflow.com/questions/6905098/how-to-configure-jetty-to-listen-to-multiple-ports

however the default solr start command takes the -p parameter, can this
start listening on multiple ports?

-Thanks, David
Christopher Schultz
2018-09-12 16:15:25 UTC
Permalink
David,
Post by David Hastings
is there a way to start the default solr installation on more than
one port? Only thing I could find was adding another connector to
Jetty, via
https://stackoverflow.com/questions/6905098/how-to-configure-jetty-to-
listen-to-multiple-ports
Post by David Hastings
however the default solr start command takes the -p parameter, can
this start listening on multiple ports?
What's your use-case?

- -chris
David Hastings
2018-09-12 16:21:33 UTC
Permalink
Use case is we are upgrading our servers, and have been running solr 5 and 7 side by side on the same machines to make sure we got 7 to reflect the results of our current install. However to finally make the switch, it would require changing many many scripts and servers that have already been modified to use both servers

On Sep 12, 2018, at 12:15 PM, Christopher Schultz <***@christopherschultz.net<mailto:***@christopherschultz.net>> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David,

On 9/12/18 11:03 AM, David Hastings wrote:
is there a way to start the default solr installation on more than
one port? Only thing I could find was adding another connector to
Jetty, via
https://stackoverflow.com/questions/6905098/how-to-configure-jetty-to-
listen-to-multiple-ports

however the default solr start command takes the -p parameter, can
this start listening on multiple ports?

What's your use-case?

- -chris
Christopher Schultz
2018-09-12 16:28:24 UTC
Permalink
David,
Post by David Hastings
Post by David Hastings
On Sep 12, 2018, at 12:15 PM, Christopher Schultz
David,
Post by David Hastings
is there a way to start the default solr installation on more
than one port? Only thing I could find was adding another
connector to Jetty, via
https://stackoverflow.com/questions/6905098/how-to-configure-jetty-to-li
sten-to-multiple-ports
Post by David Hastings
Post by David Hastings
Post by David Hastings
however the default solr start command takes the -p parameter,
can this start listening on multiple ports?>>
What's your use-case?
Use case is we are upgrading our servers, and have been running
solr 5 and 7 side by side on the same machines to make sure we got
7 to reflect the results of our current install. However to finally
make the switch, it would require changing many many scripts and
servers that have already been modified to use both servers
Can you configure your servers to redirect port X -> port Y?

This is trivial using iptables, but you didn't mention your
environment. What OS, etc. are you using?

- -chris

Loading...