1. 17 Sep, 2002 2 commits
  2. 16 Sep, 2002 2 commits
    • Leigh Stoller's avatar
      1c2de867
    • 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
  3. 13 Sep, 2002 3 commits
  4. 10 Sep, 2002 2 commits
  5. 06 Sep, 2002 1 commit
  6. 28 Aug, 2002 1 commit
  7. 21 Aug, 2002 1 commit
  8. 20 Aug, 2002 3 commits
    • Leigh Stoller's avatar
      Turn off SFS stuff until fixed. · 2bc4b01e
      Leigh Stoller authored
      2bc4b01e
    • Austin Clements's avatar
      Generate SFS keys for new users. · ba62c306
      Austin Clements authored
      ba62c306
    • Leigh Stoller's avatar
      libdb: Add a couple of support routines to update the account_update · a9909c42
      Leigh Stoller authored
      flag in the nodes table when a user changes his info. Two routines,
      one to do it by type (as for widearea nodes) and another to do it by
      project (as for local) nodes. This last is kinda inefficient, but
      probably not too big a deal.
      
      mkacct: Two changes.
      1. Use the above changes in libdb when a user changes his info. With
         this change, no longer need to do an account update in the
         experiment page for the ron/wa nodes. The nodes are marked as
         needing the update in mkacct, based on the nodes the user has
         access to. Note, this change applies only to widearea nodes; still
         need to use the update option in the experiment menu for local
         nodes, although I plan to change that to at some point by adding a
         watchdog on the local nodes.
      
      2. ssh2 key support. The DB can now store both ssh1 and ssh2 keys,
         however those keys are handled differently when creating the auth
         keys files for users. There are actually two files created now, the
         second being the ssh2 key file call authorized_keys2. This change
         is mirrored in the client side code as well.
      a9909c42
  9. 14 Aug, 2002 1 commit
  10. 13 Aug, 2002 2 commits
  11. 05 Aug, 2002 3 commits
  12. 30 Jul, 2002 1 commit
  13. 23 Jul, 2002 1 commit
  14. 16 Jul, 2002 2 commits
  15. 15 Jul, 2002 3 commits
  16. 11 Jul, 2002 3 commits
    • Robert Ricci's avatar
      Convert snmpit_cisco to use the snmpitGet functions. · 27e353a5
      Robert Ricci authored
      Re-worked the snmpitGet functions slightly to make them more
      convenient and to work around some ickiness in the SNMP library.
      27e353a5
    • Leigh Stoller's avatar
      A bunch of logfile changes. Logs are now saved in the experiment · 51bc0de4
      Leigh Stoller authored
      directory so that they can be viewed later after the operation is
      complete. I've also cleaned up the mechanism for determining when
      a log file is active (for the web spew) by using another slot in the
      experiments table, and added some libdb routines to manage that slot.
      At present just the last (or latest) log can be viewed after the fact,
      but we can change that later if think its really necessary. At the
      same time, make it possible for admin types to view the log files for
      other peoples expierments; spew is setuid, but flips back after
      opening the file (does usual checks too). I've also incorporated the
      log changes into the batch daemon, so you can view the last batch log
      too, although I have not tested that yet!
      51bc0de4
    • Leigh Stoller's avatar
      Use autoflush interface to turn off buffering of stdout/stderr when · dfd200a6
      Leigh Stoller authored
      redirecting output.
      dfd200a6
  17. 09 Jul, 2002 3 commits
  18. 07 Jul, 2002 1 commit
  19. 03 Jul, 2002 3 commits
  20. 28 Jun, 2002 1 commit
  21. 27 Jun, 2002 1 commit