1. 21 Aug, 2008 1 commit
  2. 17 Apr, 2008 1 commit
  3. 29 Nov, 2007 1 commit
  4. 28 Nov, 2007 1 commit
    • Leigh B. Stoller's avatar
      Add some small stuff to support the current implementation of the plab · b30e4f95
      Leigh B. Stoller authored
      evproxy, which uses set_failover and set_connection_retries. The event
      library had these as noops, so that was an easy change. Also, add back
      in the async add/remove subscription stuff, which was already
      implemented in pubsub but not hooked up from the event library.
      
      In the tmcd/plab directory I purged all mention of elvin and changed it
      to "event server". I also renamed the runelvin script to runevents.
      
      In events/proxy I cleaned up the makefile and added evproxyplab to the
      targets list since it should now build okay (no longer needs to link
      against elvin stuff). Renamed elvindtest program to eventping, and
      otherwise purged lots of "elvin" tokens.
      b30e4f95
  5. 15 Dec, 2006 1 commit
    • Mike Hibler's avatar
      Attempt to reconcile the definition of some program-agent environment · 448e377b
      Mike Hibler authored
      variables on cluster and plab nodes.
      
      NODECNET (new)
      The fully-qualified (Emulab) name of the node this program agent is running on.
      This name resolves to the IP address of the control network interface
      of the node.
      
      NODECNETIP (new)
      The IP address of the control network interface.
      This address should not be advertised to, or used by, applications
      within an experiment as it will cause all traffic to flow over the control
      network rather than the experimental network.
      
      NODE
      The unqualified name of the node this program agent is running on.
      For nodes with experimental interfaces,
      this name resolves to the IP address of an experimental interface on the node.
      For nodes with more than one experimental interface,
      there is no guarantee which one it will resolve to.
      For nodes with no experimental interfaces,
      the name will not resolve.
      
      NODEIP
      The IP address of the experiment network interface that NODE resolves to.
      For nodes with no experimental interfaces, this variable will not be set.
      448e377b
  6. 07 Dec, 2006 1 commit
    • Mike Hibler's avatar
      Partial fix to FS#137 concerning plab nodes with broken nameserver setups · d1ca5359
      Mike Hibler authored
      that cannot resolve even their own name.
      
      Put a check in the generated rc.plab to see if the node can ping itself
      (i.e., that its hostname resolves).  If not, we put an entry for ourselves
      in /etc/hosts.
      
      This does not solve the general problem of a bad nameserver, but allows
      our infrastructure to completely setup.  Whether this is a step forward or
      not is debatable, but it makes me feel all warm inside.
      d1ca5359
  7. 04 Dec, 2006 1 commit
  8. 31 Aug, 2006 1 commit
    • Kirk Webb's avatar
      · b6cf68ca
      Kirk Webb authored
      Change where the TMCCVNODEID environment variable gets setup.  Since
      vnodesetup is the highest common execution point in the chain (for either
      initial vserver startup, or subsequent reboot), this is the place to put it.
      The previous stages don't need it, but just putting it in rc.vinit excludes
      it from getting set during initial setup and boot.
      b6cf68ca
  9. 29 Aug, 2006 1 commit
  10. 28 Aug, 2006 1 commit
    • Kirk Webb's avatar
      · 96575507
      Kirk Webb authored
      Set the correct mode on the program agent inside the plab rootball.
      96575507
  11. 25 Aug, 2006 1 commit
  12. 23 Aug, 2006 1 commit
    • Kirk Webb's avatar
      · 19389112
      Kirk Webb authored
      Fix up the /etc/passwd file creation process to work correctly when
      the slice is rebooted (i.e., when rc.inplab gets re-run, don't append
      all the existing service slice user entries - exponential blowup!).
      
      This is what caused the bgmon sliver on the German node to go haywire with
      memory - the sliver was rebooted many times.
      19389112
  13. 10 Aug, 2006 1 commit
    • Kirk Webb's avatar
      · 7901885c
      Kirk Webb authored
      The other half of the changes that cause the plab event proxy to now try
      to get the routable IP of the node from tmcd rather than relying on
      the success of a hostname lookup.  It will still fall back to trying a
      hostname lookup if it can't get the IP from tmcd.
      7901885c
  14. 14 Jun, 2006 1 commit
    • Kirk Webb's avatar
      · edfec271
      Kirk Webb authored
      Switch to using gtar for building the plab rootball;  apparently the
      --numeric-owner flag disappeared from the FreeBSD version of tar.
      edfec271
  15. 02 Feb, 2006 1 commit
    • Kirk Webb's avatar
      · 86bbe876
      Kirk Webb authored
      Added stuff needed for perl event system module to rootball
      86bbe876
  16. 01 Feb, 2006 1 commit
    • Kirk Webb's avatar
      · 08a74ca6
      Kirk Webb authored
      Fix up the plav event proxy a bit.  It was sending RELOAD notifications
      when it should have been scheduling UPDATEs.  The RELOAD event handler was
      also updated to schedule and update.  Replaced some sprintfs with snprintfs,
      and added a log file and some helpful log output.
      
      pa-wrapper: tell libtmcc we don't want a cached "plabconfig" result.
      08a74ca6
  17. 31 Jan, 2006 1 commit
    • Kirk Webb's avatar
      · d218a4d0
      Kirk Webb authored
      Fixes for running the program-agent properly under plab.  It works!
      d218a4d0
  18. 30 Jan, 2006 1 commit
    • Kirk Webb's avatar
      · 521e6c83
      Kirk Webb authored
      Folded elvind, plab-adapted evproxy, and program-agent into plab startup.
      
      rc.progagent: Do run on plab, and do so via the wrapper.
      
      GNUmakefile.in: Add new plab startup scripts to rootball
      
      rc.inplab: hook in the elvin startup script.
      
      pa-wrapper: Sachin's program-agent wrapper for running on plab.  Tries to
                  keep the agent connected to the local elvind.
      
      runelvin: Sachin's script to fire up elvin and evproxy on Emulab.  Makes
                sure elvin starts up on an unused port if 2917 happens to be
                in use.
      521e6c83
  19. 21 Jan, 2006 1 commit
    • Kirk Webb's avatar
      · 6b1d5c92
      Kirk Webb authored
      Create our own passwd file inside plab vservers.  We add the slice user
      to this passwd file, with the password starred out.  This fixes the gaping
      security hole resulting from the passwordless root and slice user accounts
      that exist in the default plab vserver environment (in conjunction with our
      per-vserver sshd).
      6b1d5c92
  20. 21 Dec, 2005 1 commit
    • Kirk Webb's avatar
      · 21f627fa
      Kirk Webb authored
      Add a bit of additional output info, and fix a little bug in rc.inplab
      21f627fa
  21. 19 Dec, 2005 1 commit
    • Kirk Webb's avatar
      · a0a39a39
      Kirk Webb authored
      A few fixes for plab.
      
      assign_wrapper:
      
      Assign unique sshd port numbers.  This was only being done for pcvms for some
      reason.
      
      libplab.py:
      
      Make 'nobody' the contact uid for newly createed plab nodes (instead of
      Brent Chun).
      
      rc.inplab"
      
      Create /local/logs inside plab vservers.
      a0a39a39
  22. 15 Dec, 2005 2 commits
    • Kirk Webb's avatar
      · 24d186a4
      Kirk Webb authored
      Create a hosts file containing entries for boss and ops
      for plab slivers and put it into the rootball.  This
      will (hopefully) avoid flakiness due to flaky DNS servers.
      24d186a4
    • Kirk Webb's avatar
      · 41c54939
      Kirk Webb authored
      The revived Plab interface is here!
      
      Lots of updates to the plab backend, including improved plab <-> elab node
      id translation and update handling.  Includes support for the current PLC
      API, and the new pl_conf node manager interface API.  Several more db library
      routines were ported from the perl library to the python one to support the
      new code (mostly the node_id tracking stuff).  Fixes to the client side and
      also a rootball creation cleanup (binaries removed from the CVS repo).
      
      There are also enhancements to the experiment view page for experiments
      including plab nodes: site and widearea hostname are now displayed along
      with the other node information.
      
      Note that the way setup timeout for vnodes is calculated has been changed a
      bit.  Instead of using a hardwired base timeout, the base timeout is now
      based on the reload_waittime database field, which comes from the 'OS'
      (e.g., FBSD-JAIL, RHL-PLAB) the vnode runs.
      
      The default max duration for a plab slice created through the plab_ez interface
      is set to 1 year, and linktest is currently disabled and hidden through
      the ez interface.
      
      There is still work to do, but this checkin brings with it a functional
      plab portal!
      41c54939
  23. 24 Jun, 2004 1 commit
    • Mike Hibler's avatar
      Improve the client-side install. With these changes, it should now be · 976133e4
      Mike Hibler authored
      possible to:
      
      	gmake client
      	sudo gmake client-install
      
      on a FBSD4, FBSD5, RHL7.3, and RHL9.0 client node.
      
      There are still some dependencies that are not explicit and which would
      prevent a build/install from working on a "clean" OS.  Two that I know of are:
      you must install our version of the elvin libraries and you must install boost.
      976133e4
  24. 26 Mar, 2004 1 commit
  25. 23 Mar, 2004 1 commit
  26. 18 Mar, 2004 1 commit
  27. 17 Mar, 2004 2 commits
  28. 26 Feb, 2004 1 commit
  29. 17 Feb, 2004 1 commit
    • Leigh B. Stoller's avatar
      Medium size cleanup of the client side code. The main impetus behind · 069dc7d3
      Leigh B. Stoller authored
      this was to add soft reconfig support so that nodes could be
      reconfigured without having to reboot them. This appears to work, and
      has been tested with jails getting moved around. I've also tested the
      new code on the MFS, but still no testing has been done on PLAB nodes.
      
      The main change is that most of the code moved out of libsetup.pm, and
      was split into constituent rc scripts, each of which does its own
      thing, including cleaning up and preparing for making an image. Most
      of that central knowledge has been moved out into the scripts. Still more
      to do but this was a good start.
      069dc7d3
  30. 20 Jan, 2004 1 commit
  31. 31 Dec, 2003 2 commits
  32. 29 Dec, 2003 1 commit
  33. 26 Dec, 2003 2 commits
  34. 24 Oct, 2003 1 commit
    • Robert Ricci's avatar
      Commit the stuff necessary to copy out new plab rootballs, versions of · d12f9b61
      Robert Ricci authored
      which had been hanging around in my home directory for a while.
      
      There are a few new things in plab/etc/netbed_files that set up a
      directory of the same name in @prefix@. This will get rsync'ed with
      netbed_files/ on each planetlab node.
      log/  - just needs to exist for the httpd server
      sbin/ - contains thttpd, and scripts to manipulate it
      www/  - the directory served by thttpd. Contains symlinks to the 'real'
              location of the rootballs (etc/plab)
      
      I've committed a binary of thttpd - this is simply because it'd be a
      PITA to compile a Linux binary for every devel tree, etc.
      
      PLAB_ROOTBALL has now become a configure options. The idea is that we
      will keep the latest version number in configure.in, but you can
      override it in your defs
      file. This way, we don't have to update every defs file when there's a new
      version, but people can still play around with their own version if they want.
      
      The two scripts that interact with the plab nodes skip ones that are
      down. They ssh in as 'utah1', meaning that one of us who has access to
      that account needs to run them, so that they can have access to our
      keys. We can put boss's public key (or something) out there to remove
      this requirement.
      
      plabdist runs an rsync between @prefix@/etc/plab/netbed_files and a
      file of the same name on the planetlab nodes. It's intended to be run
      from the main install tree - the local rsync directory is not normally
      set up in devel trees. It runs in parallel, but is limited to 4 to
      avoid beating up boss too much. Takes about 1:40 with the current set
      of plab nodes (took > 10 minutes doing one at a time).
      
      plabhttpd (re)starts the mini web server on all plab nodes
      d12f9b61
  35. 20 Oct, 2003 1 commit
  36. 15 Oct, 2003 1 commit