* [PATCH OSSTEST] README.dev: Some words on what is needed when updating the daemons.
@ 2015-09-17 15:09 Ian Campbell
2015-09-17 17:45 ` Ian Jackson
0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2015-09-17 15:09 UTC (permalink / raw)
To: ian.jackson, xen-devel; +Cc: Ian Campbell
---
README.dev | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/README.dev b/README.dev
index 4df7237..b5344d7 100644
--- a/README.dev
+++ b/README.dev
@@ -165,6 +165,59 @@ $HOME/testing.git/$xenbranch.stop
stops everything using $xenbranch
+Updating daemons
+================
+
+osstest relies on two daemons for resource planning and allocation
+(mainly of hosts):
+
+- ms-ownerdaemon:
+- ms-queuedaemon:
+
+THese are typically run as respawning entries in inittab fom the
+$HOME/daemons-testing.git directory. A job typically interacts with
+these via ts-hosts-allocate-Executive and individuals via mg-allocate
+or mg-blockage.
+
+In addition ms-planner in this directory is used by ms-queuedaemon to
+produce the actual resource plan.
+
+These daemons are not automatically updated and so this must be done
+by hand by running git commands in the $HOME/daemons-testing.git
+directory. When doing so some special consideration is required
+depending on what is being updated:
+
+- ms-planner
+
+ In general no special requirements. If the interface between
+ ms-planner and ms-queuedaemon has changed then care may be needed
+ (but restarting the queuedaemon to pickup that half of the change
+ will suffice, see next).
+
+- ms-queuedaemon
+
+ Requires restarting. It is sufficient to simply kill the
+ ms-queuedaemon process. It will be restarted via inittab and all
+ existing jobs will be unaffected -- although they will need to
+ reenter the plan. Jobs which have an actual allocation are not
+ clients of the queuedaemon and are therefore not affected.
+
+- ms-ownerdaemon
+
+ Requires restarting. This cannot be done while any jobs are in
+ progress. Don't forget about people who run jobs somewhere other
+ than on the controller VM, such as their workstation).
+
+ If the ownerdaemon is restarted while jobs are running then they
+ need to be hunted down and killed manually and then cleared using
+ mg-hosts previoustasks (see below).
+
+- tcl/*
+
+ These libraries are used by both ms-queuedameon and
+ ms-ownerdaemon, updates here typically require restarting one of
+ both of those daemons.
+
After restarting ms-ownerdaemon
===============================
--
2.5.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH OSSTEST] README.dev: Some words on what is needed when updating the daemons.
2015-09-17 15:09 [PATCH OSSTEST] README.dev: Some words on what is needed when updating the daemons Ian Campbell
@ 2015-09-17 17:45 ` Ian Jackson
2015-09-18 8:39 ` Ian Campbell
0 siblings, 1 reply; 3+ messages in thread
From: Ian Jackson @ 2015-09-17 17:45 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel
Ian Campbell writes ("[PATCH OSSTEST] README.dev: Some words on what is needed when updating the daemons."):
> +- ms-ownerdaemon
> +
> + Requires restarting. This cannot be done while any jobs are in
> + progress. Don't forget about people who run jobs somewhere other
> + than on the controller VM, such as their workstation).
Spurious ).
But, anyway,
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH OSSTEST] README.dev: Some words on what is needed when updating the daemons.
2015-09-17 17:45 ` Ian Jackson
@ 2015-09-18 8:39 ` Ian Campbell
0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2015-09-18 8:39 UTC (permalink / raw)
To: Ian Jackson; +Cc: xen-devel
On Thu, 2015-09-17 at 18:45 +0100, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST] README.dev: Some words on what is
> needed when updating the daemons."):
> > +- ms-ownerdaemon
> > +
> > + Requires restarting. This cannot be done while any jobs are in
> > + progress. Don't forget about people who run jobs somewhere other
> > + than on the controller VM, such as their workstation).
>
> Spurious ).
Fighting my (programmer's?) urge to overuse ()s.
(Note to self: English is not lisp (dammit I've done it again!))
> But, anyway,
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-18 8:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 15:09 [PATCH OSSTEST] README.dev: Some words on what is needed when updating the daemons Ian Campbell
2015-09-17 17:45 ` Ian Jackson
2015-09-18 8:39 ` Ian Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).