Re: Best practices for deployment on cluster environment

2010-08-28 Thread Pid
On 28/08/2010 11:18, Domenico Briganti wrote: Il giorno ven, 27/08/2010 alle 15.36 +0100, Pid ha scritto: If you're using mod_jk you can enable the /jk-manager worker (restricted to known IPs only, of course) and take the cluster member out of service at the proxy level before disabling the

Re: Best practices for deployment on cluster environment

2010-08-27 Thread David Nillesen
Hi, Our current system has two servers in a clustered environment with shared disk, but we ended up splitting the webapps areas into seperate. This gave us more control in the end and our promote procedure for a new version of an app is now scripted. So one server gets removed from the pool of

Re: Best practices for deployment on cluster environment

2010-08-27 Thread Domenico Briganti
I've read many response to this thread, but when you redeploy in an enterprise environment (many httpd+mod_jk - 4 tomcat server - a db) independently if use shared or not appBase, manual or scripted deployer, with or without tomcat manager, you return to your client at 404 or worst a 503 when a

Re: Best practices for deployment on cluster environment

2010-08-27 Thread Pid
On 27/08/2010 12:21, Domenico Briganti wrote: I've read many response to this thread, but when you redeploy in an enterprise environment (many httpd+mod_jk - 4 tomcat server - a db) independently if use shared or not appBase, manual or scripted deployer, with or without tomcat manager, you

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Luca Gervasi
On Wed, 2010-08-25 at 10:50 -0300, Fernando Morgenstern wrote: Hi, I have a Tomcat cluster environment with 4 servers. I was wondering that is the best way to deploy an application on 4 servers at the same time. At a first moment, i thought about having a script that would copy war files

Re: Best practices for deployment on cluster environment

2010-08-26 Thread André Warnier
Luca Gervasi wrote: On Wed, 2010-08-25 at 10:50 -0300, Fernando Morgenstern wrote: Hi, I have a Tomcat cluster environment with 4 servers. I was wondering that is the best way to deploy an application on 4 servers at the same time. At a first moment, i thought about having a script that

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Paolo Santarsiero
Hi, I think the best way is to share a central repository (local or net mounted) for webapps and create for each one and for each tomcat the right context with the right path. regards On 26 August 2010 16:03, André Warnier a...@ice-sa.com wrote: Luca Gervasi wrote: On Wed, 2010-08-25 at 10:50

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Pid
On 26/08/2010 15:03, André Warnier wrote: Luca Gervasi wrote: On Wed, 2010-08-25 at 10:50 -0300, Fernando Morgenstern wrote: Hi, I have a Tomcat cluster environment with 4 servers. I was wondering that is the best way to deploy an application on 4 servers at the same time. At a first

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Wesley Acheson
An ant deploy perhaps? Through the manager thats what we intend to move to. On Thu, Aug 26, 2010 at 4:17 PM, Pid p...@pidster.com wrote: On 26/08/2010 15:03, André Warnier wrote: Luca Gervasi wrote: On Wed, 2010-08-25 at 10:50 -0300, Fernando Morgenstern wrote: Hi, I have a Tomcat cluster

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Pid
On 25/08/2010 14:50, Fernando Morgenstern wrote: Hi, I have a Tomcat cluster environment with 4 servers. I was wondering that is the best way to deploy an application on 4 servers at the same time. At a first moment, i thought about having a script that would copy war files to all

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Mark Eggers
installations and just edit setenv.sh(bat) as appropriate. Hope this helps. . . . just my two cents. /mde/ - Original Message From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Thu, August 26, 2010 7:36:15 AM Subject: Re: Best practices for deployment on cluster

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Pid
/ - Original Message From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Thu, August 26, 2010 7:36:15 AM Subject: Re: Best practices for deployment on cluster environment On 25/08/2010 14:50, Fernando Morgenstern wrote: Hi, I have a Tomcat cluster

Best practices for deployment on cluster environment

2010-08-25 Thread Fernando Morgenstern
Hi, I have a Tomcat cluster environment with 4 servers. I was wondering that is the best way to deploy an application on 4 servers at the same time. At a first moment, i thought about having a script that would copy war files to all servers using rsync. Basically i upload the war file to the