1. 13 Nov, 2009 1 commit
  2. 05 Aug, 2009 1 commit
  3. 04 Aug, 2009 2 commits
  4. 24 Mar, 2009 1 commit
  5. 07 Nov, 2008 1 commit
  6. 31 Aug, 2007 1 commit
  7. 30 Aug, 2007 1 commit
  8. 29 Aug, 2007 1 commit
  9. 28 Aug, 2007 1 commit
  10. 23 Aug, 2007 1 commit
  11. 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:
      
         https://www.myemulab.net/spewimage.php?imageid=10013&access_key=abcdef
      
        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.
      99346dc0
  12. 25 Jun, 2007 1 commit
  13. 01 May, 2007 1 commit
    • Mike Hibler's avatar
      First step is allowing a different "standard" disk layout: · b0e86d9b
      Mike Hibler authored
       * Somewhere in the DB, probably images, we will store the MBR "version"
         required by a partition (non-whole-disk) image.  This info will be
         passed to the client (us).
      
       * We use this info to install the correct MBR on the disk before starting
         frisbee.  The various MBRs (all two of them) will be stored in the
         frisbee MFS since they are only 512 bytes each.
      
      This checkin handles the client-side of things and is backward compatible
      (i.e., assumes MBR version 1 if nothing is passed).
      
      One immediate benefit is that this will allow us to install a partition
      image on a new (or otherwise MBR-free) disk, as it detects the case of no
      MBR and installs one.
      b0e86d9b
  14. 09 Jan, 2007 1 commit
    • Mike Hibler's avatar
      Frisbee MFS changes: · 346c0562
      Mike Hibler authored
       * support FreeBSD 6
       * client-side changes to support enable/disable of ACPI via slicefix
       * use dynamically linked Emulab binaries in frisbee MFS (for size)
      346c0562
  15. 31 Mar, 2006 1 commit
  16. 13 Dec, 2005 1 commit
  17. 19 Aug, 2005 1 commit
  18. 07 Jul, 2005 1 commit
  19. 17 Jun, 2005 1 commit
  20. 11 May, 2005 1 commit
  21. 17 Mar, 2005 1 commit
    • Mike Hibler's avatar
      Partial support for disk-zeroing on experiment termination. · 60e7adb8
      Mike Hibler authored
      I did the "back half" support.  If the 'mustwipe' field is non-zero
      in the reserved table entry for a node then its disk must be zeroed.
      How the zeroing is done, depends on the value of the mustwipe field.
      Right now, '1' means pass the '-z' option to frisbee to have it zero
      all non-allocated blocks.  The value '2' is reserved for enabling a
      "full wipe" pass of the disk before running frisbee, which Keith Sklower
      (DETER) wanted to be able to do.  Note that 1 and 2 are effectively the
      same, if we are loading a full-disk image; i.e. all non-allocated blocks
      from the new image are zeroed.  But if the disk were being loaded with
      a single-partition image, then "frisbee -z" would only wipe unused
      blocks in that partition.
      
      The reload_daemon has been modified to extract the mustwipe info and
      invoke os_load accordingly.   os_load now takes a "-z <type>" option
      to enable the zeroing by setting a value in the current_reloads table.
      tmcd will read and return that info to its caller in the "loadinfo" command.
      Finally, the rc.frisbee script that runs in the frisbee MFS extracts the
      loadinfo info and crafts the frisbee startup command.
      
      What still needs to be done is the "front end," how the user specifies
      the value and how it winds up in the DB reserved table.  This will probably
      involve addition of state to the experiments table as this will likely be
      a per-experiment setting.
      60e7adb8
  22. 10 Nov, 2004 1 commit
  23. 28 Sep, 2004 1 commit
  24. 11 Aug, 2004 1 commit
  25. 07 Jun, 2004 1 commit
  26. 18 May, 2004 1 commit
    • Mike Hibler's avatar
      Fixes for CD boot: · 8174369d
      Mike Hibler authored
      1. tbbootconfig: ensure block is zeroed on first init, fix cut/paste error
      2. rc.frisbee: cleanup interface to slicefix
      3. slicefix: cleanup, make it work correctly, init tbboot block for cd boot
      
      Unrelated:
      1. link-agent makefile: build link-agent when doing client-install
      8174369d
  27. 10 May, 2004 1 commit
    • Leigh B. Stoller's avatar
      Add makefile support for taking a FreeBSD fixit disk and turning that · c8b47d7d
      Leigh B. Stoller authored
      into a testbed boot CD in a mostly automated manner. There are still a
      few things that need to be done by hand, which are described in the
      cdboot/README file.
      
      Add tmcd/freebsd/cdboot directory of little scripts and files that
      need to onto the fixit disk.
      
      The install target is cdboot-install (must be run as root) and if you
      are brave enough to run it, you better give it a DESTDIR argument or
      you will write a bunch of files onto the local node that will cause
      mayhem and havoc at the next reboot.
      c8b47d7d
  28. 20 Feb, 2004 1 commit
  29. 15 Oct, 2003 1 commit
  30. 26 Aug, 2003 1 commit
  31. 18 Apr, 2003 1 commit
  32. 09 Apr, 2003 1 commit
  33. 19 Feb, 2003 1 commit
  34. 12 Dec, 2002 1 commit
  35. 18 Oct, 2002 1 commit
    • Mac Newbold's avatar
      Merge the newstated branch with the main tree. · 5c961517
      Mac Newbold authored
      Changes to watch out for:
      
      - db calls that change boot info in nodes table are now calls to os_select
      
      - whenever you want to change a node's pxe boot info, or def or next boot
      osids or paths, use os_select.
      
      - when you need to wait for a node to reach some point in the boot process
      (like ISUP), check the state in the database using the lib calls
      
      - Proxydhcp now sends a BOOTING state for each node that it talks to.
      
      - OSs that don't send ISUP will have one generated for them by stated
      either when they ping (if they support ping) or immediately after they get
      to BOOTING.
      
      - States now have timeouts. Actions aren't currently carried out, but they
      will be soon. If you notice problems here, let me know... we're still
      tuning it. (Before all timeouts were set to "none" in the db)
      
      One temporary change:
      
      - While I make our new free node manager daemon (freed), all nodes are
      forced into reloading when they're nfreed and the calls to reset the os
      are disabled (that w...
      5c961517
  36. 10 Jul, 2002 1 commit
  37. 21 Apr, 2002 1 commit
  38. 14 Jan, 2002 1 commit
  39. 07 Jan, 2002 1 commit