1. 17 Nov, 2005 7 commits
    • Mike Hibler's avatar
      Minor fixes: add another level of panic that we set when swapout fails. · 32560429
      Mike Hibler authored
      Produces a different message in the web page.
      
      Also fix up a couple of minor firewalled elabinelab issues.
      32560429
    • Mike Hibler's avatar
      682c31e8
    • Timothy Stack's avatar
      Bah, add the initial trafgen events to the event sequence that gets · 2fb5301a
      Timothy Stack authored
      run before the main timeline is started.  Also changed the scheduler
      to load events before adding the TIME START events so we can add setup
      events before the main timeline.
      2fb5301a
    • Mike Hibler's avatar
      1. Beef up "admin mode" support. · 4ec701e7
      Mike Hibler authored
      * Add libadminmfs.pm with routines for entering/exiting and executing
        commands in, the admin MFS.  Node admin and firewall swapout (see
        below) now use this, the image creation process does not yet.
      
      * Add swapout time hooks for running an admin mode process, likely to
        be used to collect swapout time state.  Currently controlled globally
        by two new sitevars.
      
      * Modified node_admin to use the library and added a "-c <command>"
        option to have nodes go into admin mode and run a command.  I don't
        really expect this to be useful, it was just a testing vehicle for
        the library.
      
      2. Improved the swapout process for firewalled experiments.  Largely
         just generalized what we already did for paniced experiments.
         At swapout, firewalled nodes are:
      
         - powered off
         - set to boot into admin mode and run a disk zapper
         - powered on
      
        The swapout process then waits for all nodes to successfully complete
        disk zapage, at which point the nodes are nfree'ed as usual.  Any
        failure of the above process, marks the experiment as panic'ed (to
        ensure that we are involved in cleanup) and sends mail to testbed-ops
        describing the state of the nodes.
      
      3. Added the aforementioned disk zapper, a little C program in the MFS
         which zeroes out the MBR and partition boot blocks (but not the MBR
         partition table or FS superblocks).  This is added insurance that if
         a node somehow gets diverted after being nfree'd but before getting
         the disk reloaded (e.g., goes to hwdown), that we cannot accidentally
         boot from the disk.  This program gets installed in the admin MFS.
      
      4. Related to firewalls, modified swapin to use the new documented
         "snmpit -N" to get the firewall VLAN number rather than parsing the
         output that was a side-effect of VLAN creation.
      4ec701e7
    • Mike Hibler's avatar
    • Mike Hibler's avatar
      Make imagehash create the .sig file with the same modtime as the image. · 34ec01b2
      Mike Hibler authored
      This is a cheap verification mechanism.  Also install imagehash now with
      all the other image tools, it will be used soon.
      34ec01b2
    • Timothy Stack's avatar
  2. 16 Nov, 2005 10 commits
  3. 15 Nov, 2005 5 commits
  4. 14 Nov, 2005 5 commits
  5. 13 Nov, 2005 1 commit
  6. 11 Nov, 2005 9 commits
  7. 10 Nov, 2005 3 commits
    • Russ Fish's avatar
    • Kevin Atkinson's avatar
      · 070503e5
      Kevin Atkinson authored
      Have the exp. proc. return better exit codes.  Store the exit codes in
      a file for easy refrence after the experient is done.
      
      Fork a child to do the real work.  This child will call setsid() and
      redirect /dev/null to STDIN so that SSH has absolitly no way to get a
      response from the user and will thus give up when public key auth
      doesn't work.
      
      Improve logging of experments.
      
      Add test to see if the proj directory is corretly mounted and writable.
      
      Add soft and hard limits to the maximum number of nodes to use.  The
      soft has teh same effect to the value given to "-p" is earlier versions.
      "-p" no longer takes and parameters.
      
      Create a special script to ssh to the nodes for each experient to avoid
      hideously long command lines.
      
      Other misc. changes.
      070503e5
    • Russ Fish's avatar
      Linktest for Windows tweaks. · d4bdd787
      Russ Fish authored
      d4bdd787