• Leigh Stoller's avatar
    Reorg of working directory and log file stuff for start/swap/end · 533dc18f
    Leigh Stoller authored
    experiment. Here is mail to tbops:
    
    * Moved the working directory for experiment setup/swap/end to a new
      directory located on boss instead of over NFS to /proj/$pid/$eid. This
      new location is /usr/testbed/expwork/$pid/$eid.
    
    * Changed the name of the directories we create in /usr/testbed/expinfo to
      $pid-$eid.$index where $index is a new autoincrement field in the DB
      table. I really hated the names that were created before.
    
    * Changed where logs are written from /tmp to the new location in
      /usr/testbed/expwork/$pid/$eid.
    
    Okay, why.
    
    * We no longer operate on NFS mounted directories that might hang. Its
      easier to catch the situation where a copy of the log file over at the
      end of experiment creation fails cause of an NFS problem.
    
    * We no longer have user writable files that are inputs to other parts of
      the system (like top and ptop files).  Not that a user would be bad, but
      it closes a hole.
    
    * We no longer copy user writable files from /proj to boss where we might
      fill up an important filesystem cause the user put a .ndz file in the the
      working directory. Not that a user would be bad, but it closes a hole.
    
    * Its easier to save all the log files this way, for each swap in and
      out.
    
    * Removing a directory over NFS is a royal irritant when someone is CD'ed
      into that directory or looking at a file on the other side (the astute
      observer will peg this as the reason I went down this idiotic path in the
      first place!).
    
    * About 6 other reasons that I can no longer remember. Seriously, I really
      had more reasons I can no longer remember! :-)
    533dc18f
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
ipod Loading commit data...
lib Loading commit data...
os Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
Makeconf.in Loading commit data...
PROJECTS Loading commit data...
README Loading commit data...
RESTRICTED-RIGHTS Loading commit data...
TODO Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-default Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-neo-paper Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-ricci-neo-paper Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-wide Loading commit data...