tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Stokes <stok...@quinn-direct.com>
Subject Re: scripts for Workers
Date Tue, 06 Jul 2004 14:20:00 GMT
If you are talking about workers on the same machine, simply hit each 
startup.sh et al in turn.

If you are talking about workers on many different machines :

(On a central PC)

Do an array of server IP's with a common username (i.e. "tomcat") - (and 
tomcat directory - i.e. /usr/local/tomcat).
The workers must have the ssh key of the central PC in each known_hosts 
file.
Simply iterate round your workers array (for each IP) and use ssh to 
execure a remote command, $IP $TOMCAT_HOME/bin/startup.sh

Pete.


Boulay Arnaud wrote:

>Hi !
>I'm looking for scripts that work like startup.sh and shutdown.sh but with multi tomcat
targets (workers). 
>those scripts are for linux.
>Thanks,
>Arnaud
>
>	 
>
>  
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message