solr, multiple ports

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

solr, multiple ports

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

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

-Thanks, David
Reply | Threaded
Open this post in threaded view
|

Re: solr, multiple ports

Christopher Schultz
-----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
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAluZO50ACgkQHPApP6U8
pFhJIg//ZS7N9E/JlYjh6dxI9x5nOUMPw3wBMKsVo290e5HnQ+6Vx+CZYEtq/nQA
Pxh7TdyvgdD67cj+jZCWYn4a3JLoVT+MVSciIZoVIDcvMEFHgmsviUwGCEq7+xsg
WvuCPEo6IzY+yZZ33wzdr7jlv+jNbFHtrF5t9nuQk8YfNrLqwvaEVor6g6+t+R/j
2L0+UOPPzRvposLiJBUKhYedBxtWas7A05WSFHpYou9wmDhJSB6P1RfnlJSdUNVd
M1BBzJpLTGo5fFgP1zZTVns+jdo6lFTo/g/UpBvVhgv1pPTkN/6vXCTbYlhXpkhO
PxXplyX6OZfavTJUvAzDoUH44xSIuAgLi+7G2nzogXqejZPjwDj6J42jvL/v3ZXP
dz4CFas0gtY/PW9eaug/nGD7UMqCrqSMxOxBatKWnNEl6R359Zp4tRD9fmU097Vc
rmky2kjZazFNGcA0RU7F8Z/pNIbWmoVAkc08yDJ6uyqfh63PI5+CEBclHZqYcAhj
cZWoDvmZL56bT8gQ5leGxME7+QQNLm6nTV1O1l9u+HeWqhBYOlbhDFOlzPVL5cYQ
SZeaseWGamn1HtyZGJN+dZoQxB3QXlHQY9Nj837QDV9tdLlHsujJ3u7w8uJBoJF0
sILKM1oQoPNcCTjv+JbhGKu6z/eq7syVwkwE9zKTlITlcemEoY8=
=6Dnr
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: solr, multiple ports

dhastings
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 <[hidden email]<mailto:[hidden email]>> 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
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAluZO50ACgkQHPApP6U8
pFhJIg//ZS7N9E/JlYjh6dxI9x5nOUMPw3wBMKsVo290e5HnQ+6Vx+CZYEtq/nQA
Pxh7TdyvgdD67cj+jZCWYn4a3JLoVT+MVSciIZoVIDcvMEFHgmsviUwGCEq7+xsg
WvuCPEo6IzY+yZZ33wzdr7jlv+jNbFHtrF5t9nuQk8YfNrLqwvaEVor6g6+t+R/j
2L0+UOPPzRvposLiJBUKhYedBxtWas7A05WSFHpYou9wmDhJSB6P1RfnlJSdUNVd
M1BBzJpLTGo5fFgP1zZTVns+jdo6lFTo/g/UpBvVhgv1pPTkN/6vXCTbYlhXpkhO
PxXplyX6OZfavTJUvAzDoUH44xSIuAgLi+7G2nzogXqejZPjwDj6J42jvL/v3ZXP
dz4CFas0gtY/PW9eaug/nGD7UMqCrqSMxOxBatKWnNEl6R359Zp4tRD9fmU097Vc
rmky2kjZazFNGcA0RU7F8Z/pNIbWmoVAkc08yDJ6uyqfh63PI5+CEBclHZqYcAhj
cZWoDvmZL56bT8gQ5leGxME7+QQNLm6nTV1O1l9u+HeWqhBYOlbhDFOlzPVL5cYQ
SZeaseWGamn1HtyZGJN+dZoQxB3QXlHQY9Nj837QDV9tdLlHsujJ3u7w8uJBoJF0
sILKM1oQoPNcCTjv+JbhGKu6z/eq7syVwkwE9zKTlITlcemEoY8=
=6Dnr
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: solr, multiple ports

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

David,

On 9/12/18 12:21 PM, David Hastings wrote:

>> On Sep 12, 2018, at 12:15 PM, Christopher Schultz
>> <[hidden email]<mailto:[hidden email]>>
>> wrote:
>>
>> 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-li
sten-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?
>
> 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
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAluZPqgACgkQHPApP6U8
pFifoA//eDjEVraAMrtiHBcUGvMEIpNy2mCQKt0tfk2GqOvq3phO03pYta8ygJeg
UgS6c9E5Zrx7UzLF+x8ngyA+2YVvOatpRABx20k2Q8d4zq/gc2QrK+w/DwffDlV2
r3cFJkVa1k/NrDqownYAGlCvUPLUGa0JSEFnzokoh44Drn5TgRolWNqowDPitOoL
FitT97n95XhpuQrIXG1wA0nicpeBKYCLrp5HJkVVHQrLZPqkIm2FjtJZuwZN54pN
PpvBNnNIvaYfjtWxpmJ9sW2/PmwqmT4RwSmRsJUQ6H/iWFMsi1e/MCQQFWx/mOLK
4YS/yBvRaT1dRJMrzL0517zlrqdStwBh005bBeZ0+EE7DROwufYcT7hD9VBytG4y
vzgFybRA3yo5LELp2Loj2MqMvbSHNFiT290m9JgLcJRf861dGD/Luj/AYEN4qV6k
TrhlyzijKiUJmAjBIP/i8FxRNX9YkGl8QleDb4iIi5WUdPog5Enz0rw2O/l5Xie9
cz8pGj+OOEmuMLoMLBII7Crkqnmsla+hPpB2x9+lqoE0erjrngCShAiCLi9vGOJY
u6oETiGTcZjgTNnXYpZLBxZw71q4sbZhpkUIC68NJE0IIO322Vu4yreM9AaYhObq
Ak9fFrPPfgCyF7IAB6kkvWfP5eYOfK7TzTB4b9pWVN7J6owF8nA=
=+X20
-----END PGP SIGNATURE-----