1. 25 Oct, 2005 2 commits
    • Mike Hibler's avatar
      Fix yet another DHCP related problem. From the comment: · 04e0e4d6
      Mike Hibler authored
      # Argh! dhclient in FreeBSD 5 has a new auto-background "feature",
      # it dives into the background after 10 seconds regardless of whether
      # it has received a response.  This is fubar for us.  Unfortunately,
      # we cannot just crank this number through the roof because it is based
      # on a polling interval which actually has a rational purpose.  The timeout
      # is actually (2 * polling_interval) where polling_interval is how often
      # dhclient rechecks an interface without link.  We need to keep this value
      # reasonable in the event that we boot up and don't immediately have link
      # on the control net.  So lets try 15 seconds (30 second auto-background
      # timeout) and see how things go.
    • Leigh B. Stoller's avatar
      Get rid of SFS warning; not important. · ffed6f8c
      Leigh B. Stoller authored
  2. 20 Oct, 2005 1 commit
  3. 18 Oct, 2005 2 commits
  4. 06 Oct, 2005 1 commit
    • Kirk Webb's avatar
      · 8f0161e0
      Kirk Webb authored
      Remove the RHL90-specific delaysetup script.  It's now common, existing
      only in the 'linux' subdir.
  5. 04 Oct, 2005 1 commit
  6. 03 Oct, 2005 3 commits
  7. 28 Sep, 2005 2 commits
  8. 26 Sep, 2005 1 commit
  9. 22 Sep, 2005 1 commit
  10. 21 Sep, 2005 2 commits
  11. 20 Sep, 2005 1 commit
  12. 19 Sep, 2005 3 commits
  13. 16 Sep, 2005 1 commit
  14. 14 Sep, 2005 1 commit
    • Mike Hibler's avatar
      Changes related to allowing seperate 'fs' (file server) node. · c53d5827
      Mike Hibler authored
      Entailed new instructions for manual setup as well as integration into
      elabinelab framework.  First, the manual path:
      setup.txt, setup-boss.txt, setup-ops.txt and new setup-fs.txt:
          Updated to reflect potential for separate fs node.  The org here
          is a little dicey and could be confusing with ops+fs vs. ops and fs.
          Has not been field tested yet.
      */GNUmakefile.in: new fs-install target.
      configure, configure.in, defs-*:
          Somewhat unrelated, make min uid/gid to use be a defs setting.
          Also add config of fs-install.in script.
      boss-install.in, ops-install.in and new fs-install.in:
          Handle distinct fs node.  If you have one, fs-install is run before
          ops-install.  All scripts rely on the defs file settings of FSNODE
          and USERNODE to determine if the fs node is seperate.
          Just return "ok" if quotas are not used (i.e., if defs file FS_WITH_QUOTA
          string is null.
          Meta port for fs node specific stuff.  Also a patch for the samba port
          Makefile so it doesn't drag in CUPs, etc.  Note that the current samba
          port Makefile has this change, I am just backporting to our version.
      Elabinelab specific changes:
          NS fragment used in conjunction with
      	tb-elab-in-elab-topology "withfs"
          to setup inner-elab with fs node.
          The hard work on the boss side.  Recognize seperate-fs config and handle
          running of rc.mkelab on that node.  fs setup happens before ops setup.
          The hard work on the client side.  Recognize FsNode setup as well as
          differentiate ops+fs from ops setup.
      Related stuff either not part of the repo or checked in previously:
          emulab-fs package
  15. 13 Sep, 2005 1 commit
  16. 12 Sep, 2005 2 commits
  17. 08 Sep, 2005 1 commit
  18. 07 Sep, 2005 1 commit
    • Mike Hibler's avatar
      Inner-elab role changes: · 88926d1c
      Mike Hibler authored
      	'boss' -> 'boss+router'
      	'ops'  -> 'ops+fs'
      	'fs'      (new role)
      	'router'  (new role)
      These are in preparation for allowing configurations with split ops and fs
      nodes (and sometime down the road, split boss and router nodes).
      This checkin is just the DB state changes along with the scripts that look
      at that state.  The Big One, which actually sets up separate nodes
      automatically, is undergoing more testing but will be Coming Soon.
  19. 01 Sep, 2005 3 commits
  20. 30 Aug, 2005 1 commit
  21. 29 Aug, 2005 3 commits
  22. 24 Aug, 2005 1 commit
  23. 22 Aug, 2005 2 commits
  24. 19 Aug, 2005 3 commits
    • Timothy Stack's avatar
      · a1c355a5
      Timothy Stack authored
      Bring linktest in line with the new event system world order and do some
      generic cleanup.  I'm pretty sure I broke backwards compatibility with
      old disk images though...
      	* configure, configure.in: Remove linktest.h.in from the list of
      	template files.
      	* event/linktest/GNUmakefile.in: Don't make subdirectories for
      	executables since it can mess up the dependencies.  Don't install
      	tb_compat.tcl stuff anymore.  Check for '/usr/local/bin/pathrate'
      	and friends, and print out a warning if they are not found.  Make
      	a version file for the linktest daemon.
      	* event/linktest/linktest.c: Only subscribe to the events we care
      	about 'STOP/KILL'.  Subscribe to TIME START events and kill any
      	linktests that are in progress.  Send events through the local
      	elvind instead of running tevc.
      	* event/linktest/linktest.pl.in: Don't run the modified NS anymore
      	to generate the topology file, use gentopofile to do that.  Send
      	COMPLETE events to indicate that the tests were finished instead
      	of STOP so it works with event-sequences.  Use emulab-sync to
      	report errors between linktest daemons.  In addition to sending
      	REPORT events, send LOG events to the SIMULATOR agent so the
      	messages end up in the report e-mail.  Fix wait_all so it collects
      	child processes immediately and doesn't leave zombies lying
      	around.  Make the static route test work with topologies that
      	aren't fully connected.  Change ownership of the linktest error
      	files from root to the swapper.  Bump latency tolerance up to
      	* event/linktest/ltevent.c: Use event_schedule instead of
      	event_notify so the events go through the scheduler.
      	* event/linktest/run_linktest.pl.in: Wait for COMPLETE events
      	insetad of STOPs.
      	* event/linktest/linktest.h.in: Removed.
      	* event/sched/error-record.c: Include linktest error output in the
      	report e-mail.
      	* event/sched/event-sched.c: Linktest now sends COMPLETE events
      	for START events.
      	* tbsetup/gentopofile.in, tmcd/common/config/rc.topomap: Piggy
      	back the generation and management of the linktest config file
      	onto the generation of the topomap.
      	* tbsetup/ns2ir/sim.tcl.in: Add "linktest" event to the Simulator
      	object that runs linktest at level 3 (latency, static routing, and
      	* tmcd/common/libsetup.pm: Add TMLTMAP constant that contains the
      	path to the node local linktest config file.
      	* tmcd/common/rc.linktest: Pass '-u' option to the linktest daemon
      	so it knows what user should to change ownership of files to.
      	* tmcd/freebsd/jail/mkjail.pl: Copy the linktest config file
      	(ltmap) into the jail.
    • Mike Hibler's avatar
      When run in "reboot" mode, we no longer reboot ourselves, rather we wait · 5508d17e
      Mike Hibler authored
      for the server to reboot us.  This avoids a race condition that occurs
      under load (see the comment in the code).
    • Mike Hibler's avatar
      Stay away from arithmetic to compute the IP address/mask for sysctl, · 200f2c79
      Mike Hibler authored
      the 'one-true-awk' version of awk, botches the calculations when the
      values get close to MAXINT.  Instead, just create a hex string since
      sysctl knows about hex numbers.