- 13 Feb, 2002 4 commits
-
-
Leigh B. Stoller authored
-
Chad Barb authored
-
Chad Barb authored
-
Chad Barb authored
Second version.
-
- 12 Feb, 2002 14 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Robert Ricci authored
the defs file. Re-arranged some of the existing snippets to make it somewhat more cohesive, though it could still use a lot more work in this area. Also, moved all of the remaining stuff about what to copy from an old boss node (which was the original purpose of the document) to the end, so that it's more geared toward people setting up their own boss. Still needs some documentation (and probably a script for auto-generating) DNS config files.
-
Leigh B. Stoller authored
consistent 0ms when the intent is no delay, and add an explantion of what 0ms means (no darling, it doesn't mean that packets travel through an ethernet wormhole).
-
Leigh B. Stoller authored
the new image stuff. Also fix a minor logic error in dbcheck that was causing it to break on the failed queries instead of moving onto the next one.
-
Robert Ricci authored
-
Leigh B. Stoller authored
users by appending a simple path command to the new .cshrc and .profile when the account is first created. Easiest approach, albiet an imperfect one.
-
Robert Ricci authored
-
Leigh B. Stoller authored
tb-set-node-os and another explanation in the OS descriptor list page. Yes, its clear that the distinction between imageIDs and OSIDs is just plain confusing.
-
Robert Ricci authored
-
Leigh B. Stoller authored
invoked from os_setup, which runs as the user.
-
Leigh B. Stoller authored
modified, even by an admin type.
-
Leigh B. Stoller authored
line in all email from the system. Remove all of the TESTBED: tags and modify the email function in the web server and perl library to prepend @DOMAIN@: to the message.
-
- 11 Feb, 2002 8 commits
-
-
Robert Ricci authored
getTrunks: Build a structure representing all of the trunks in the switch topolgy getTrunkPath: Find the shortest path between two switches, across the trunks found by getTrunks Note that the getTrunkPath duplicates some work done in assign. However, we don't currently have a good way to pass this information from assign to snmpit, and we need to be able to figure this out anyway, in case snmpit isn't being called as part of experiment swapin. These functions should soon be used to pick which VLANs are allowed across which trunks.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
Update pages appropriately. Also cleanup up a few more sub menus.
-
Leigh B. Stoller authored
a node is not allocated (thus putting the .acl and .run file into the wheel group when capture creates them), return the value of the config variable TBADMINGROUP (which is flux for us). This makes it easier for admin people to look at free nodes.
-
Robert Ricci authored
STDOUT, and move around some lines to avoid undefined value warnings.
-
Leigh B. Stoller authored
since that screws up opera (and is incorrect anyway). Add wrapper code to the docwrappers to include the html header/trailer code when doing a printable version, and include the proper style sheet.
-
Leigh B. Stoller authored
whatever other maintenance is required.
-
Leigh B. Stoller authored
naming scheme was not very intuitive and the names sucked. Also, I want to increase the frequency with which we run the backups, and I want to implement an automated roll so that we only keep about a months worth of history around. Anyway, the new approach is to open up the index file and see what the name of the current update file is. It has a numeric extension. Rename the base log to base.XXX, and then snapshot the DB into backup.XXX So, the combination of update.XXX and base.XXX is the DB history since the last time the script was run. The file backup.XXX corresponds to the DB at this point in time. To restore (or track the changes of) a DB, simply take backup.XXX and apply the changes that are stored in update.XXX+1 (which are the changes made since backup.XXX was made). This should give you a DB that is the same as backup.XXX+1. You can go back further, and just apply all the subsequent update.XXX files.
-
- 08 Feb, 2002 12 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
very useful by itself anyway.
-
Leigh B. Stoller authored
supporting autocreating and autoloading images. The imageid form now sports a field to specify a nodeid to create the image from; If set, the backend create_image script is invoked. Thats the easy part. Slightly harder is autoloading images based on the osid specified in the NS file. To support this, I have added a new DB table called osidtoimageid, which holds the mapping from osid/pctype to imageid. When users create images, they must specify what node types that image is good for. Obviously, the mappings have to be unique or it would be impossible to figure it out! Anyway, once that image mapping is in place and the image created, the user can specify that ID in the NS file. I've changed os_setup to to look for IDs that are not loaded, and to try and find one in the osidtoimageid. If found, it invokes os_load. To keep things running in parallel as much as possible, os_setup issues all the loads/reboots (could be more than a single set of loads is multiple IDs are in the NS file) at once, and waits for all the children to exit. I've hacked up os_load a bit to try and be more robust in the face of PXE failures, which still happen and are rather troublsesome. Need an event system! Contained in this revision are unrelated changed to make the OS and Image IDs per-project unique instead of globally unique, since thats a pain for the users. This turns out to be very messy, since underneath we do not want to pass around pid/ID in all the various places its used. Rather, I create a globally unique name and extened the OS and Image tables to include pid/name/ID. The user selects pid/name, and I create the globally unique ID. For the most part this is invisible throughout the system, except where we interface with the user, say in the web pages; the user should see his chosen name where possible, and the should invoke scripts (os_load, create_image, etc) using his/her name not the internal ID. Also, in the front end the NS file should use the user name not the ID. All in all, this accounted for a number of annoying changes and some special cases that are unavoidable.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
page.
-
Leigh B. Stoller authored
Netscape and IE both recognize it: <input type=readonly ... > The correct way is: <input readonly type=text ...> Hmm.
-
Leigh B. Stoller authored
Fix up SUEXEC and TBERROR error handling so that <XMP> tags are not included in the email message! Add CHECKURL() function (which will eventually replace VERIFYURL()) which returns error strings instead of calling USERERROR. This is in support of new forms code. Add CHECKPASSWORD() function; same code was in three different places. This version returns the error string from checkpass.
-
Leigh B. Stoller authored
finished.
-
Leigh B. Stoller authored
file. Controls whether we spit out the keywords and the emu page, since we do not want anyone but else getting the links.
-
Leigh B. Stoller authored
Also moved the picture to make the text look better.
-
Leigh B. Stoller authored
gets spit out a lot in all of the pages (http or https). Refine fonts and little bits in the banner.
-
- 07 Feb, 2002 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-