[ 
https://issues.apache.org/jira/browse/SOLR-6734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506261#comment-16506261
 ] 

Shawn Heisey commented on SOLR-6734:
------------------------------------

bq. If you want the agent process (service) to be able to do e.g. a 
cluster-wide shutdown or rolling restart, would it not then need to listen to 
commands from the network?

I did think about this, although admittedly it didn't occur to me early on.

As I thought about your question just now, I was initially thinking about 
having that use the Solr API.  But then I thought of something where it 
wouldn't work.  Communicating cluster-wide operations through the Solr API 
would work for shutdown or restart.  But if a full shutdown were executed, it 
would not be possible for one agent to start the whole cluster back up.  Also, 
if a Solr node died, only the agent on that machine would be able to start it 
back up.

So the answer to your question is yes, it must be able to listen to commands 
from the network.  If we use a symmetrical cipher with the authentication 
password as a pre-shared key, that should take care of encryption and 
authentication in one step. without having to worry about keystores.

And speaking of keystores ... when things progress to that point, I have a few 
thoughts about making life easier for users who want Solr to use https.


> Standalone solr as *two* applications -- Solr and a controlling agent
> ---------------------------------------------------------------------
>
>                 Key: SOLR-6734
>                 URL: https://issues.apache.org/jira/browse/SOLR-6734
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Shawn Heisey
>            Priority: Major
>
> In a message to the dev list outlining reasons to switch from a webapp to a 
> standalone app, Mark Miller included the idea of making Solr into two 
> applications, rather than just one.  There would be Solr itself, and an agent 
> to control Solr.
> http://mail-archives.apache.org/mod_mbox/lucene-dev/201305.mbox/%3C807476C6-E4C3-4E7E-9F67-2BECB63990DE%40gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to