1. 11 Sep, 2003 1 commit
  2. 10 Sep, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add new table for mapping auxtypes back to their parent in the · 94c49e19
      Leigh B. Stoller authored
      node_types table. This should make it easier to assign last mile
      types to widearea nodes since a given type can now have as many
      subtypes as you like.
      
      Also add cpu_usage and mem_usage to the experiments table. The
      user will be able to specify these in the NS file. Currently a
      tinyint, where the default is zero, which means ignore.
      94c49e19
  3. 09 Sep, 2003 2 commits
  4. 02 Sep, 2003 2 commits
  5. 25 Aug, 2003 3 commits
  6. 22 Aug, 2003 1 commit
  7. 07 Aug, 2003 1 commit
  8. 04 Aug, 2003 1 commit
  9. 30 Jul, 2003 1 commit
    • Leigh B. Stoller's avatar
      Change the prerender code to run in the background so that Mike does · 11d792e3
      Leigh B. Stoller authored
      not have to wait 3 minutes for it to finish before he can watch his
      experiment swapin fail for some other reason.
      
      I adopted the same pid mechanism as in eventsys_control.in, which uses
      a slot in the experiments table.
      
      Running "prerender" puts the render into the background and stores
      the pid. Running "prerender -r" kills a running prerender and removes
      the existing info from the DB.
      
      Fixed the problem with swapmod not restoring the old vis; swapmod now
      kills any running prerender, and restarts one if the swapmod fails
      (the prerun of the new NS file starts up another prerender in the
      background).
      
      Add setpriority() call in prerender to nice it and children to 15.
      11d792e3
  10. 28 Jul, 2003 1 commit
  11. 27 Jul, 2003 1 commit
  12. 24 Jul, 2003 1 commit
  13. 21 Jul, 2003 1 commit
  14. 17 Jul, 2003 1 commit
  15. 14 Jul, 2003 1 commit
  16. 10 Jul, 2003 1 commit
  17. 09 Jul, 2003 2 commits
  18. 03 Jul, 2003 1 commit
  19. 23 Jun, 2003 1 commit
  20. 18 Jun, 2003 2 commits
  21. 06 Jun, 2003 1 commit
  22. 05 Jun, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add widearea_updates table. A very simple mechanism to let Dave auto · 39083d0e
      Leigh B. Stoller authored
      update V3 nodes to V4 CDs, and the new image. By inserting an entry
      into this table, the node will update its image the next time it
      reboots and checks in for instructions. The actual instructions are
      hardwired in the web still, but this allows Dave to schedule updates
      as needed. Eventually, the instructions will be part of the DB state
      as well, but this works.
      39083d0e
  23. 03 Jun, 2003 1 commit
  24. 30 May, 2003 1 commit
  25. 28 May, 2003 1 commit
  26. 27 May, 2003 2 commits
    • Leigh B. Stoller's avatar
      Add two crude controls to allow the user to change how virtual nodes · 76c37c50
      Leigh B. Stoller authored
      are packed 1) Add trivial_ok flag to virt_lans table. Global to the
      lan or link, allow nodes in the lan or link to be colocated on the
      same phys node. Perhaps make it per-node at some point. 2) Add
      multiplex_factor to the experiments table to allow user to override
      the multiplex_factor that is contained in the node_types table. Make
      per type at some point.
      76c37c50
    • Mac Newbold's avatar
      Add the new fields related to our new swapping features: · de553419
      Mac Newbold authored
         noswap_reason tinytext			- The reason they're unswappable
         idleswap tinyint(4) NOT NULL default '0'	- The idleswap bit (for auto. idleswap)
         idleswap_timeout int(4) NOT NULL default '0'	- The timeout for idleswap (in minutes)
         noidleswap_reason tinytext			- The reason they're non-idleswap
         autoswap tinyint(4) NOT NULL default '0'	- The autoswap bit
         autoswap_timeout int(4) NOT NULL default '0'	- The timeout for autoswap (in minutes)
      
      The new form for expt create should fill these in, and swapin will update the idleswap
      timeout if idleswap is set. Idlemail will read these and do the deed as needed.
      They'll also get shown on the new expt display page.
      
      As soon as we move to the new form, we can nuke priority.
      de553419
  27. 20 May, 2003 1 commit
    • Chad Barb's avatar
      · 4df405d6
      Chad Barb authored
      Users can, via, moduserinfo, set a preferred shell.
      One of {tcsh, bash, csh, sh}.
      When users are created, they are given tcsh.
      All users which already exist have been given tcsh.
      4df405d6
  28. 19 May, 2003 1 commit
  29. 15 May, 2003 4 commits
    • 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
    • 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
    • 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
  30. 14 May, 2003 1 commit