1. 20 May, 2003 3 commits
  2. 19 May, 2003 6 commits
    • Leigh B. Stoller's avatar
      Mark the veth_interface with its jail vnode node so that tmcd knows · 8ff5d76a
      Leigh B. Stoller authored
      what veth interfaces belong to which jail node.
      8ff5d76a
    • Robert Ricci's avatar
      More steps in the auto-configuration of new nodes. · 08ae4de5
      Robert Ricci authored
      newnodecheckin.php accepts some information about a new node, tries to
      figure out a node_id, IP, type, etc. for them, sticks this into the
      new_ tables, then alerts testbed-ops. Another (not yet created) page
      will be used to make the new node a real boy.
      
      newclient will run from a (not yet created) MFS - it collects various
      data about the node, like its MAC, runs teachswitch, and checks in
      via newnodecheckin.php .
      08ae4de5
    • Leigh B. Stoller's avatar
      Add expt_swap_uid to experiments table so we can track last person · 1db2c02c
      Leigh B. Stoller authored
      to swap in/out/modify an experiment, so we can do proper accounting.
      1db2c02c
    • Leigh B. Stoller's avatar
      Minor changes. · ef27ae3c
      Leigh B. Stoller authored
      dojailconfig: Do not return a jail config unless the node is really
      jailed.
      
      doifconfig: Look at the node name, and return ifconfig info specific
      to the name instead of always returning all info for the machine. Upon
      boot, virtual interfaces will not be setup, but instead will be setup
      when the jail is setup. When the jail requests ifconfig info, it gets
      only its list of interfaces to setup.
      
      dolinkdelays: Ditto, since linkdelays will be setup after per-jail
      interfaces are setup.
      ef27ae3c
    • Mac Newbold's avatar
      Fix a slight race condition that has already bitten us several times in · 0610d389
      Mac Newbold authored
      real life.
      
      There's a small window in time (typically a few seconds, but maybe 10's of
      seconds on occasion) between the time nodes get nalloc'd and the time they
      get rebooted during a swapin. If idlemail runs (or someone views a web
      page) during this time, the expt can appear idle because the nodes haven't
      had any activity. It can cause an incorrect email or a false positive on
      the web page.
      
      The fix is to have nalloc register some external node activity, like
      node_reboot does, when it allocates a node.
      0610d389
    • Leigh B. Stoller's avatar
      Fix cut/paste error. · 85c64a0c
      Leigh B. Stoller authored
      85c64a0c
  3. 16 May, 2003 4 commits
  4. 15 May, 2003 11 commits
    • Mac Newbold's avatar
      Fix the relogin stuff according to a couple of requests: · 37db313e
      Mac Newbold authored
       - Don't use the image, just use a text link. (Note: the text link in the
         middle is different than the button link on the left, since the button
         doesn't set refer=1.) (From Rob/Chad)
       - Don't jump back into admin mode just because I was before. Let it dump
         me back to green dot when I log back in. (From Leigh)
      37db313e
    • Chad Barb's avatar
      · 484921c1
      Chad Barb authored
      Linked in publications and classes under
      new "Emulab Users" top-level menu item.
      Moved project list from the top-level underneath this.
      
      For non-Utah emulabs, the project list remains
      on the top level.
      484921c1
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add vnode to veth_interfaces. This serves to distinguish veths for · 01432ea6
      Leigh B. Stoller authored
      jailed nodes from veths for plain emulated links between phys nodes,
      which we might generally allow at some point for supporting emulated
      links (rather than using IP aliases). My plan is to use this im tmcd
      to determine what ifconfig returns; no point in returning jailed veth
      configuration when the node boots, but should wait until the jail is
      setup (this is further complicated by rtabids, but thats another
      story).
      01432ea6
    • Chad Barb's avatar
      · 40da66fc
      Chad Barb authored
      Some changes Jay wanted,
      plus put some of the "H" in HTML (links to papers).
      40da66fc
    • Leigh B. Stoller's avatar
      Add max_concurrent checks early in assign_wrapper to prevent trying · 3380964a
      Leigh B. Stoller authored
      to allocate and swapin when the max_concurrent is already reached for
      the OSIDs requested. Should work properly with the batch system.
      3380964a
    • Leigh B. Stoller's avatar
      Minor bug fix to TBImageLoadMaxOkay(). · 342a039c
      Leigh B. Stoller authored
      342a039c
    • Leigh B. Stoller's avatar
      A few more minor changes. Change exitcode to signed since in mysql, -1 · e6644faa
      Leigh B. Stoller authored
      is not a string of bits, but really 0 when the type is unsigned.
      Sheesh. Add link from testbed_stats to experiment_resources to get
      better info in showstats.
      e6644faa
    • Robert Ricci's avatar
      File explaining the error codes that assign, assign_wrapper, and · cc1ebcee
      Robert Ricci authored
      tbswap can return - they use their return value to communicate some
      information. Text is from Chad.
      cc1ebcee
    • Leigh B. Stoller's avatar
      d2b002e1
    • Leigh B. Stoller's avatar
      Split the experiment stats table into two parts. The first is the · a382994d
      Leigh B. Stoller authored
      per-experiment instantiation with aggregate data like the number of
      swapins, the dates and the like. The other part is the per
      swapin/modify stats. These are number of pnodes, links, lans,
      etc. Long term, I think we want more precise swapin stats, and with
      experiment modify in the mix, we need to have multiple stat records
      per experiment, but do not need to duplicate all the stuff in the
      other table just mentioned.
      
      To reduce the amount the table size, we cross reference the tables by
      index only instead of with pid,eid and the like. We use exptidx to
      link experiments, experiment_stats, and the new experiment_resources
      table. experiment_resources and stats are linked by another index in
      the resources table, which indicates which is the current resource
      row. On a modify, a new resource record is created, and the stats
      record updated to point to the new (latest) resource record.
      
      Web Changes: Improve showstats and showexpstats. Make them user
      accessible so that mere users can see stats for themselves and for
      their projects. No ability for mere users (PIs) to look at another
      person's stats. Generally, these two pages need more work, but now
      they are more useful. I added Show Stats to the user info and project
      info pages to display per-usr/proj stats. Add more info in the
      showstats display, but the showexpstats display is still not pretty
      printed; just the raw tables.
      
      Rename a few fields, add some indexes, and otherwise make some minor
      changes that are sure to annoy everyone.
      a382994d
  5. 14 May, 2003 6 commits
  6. 13 May, 2003 10 commits