[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Condor-users] Using condor to update condor
- Date: Fri, 24 Jun 2005 21:36:48 +0300
- From: Mark Silberstein <marks@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [Condor-users] Using condor to update condor
In my opinion using Condor for this is a way too dangerous.
Just a thought - the simplest way to accomplish automatic updating is to
have a local scheduled task on each machine, which periodically looks up
some public location and checks for the version there ( just like
condor_master does for local disk ) Since the script runs locally it can
shutdown/startup condor, do any checks it needs, stop the service,
download the executables, and start the service, check that it is
running OK, and if not - rollback to the previous version and publish in
the classad that the update failed. In fact, I think that condor_master
is much more primitive than that.
One can think of even "forcing" update, in case of urgent security
update or something, by setting some "flag" file at the central server.
On Fri, 2005-06-24 at 14:15 -0400, Ian Chesal wrote:
> > If I am understanding you guys correctly, you are thinking to wait for the whole cluster to stop crunching before updating.
> > Now, my thought is. Why couldn't you send a command to each node (through an admin level command), that would tell them that at the completion of their current job, update your files from folder x? Then restart/reconfig and hook back > up to the queue. Each node would upgrade itself at the next convenient time. That way if you have a couple nodes running some big long runs, you don't waste the clock cycles on the other machines.
> Kind of. I don't need the whole cluster to stop crunching, just each node. So when a node has downtime (or can be forced gracefully to have downtime) it updates it's binaries. What's an "admin level command"? Do you mean a condor-specific command or are you talking about something on Windows?
> I agree with Matt Hope that there are plenty of ways to accomplish software updates on windows that cost money. I think we use LAN Desk here. It'd be nice if there was some rudimentary support for this in Condor. Sounds like no one is using Condor to try and accomplish anything like this though.
> - Ian
> Condor-users mailing list