- 07 Mar, 2002 5 commits
-
-
Leigh B. Stoller authored
system programs. Build two versions of the event library, one for non threaded programs and another (libevent_r.a) for threaded versions. Remove all that -pthread goo from all of the makefiles, except for the scheduler (which is threaded); it gets linked as before, but with -levent_r instead. If you try and use the threaded API without the proper link, the library will print an error message and quit.
-
Mac Newbold authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Mac Newbold authored
Move pid/eid to beginning of subject line in the email that gets sent... easier for us to see who it was for. (Pine only shows first ~35 chars of subject in index list.)
-
- 06 Mar, 2002 12 commits
-
-
Mac Newbold authored
-
Chad Barb authored
-
Chad Barb authored
-
Chad Barb authored
A couple of UI fixups: - Added "you're over the trashcan" visual clue when dragging thingees into the can. - Clicking a node to drag it from the panel now visually selects it (this is subtle, but more correct.)
-
Mac Newbold authored
For experiments that have nodes allocated, if there is no 'last login' data, show date and 'Swapped In' for easier comparison and for faster idle checks. Previously, you couldn't tell if they had recently swapped in, or swapped in days ago and never used the nodes without zooming in on the experiments individually.
-
Mac Newbold authored
-
Leigh B. Stoller authored
comma (or space) delimited list of tags for each member of the address tuple. So, if you wanted to subscribe to LINK and TIME events, you would set the address tuple like this: tuple->objtype = "TRAFGEN,TIME"; and the subscription clause that would be passed to elvin would look something like this: ( OBJTYPE == "TRAFGEN" || OBJTYPE == "TIME" ) This should make it easier to subscribe to multiple types of events, without having to get all of them. For example, the trafgen agent could subscribe to TIME events and get the TIME START event that is now sent once all nodes report ISUP
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
events in the DB!
-
Leigh B. Stoller authored
the nodes are up and that events are starting. The objtype is "TIME" (TBDB_OBJECTTYPE_TIME from tbdefs.h) and the eventtype is "START" (TBDB_EVENTTYPE_START from tbdefs.h). How to subscribe to this event will be forthcoming.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 05 Mar, 2002 23 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
other!
-
Robert Ricci authored
-
Robert Ricci authored
paths filled in by configure are correct.
-
Kirk Webb authored
-
Kirk Webb authored
-
Kirk Webb authored
Bug fixes for the FreeBSD version of healthd. The Heceta-2 chip was not being properly initialized (PC850s). These changes also internalize the initilization, so the external program that used to do it is deprecated (h2init).
-
Leigh B. Stoller authored
-
Mac Newbold authored
-
Leigh B. Stoller authored
assign_wrapper.in: Hack in a change that ensures a delay node is created for any link on which an event is posted (up,down,modify), no matter what its initial parameters are. ie: If a link is created with no delay, but there is an event that adds a delay later, then we must drop in a delay node. Same for up/down on a link. We do this in the delay node. I am reasonably confident that this change is fine for duplex links, but I am less sure of the effect on lans! eventsys_control.in: Checkpoint latest changes. Add "replay" option, which right now just stops and starts the event scheduler so that it reloads the entire event list. Add check for existing experiment, and that the experiment is either active or swapping (do not want to start a scheduler for a swapped out experiment!). Add check to see if there are any events, and skip startup if there are not events in the DB. Lastly, get very serious about preventing more than one scheduler from being started, either by accident or intentionally. My protocol is to lock the table, grab and set the pid to -pid, test the pid for a positive value, and if positive, send the scheduler a kill(TERM) so that it can cleanup, clear the pid to zero in the DB, and exit. This approach ensures that we do not try to send a kill to a pid that is no longer active or owned by the user (this last part is not really necessary cause of how pids are reused, but it was easy to add so why not). exports_setup.in: Trivial change to make it easier to turn this on temporarily in devel trees. named_setup.in: Ditto. node_reboot.in: Add call to TBdbfork() in child cause of apparent DB connection problems across forks. In the child, set the eventstatus for the node to REBOOT if successful (not this event status stuff is temporary, will be recast in next set of revisions). GNUmakefile: Add new controlling program, eventsys_control. power.in: Ditto previous comment about REBOOT. os_setup.in: Non event system cleanups. tbend.in: Add DB cleanup of the new virt_trafgens and eventlist tables. tbprerun.in: Ditto. tbreport.in: Print out the event list in a pretty print format. tbswapin.in: Add call to start the event system. Also a big fix; move the named script up above the os_setup so that the named tables have been updated by the time the first node reboots. I noticed that nodes were failing on gethostbyname(). tbswapout.in: Add call to stop the event system.
-
Leigh B. Stoller authored
them into a private header file.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
its meaning!
-
Leigh B. Stoller authored
export that stuff. Add signal handlers to ensure that INT/TERM/HUP signals are caught and that we exit cleanly (clearing the pid from the DB). Minor rework for DB table structure and the switch from per-experiment event tables to a single event table indexed by pid,eid.
-
Leigh B. Stoller authored
are gone!
-
Leigh B. Stoller authored
recreating the connection to the DB across a fork. It appears that with the connection shared, DB queries can fail. It would be nice if PERL had fork handlers. Add TBSetNodeEventState() and TBGetNodeEventState() library routines, and some constants for the event tags. Beef up the experiment access check code to handle destroy as a distinct case.
-
Leigh B. Stoller authored
tevd: Proper daemonization code, controlled by debug option.
-
Leigh B. Stoller authored
delay-agent/{callback,main}.c: Minor -Wall fixes.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
tbsend.c and tbrecv.c, which are trivial examples of how to send and receive a sample event.
-
Leigh B. Stoller authored
already a pid associated with the experiment (unless clearing it to zero). This enforces the restriction that there should only be a single event scheduler running for an experiment!
-
Leigh B. Stoller authored
-