1. 22 Jun, 2006 1 commit
  2. 21 Jun, 2006 1 commit
    • Leigh Stoller's avatar
      Munge the schemacheck code to deal with all the oddities of the way · 53c29cfa
      Leigh Stoller authored
      mysql 5.0 dumps the schema. What a pain in the ass.
      Note that "timestamp" is basically impossible since its radically
      different between 3.X and 5.X, which would break schemacheck on 3.X
      based Emulabs. Since there are only three of them in the schema, I
      changed schemadiff to not look too hard at them.
  3. 20 Jun, 2006 1 commit
  4. 06 Jun, 2006 1 commit
  5. 01 Jun, 2006 1 commit
    • Leigh Stoller's avatar
      Add suport for building per project, group, experiment DBs on ops. At · adbcfd47
      Leigh Stoller authored
      present the per-experiment stuff is not hooked in, but will be for
      templates later. Anyway, each user gets a mysql account on ops, with
      password set to the same as their mailman password (which is also
      their jabber password, etc). Each project gets a DB named by the
      project, and each group gets a DB named by pid,gid. Users are placed
      on the access lists for the DBs as you would expect.
      There is a little bit of complexity to make sure that we can create
      DBs on ops outside the Emulab path and grant access to them, without
      Emulab getting confused or mucking things up.
      I'll get a news item done ...
  6. 24 May, 2006 2 commits
  7. 27 Apr, 2006 2 commits
  8. 20 Apr, 2006 1 commit
  9. 07 Apr, 2006 1 commit
  10. 06 Apr, 2006 1 commit
  11. 21 Mar, 2006 1 commit
  12. 14 Mar, 2006 1 commit
  13. 13 Mar, 2006 2 commits
    • Leigh Stoller's avatar
      A couple minor tweaks to allow taking snapshots of global images, · 026d4c32
      Leigh Stoller authored
      which are stored in /proj/$pid/images since they cannot go directly
      to boss. They need to be copied back of course, but only admins
      can create global images anyway.
    • Leigh Stoller's avatar
      A set of changes to run "prepare" on a node just prior to an image · d8f8f9b4
      Leigh Stoller authored
      being taken.
      The basic strategy is to have node_reboot (when -p option supplied)
      invoke a special command on the node that will cause the shutdown
      procedure to run prepare as it goes single user, but before the
      network is turned off and the machine rebooted. The output of the
      prepare run is capture and send back via the tmcd BOOTLOG command and
      stored in the DB, so that create_image can dump that to the logfile
      (so that the person taking the image can know for certain that the
      prepare ran and finished okay).
      On linux this is pretty easy to arrange since reboot is actually
      shutdown and shutdown runs the K scripts in /etc/rc.d/rc6.d, and at
      the end the node is basically single user mode. I just added a new
      script to run prepare and send back the output.
      On FreeBSD this is a lot harder since there are no decent hooks.
      Instead, I had to hack up init (see tmcd/freebsd/init/{4,5,6}) with
      some simple code that looks for a command to run instead of going to a
      single user shell. The command (script) runs prepare, sends the output
      back to tmcd, and then does a real reboot.
      Okay, so how to get -p passed to node_reboot? I hacked up the
      libadminmfs code slightly to do that, with new 'prepare' argument
      option. This may not be the best approach; might have to do this as a
      real state transition if problems develop. I will wait and see.
      Also, I changed www/loadimage.php3 to spew the output of the
      create_image to the browser.
  14. 08 Mar, 2006 1 commit
  15. 07 Mar, 2006 1 commit
  16. 02 Mar, 2006 2 commits
  17. 24 Feb, 2006 4 commits
  18. 22 Feb, 2006 2 commits
  19. 21 Feb, 2006 4 commits
  20. 15 Feb, 2006 3 commits
  21. 14 Feb, 2006 1 commit
  22. 10 Feb, 2006 1 commit
  23. 06 Feb, 2006 1 commit
  24. 31 Jan, 2006 2 commits
    • Kirk Webb's avatar
      · fb36443f
      Kirk Webb authored
      Added trunk stats lookup (given a member port) to and added snmp-if-deref.sh
      to the CVS repo.
    • Timothy Stack's avatar
      Have loghole automatically run linktrace captures through tcptrace(1) · 561b6211
      Timothy Stack authored
      so they can be viewed with xplot.  Loghole does this by merging the
      capture files for the "pre-shaped" sides of a particular link and then
      runs that new file through tcptrace to generate a bunch of graphs.
      The merged capture file and the .xpl's are dropped in the experiment's
      log directory under separate directories for each lan/link.
  25. 05 Jan, 2006 2 commits