"README.md" did not exist on "692d2c0fb36c02ad07d54641c26f48e644b27fbd"
The bulk of this commit adds the ability to run the program agent on ops
so that users can schedule program events to run there. For example: set myprog [new Program $ns] $myprog set node "ops" $myprog set command "/usr/bin/env >& /tmp/foo" $ns at 10 "$myprog start" or tevc -e pid/eid now myprog start Since the program agent cannot talk to tmcd from ops, there are new routines to create the config files that the program agent uses, in the expertment tbdata directory. I also rewrote the eventsys.proxy script that starts the event scheduler on ops; I rolled the startup of the program agent into this script, via new -a option which is passed over from boss when an ops program agent is detected in the virt topology. This keep the number of new processes on ops to a small number. Also part of the above rewrite is that we now catch when event scheduler (or the program agent) exits abnormally, sending email to tbops and the swapper of the experiment. We have been seeing abnormal exits of the scheduler and it would good to detect and see if we can figure out what is going wrong. Other small bug fixes in experiment run.
Showing
- db/Experiment.pm.in 93 additions, 3 deletionsdb/Experiment.pm.in
- db/libdb.pm.in 1 addition, 2 deletionsdb/libdb.pm.in
- event/GNUmakefile.in 2 additions, 1 deletionevent/GNUmakefile.in
- event/program-agent/GNUmakefile.in 9 additions, 2 deletionsevent/program-agent/GNUmakefile.in
- event/program-agent/program-agent.c 85 additions, 27 deletionsevent/program-agent/program-agent.c
- tbsetup/Template.pm.in 16 additions, 0 deletionstbsetup/Template.pm.in
- tbsetup/eventsys.proxy.in 125 additions, 18 deletionstbsetup/eventsys.proxy.in
- tbsetup/eventsys_control.in 19 additions, 1 deletiontbsetup/eventsys_control.in
- tbsetup/ns2ir/node.tcl 9 additions, 0 deletionstbsetup/ns2ir/node.tcl
- tbsetup/ns2ir/program.tcl 8 additions, 4 deletionstbsetup/ns2ir/program.tcl
- tbsetup/tbprerun.in 15 additions, 0 deletionstbsetup/tbprerun.in
- tbsetup/template_exprun.in 15 additions, 6 deletionstbsetup/template_exprun.in
- tbsetup/template_instantiate.in 7 additions, 1 deletiontbsetup/template_instantiate.in
- tbsetup/template_swapin.in 7 additions, 1 deletiontbsetup/template_swapin.in
- xmlrpc/emulabserver.py.in 16 additions, 1 deletionxmlrpc/emulabserver.py.in
Loading
Please register or sign in to comment