1. 08 Jul, 2019 11 commits
  2. 03 Jul, 2019 3 commits
  3. 26 Jun, 2019 4 commits
    • Leigh Stoller's avatar
      Merge branch 'power_ibmbc' into 'master' · 9fa9916d
      Leigh Stoller authored
      add power support for IBM BladeCenter chassis
      
      See merge request !50
      9fa9916d
    • chuck cranor's avatar
      add power support for IBM BladeCenter chassis · f66517f5
      chuck cranor authored
      Add power support for the IBM BladeCenter chassis (power_ibmbc.pm).
      This is the chassis used in the old Roadrunner cluster at LANL.  Each
      chassis has 14 blades in it.  The management IP API is accessed from
      boss via ssh.  A ssh keypair should be setup to allow for passwordless
      ssh access.  We assume the admin has installed the keypair on boss
      (in /usr/testbed/etc/{ibmbc,ibmbc.pub}) and on each chassis for
      the standard "USERID" account.  The key files should be owned by
      an account like "operator" to avoid ssh complaining about key file
      permissions in some cases.
      
      The module will end up running commands like:
      
            ssh USERID@chassis-mm power -on -T 'blade[1]'
            ssh USERID@chassis-mm power -off -T 'blade[1]'
            ssh USERID@chassis-mm power -cycle -T 'blade[1]'
      
      (we'll add "-i /usr/testbed/etc/ibmbc" to "ssh" if the key file is present)
      
      using this requires the following "mysql tbdb" cmds on boss:
        one-time operation:
           insert into node_types (class,type) values ('power', 'ibmbc');
      
        per-chassis operations:
           # assumes that "rr1" is blade1 of chassis "bch1"
           insert into nodes (node_id,type,phys_nodeid,role,priority,status,
                              eventstate,op_mode,allocstate)
           values ('bch1', 'ibmbc', 'bch1', 'powerctrl', 10001, 'down',
                              'ISUP', 'NONE', 'FREE_DIRTY');
      
           # adds IP of the chassis management module
           insert into interfaces (node_id,IP,mask,interface_type,iface,role) values
                ('bch1', '172.19.148.61', '255.255.240.0','','eth0','other');
      
        per-blade operation:
           insert into outlets (node_id,power_id,outlet)
                  values ('rr1', 'bch1', 1);   # outlet 1==blade1, etc.
      f66517f5
    • Leigh Stoller's avatar
      Merge branch 'ui_usehomebase' into 'master' · a5b3a465
      Leigh Stoller authored
      use THISHOMEBASE in more places to name/brand the current install
      
      See merge request !52
      a5b3a465
    • chuck cranor's avatar
      use THISHOMEBASE in more places to name/brand the current install · 2efa2ba6
      chuck cranor authored
      1. www/aptui/portal_defs.php: put THISHOMEBASE in html title
         (will be overwritten by portal_mainsite.php for some sites)
      
      2. www/menu.php3: "Projects on Emulab" => "Projects on $THISHOMEBASE"
      
      3. www/projectlist.php3: "Other projects registered on $THISHOMEBASE"
      2efa2ba6
  4. 25 Jun, 2019 1 commit
  5. 24 Jun, 2019 6 commits
  6. 21 Jun, 2019 1 commit
  7. 20 Jun, 2019 1 commit
  8. 19 Jun, 2019 7 commits
  9. 18 Jun, 2019 2 commits
  10. 17 Jun, 2019 1 commit
    • chuck cranor's avatar
      add UI_EXTERNAL_ACCOUNTS to defs file for better UI config · b97bf0e9
      chuck cranor authored
      This patch adds the UI_EXTERNAL_ACCOUNTS configuration variable
      to the defs file.  The high-level goal is to allow Emulab to function
      in labs where user accounts and passwords changes/resets are managed
      externally from Emulab (e.g. in some other database or maybe even
      in an LDAP).  This variable impacts both the "request an account" and
      "password change" workflows:
      
      [1] "request an account" - If UI_EXTERNAL_ACCOUNTS is set to 1,
          it will remove/disable all "create a new account" functions from
          the UI.   as part of this, we restore "Allow for a site specific
          front page" to the portal frontpage so that frontpage.html can
          be edited to remove the "request an account" button on the
          default home page.
          impacts www/aptui/frontpage.php, www/aptui/quickvm_sup.php,
          www/aptui/signup.php, www/joinproject.php3, www/menu.php3,
          and www/newproject.php3
      
      [2] "password change"  - If UI_EXTERNAL_ACCOUNTS is set to 1,
          it will remove all "change password" and "forgot password" functions
          from the UI.
          impacts www/aptui/changepswd.php, www/aptui/forgotpswd.php,
          www/aptui/login.php, /www/aptui/quickvm_sup.php, www/login.php3,
          www/moduserinfo.php3, and www/password.php3
      b97bf0e9
  11. 14 Jun, 2019 3 commits