1. 21 Jul, 2003 1 commit
  2. 17 Jul, 2003 1 commit
  3. 14 Jul, 2003 1 commit
  4. 10 Jul, 2003 1 commit
  5. 09 Jul, 2003 2 commits
  6. 03 Jul, 2003 1 commit
  7. 23 Jun, 2003 1 commit
  8. 18 Jun, 2003 2 commits
  9. 06 Jun, 2003 1 commit
  10. 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.
  11. 03 Jun, 2003 1 commit
  12. 30 May, 2003 1 commit
  13. 28 May, 2003 1 commit
  14. 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.
    • 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.
  15. 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.
  16. 19 May, 2003 1 commit
  17. 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
    • 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.
    • 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.
  18. 14 May, 2003 1 commit
  19. 12 May, 2003 1 commit
  20. 09 May, 2003 1 commit
  21. 05 May, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add veth_interfaces table for configuring new veth virtual interfaces. · 451dfa08
      Leigh B. Stoller authored
      Unlike the interfaces table, veth interfaces come and go with
      experiment swapin and swapout, with assignment to be done in
      assign_wrapper. However, each veth maps to a real interface on a node,
      as defined in the interfaces table, and the cross link is the "iface"
      slot. There is a "mac" address since veth devices need a MAC, but I'm
      not sure how that will be assigned yet. I am letting the DB do the
      allocation of veth ids by making it an auto_increment field, and a
      dual key of (node_id, veth_id). So, the DB will assign increasing
      values per node_id, not globally to the table. Very slick.
  22. 01 May, 2003 1 commit
  23. 28 Apr, 2003 4 commits
  24. 24 Apr, 2003 1 commit
  25. 23 Apr, 2003 1 commit
  26. 22 Apr, 2003 1 commit
  27. 18 Apr, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add widearearoot and wideareajailroot to the users table, to control · 4154972a
      Leigh B. Stoller authored
      who gets root on widearea nodes, inside and outside of jail. Kinda
      brute force; might need to make this more flexible at some point,
      perhaps with a node/user mapping table for widearearoot (root outside
      the jail), and a widearea_trust slot to the group_membership table
      (root inside a jail), but this will do for now since its handled
      entirely inside of tmcd.
      I was originally using local_root to determine root access inside the
      jail, but we need to more finely control who gets root on widearea
      nodes. Outside the jail, only tbadmin got jail, and thats definitely
      too restrictive!
  28. 17 Apr, 2003 1 commit
  29. 14 Apr, 2003 2 commits
  30. 10 Apr, 2003 1 commit
    • Chad Barb's avatar
      · 179b3635
      Chad Barb authored
      Changed sitevariables table to use 'varchar(255)' for
      name column instead of 'text'.
      Made name column primary key.