epugh commented on PR #2391:
URL: https://github.com/apache/solr/pull/2391#issuecomment-3399599885

   @gerlowskija I took a stab at getting in the use of the solr roles to 
determine if we hsould run embedded zk quorum mode, and it worked!  Here is my 
start script, where each runs with `-f` so you need three terminals.  Omit the 
`-f` and you don't need the seperate terminals.  
   
   ```
   mkdir -p ./three_nodes/node1/solr
   mkdir -p ./three_nodes/node2/solr
   mkdir -p ./three_nodes/node3/solr
   
   SOLR_SECURITY_MANAGER_ENABLED=false bin/solr start -f -p 8983 --solr-home 
"./three_nodes/node1/solr" -z localhost:9983,localhost:9984,localhost:9985 
-Dsolr.node.roles=data:on,overseer:allowed,zookeeper_quorum:on
   SOLR_SECURITY_MANAGER_ENABLED=false bin/solr start -f -p 8984 --solr-home 
"./three_nodes/node2/solr" -z localhost:9983,localhost:9984,localhost:9985 
-Dsolr.node.roles=data:on,overseer:allowed,zookeeper_quorum:on
   SOLR_SECURITY_MANAGER_ENABLED=false bin/solr start -f -p 8985 --solr-home 
"./three_nodes/node3/solr" -z localhost:9983,localhost:9984,localhost:9985 
-Dsolr.node.roles=data:on,overseer:allowed,zookeeper_quorum:on
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to