1. 26 Feb, 2008 2 commits
    • Leigh B. Stoller's avatar
      Another change for CMU; they have laptops that do not power up after a · ec9ed5f7
      Leigh B. Stoller authored
      power cycle. For those we need to send wakeonlan packets to kick them.
      This is complicated by the fact that the laptops take an incredibly
      long time to go from poweron to a point where it will listen to a
      wakeonlan packet. No idea why. I use StateWait() to find out when the
      node hits bootinfo (which sends a PXEBOOTING event). Keep looping
      sending more wakeonlan packets until we hear from the node. Time out
      the operation after two minutes (probably need something to control
      this).
      
      To find the outgoing interface required by tools/whol program, I look
      in the interfces table for boss' control network.
      
      The mac address of the target node comes from the interfaces table.
      
      The flag that controls whether a node needs wakeonlan is in the
      node_attributes table:
      
      	mysql> insert into node_attributes set
      	          attrkey='wakeonlan_afterpower',
      		  attrvalue=1, node_id='pcxxx';
      ec9ed5f7
    • Leigh B. Stoller's avatar
      CMU sillynees; add a hook script they can modify for post-user · 136b09b6
      Leigh B. Stoller authored
      creation.  Only runs on the CMU emulab.
      136b09b6
  2. 25 Feb, 2008 2 commits
  3. 23 Feb, 2008 1 commit
  4. 22 Feb, 2008 2 commits
  5. 21 Feb, 2008 4 commits
  6. 20 Feb, 2008 3 commits
  7. 19 Feb, 2008 1 commit
  8. 18 Feb, 2008 2 commits
    • Leigh B. Stoller's avatar
      Fix cvs merge error. · 2c7555bc
      Leigh B. Stoller authored
      2c7555bc
    • Leigh B. Stoller's avatar
      Add support for hashified/cloned filesystems. This is really only · 4bb9e149
      Leigh B. Stoller authored
      useful on widearea nodes where we can amortize the time it takes to
      copy/hash the necessary filesystems, which takes about 15 minutes.
      We would do this when a node first boots (or its image is updated I
      guess).
      
      Note that the clone operation (when a vserver is actually created) is very fast
      though, taking about 30 seconds.
      
      Currently controlled by local variable $USEHASHIFIED for debugging.
      4bb9e149
  9. 17 Feb, 2008 1 commit
  10. 15 Feb, 2008 1 commit
  11. 14 Feb, 2008 7 commits
  12. 12 Feb, 2008 4 commits
  13. 11 Feb, 2008 5 commits
  14. 09 Feb, 2008 2 commits
    • Leigh B. Stoller's avatar
      Bump pnode/vnode duration counters to floats since several users · 1d57505c
      Leigh B. Stoller authored
      (Rob,Mike,Jay) have overflowed an unsigned int.
      1d57505c
    • Dan Gebhardt's avatar
      Some very basic infrastructure for generalized tools was added. · 639758e6
      Dan Gebhardt authored
      Some parts very "hacky", lots of XXX / TODOs.
      BARELY tested!!!! Don't use on the production system yet.
      Need to verify that things didn't break, especially with the automanager,
      the bgmon.pl "outage detection stuff", etc...
      
      See code's todos and also the file
      flexlab-canonicalization-misc-notes.txe
      
      At this point:
       - mangerclient & automanagerclient did not change.
       - The manager, when a probe request is received, looks at the DB table
         "tool_spec" to retrieve the proper wrapperpath, formal parameter list, etc..
       - The manager assembles a message and sends it out to the appropriate
         path probers, which operate on the request as they have been
         (no major internal changes to the path probers).
       - The path probers call the toolwrapper to run the tests
       - The toolwrappers return a canonical result for that type of metric.
       - The path probers send the result and the actual parameters used by the
         tool to the data collector.
       - The data collector uses the toolname and actual parameters to get an
         idx number. This idx is stored in the "measured_by" field of this
         measurement's entry in the "pair_data" table.
      639758e6
  15. 08 Feb, 2008 1 commit
    • Dan Gebhardt's avatar
      Initial changes to support tool generalization. All command-line · caa4023a
      Dan Gebhardt authored
      arguments and result parsing handled by separate application wrappers.
      Currently fping and iperf supported.
      Not fully functional at this point: user interface needs extending
      to support the generalization, as well as getting the results back
      to "opsrecv".
      
      Also merged some of Mike's changes to allow for "private" managers
      to use during testing.
      caa4023a
  16. 07 Feb, 2008 2 commits