1. 25 Jun, 2012 1 commit
  2. 19 Jun, 2012 1 commit
    • Mike Hibler's avatar
      Make frisbee more directly IGMP (v2) aware. · 66e07584
      Mike Hibler authored
      Add "-Q <interval>" option to the master server to allow it to act as an
      IGMP V2 querier in environment where there is otherwise not one. It does
      essentially what the perl-based querier (code.google.com/p/perl-igmp-querier/)
      does, sending out a v2 membership query at the specified interval.
      
      This eliminates the need to run mrouted in some environments (e.g., elabinelab)
      just to issue IGMP queries. As a result, all the boss-install and elabinelab
      setup related to using mrouted to perform this function has been removed.
      The elabinelab CONFIG_MROUTED option has been changed to CONFIG_QUERIER
      (the former is still recognized and mapped to the latter). The undocumented
      defs-* variable NEEDMROUTED has been changed to NEEDMCQUERIER (the former
      still exists in install/installvars.pm.in but is always set to 0) to more
      accurately reflect the variable's purpose. If NEEDMCQUERIER is set, then
      the mfrisbeed startup script is modified to add the "-Q 30" option.
      
      The implementation of the client and server "-K <interval>" keep-alive option
      has been changed to directly send IGMP v2 membership reports containing the
      associated MC address.
      
      Note that the -K options have always been a hack to work-around assorted
      IGMP-related misconfigurations and incompatibilities, and really should
      only be used as a last resort. As implemented, they could cause the host
      machine to be pruned out of other MC groups at the nearest switch since
      they only report membership in the frisbee MC group. With the master server
      acting as an IGMP querier, instances of the frisbee server on that host
      should no longer need to do keep alives. We still have one case where it
      is needed on the client-side: a FreeBSD 8.x or later host connected to an
      IGMPv2-only switch. It appears that the IGMPv3 implementation added in
      FreeBSD 8.x always sends v3 reports, even when the default is configured
      (via sysctl or even recompiling the kernel) as v2.
      66e07584
  3. 04 Jun, 2012 1 commit
  4. 29 May, 2012 1 commit
  5. 03 May, 2012 2 commits
    • Leigh Stoller's avatar
      Add support for fully initializing the ilo on geni rack nodes. · 164da3ba
      Leigh Stoller authored
      The basic operational model is as follows.
      
      * We turn the nodes on.
      
      * Since there is nothing on the disks, they will fall through to
        booting from the PXE and will boot the newnode MFS. They all check
        in.
      
      * We run Jon's script that adds the nodes. They are now in hwdown,
        still nothing on the disks.
      
      * We run my script, which is driven from a datafile we are supposed to
        get from HP. This script has the ilomac, ilopswd, control mac. I
        will add another column initially; the permanent IP to assign to the
        ilo. This script does:
      
       + Reads the datafile to get all the stuff.
       + Reads the dhcpd.leases file to find the temporary IPs of the ilos.
       + Finds the corresponding nodes in the DB.
       + Sends over an XML file that does the following:
           - Add the elabman user.
           - Add local root's dsa pub key to the new elabman user.
           - Add Utah's root dsa key to the Administrator user
           - Sets the power on mode to auto (so that the node turns on!).
           - Sets the idle timeout to 2 hours.
       + Sets the bootorder so that PXE is first. This has to be done
         with ssh and some expect stuff I culled from power_ilo. Sigh.
       + Calls out to another script that adds the ilo interface to the
         DB (this is the management_iface script I did last month).
       + Sends another XML file that tells the ilo to reset itself, so that
         it picks up its permanent IP address.
      
      * Now we can free the nodes from hwdown.
      164da3ba
    • Leigh Stoller's avatar
      Fix path to httpd. · 31f0a420
      Leigh Stoller authored
      31f0a420
  6. 28 Mar, 2012 1 commit
  7. 27 Mar, 2012 1 commit
  8. 20 Mar, 2012 1 commit
  9. 15 Mar, 2012 1 commit
    • Leigh Stoller's avatar
      Add MFSVERSION to override calculation in MFS localization. · 25ada4a3
      Leigh Stoller authored
      Add LINUX_FSNODE to indicate that the FSNODE is running LINUX.
      This is just a partial implementation, intended to support some
      changes contributed by Maarten Dewispelaere at intec.ugent.be
      Note that these changes do not work with windows enabled, so I added a
      check for that.
      25ada4a3
  10. 08 Mar, 2012 3 commits
  11. 07 Mar, 2012 1 commit
    • Mike Hibler's avatar
      Add a NODECONSOLE defs* variable. · 2b46ad88
      Mike Hibler authored
      This is not as general or as useful as you might think.
      Right now it simply controls what device gets used as console when
      customizing the MFSes. "sio" is the default. Other choices correspond
      to pxeboot variants: sio2, vga, null. Choosing vga also sets the magic
      VGAONLY setting in the frisbee MFS ensuring that any customized (via slicefix)
      FreeBSD image doesn't try to use the serial port as console.
      
      A real solution for choosing node consoles would not be per-testbed.
      It would be per-node-type and per-node. Right now the console type is
      selected in that fashion via a combination of the pxe_boot_path and
      frisbee/admin MFS OSIDs. At some point we should make the console setting
      explicit.
      2b46ad88
  12. 28 Feb, 2012 1 commit
  13. 25 Feb, 2012 1 commit
  14. 24 Feb, 2012 1 commit
  15. 17 Feb, 2012 1 commit
    • Leigh Stoller's avatar
      BIG reorganization of the install code. · 82e1d812
      Leigh Stoller authored
      * Split up boss/ops/fs install into indvidual modules; generally, what
        was a toplevel phase in the original files is not a file. This
        allowed for better code/variable reuse. No longer monolithic, which
        makes it easy to test and rerun parts.
      
      * Incorporate "update" into the install process. Certain phase file
        can be used in update mode, as when the IP/subnet/domain changes.
      
      * Moved the MFS setup from rc.mkelab into the normal install process.
        Users no longer have to do this themselves. Good thing.
      
      * installvars.pm is a new library that has the merged set of the
        zillion variables that were at the top of boss/fs/ops install.
      82e1d812
  16. 06 Jan, 2012 1 commit
    • Leigh Stoller's avatar
      More work on getting ready to switch over to apache 2.2 ... Move the · 96bc3d62
      Leigh Stoller authored
      different versions into v1/v2 subdirs, since I did not like the
      naming.
      
      Add new version of the ops httpd.conf file, again taken from Dave's
      linux-port branch, and then whacked on.
      
      Add utah versions of the boss/ops config files and a utah target.
      These will probably get removed later when we switch over, but I do
      not want to lose the work I did to merge in the local hacks.
      96bc3d62
  17. 02 Dec, 2011 1 commit
  18. 07 Nov, 2011 1 commit
  19. 13 Oct, 2011 1 commit
  20. 05 Oct, 2011 1 commit
  21. 03 Oct, 2011 1 commit
  22. 30 Sep, 2011 1 commit
    • Leigh Stoller's avatar
      Start on the move from Apache 1.3 to 2.2 ... · 6cd688f9
      Leigh Stoller authored
      * The httpd.conf file I started with came from Dave's linux-port branch,
        and subsequently whacked for FreeBSD installation. Sorry for not using
        git to bring the base version in.
      
      * Configure changes to determine what version of apache is installed, and
        modify behaviour in makefiles accordingly.
      
      * Along with Apache 2.2 comes the latest version of PHP5, and that requires
        a bogus timezone directive in php.ini to prevent endless warnings. So I
        moved the entire php,ini install from ops/boss-install to here.
      
      Note that I had to use the 8.2 ports tree to build this stuff, and it the
      usual headache cause options and directives have changed.
      6cd688f9
  23. 19 Sep, 2011 1 commit
  24. 14 Sep, 2011 1 commit
  25. 17 Aug, 2011 1 commit
  26. 16 Aug, 2011 1 commit
  27. 15 Aug, 2011 1 commit
  28. 11 Aug, 2011 1 commit
    • Mike Hibler's avatar
      Initial support for loading Windows7 .wim images via WinPE/ImageX. · ac711ea5
      Mike Hibler authored
      1. Support for "one-shot" PXE booting ala the one-shot osid. Switches to
         pxelinux to boot WinPE and then switch back after done. Painful now
         because we have to HUP dhcpd everytime we change the PXE path, but we
         may be able to fix this in the future by going all-pxelinux-all-the-time.
      
      2. Added pxe_select, analogous to os_select, for changing the pxe_boot_path
         including the one time path.
      
      3. Added the WIMRELOAD state machine to shepherd a node through the process.
         Still has some rough edges and may need refining.
      ac711ea5
  29. 10 Aug, 2011 1 commit
  30. 28 Jul, 2011 1 commit
  31. 27 Jul, 2011 2 commits
  32. 24 Jul, 2011 1 commit
  33. 21 Jul, 2011 1 commit
  34. 19 Jul, 2011 3 commits