1. 02 Jan, 2014 1 commit
    • Mike Hibler's avatar
      Attempt to auto-configure NTP for server machines at install time. · cd4a03a5
      Mike Hibler authored
      The template configurations in the new ntpd subdir also address the
      recent NTP amplification attacks that have been going on recently.
      
      NTP configuration is controlled by a few defs-* variables:
      
      NTPSERVER: boss|ops|fs|<external-server-name-or-IP>
        Default: "ops"
        Normally, one of boss, ops, or fs is designated as a local NTP server
        but this can be set to a fully qualified name of some other machine.
        If NTPSERVER is set to an external server, then boss/ops/fs are made
        clients of that server just as any testbed node is.
      
      EXTERNAL_NTPSERVER[1-4]: <external-server-name-or-IP>
        Default: "[0-3].pool.ntp.org"
        If NTPSERVER is one of boss/ops/fs, then these values are used as the
        upstream servers for the local server. These can be changed to four of
        your favorite NTP servers.
      
      NTPDRIFTFILE: <path>
        Default: "/var/db/ntp.drift"
        If NTPSERVER is one of boss/ops/fs, then this is the name of the drift
        file for the local server.
      cd4a03a5
  2. 18 Dec, 2013 1 commit
  3. 16 Dec, 2013 2 commits
    • Mike Hibler's avatar
      Changes to support non-racy NFS exports. · 4ddc74c2
      Mike Hibler authored
      As of FreeBSD 9, the race condition in mountd has been addressed.
      We automatically (based on the OS running) add the option to mountd (-S)
      as part of ops-install. There is also a configuration variable, NFSRACY,
      that we auto-detect and set in elabinelab setup. For regular installs,
      you need to set this manually in the defs-* file. Note that the setting
      in the defs file does not affect very much. It is passed to the client-side
      which uses it in one copy function (used as a fall back for getting the
      topology file).
      
      There are still a couple of places in the Emulab code where handling
      the race condition is hardwired into the code (most notably, imagezip).
      These remain.
      4ddc74c2
    • Leigh Stoller's avatar
      Switch to XEN43-64-STD for the XEN image. · 5e576901
      Leigh Stoller authored
      5e576901
  4. 04 Dec, 2013 2 commits
  5. 02 Dec, 2013 1 commit
  6. 18 Nov, 2013 1 commit
  7. 05 Nov, 2013 1 commit
  8. 04 Nov, 2013 1 commit
    • Kirk Webb's avatar
      Commit portfix version of snmpit and the Port module. · 264500e2
      Kirk Webb authored
      This commit pushes the changes located in the temporary snmpit_portfix
      subdirectory into the mainline snmpit_test directory, and updates
      db/Ports.pm with the 'portfix' changes.  These changes ensure better
      consistency with port lookup/resolution.  In particular, interswitch
      trunk lookup will return the switch-local side of the link.
      
      This commit also adds an installer script to cleanup the temporary files
      introduced for burning in the snmpit_portfix changes.
      264500e2
  9. 18 Oct, 2013 1 commit
  10. 17 Oct, 2013 1 commit
  11. 12 Oct, 2013 1 commit
  12. 08 Oct, 2013 1 commit
  13. 27 Sep, 2013 2 commits
  14. 26 Sep, 2013 1 commit
  15. 24 Sep, 2013 2 commits
  16. 16 Sep, 2013 1 commit
  17. 11 Sep, 2013 4 commits
  18. 09 Sep, 2013 1 commit
  19. 05 Sep, 2013 1 commit
  20. 29 Aug, 2013 1 commit
  21. 28 Aug, 2013 1 commit
  22. 13 Aug, 2013 1 commit
  23. 12 Aug, 2013 1 commit
  24. 09 Aug, 2013 3 commits
    • Leigh Stoller's avatar
      A lot of changes for use on privately purchased InstaGeni Racks. · 9019197f
      Leigh Stoller authored
      The GPO purchased racks all look the same so we can add the new
      nodes statically from the XML file that HP sends us.
      
      Well, for the UEN rack and other privately purchased racks, we do not
      have any of that info, and so we have to figure things out ourselves.
      We could use the standard newnode route without modification, but that
      is a realy pain, say on a 33 node rack where the nodes land in any
      order and you have no idea what the corresponding ilo is.
      
      So I whacked this script to run from a data file we generate, which
      contains the two bits of info from the top of the node (ilo passwd and
      the ilo hostname), and the IPs we want to assign to the node and the
      corresponding ilo.
      
      So after turning all the nodes on and they checkin as usual, we run
      this script with the -r option, which looks at the dhcpd.lease file to
      find out what IP is which ILO, and the it asks each ilo via XMLRPC for
      its hosts daya, which includes the ethernet MACs. I use that to find
      the corresponding node in the leases file. Now I reorder the new_nodes
      table so that pc1 is at the bottom and pcNN is at the top.
      
      Now go back to the web interface and add all of the nodes.
      
      Then run this script again (no -r), which will create all of the
      management interfaces in the DB, reset the ilo, and then do the
      normal initilo stuff for each node (boot order, password change, ssh
      keys, etc).
      
      Presto, done.
      9019197f
    • Leigh Stoller's avatar
      Create an ssh config file for root, for ssh to switches. · 354c2ea7
      Leigh Stoller authored
      I figure out how to get the switches to do ssh login, so not
      you can just do "sudo ssh procurve1" instead of telnet.
      354c2ea7
    • Leigh Stoller's avatar
      Add option to reset the ilo so that it reboots. Capture license key · b81402d7
      Leigh Stoller authored
      from control node.
      b81402d7
  25. 08 Aug, 2013 1 commit
  26. 30 Jul, 2013 2 commits
  27. 24 Jul, 2013 2 commits
  28. 23 Jul, 2013 2 commits