1. 09 Oct, 2011 1 commit
  2. 17 Aug, 2011 1 commit
  3. 11 Aug, 2011 3 commits
  4. 10 Aug, 2011 1 commit
    • Leigh B Stoller's avatar
      Add support for making OPS a jail on boss. This works for elabinelab, · aefe785a
      Leigh B Stoller authored
      but has not been tested for actual Emulab. A typical elabinelab NS
      file would look like:
          
          source tb_compat.tcl
          set ns [new Simulator]
          
          tb-elab-in-elab 1
          tb-elabinelab-singlenet
          tb-elab-in-elab-topology opsvm
          tb-set-elabinelab-attribute CONFIG_WINDOWS 0
          
          namespace eval TBCOMPAT {
              set elabinelab_maxpcs 1
              set elabinelab_hardware("boss") pc3000
          }
          $ns run
      aefe785a
  5. 21 Jul, 2011 1 commit
  6. 19 Jul, 2011 1 commit
  7. 08 Jul, 2011 2 commits
  8. 27 May, 2011 1 commit
  9. 17 May, 2011 1 commit
    • Mike Hibler's avatar
      Add machinery to automatically setup mrouted on the control network. · 3ba294d9
      Mike Hibler authored
      This is specifically intended for elabinelab right now where configurations
      with an "inner control network" need a multicast router for inner frisbee
      to work. There is (an undocumented) NEEDMROUTED defs variable that controls
      whether the machinery is triggered or not. It is not documented because, though
      in theory this would work for a real boss setup, it has not been tested and
      each install would probably need a custom mrouted.conf file.
      
      For an inner elab, this variable is automatically set in defs-elabinelab
      if there is an inner control network. The result is that the mrouted port
      will be installed, it will be enabled in rc.conf, and a stub mrouted.conf
      file is created (to force mrouted to ignore the real control network).
      3ba294d9
  10. 20 Jan, 2011 1 commit
  11. 11 Jan, 2011 1 commit
    • Mike Hibler's avatar
      Found a patch that will make the SelfLoader work with perl 5.10.1. · f0ea7d23
      Mike Hibler authored
      Repeating myself since not everything got committed last time...
      
      In the lastest version of SelfLoader they fixed the taint problem.  It is
      literally one line of code (plus updating version string) so I just made
      a patch.  Also, fixup boss/ops-install to apply the patch and change the
       default to use the SelfLoader again.
      f0ea7d23
  12. 04 Jan, 2011 1 commit
    • Mike Hibler's avatar
      Minor corrections. · 7381598b
      Mike Hibler authored
      Don't try to set -tso with ifconfig prior to FBSD 7.
      Enable mailman in the rc.conf file if mailman is desired.
      7381598b
  13. 14 Dec, 2010 1 commit
  14. 20 Oct, 2010 1 commit
    • Mike Hibler's avatar
      Support for no shared filesystem (unsupport for shared filesystem?) and · c1c1bce2
      Mike Hibler authored
      (eventual) support for NFS servers without race conditions!
      
      This means no NFS between nodes and ops/fs. There are still NFS mounts of
      ops on boss however.
      
      Added new defs-* variable NOSHAREDFS, which when set non-zero will disable
      the export of NFS filesystems to nodes.  Involved lots of little changes:
      
       * /users, /proj, and /share filesystems are not exported to nodes.
      
       * Returned mount info now includes an FSTYPE key which will be set to "LOCAL"
         if NOSHAREDFS is in effect (by default it is set to "NFS-RACY"; more on
         this later).  In the case where it is set to LOCAL, the other mount lines
         no longer contain REMOTE=foo settings.  Because of this change,
         THE TMCD VERSION NUMBER HAS BEEN BUMPED TO 32.
      
       * The client rc.mounts script will now create local versions of /users/*,
         /proj/<pid>, and /share when FSTYPE=LOCAL.  It first runs mkextrafs to
         create a large partition for these, since someday we will likely want
         to pre-populate these with a non-trivial amount of data.  Right now,
         the only thing that is put in the user's homedir is the standard dotfiles
         for the OS and the Emulab authorized_keys file (so you can login).
      
       * Linktest had to be modified to fetch the various results files (via
         loghole) rather than just assuming they were in /proj.  And also changed
         to invoke tevc with the local copy of the event key so it won't try to
         read it over NFS.
      
       * create_image was modified to ssh to the node and run the imagezip
         command, capturing the output of ssh.  This is controlled via the "-s"
         option which defaults to on for a NOSHAREDFS system, but can also be
         used on a normal system.
      
       * elabinelab's can be configured with/without a shared FS via the
         CONFIG_SHAREDFS attribute (note polarity change) which defaults to 1.
      
      Another new defs-* variable, NFSRACY, will some day allow you to specify
      (by setting to 0) that your NFS server does NOT have the nefarious mountd
      race condition when changing /etc/exports.  Currently, this defaults to 1
      since all versions of FreeBSD supported as an "fs" node have this "feature."
      Rumor has it that FreeBSD 8 does not have this problem nor, presumably,
      would a Linux NFS server.
      
      The only use of this variable right now is to set the FSTYPE returned by the
      tmcd "mounts" call, which in turn is used by one client script, rc.topomap
      (via a libsetup function) to determine whether it should try copying
      the topo file multiple times.
      
      Random: add python2.6 to list of python's checked for in configure.
      Random: resync defs-example-privatecnet with defs-example.
      Random: did a little code-pissin here and there.
      c1c1bce2
  15. 19 Oct, 2010 1 commit
    • Mike Hibler's avatar
      Elabinelab fixes. · f32313ce
      Mike Hibler authored
      Need to enable/disable the SelfLoader based on the version of perl installed.
      Other minor nits.
      f32313ce
  16. 22 Sep, 2010 1 commit
    • Mike Hibler's avatar
      Support FreeBSD 7.3 server side. · 8487a057
      Mike Hibler authored
      Mostly this means a new package set emulab-*-3.1 and some corresponding
      tweaks to the install scripts and elabinelab scripts.
      
      PLEASE NOTE: a 7.3 install uses PHP5, Perl 5.10.1 and Python 2.6.
      8487a057
  17. 31 Aug, 2010 1 commit
  18. 09 Jul, 2010 1 commit
  19. 14 Apr, 2010 2 commits
    • Mike Hibler's avatar
      Add some useful elabinelab sitevars. · 9bb38c10
      Mike Hibler authored
      New sitevars:
        elabinelab/singlenet     set the system-wide default for cnet implementation
        elabinelab/boss_osid     default OSID for boss node
        elabinelab/ops_osid      default OSID for ops node
        elabinelab/fs_osid       default OSID for fs node
      
      Also mark the various elabinelab/*pkg* sitevars as deprecated.  Package
      versions are just too dependent on the OS running and we almost always
      wind up overriding these sitevars in rc.mkelab anyway.
      9bb38c10
    • Mike Hibler's avatar
      Changes for speeding up elabinelab server setup. · 6feda7d3
      Mike Hibler authored
      Boss/ops/fs: reboot them together after setup rather than serially.
      
      Nodes: leave them in PXEWAIT throughout the setup, until after boss has
      been rebooted.  At that point we send them the new bootinfo RESTART command
      telling pxeboot to re-DHCP and use the new info obtained (next-server) to
      contact a potentially new boss node.  This is a quick way to switch a node
      in PXEWAIT from talking to the outer boss to talking to the inner one.
      
      A significant number of rinky-dink changes were needed to do this, primarily
      adding a new state, PXELIMBO, where nodes can be sent to sit until they are
      restarted.  It turns out, just putting them in an existing state such as
      PXEWAKEUP or SHUTDOWN wouldn't work, as they tend to timeout or otherwise
      reboot.
      6feda7d3
  20. 07 Apr, 2010 1 commit
    • Mike Hibler's avatar
      More tweaks. · b3e9f920
      Mike Hibler authored
      Remove conflicting net-snmp port.  Disable TSO on boss's real cnet interface
      as it doesn't work well with divert sockets (aka, natd).
      b3e9f920
  21. 06 Apr, 2010 1 commit
  22. 30 Mar, 2010 1 commit
  23. 29 Mar, 2010 9 commits
  24. 09 Feb, 2010 4 commits
  25. 16 Mar, 2009 1 commit