- 11 Jan, 2005 1 commit
-
-
Leigh B. Stoller authored
* New database table to store obstacles, in the usual coord system; x1,y1, is the upper left corner. * New web page to dump the entire obstacle list https://www.emulab.net/obstacle_list.php3 * New web page to dump a single obstacle, referenced by the above list page, and by the floormap generator. * Hack up the floormap code to add obstacles to the areamap, so that when you mouse over them, you get a ballon showing the description, and a link to the above mentioned page.
-
- 10 Jan, 2005 1 commit
-
-
Leigh B. Stoller authored
* Add new DB table "webcams" which hold the id of the webcam, the server it is attached to, and the last update time. * Add new sitevars webcam/anyone_can_view and webcam/admins_can_view. Should be obvious what they mean. * Add trivial script grabwebcams (invoked from cron) to grab the images from the servers and stash in /usr/testbed/webcams. The images are grabbed with scp, protected by a 5 second timeout. Fine for a couple of cameras. * Add web page stuff to display webcams, linked from the robot mape page. Permission to view the webcams is currently admin, or in a project that is allowed to use a robot. We can tighten this up later as needed.
-
- 07 Jan, 2005 1 commit
-
-
Leigh B. Stoller authored
-
- 06 Jan, 2005 1 commit
-
-
Leigh B. Stoller authored
* Add boot_errno to the nodes table so that nodes can report in a subcode to indicate what went wrong. At present, we do not report any real error codes; that is going to take some time to work out since it will reqiure a bunch of changes to the boot scripts. * Add new table node_bootlogs to store logs provided by the nodes. Not a full console log, but a log of the tmcd client side part. We can make it a full log if we want though; just means mucking about with the boot phase a bit. * Add new state transition to NORMALv2 and PCVM state machines. "TBFAILED" is a new state that is sent (after TBSETUP) if a node fails somewhere in the tmcd client side. * Change TBNodeStateWait() to take a list of states (instead of single state) and an optional pass by reference parameter to return the actual state that the node landed in. Change all calls to TBNodeStateWait() of course. * Change os_setup (and libreboot in wait mode) to look for both TBFAILED and ISUP. If a TBFAILED event is seen, we can terminate the wait early and not retry os_setup on physical nodes (although still retry virtual nodes). The nice thing about this is that the wait should terminate much earlier (rather then waiting for timeout), especially for virtual nodes which can take a really long time when there are a couple of hundred. * Add new routines dobooterrno() and dobootlog() to tmcd. Bump version number and increase the buffer size to allow for the larger packets that a console log wikk generate (added MAXTMCDPACKET variable, set to 0x4000). * Add new -f option to tmcc to specify a datafile to send along as the last argument to tmcd. This is more pleasing then trying to send a console log in on the command line. For example: "tmcc -f /tmp/log BOOTLOG" will send a BOOTLOG command along with the contents of /tmp/log. Also close the write side of the pipe so that server sees EOF on read. See aside comment below. * Changes to rc.bootsetup: 1. Use perl tricks to capture all output, duping to the console and to a log file in /var/emulab/logs. 2. On any error, send a status code (boot_errno) and the bootlog to tmcd. 3. Generate a TBFAILED state transition. * Changes to rc.injail: 1. Same as rc.bootsetup, but do not send log files; that would pummel boss. Leave them on the physical node. * Change vnodesetup (which calls mkjail) to watch for any error and send a TBFAILED state transition. This should catch almost all errors, and dramatically reduce waiting when something fails. * Changes to rc.cdboot are essentially the same as rc.bootsetup, although a bootlog is sent all the time (success or failure), and I do not generate a boot_errno yet. Also, instead of TBFAILED, generate a PXEFAILED state since the CDROM is actually operating within the PXEFBSD opmode. I have yet to work this into the rest of the system though; waiting to get a new CD built and actually experiment with it. * Add new menu option and web page to display the node bootlog. We store only the lastest bootlog, but maybe someday store more then one. Display boot_errno on node page. Aside: I made a big mistake in the tmcd protocol; I did not envision passing more then a small amount of data (one fragment) and so I do not include a record terminator (ie: close of the write side on the client sends EOF) or a size field at the beginning. No big deal since small requests are sent in one fragment and the server sees the entire thing. Well, with a large console log, that will end up as multiple fragments, and the server will often not get the entire thing on the first read, and there are no subsequent reads (with no EOF or known size, it would block forever). Well, fixing this in a backwards compatable manner (for old images) was way too much pain. Instead, tmcc now closes the write side, and the server does subsequent reads *only* in the new dobbootlog() routine. Note that it *is* possible to fix this in a backwards compatable manner, but I did not want to go down that path just yet.
-
- 03 Jan, 2005 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
experiments page. Defaults to 16 hours.
-
Leigh B. Stoller authored
battery_voltage float default NULL, battery_percentage float default NULL, battery_timestamp int(10) unsigned default NULL,
-
- 27 Dec, 2004 1 commit
-
-
Mike Hibler authored
-
- 22 Dec, 2004 1 commit
-
-
Leigh B. Stoller authored
home page and My Emulab page.
-
- 21 Dec, 2004 2 commits
-
-
Robert Ricci authored
-
Robert Ricci authored
to assume that the leader of a stack is the switch after which it was named - we can now name stacks things like 'Control' or 'Experiment'.
-
- 16 Dec, 2004 1 commit
-
-
Timothy Stack authored
-
- 15 Dec, 2004 1 commit
-
-
Leigh B. Stoller authored
button pressed, and when.
-
- 14 Dec, 2004 1 commit
-
-
Russ Fish authored
from the Unix usr_pswd MD5 hash string.
-
- 13 Dec, 2004 4 commits
-
-
Russ Fish authored
-
Leigh B. Stoller authored
meter for the image.
-
Mike Hibler authored
-
Mike Hibler authored
-
- 12 Dec, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 11 Dec, 2004 1 commit
-
-
Robert Ricci authored
least get the rest of the users.
-
- 09 Dec, 2004 1 commit
-
-
Robert Ricci authored
-
- 08 Dec, 2004 1 commit
-
-
Leigh B. Stoller authored
so unhappy with my current approach that I decided to drop that idea for now and just specify the eid of the experiment to run. Obviously, it has to be an existing experiment in the same project, whose nsfile is grabbed from the DB and shipped over to the inner boss.
-
- 06 Dec, 2004 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Timothy Stack authored
Minor additions to support node mobility events: * lib/libtb/tbdefs.h, lib/libtb/tbdefs.c, sql/database-fill.sql: Add SETDEST as an event type and NODE as an object type. * tbsetup/ns2ir/node.tcl: Add location (X_, Y_, Z_) and orientation attributes for mobile nodes. * tbsetup/ns2ir/sim.tcl: Add a "setdest" event for node types that lets the user move a mobile node.
-
- 03 Dec, 2004 3 commits
-
-
Robert Ricci authored
-
Mike Hibler authored
-
Leigh B. Stoller authored
* Add security_level to experiments table. * Add a cross link between an experiment and its elabinelab container. This will like change at some point, but just messing around right now. * Add elabinelab flag, security level, and cross eid to experiment_stats table.
-
- 02 Dec, 2004 1 commit
-
-
Robert Ricci authored
-
- 01 Dec, 2004 3 commits
-
-
Robert Ricci authored
opmode.
-
Robert Ricci authored
-
Mike Hibler authored
ID in firewalls table:
-
- 18 Nov, 2004 1 commit
-
-
Mike Hibler authored
column in the reserved table and not the nodes table: Also fix a cut/paste error and renumbed some items, we went from 1.279 to 1.270 and started counting up again.
-
- 09 Nov, 2004 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
archive (and restore) of news items. Add button at top to toggle the display of archived items. All of this is admin mode only; mere users see just the news.
-
- 08 Nov, 2004 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
this file. If the entries already exist, the errors are silently ignored.
-
- 05 Nov, 2004 1 commit
-
-
Leigh B. Stoller authored
assigned outer elab vlan ids.
-
- 03 Nov, 2004 1 commit
-
-
Mike Hibler authored
network addresses.
-
- 01 Nov, 2004 1 commit
-
-
Leigh B. Stoller authored
-