Automate Restart Of Solr
Posted
by
Brain Buddies
on Super User
See other posts from Super User
or by Brain Buddies
Published on 2012-12-08T15:51:32Z
Indexed on
2012/12/08
23:13 UTC
Read the original article
Hit count: 149
linux
I have 3 instance of solr running
- using tomcat (in shell u will find something like -Dcatalina.base=/usr/local/apache-tomcat-6.0.35 -)
- suing tomcat_1 (in shell u will find something like -Dcatalina.base=/usr/local/apache-tomcat-6.0.35_1 -)
- using tomcat_2 (in shell u will find something like -Dcatalina.base=/usr/local/apache-tomcat-6.0.35_2 -)
Can i write a shell script which can kill the particular instance
- for 1 : kill tomcat but not tomcat_1 & tomcat_2
- for 2 : kill tomcat_1 but not tomcat & tomcat_2
- for 3 : kill tomcat_2 but not tomcat & tomcat_1
© Super User or respective owner