1. 17 Oct, 2002 1 commit
  2. 09 Oct, 2002 2 commits
    • Mac Newbold's avatar
      Add a new script: tbresize · 0dd12dba
      Mac Newbold authored
      (installs into /usr/testbed/bin/tbresize but isn't avail. on ops yet)
      Usage: tbresize [-d] -a -e pid,eid -n num -t type [-p prefix]
             tbresize [-d] -r -e pid,eid <node> [<node> ...]
             tbresize -h
      Use -h to show this usage message.
      Use -d to enable extra debugging output.
      Use -a to add nodes to an experiment.
      Use -r to remove nodes from an experiment.
      Use -e pid,eid to specify the experiment to resize.
      Use -n to specify the number of nodes to add.
      Use -t to specify the type of the nodes to be added (pc, pc850, pc600,
      Use -p to specify a prefix for vnames (i.e. "node" => node0 .. nodeN).
      With -r, specify a list of one or more nodes to be removed (i.e. pcXX).
      Can even resize an expt down to no nodes then back up again. If it has
      one LAN/link in the expt, it adds the new nodes to it. If it has zero or
      more than one, it doesn't connect the new nodes to the topology.
      After finding and reserving (or before freeing) it fixes up the right
      places in the db and reruns snmpit, then reruns exports_setup and
      named_setup and reboots all the nodes that are now in the expt so they get
      updated configuration data.
      Even visualizes properly after being resized, the only catch is that the
      ns file is the original one, not one generated from the db.
      Use it, abuse it, have fun with it, and let me know what breaks.
    • Leigh B. Stoller's avatar
      Minor changes for Shashi; add "src" slot to virt_routes table so that · 4cb10094
      Leigh B. Stoller authored
      routes can be listed for each interface on a node, and so that the
      route list can be converted into an ipfw chain on the client for nse.
  3. 07 Oct, 2002 1 commit
  4. 04 Oct, 2002 1 commit
  5. 03 Oct, 2002 3 commits
  6. 02 Oct, 2002 1 commit
    • Chad Barb's avatar
      Initial version of delay web control. · dd27f82a
      Chad Barb authored
      Functional, but needs some work.
      Won't allow non-admins to use it (since it doesn't do "proper" permission checking yet.)
      Input is aggressively checked for bad mojo before being pasted into any command line.
      Run from /delaycontrol.php3?eid=exptname&pid=projname
      Admin bit must be on.
  7. 28 Sep, 2002 1 commit
  8. 26 Sep, 2002 1 commit
  9. 20 Sep, 2002 2 commits
    • Chad Barb's avatar
      · a1a26932
      Chad Barb authored
      - Increased the point penalty for using a link
        which is marked as -1 ("not-connected") in the physical matrix.
        (Was 10,000; is now 100,000.)
      - Now we actually report an error, and return errorcode 6,
        if the final reported solution uses any not-connected links.
    • Mac Newbold's avatar
      Remove -e flag from calls to power. node_reboot sends an event only when ssh... · 8b23d335
      Mac Newbold authored
      Remove -e flag from calls to power. node_reboot sends an event only when ssh reboot or ipod are successful in rebooting the node, and only calls power when they are not successful. So an event should be sent by power every time node_reboot calls it. This explains some of the problems we were having with tons of email from stated about invalid transitions: since the state changes weren't always happening, it appeared to skip over states.
  10. 19 Sep, 2002 1 commit
  11. 17 Sep, 2002 2 commits
  12. 16 Sep, 2002 2 commits
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Reorg of working directory and log file stuff for start/swap/end · 533dc18f
      Leigh B. Stoller authored
      experiment. Here is mail to tbops:
      * Moved the working directory for experiment setup/swap/end to a new
        directory located on boss instead of over NFS to /proj/$pid/$eid. This
        new location is /usr/testbed/expwork/$pid/$eid.
      * Changed the name of the directories we create in /usr/testbed/expinfo to
        $pid-$eid.$index where $index is a new autoincrement field in the DB
        table. I really hated the names that were created before.
      * Changed where logs are written from /tmp to the new location in
      Okay, why.
      * We no longer operate on NFS mounted directories that might hang. Its
        easier to catch the situation where a copy of the log file over at the
        end of experiment creation fails cause of an NFS problem.
      * We no longer have user writable files that are inputs to other parts of
        the system (like top and ptop files).  Not that a user would be bad, but
        it closes a hole.
      * We no longer copy user writable files from /proj to boss where we might
        fill up an important filesystem cause the user put a .ndz file in the the
        working directory. Not that a user would be bad, but it closes a hole.
      * Its easier to save all the log files this way, for each swap in and
      * Removing a directory over NFS is a royal irritant when someone is CD'ed
        into that directory or looking at a file on the other side (the astute
        observer will peg this as the reason I went down this idiotic path in the
        first place!).
      * About 6 other reasons that I can no longer remember. Seriously, I really
        had more reasons I can no longer remember! :-)
  13. 13 Sep, 2002 3 commits
  14. 10 Sep, 2002 2 commits
  15. 06 Sep, 2002 1 commit
  16. 28 Aug, 2002 1 commit
  17. 21 Aug, 2002 1 commit
  18. 20 Aug, 2002 3 commits
    • Leigh B. Stoller's avatar
      Turn off SFS stuff until fixed. · 2bc4b01e
      Leigh B. Stoller authored
    • Austin Clements's avatar
      Generate SFS keys for new users. · ba62c306
      Austin Clements authored
    • Leigh B. Stoller's avatar
      libdb: Add a couple of support routines to update the account_update · a9909c42
      Leigh B. Stoller authored
      flag in the nodes table when a user changes his info. Two routines,
      one to do it by type (as for widearea nodes) and another to do it by
      project (as for local) nodes. This last is kinda inefficient, but
      probably not too big a deal.
      mkacct: Two changes.
      1. Use the above changes in libdb when a user changes his info. With
         this change, no longer need to do an account update in the
         experiment page for the ron/wa nodes. The nodes are marked as
         needing the update in mkacct, based on the nodes the user has
         access to. Note, this change applies only to widearea nodes; still
         need to use the update option in the experiment menu for local
         nodes, although I plan to change that to at some point by adding a
         watchdog on the local nodes.
      2. ssh2 key support. The DB can now store both ssh1 and ssh2 keys,
         however those keys are handled differently when creating the auth
         keys files for users. There are actually two files created now, the
         second being the ssh2 key file call authorized_keys2. This change
         is mirrored in the client side code as well.
  19. 14 Aug, 2002 1 commit
  20. 13 Aug, 2002 2 commits
  21. 05 Aug, 2002 3 commits
  22. 30 Jul, 2002 1 commit
  23. 23 Jul, 2002 1 commit
  24. 16 Jul, 2002 2 commits
  25. 15 Jul, 2002 1 commit
    • Chad Barb's avatar
      · 75d3f7a1
      Chad Barb authored
      Changed behavior:
      If "-s <seed>" is not specified, a timeofday-dependent random
      seed will be used.
      In any case, when in verbose mode, the random seed used will be
      printed out at the beginning of the run.