1. 12 Mar, 2007 1 commit
  2. 10 Jan, 2007 1 commit
  3. 04 Dec, 2006 1 commit
  4. 01 Dec, 2006 2 commits
  5. 24 Oct, 2006 1 commit
  6. 20 Oct, 2006 1 commit
    • Mike Hibler's avatar
      Wow, this should make me look important! · afa5e919
      Mike Hibler authored
      Two-day boondoggle to support "/scratch", an optional large, shared filesystem
      for users.  To do this, I needed to find all the instances where /proj is used
      and behave accordingly.  The boondoggle part was the decision to gather up all
      the hardwired instances of shared directory names ("/proj", "/users", etc.)
      so that they are set in a common place (via unexposed configure variables).
      This is a boondoggle because:
      
      1. I didn't change the client-side scripts.  They need a different mechanism
         (e.g., tmcd) to get the info, configure is the wrong way.
      
      2. Even if I had done #1 it is likely--no, certain--that something would
         fail if you tried to rename "/proj" to be "/mike".  These names are just
         too ingrained.
      
      3. We may not even use "/scratch" as it turns out.
      
      Note, I also didn't fix any of the .html documentation.  Anyway, it is done.
      To maintain my illusion in the future you should:
      
      1. Have perl scripts include "use libtestbed" and use the defined PROJROOT(),
         et.al. functions where possible.  If not possible, make sure they run
         through configure and use @PROJROOT_DIR@, etc.
      
      2. Use the configure method for python, C, php and other languages.
      
      3. There are perl (TBValidUserDir) and php (VALIDUSERPATH) functions which
         you should call to determine if an NS, template parameter, tarball or
         other file are in "an acceptable location."  Use these functions where
         possible.  They know about the optional "scratch" filesystem.  Note that
         the perl function is over-engineered to handles cases that don't occur
         in nature.
      afa5e919
  7. 20 Jul, 2006 1 commit
  8. 09 Jun, 2006 1 commit
  9. 24 May, 2006 4 commits
  10. 09 May, 2006 1 commit
  11. 22 Feb, 2006 1 commit
  12. 08 Feb, 2006 1 commit
    • Kirk Webb's avatar
      · 3964c6c4
      Kirk Webb authored
      Fix tty idle detection on FreeBSD.  The problem was that slothd was only
      enumerating the tty devices once at startup.  This does not work well with
      the devfs and dynamically created pty device nodes.  So, slothd now
      re-enumerates the tty devices prior to checking the tty devices for
      activity.
      3964c6c4
  13. 06 Feb, 2006 3 commits
  14. 02 Feb, 2006 2 commits
    • Timothy Stack's avatar
      25a5019b
    • Timothy Stack's avatar
      · 0a4176c1
      Timothy Stack authored
      Various nfstrace changes that have been sitting in my tree for awhile.
      
      	* GNUmakefile.in: Do fs-install in the sensors subdir so the
      	nfstracer gets installed.
      
      	* sensors/and/and-emulab.priorities: Add some more daemon uid's to
      	be excluded from auto-nicing.
      
      	* sensors/and/and.c: Ignore invalid uids/gids in the config file
      	instead of dying.
      
      	* sensors/nfstrace/GNUmakefile: Makefile used to generate
      	nfsdb-create.sql.
      
      	* sensors/nfstrace/GNUmakefile.in: Some more installation stuff.
      
      	* sensors/nfstrace/nfsdb-create.sql: SQL used to create the nfsdb
      	database.
      
      	* sensors/nfstrace/nfsdump2db: Bunch of bug fixes and cleanup.
      
      	* sensors/nfstrace/nfsdump2db.8, sensors/nfstrace/nfstrace.7,
      	sensors/nfstrace/nfstrace.proxy.8: Start at some man pages.
      
      	* sensors/nfstrace/nfstrace.init.in: Try to detect the interface
      	to listen on, not perfect though.  Add a restart handler that just
      	restarts nfsdump2db.  Some other cleanup.
      
      	* sensors/nfstrace/nfstrace.proxy: Some optimizations for
      	resolving file names.
      
      	* sensors/nfstrace/nfsdump2/*: Only print summaries of read/write
      	packets and start a separate thread to read from the bpf socket.
      
      	* tbsetup/tbswap.in: Stop transferring nfs accesses to boss' db
      	until we figure out what we want to do with it.
      0a4176c1
  15. 27 Dec, 2005 1 commit
  16. 15 Dec, 2005 1 commit
  17. 13 Dec, 2005 2 commits
  18. 12 Dec, 2005 1 commit
  19. 08 Dec, 2005 1 commit
  20. 06 Dec, 2005 2 commits
  21. 04 Dec, 2005 1 commit
  22. 01 Dec, 2005 2 commits
  23. 30 Nov, 2005 2 commits
  24. 28 Nov, 2005 1 commit
    • Timothy Stack's avatar
      · add10a5a
      Timothy Stack authored
      Install NFS tracing stuff so we can gather some data.
      
      	* configure, configure.in: Add some nfstrace files.
      
      	* sensors/GNUmakefile.in: Add nfstrace directory to the build.
      
      	* sensors/nfstrace/GNUmakefile.in, nfs.sql, nfsdump2db,
      	nfstrace.init.in, nfstrace.proxy: Prototype of scripts to trace
      	NFS traffic from experimental nodes and build a list of the files
      	that are accessed.
      
      	* sensors/nfstrace/nfsdump2/*: Slightly customized version of the
      	nfsdump program.
      
      	* tbsetup/GNUmakefile.in: Install nfstrace control script which is
      	used to talk to the proxy on ops.
      add10a5a
  25. 16 Nov, 2005 1 commit
  26. 05 Oct, 2005 1 commit
  27. 03 Oct, 2005 1 commit
  28. 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.
      
      utils/checkquota.in:
          Just return "ok" if quotas are not used (i.e., if defs file FS_WITH_QUOTA
          string is null.
      
      install/ports/emulab-fs:
          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:
      
      elabinelab-withfs.ns:
          NS fragment used in conjunction with
      	tb-elab-in-elab-topology "withfs"
          to setup inner-elab with fs node.
      
      elabinelab.ns:
          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.
      
      rc.mkelab:
          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
      c53d5827
  29. 12 Sep, 2005 1 commit