Re: HotDeploy
Re: HotDeploy
- Subject: Re: HotDeploy
- From: John Huss <email@hidden>
- Date: Wed, 04 May 2011 15:20:09 -0500
One simple thing that works for the most part is to install the app into a new "versioned" directory and use a sym-link to point to the production version. Then you can just change the sym-link and restart the instances one by one. This results in many fewer problems than overwriting the files used by the running application PLUS it allows you to roll back to an older version if needed.
John
On Wed, May 4, 2011 at 3:10 PM, Jesse Tayler
<email@hidden> wrote:
you mean deploy like write over the files while the app is running?
the best thing is to have two sets of apps so you can wind down instances on one, update the files, restart and the other etc.
but of course, there's all kinds of complications.
that all said, in less than critical situations, I typically do just that and it really doesn't cause much trouble in practice.
if you have a critical system, my guess is that you'd have a bigger setup than to even ask, so do as you see fit.
On May 4, 2011, at 4:00 PM, Daniel Mejia wrote:
> Hi,
>
> I have a question regarding the deploy. Is it possible to redeploy an application when the application is running, or I need to shutdown every instance, deploy the application and restart every instance?
>
> Regards,
>
> Daniel.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (
email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to
email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (
email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden