RE: How to upgrade an application without stopping service?

2004-11-18 Thread Peter Crowther
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> You need to schedule down time for the server.  Perhaps a 
> night time window like 3am when usage is minimal.  Then do 
> the upgrade.

An alternative, if you have the hardware for it, would be to install the
new app version on new hardware but using the same database and other
resources as the old version.  Then change your DNS to point to the new
version, wait a day or so for that to propagate through the DNS caches,
shut down and upgrade the old server, restart that old server with the new
version, change your DNS settings back, wait a day or so, and then turn
off your new hardware.

This presupposes that the new and old apps are compatible at the data
layer, and that it's only the code that differs.  Clearly, if they are
not, you're going to have to stop the service at some point to change the
schema.

Just my €0.02 (it's a stronger currency than $0.02 at the moment ;-) )

- Peter


smime.p7s
Description: S/MIME cryptographic signature


RE: How to upgrade an application without stopping service?

2004-11-18 Thread Shapira, Yoav

Hi,
You need to schedule down time for the server.  Perhaps a night time window 
like 3am when usage is minimal.  Then do the upgrade.

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: Agustín de la Herrán [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 18, 2004 10:35 AM
>To: [EMAIL PROTECTED]
>Subject: How to upgrade an application without stopping service?
>
>I´ve an application running over tomcat 5.0.19 installed on a
>production server that can´t be stopped because it´s beeing used all
>the time. And i´ve got not permission to stop the service neither a
>moment.
>This application has changed, and now I´ve to upgrade it (classes,
>html and some .txt files) in order to provide the new version.
>Is there any way of doing it without stopping the service??
>
>Sorry about my english and thanks for all,
>
>Agus
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to upgrade an application without stopping service?

2004-11-18 Thread Allistair Crossley
If your context is set to reloadable you might get away with it but other than 
that I do not think Tomcat can do this - certainly it's never worked when I 
have tried it with a WAR. I'm sure someone else has a better idea.

> -Original Message-
> From: Agustín de la Herrán [mailto:[EMAIL PROTECTED]
> Sent: 18 November 2004 15:35
> To: [EMAIL PROTECTED]
> Subject: How to upgrade an application without stopping service?
> 
> 
> I´ve an application running over tomcat 5.0.19 installed on a
> production server that can´t be stopped because it´s beeing used all
> the time. And i´ve got not permission to stop the service neither a
> moment.
> This application has changed, and now I´ve to upgrade it (classes,
> html and some .txt files) in order to provide the new version.
> Is there any way of doing it without stopping the service??
> 
> Sorry about my english and thanks for all,
> 
> Agus
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]