1. 15 Jul, 2009 1 commit
    • Leigh B. Stoller's avatar
      Add, for genimode xml: · 12516745
      Leigh B. Stoller authored
      	if ($sharing_mode{$name}) {
      	    print "  <exclusive>false</exclusive>\n";
      	}
      	else {
      	    print "  <exclusive>true</exclusive>\n";
      	}
      12516745
  2. 14 Jul, 2009 1 commit
  3. 13 Jul, 2009 1 commit
  4. 10 Jul, 2009 1 commit
  5. 09 Jul, 2009 2 commits
  6. 07 Jul, 2009 2 commits
  7. 12 Jun, 2009 1 commit
  8. 11 Jun, 2009 1 commit
    • Leigh B. Stoller's avatar
      Changes for shared nodes. · cb912d49
      Leigh B. Stoller authored
      * New option -h to turn on shared nodes; set by the mapper wrapper
        when it sees that an experiment wants to use shared nodes.
      
      * When using shared nodes, look for physical nodes that are reserved,
        but have their sharing mode set. The node must also be up.
      
      * Shared hosts nodes get the feature pcshared:1.0 in the ptop
        file. libvtop adds the corresponding desire.
      
      * On the shared hosts, do not spit all the OSIDs, but just the one it
        is actually running. This allows the user to indicate what kind of
        shared node they want via the osid. libvtop adds that as a desire.
        Crude but effective.
      
      * Use the interface_state table to get the remaining bandwidth on the
        interfaces for shared hosts, so that assign does not oversubscribe
        links.
      
      * Some initial code to look at the load averages on shared nodes, to
        guide the packing. Not actually operation yet.
      
        At the moment packing is still controlled by the collocate factor
        from the experiment (NS file). Eventually we want to use the load
        averages above, or other feature/desire mechanisms to control
        packing.
      cb912d49
  9. 03 Feb, 2009 1 commit
  10. 30 Jan, 2009 1 commit
  11. 11 Dec, 2008 1 commit
  12. 12 Nov, 2008 1 commit
  13. 07 Nov, 2008 2 commits
  14. 27 Oct, 2008 1 commit
  15. 24 Oct, 2008 1 commit
  16. 16 Oct, 2008 1 commit
  17. 25 Sep, 2008 2 commits
  18. 10 Sep, 2008 1 commit
    • David Johnson's avatar
      Changes to handle "dedicated" remote nodes in roughly the same way we · 7d388c15
      David Johnson authored
      handle local nodes -- to assign_wrapper and ptopgen, they're pretty
      much the same.  If the "dedicated_widearea" node_type_attribute is
      set for nodes of class pcRemote, we treat remote nodes like locals.
      I stuck with using a node_type_attribute for this, but it makes fast
      queries ugly.  I believe node_type_attributes are better than adding
      yet another bit to the node_types table, but others may feel
      differently.
      7d388c15
  19. 08 Sep, 2008 1 commit
  20. 28 Jan, 2008 2 commits
  21. 14 Jan, 2008 1 commit
  22. 21 Sep, 2007 1 commit
  23. 14 Aug, 2007 1 commit
  24. 21 Sep, 2006 1 commit
  25. 18 Jul, 2006 2 commits
    • Leigh B. Stoller's avatar
      Oops, fix for undefined values. · 23f0b7c7
      Leigh B. Stoller authored
      23f0b7c7
    • Leigh B. Stoller's avatar
      Changes necessary for moving most of the stuff in the node_types · 624a0364
      Leigh B. Stoller authored
      table, into a new table called node_type_attributes, which is intended
      to be a more extensible way of describing nodes.
      
      The only things left in the node_types table will be type,class and the
      various isXXX boolean flags, since we use those in numerous joins all over
      the system (ie: when discriminating amongst nodes).
      
      For the most part, all of that other stuff is rarely used, or used in
      contexts where the information is needed, but not for type descrimination.
      Still, it made for a lot of queries to change!
      
      Along the way I added a NodeType library module that represents the type
      info as a perl object. I also beefed up the existing Node module, and
      started using it in more places. I also added an Interfaces module, but I
      have not done much with that yet.
      
      I have not yet removed all the slots from the node_types table; I plan to
      run the new code for a few days and then remove the slots.
      
      Example using the new NodeType object:
      
      	use NodeType;
      
      	my $typeinfo = NodeType->Lookup($type);
      
              if ($typeinfo->control_interface(\$control_iface) ||
                  !$control_iface) {
        	    warn "No control interface for $type is defined in the DB!\n";
              }
      
      or using the Node:
      
      	use Node;
      
              my $nodeobject = Node->Lookup($node_id);
              my $imageable  = $nodeobject->NodeTypeInfo()->imageable();
      or
              my $rebootable = $nodeobject->isrebootable();
      or
              $nodeobject->NodeTypeAttribute("control_interface", \$control_iface);
      
      Lots of way to accomplish the same thing, but the main point is that the
      Node is able to override the NodeType (if it wants to), which I think is
      necessary for flexibly describing one/two of a kind things like switches, etc.
      624a0364
  26. 14 Jul, 2006 1 commit
  27. 27 Jun, 2006 1 commit
  28. 14 Feb, 2006 1 commit
  29. 02 Jan, 2006 1 commit
    • Timothy Stack's avatar
      · bd20dd17
      Timothy Stack authored
      First cut at a daemon that does regular checkups of the testbed
      hardware/software.
      
      	* configure, configure.in: Add tbsetup/checkup directory.
      
      	* db/audit.in: Add a listing of stuck checkups.
      
      	* install/boss-install.in: Add 'elabckup' user.
      
      	* rc.d/3.testbed.sh.in: Startup the checkup_daemon.
      
      	* sql/database-create.sql, sql/database-migrate.txt: Add the
      	checkups tables.
      
      	* tbsetup/GNUmakefile.in: Descend into the checkup directory.
      
      	* tbsetup/checkup: The checkup daemon, man page, and
      	  associated scripts.
      
      	* tbsetup/ptopgen.in: Add a feature with a value of 0.9 to
      	  prereserved nodes to keep them from being allocated unless
      	  they're really wanted.
      
      	* utils/firstuser.in: Add some other options so the script can be
      	  used to create other pseudo users.
      bd20dd17
  30. 30 Dec, 2005 1 commit
  31. 16 Dec, 2005 1 commit
    • Leigh B. Stoller's avatar
      Add support for pre-reserving nodes. New link off the ShowNode page · e49e2f9a
      Leigh B. Stoller authored
      allows takes you to new (admin only) page to select a project that
      node will be reserved for.
      
      * The node is not actually *reserved*, it is *pre* reserved! The node
        stays in the free pool, and is available only for use in the project
        to which it is reserved.
      
      * The node can already be reserved to some other project when you
        pre-reserve it. It is not until the current owner releases the node
        that the pre-reservation takes effect.
      
      * The node free counts (on the web pages) count a free a node with a
        pre-reservation, as allocated. This way people do not see a free
        count that includes a node they will never be able to get.
      e49e2f9a
  32. 04 Nov, 2005 1 commit
  33. 27 Sep, 2005 1 commit
  34. 15 Sep, 2005 1 commit