1. 14 Nov, 2012 2 commits
  2. 02 Nov, 2012 1 commit
  3. 24 Oct, 2012 1 commit
  4. 11 Oct, 2012 1 commit
  5. 26 Sep, 2012 1 commit
  6. 25 Sep, 2012 1 commit
  7. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      
      This commit is intended to clear up that confusion.
      
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  8. 07 Sep, 2012 1 commit
  9. 31 Aug, 2012 1 commit
  10. 30 Aug, 2012 1 commit
    • Gary Wong's avatar
      Add a "ctrladdr" utility to show (un)allocated addresses on the control net. · 9047e21a
      Gary Wong authored
      Right now, the only addresses it knows are allocated are anything assigned
      in the interfaces table with a "ctrl" role, and anything in the dynamic
      pool in the virt_node_public_addr table.  (And the reserved network and
      broadcast addresses.)
      
      This needs to be extended to anything else we know about!
      
      By default, the output is supposed to be easy to parse and simply
      displays the first available address.  More than one available address
      can be requested with the "-n" option (e.g. "-n 10" will show the
      first ten unallocated addresses).  "-n 0" will show every free
      address on the subnet.
      
      The "-a" option (meant more for human consumption) also describes
      allocated addresses.  For instance, "ctrladdr -a -n 0" will show
      every address on the control net, and what it's used for (if
      anything).  "-r" will compress ranges of consecutive free addresses
      onto a single line.
      
      To test whether a particular address is in use, invoke it as (e.g.)
      "ctrladdr -t 155.98.36.1".  This will give an exit code of 0 if the
      address is available, and 1 if used.  Any other options are ignored
      if "-t" is specified.
      9047e21a
  11. 13 Aug, 2012 2 commits
  12. 02 Jul, 2012 1 commit
  13. 27 Jun, 2012 1 commit
  14. 25 Jun, 2012 1 commit
  15. 22 Jun, 2012 1 commit
  16. 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
  17. 04 Jun, 2012 1 commit
  18. 29 May, 2012 1 commit
  19. 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
  20. 28 Mar, 2012 1 commit
  21. 27 Mar, 2012 1 commit
  22. 20 Mar, 2012 1 commit
  23. 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
  24. 08 Mar, 2012 3 commits
  25. 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
  26. 28 Feb, 2012 1 commit
  27. 25 Feb, 2012 1 commit
  28. 24 Feb, 2012 1 commit
  29. 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
  30. 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
  31. 02 Dec, 2011 1 commit
  32. 07 Nov, 2011 1 commit
  33. 13 Oct, 2011 1 commit
  34. 05 Oct, 2011 1 commit
  35. 03 Oct, 2011 1 commit