[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Self Update



Hi,

The first thing comes to my mind is when do you see this " < "? Job submission? Or during system configuration?

If the latter, you are advised to look at automated configuration tool such as Puppet, Chef, Salt, or Ansible. I use the last one and it is very easy to setup. All of them support "master-slave" pull mode, which means periodically they can contact each other find out whether the underlying system requires update.

Master: think of workstation, has a damon contacting other nodes (condor master, condor slaves) periodically
Slaves: also has daemon that answers question/ask question.

Ansible, which I recommend, by default does not run in this pull mode. It's a push, but Ansible supports pull.
Right now, push is good enough for my lab's setup. Every week I go on the temrinal, type in a command and the command will fire up multiple SSH connections to multiple machines, and "reconfigure" each machine. Note reconfiguration has to satisfy idempotence law. If condor version  == the one in the update script, no change. If < update. 



IIs this what you are looking for?

John



On Fri, Apr 26, 2013 at 11:45 PM, Tiago Macarios <tiagomacarios@xxxxxxxxx> wrote:
If condor version < some specific condor version:
    download and install specific condor version


On Fri, Apr 26, 2013 at 8:19 PM, John Wong <gokoproject@xxxxxxxxx> wrote:
What do you mean by self update?



On Fri, Apr 26, 2013 at 11:18 PM, Tiago Macarios <tiagomacarios@xxxxxxxxx> wrote:
Hi,

Just wondering how difficult would it be to have condor to self update? (only windows, by now)

I guess condor itself could not do that since the files would be in use. So the simplest option I can think of is having condor to run some kind of executable that would kill condor, update and restart it. Not sure if it is that straight forward, so before I try anything. Have anyone tried doing something like this?

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/