1. 21 Aug, 2007 1 commit
    • Leigh B. Stoller's avatar
      Another round of widearea node hacking for CMU. These changes add · 99346dc0
      Leigh B. Stoller authored
      widearea reloading support.
      * New slot in the images table to store an access key which remote
        sites must provide in order to download an image (via https).
      * tmcd returns a different kind of ADDRESS field from doloadinfo.
        Instead of the multicast stuff, return a URL that points to boss'
        web server. The URL is of the form:
        which as you can see is fully specified; the client does not need
        to know anything else.
      * New webpage and backend scripts appropriately called "spewimage"
        which also includes support for the http HEAD request (from wget) to
        avoid downloading images that are already on the node. I just
        learned about this HEAD request stuff today ... but otherwise these
        operate as expected, spewing the image if the access key is provided.
      * Changes to rc.frisbee to deal with remote loading. In addition to
        URL support, I also added support for simple paths, the intent being
        that we will probably distribute images offline (say, at night) so
        that when a node reboots it doesn't actually have to wait 60 minutes
        for an image to download. I have not added any server side support
        for this yet though. Maybe later this week.
      * Other bits and pieces and fixes to make this work.
  2. 16 Aug, 2007 2 commits
    • Leigh B. Stoller's avatar
      Add pcvwa initial type entry. · 1d2d69a6
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Add IP and privkey slots (key INDEX slots) to widearea_nodeinfo table. · 0fe9fe1a
      Leigh B. Stoller authored
      This will superceed the widearea_privkeys table that was used for
      RON/Netbed but was never done well.
      The privkey is just something we generate and store on the dongle (as
      a simplification, we just create a dongle per node instead of
      generating them on the fly) since there are not very many of these
      widearea (CMU) nodes. We store the IP here for convenience (there is
      an interfaces table entry of course).
      The IP is updated when the node tells us it has changed, using the
      privkey to uniquely identify it (for checkin).
  3. 31 Jul, 2007 1 commit
  4. 27 Jul, 2007 3 commits
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Minor fix to previous revision. · 438ccf09
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      * Add new tables to store NS files (and any files they source) in the · f8333ef2
      Leigh B. Stoller authored
        DB alongside the resource records. Previously, we stored only the
        nsfiles for current experiments, and purged them when the experiment
        was terminated. The new approach saves them forever using the resource
        record ID. Note that we do not store copies of NS files, but reference
        them indirectly instead so that we can MD5 them and avoid the dups.
        I put a "compressed" bit into the table cause at some point we will
        start compressing the data before storing them into the DB. Or maybe
        we bag this and start using GFS!
        Also note that this addresses the problem of losing the NS file
        history when using swapmod, since the NS file is overwritten.
      * Add a pmapping table stores the nodes (and their types) used by an
        experiment. This data is also saved forever, alongside the resource
        records, so that we can more accurately replay an experiment. As Rob
        points out, the node names can also be used in conjunction with the
        ptop files that are saved, to get a 100% accurate remap of resources.
  5. 26 Jul, 2007 1 commit
  6. 12 Jul, 2007 2 commits
  7. 10 Jul, 2007 1 commit
  8. 05 Jul, 2007 1 commit
  9. 20 Jun, 2007 3 commits
    • Leigh B. Stoller's avatar
      I forgot about the firewalls table. · 827aa497
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Minor change. · 1a25da73
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Add summary node utilization stats. The initial values are derived by · 21890006
      Leigh B. Stoller authored
      processing the node_history table, but that is *way* too slow to do on
      the fly (say, from the web interface) cause of the number of records,
      so the summary info is stored in the new node_utilization table. I
      generate the summary info as new entries are added to node_history (in
      SetNodeHistory) but if that becomes too messy, we can just as easily
      shift to processing the table on a nightly basis.
      Note that I added a new "inception" date field to the nodes table,
      which will get set on new nodes, but for existing nodes I have to
      derive it from the first entry in the node_history table, or else the
      numbers will not make sense.
  10. 19 Jun, 2007 3 commits
    • Leigh B. Stoller's avatar
      Minor fix. · d50bb038
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Minor change. · e6168481
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Big update to the stats gathering code ... · 495f6803
      Leigh B. Stoller authored
      This change attempts to make the stats gathering code more reliable by
      not relying on the testbed_stats records to reconstruct usage
      statistics.  The main source of errors and total confusion in the
      current stats code is that testbed_stats includes all the errors and
      transitions, from which I have to reconstruct what happened in order
      to determine usage by a project or user.
      The new stats code still generates the testbed_stats code, but actual
      usage is recorded as it happens, in the experiment_resources table, as
      swapins, swapouts, and swapmods occur. Its also much faster to compute
      the data for the tables in the web interface, not having to scan a
      zillion testbed_stats records in php.
      There is a time consuming update to the records that takes place with
      a lot of tables locked.
  11. 12 Jun, 2007 1 commit
  12. 31 May, 2007 1 commit
  13. 22 May, 2007 1 commit
  14. 11 May, 2007 1 commit
  15. 07 May, 2007 1 commit
    • Leigh B. Stoller's avatar
      Mostly this commit is the switch from SVN archives to ZIP archives. · 55d1bb6e
      Leigh B. Stoller authored
      Other stuff leaked in too ...
      I did separate out a lot of tbsetup/libArchive into db/Archive, and
      whats left in libArchive.pm will eventually move over into the
      Template library.
      Note that I have dropped archiving of plain experiments; this is not
      really owrth it outside the workbench context, and it just wastes
      space and makes a lot if stuff painful in the web interface.
  16. 01 May, 2007 1 commit
  17. 26 Apr, 2007 1 commit
  18. 24 Apr, 2007 1 commit
  19. 23 Apr, 2007 1 commit
  20. 20 Apr, 2007 1 commit
  21. 17 Apr, 2007 6 commits
  22. 20 Mar, 2007 1 commit
  23. 13 Mar, 2007 3 commits
  24. 08 Mar, 2007 1 commit
  25. 07 Mar, 2007 1 commit