Date
1 - 5 of 5
Diff between cf restart and cf restage
Nikhil Katre <nikhil.katre@...>
Hi,
Can someone explain in detail what is the difference between cf restart and cf restage ? -- Thanks, *Nikhil Katre* | Software Engineer Mobile: (919) 633 3940 <%28303%29%20946%209911> AppDynamics The Application Intelligence Company Watch <http://appdynamics.wistia.com/medias/56gnkuk6mv>our Video | Try <https://portal.appdynamics.com/account/signup/signupForm>our FREE Trial | Twitter <http://www.twitter.com/appdynamics>| Facebook <http://www.facebook.com/pages/AppDynamics/193264136815?ref=nf>| appdynamics.com <http://www.appdynamics.com/> |
|
Matthew Sykes <matthew.sykes@...>
`restage` will stop your application, run the application bits through the
staging process to create a new droplet, and then start the new droplet. It's a lot like `push` but without actually pushing new application bits. `restart` will simply stop your application and start it with the existing droplet. You typically restart when you need your applicaiton's environment refreshed and you typically restage when you need/want the buildpack to run without updating the application source. Hope that helps. On Tue, Nov 3, 2015 at 2:46 PM, Nikhil Katre <nikhil.katre(a)appdynamics.com> wrote: Hi, -- Matthew Sykes matthew.sykes(a)gmail.com |
|
Cornelia Davis <cdavis@...>
The staging process has access to env variables, etc. so the env can affect
the contents of the droplet. You might notice that when you do a cf set-env you get a message that advises you to do a cf restage. Because CF doesn't know whether your buildpack is affected by env changes, it recommends the more extreme option. For some (many) apps, a cf restart would be sufficient. On Tue, Nov 3, 2015 at 9:15 PM, Matthew Sykes <matthew.sykes(a)gmail.com> wrote: `restage` will stop your application, run the application bits through the |
|
Nikhil Katre <nikhil.katre@...>
Thanks for the reply!
toggle quoted message
Show quoted text
Lets say, if I add evn variables to the application. In order for the application to use those env variables which are set using cf-setenv, do I need to restart or restage the application ? On Tue, Nov 3, 2015 at 12:48 PM, Cornelia Davis <cdavis(a)pivotal.io> wrote:
The staging process has access to env variables, etc. so the env can --
Thanks, *Nikhil Katre* | Software Engineer Mobile: (919) 633 3940 <%28303%29%20946%209911> AppDynamics The Application Intelligence Company Watch <http://appdynamics.wistia.com/medias/56gnkuk6mv>our Video | Try <https://portal.appdynamics.com/account/signup/signupForm>our FREE Trial | Twitter <http://www.twitter.com/appdynamics>| Facebook <http://www.facebook.com/pages/AppDynamics/193264136815?ref=nf>| appdynamics.com <http://www.appdynamics.com/> |
|
Sabha
Depends on whether the change can be consumed directly by app or by
buildpack and other stuff things. If the buildpack needs to read that variable and take some action like for your agent activation or change stuff like memory or jvm arguments, then restage, otherwise just restart is fine. On Wed, Nov 4, 2015 at 10:13 AM, Nikhil Katre <nikhil.katre(a)appdynamics.com> wrote: Thanks for the reply! |
|