- 24 May, 2002 12 commits
-
-
Kirk Webb authored
-
Mac Newbold authored
Big changes. Add idlecheck, sdisrunning and sddeploy to configure and the make files. Install sd* above into sbin dir. Rename sddeploy.pl and isrunning.pl.
-
Leigh B. Stoller authored
-
Mac Newbold authored
Added default behavior so that when no pid/eid is given, it looks up all the nodes that haven't reported in the last 2 hours and runs it on those nodes. Also added magic around ssh calls. Fork and set an alarm, if it doesn't come back, declare the node unreachable and kill the child. (This checkin is for checkpointing, I'm now going to add this to configure so that it properly gets devel libdb.pm instead of hardcoded to the real one.)
-
Leigh B. Stoller authored
detects that at least one of the nodes in the lan includes a remote node. Of course, on links can include remote nodes, but thats okay.
-
Kirk Webb authored
1) Removed the ten iterations limit from main daemon loop I had set during testing a while back (duh). This was why slothd was mysteriously disappearing after half a day. 2) Updated the makefile to produce static slothd binaries 3) Added a locking mechanism to avoid accidentally starting two slothd's simulatneously.
-
Robert Ricci authored
Checks to make sure that all ports for an experiment are in the correct switch state. If they are enabled, they should have carrier. Note that enough code is shared between checkports and portstats that some of it could probably be moved to a library at this point.
-
Mac Newbold authored
-
Mac Newbold authored
-
Kirk Webb authored
than rc.testbed. Since rc.testbed calls cvsup, modifications to this file do not take effect until the next reboot occurs. This is why slothd was not starting on many nodes.
-
Leigh B. Stoller authored
an experiment fails to setup properly (we were leaving them running).
-
Leigh B. Stoller authored
-
- 23 May, 2002 11 commits
-
-
Robert Ricci authored
First, gives us a handy way to build all the tools, if there is ever more than one. Second, it's a workaround for a really annoying problem with configure. Since there was nothing in the tools/ directory itself, it wasn't getting created, so configure could not make tools/pcapper (since the parent directory didn't exist.)
-
Chad Barb authored
-
Kirk Webb authored
-
Kirk Webb authored
Section mentioning non-default daemons started by testbed scripts updated with slothd info, and corrections were made to the healthd info.
-
Robert Ricci authored
request.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
recommendation by Dave in email to testbed-ops).
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 22 May, 2002 17 commits
-
-
Chad Barb authored
(punting for today on indicating directions for non-symmetric attributes, though both are listed.)
-
Chad Barb authored
Now, due to changes in the parser, lans must have $'s before the name of each node. (shashi says this is the proper ns syntax) Changed java code to do this.
-
Chad Barb authored
-
Robert Ricci authored
Event system: When compiled with -DEVENTSYS, can be made to wait for time to start in an experiment before starting to count packets. Times are also reported relative to experiment time start. Use the '-e' flag to enable. SUID support: If compiled with -DDROPROOT, and it seems that pcapper was started setuid root (euid == 0, and ruid != 0), drops root permissions after opening BPF (or raw socket in Linux.) This allows it get permissions to read packets, but still be killed by the user. This is particularly useful with the testbed's program objects. New command-line options: -s: Print out packet counts to stdout, in addition to listening on a socket ('-f -' does the same thing, too) -p: Count only payload sizes, not header sizes -e: Wait for event system time to start in pid/eid -z: Don't count zero-length packets in the packet counts (useful with '-p') Also, now creates a GNUmakefile the _right_ way.
-
Shashi Guruprasad authored
Refer http://www.isi.edu/nsnam/ns/doc/node125.html
-
Leigh B. Stoller authored
* Cleanup! A lot of the structure derived from the early frame days, which had a noticable (and bad) effect on how I wrote the stuff. I cleaned up most of that yuckyness. * In process, optimize a little bit on the queries. The old code did about 9 queries just to write out the menu options, and then repeated most of those queries again in the page guts. I've consolidated the queries as much as possible (to 3) and cache all the results. * Fix up problem with users who forget their passwords before verification. Basically, I fixed the more general problem of not being able to update your user info before verification/approval; users now get that menu option no matter their status. * Fix up problem of users being able to access pages before verification (but after approval) by going around the menu options. The page level check (after the menu is drawn) now checks all conditions (password expired, unverified, unapproved, timedout, and also nologins()). * Minor change in approveuser; do not show the new account to the project leader until the new user has verified his account. * Change verification method, as reqwuested by Dave. In addition to providing the key, also provide a web link to take the user straight to verification. I actually take them direct to the login page, and pass the key in as an argument. If the user is already logged in, bypass and go directly to the verify page (not the form page of course). If the user is not logged in, let him log in, and then forward the key onward to the verify page. Basically, bypass the form all the time, and just do the verification. * Minor change in showuser; Do not show pid/groups not approved in, and if the count is zero, do not draw the table headings.
-
Kirk Webb authored
database (iddata_clean), and a script to generate fake idle entries for testing scripts on the minibed (idloadup.pl). iddata_clean, by default, removes all idle entries older than 36 hours. This can be changed by providing -m <maxage> (in seconds) to it. idloadup.pl adds random idle data at time offsets from now, to 5 days prior (1 sec granularity). It adds anywhere from 1 to 10 entries per PC to the node_idlestats page, and from 1 - 10 x # interfaces to the iface_counters table.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
of "fast insert" mode. That option plus a couple of others makes duplicating the DB 3-4x faster. Add a DB table of tables to prune out of the copy before creating the clean DB. There is a lot of stuff in the DB that is not needed for the testsuite, and the constant copies churn the DB for little reason.
-
Leigh B. Stoller authored
various redundant spots though.
-
Robert Ricci authored
return value on VLAN creation. If it reports success, we look for the VLAN with findVlan(), to make sure it's really there. We retry a couple times if it didn't work. This will add a small (sub-second) time penalty per VLAN created. We ran into one instance, that we've noticed, where the switch reported that VLAN creation succeeded, but the VLAN did not actually get created on the switch.
-
Mac Newbold authored
Change default idledays from 3 to 2, and don't show the swap request button if the expt is marked unswappable. (I'll mark things unswappable as necessary for special expts, even if the original creator doesn't.
-
Leigh B. Stoller authored
size. Works nicely!
-
Leigh B. Stoller authored
again. No biggie.
-
Chad Barb authored
(Added for my timing tests.)
-
Mike Hibler authored
-