• Leigh Stoller's avatar
    Checkpoint my dynamic event stuff, crude as it is. The idea for this first · 9d021a07
    Leigh Stoller authored
    draft is that the user will at the end of an experiment run, log into one
    of his nodes and perform some analysis which is intended to be repeated at
    the end of the next run, and in future instantiations of the template.
    
    A new table called experiment_template_events holds the dynamic events for
    the template. Right now I am supporting just program events, but it will be
    easy to support arbitrary events later. As an absurd example:
    
    	node6> /usr/local/bin/template_analyze ~/data_analyze arg arg ...
    
    The user is currently responsible for making sure the output goes into a
    file in the archive. I plan to make the template_analyze wrapper handle
    that automatically later, but for now what you really want is to invoke a
    script that encapsulates that, redirecting output to $ARCHIVE (this
    variable is installed in the environment template_analyze.
    
    The wrapper script will save the current time, and then run the program.
    If the program terminates with a zero exit status, it will ssh over to ops
    and invoke an xmlrpc routine to tell boss to add a program event to both
    the eventlist for the current instance, and to the template_eventlist for
    future instances. The time of the event is the relative start time that was
    saved above (remember, each experiment run replays the event stream from
    time zero).
    
    For the future, we want to allow this to be done on ops as well, but
    that will take more infrastructure, to run "program agents" on ops.
    
    It would be nice to install the ssl xmlrpc client side on our images so
    that we do not have to ssh to ops to invoke the client.
    9d021a07
Name
Last commit
Last update
..
logparse Loading commit data...
nsgen Loading commit data...
GNUmakefile.in Loading commit data...
backupswitches.in Loading commit data...
biosgrabber.pl Loading commit data...
checkquota.in Loading commit data...
create_image.in Loading commit data...
cvsinit.in Loading commit data...
cvsupd.pl.in Loading commit data...
delay_config.in Loading commit data...
deletenode.in Loading commit data...
dhcpd_wrapper.in Loading commit data...
eventping.in Loading commit data...
export_tables.in Loading commit data...
fillwires.pl Loading commit data...
firstuser.in Loading commit data...
grabswitchconfig.in Loading commit data...
grabwebcams.in Loading commit data...
grantnodetype.in Loading commit data...
import_commitlog.in Loading commit data...
link_config.in Loading commit data...
linkmon_ctl.in Loading commit data...
loghole.1 Loading commit data...
loghole.in Loading commit data...
macgrabber.pl Loading commit data...
newnode.in Loading commit data...
node_admin.in Loading commit data...
node_statewait.in Loading commit data...
node_testsuite Loading commit data...
opsdb_control.in Loading commit data...
opsdb_control.proxy.in Loading commit data...
opsreboot.in Loading commit data...
process-acl Loading commit data...
rpcgrab.sh Loading commit data...
schemadiff Loading commit data...
setbuildinfo.in Loading commit data...
setdest.in Loading commit data...
sitevarsdiff Loading commit data...
snmp-if-deref.sh Loading commit data...
spewconlog.in Loading commit data...
spewleds.in Loading commit data...
spewsource.in Loading commit data...
sshtb.in Loading commit data...
tbbuildkernels Loading commit data...
vlandiff.in Loading commit data...
vlansync.in Loading commit data...
webcopy.in Loading commit data...
webcreateimage.in Loading commit data...
webcvsweb.in Loading commit data...
webdeletenode.in Loading commit data...
weblinkmon_ctl.in Loading commit data...
websetdest.in Loading commit data...
webspewconlog.in Loading commit data...
webviewvc.in Loading commit data...
withadminprivs Loading commit data...
xlogin.in Loading commit data...