[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Upgrading CFE with CFE
From: |
David Masterson |
Subject: |
RE: Upgrading CFE with CFE |
Date: |
Wed, 26 Oct 2005 09:22:16 -0700 |
Mark McCullough wrote:
> I make a special class in cfengine that detects if a new version is
> available. If so, then it submits an at job that does the full
> upgrade. Since it is in an at job, killing all the cfengine daemons
> doesn't hurt the job doing the upgrade. (I usually use package management
> of some form or another to simplify the actual upgrade.)
>
> So in my case the procedure would be:
> Submit at job that:
> * kills old cfengine programs
> * Installs new package
> * restarts cfexecd (which restarts the other daemons in my case).
>
> I actually used this to migrate from cfengine 1 to cfengine 2.
This brings up a question I've had. Does cfagent restart itself after
cf.preconf or update.conf? Either one might update the cfagent executable,
so it would seem appropriate.
--
David Masterson
VMware, Inc.
Palo Alto, CA
RE: Upgrading CFE with CFE,
David Masterson <=