1. 19 May, 2003 4 commits
    • 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.
    • Leigh B. Stoller's avatar
      Minor changes. · ef27ae3c
      Leigh B. Stoller authored
      dojailconfig: Do not return a jail config unless the node is really
      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.
    • 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.
    • Leigh B. Stoller's avatar
      Fix cut/paste error. · 85c64a0c
      Leigh B. Stoller authored
  2. 16 May, 2003 4 commits
  3. 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)
    • 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.
    • 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
    • Chad Barb's avatar
      · 40da66fc
      Chad Barb authored
      Some changes Jay wanted,
      plus put some of the "H" in HTML (links to papers).
    • 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.
    • Leigh B. Stoller's avatar
      Minor bug fix to TBImageLoadMaxOkay(). · 342a039c
      Leigh B. Stoller authored
    • 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.
    • 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.
    • Leigh B. Stoller's avatar
    • 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.
  4. 14 May, 2003 6 commits
  5. 13 May, 2003 15 commits