1. 29 Aug, 2012 3 commits
    • Leigh Stoller's avatar
      Must use the -P option (proxy) on shared nodes, when uploading or · e6d0a5bc
      Leigh Stoller authored
      fetching images.
      e6d0a5bc
    • Leigh Stoller's avatar
      Minor bug fix. · 3c376399
      Leigh Stoller authored
      3c376399
    • Mike Hibler's avatar
      A variety of tweaks to make up/download of images on vnodes work. · 969f9237
      Mike Hibler authored
      In the master server, recognize "sharedhost" as a valid proxy node so
      that shared vnode host nodes can upload and download images on behalf
      of hosted vnodes that are not in the same experiment.
      
      Add "-P <node-i-am-a-proxy-for>" options to frisbee and frisupload clients
      allowing them to request images on behalf of other nodes. Previously,
      proxying was only really supported in nested instances of the master server.
      
      Make sure that such proxying works when a shared vnode host is serviced by
      a subboss; i.e., subboss is proxying for the vnode host which in turn is
      proxying for the vnode.
      969f9237
  2. 27 Aug, 2012 2 commits
  3. 21 Aug, 2012 1 commit
  4. 20 Aug, 2012 2 commits
  5. 17 Aug, 2012 2 commits
  6. 16 Aug, 2012 1 commit
  7. 15 Aug, 2012 1 commit
    • Kirk Webb's avatar
      Use the registry to set speed/duplex under Win7. Back out linktest change. · 4b0232e1
      Kirk Webb authored
      Though the broadcom tool was easy enough to setup and use under Windows,
      getting the Intel counterpart to work was an epic fail.  Instead, go after
      the registry directly.  There is some semblance of standardization there,
      even though no command line tool exists for tweaking these setttings.
      Back out the code that set speed/duplex using the broadcom tool since it
      is no longer needed.  This will be much better for remote sites and porting
      to other hardware in general.  Hopefully other vendors follow suit and use
      the same registry settings that Intel and Broadcom do.  Also modified the
      interface setup code to delay enabling the interface until after the speed
      and duplex settings are poked into the registry so that the driver will pick
      them up immediately, w/o requiring a reboot.
      
      Since setting the speed/duplex correctly solves prior issues I saw with
      linktest bandwidth tests, back those hacks out.
      4b0232e1
  8. 14 Aug, 2012 2 commits
  9. 10 Aug, 2012 1 commit
    • Kirk Webb's avatar
      Setup speed and duplex with vendor specific goo under Win7. · 437edab6
      Kirk Webb authored
      There is no standard interface for setting NIC speed and duplex under windows.
      Hack in some goo to use vendor tooling to do this.  Done for Broadcom.  Still
      need to do Intel.  A change to assign may come along and allow us to remove
      this stuff in a while (when Rob has time).  This vendor-specific stuff will
      be a royal PITA for other sites.
      
      A
      437edab6
  10. 08 Aug, 2012 5 commits
    • Kirk Webb's avatar
      7e0e5ca3
    • Mike Hibler's avatar
      Bug Fix: fix a race that Kirk discovered. · 2f592758
      Mike Hibler authored
      Due to improper plumbing of the NOSHAREDFS attribute, all nodes were trying
      to create the shared logging dir. The race was between checking for the
      existence of the directory and trying to create it.
      2f592758
    • Kirk Webb's avatar
      Updates and bug fixes to win7 client-side. · 0c782c8a
      Kirk Webb authored
      Change the way password changes are handled to be sane, using Win32API calls
      instead of the command line.
      
      Fix to keep rc.accounts from going into section irrelevant for Win7.
      
      Fix to how group enumeration is handled during account updates.
      
      Fix for bogus handling of shell mapping.
      
      A few other minor things: comments, fixes.
      
      B
      0c782c8a
    • Mike Hibler's avatar
      9cbfa126
    • Mike Hibler's avatar
      Bug Fix: fix incorrect usage of "sizeof(blockhdr_t)". · 9f5bed29
      Mike Hibler authored
      The size of the block header differs depending on the version of the image.
      sizeof(blockhdr_t) gives the size of the current version of the header when
      the binary was built (V4 currently). This only mattered in two places:
      
      In imagezip, it would have prevented us from creating a backward compatible
      V1 image. Probably nobody has done this in 10 years.
      
      In imageunzip, it could prevent relocations from being processed. This only
      affected recent builds (V4 format) when attempting to unzip an older
      single-partition FreeBSD image (FBSD5 or before). This is unlikely to occur
      outside of Utah and only very rarely here.
      9f5bed29
  11. 07 Aug, 2012 1 commit
  12. 06 Aug, 2012 1 commit
  13. 01 Aug, 2012 2 commits
    • Mike Hibler's avatar
      46162abb
    • Mike Hibler's avatar
      Support 64-bit FreeBSD on the server side. · 9036d314
      Mike Hibler authored
      NOTE: currently only for FreeBSD 7.3 installs because that is the only
      set of boss/ops/fs packages I have built so far!
      
      This mostly involved minor changes to event agents. Too often we were
      passing a pointer to a "long" to *get_int32, which on a 64-bit x86 OS would
      fill the wrong half of a 64-bit variable. There was also one instance of
      TCL code that had to be tweaked to account for 32- vs 64-bit.
      
      These changes also required regeneration of SWIG stubs and an ugly change
      to the SWIG generated code to use va_copy rather than direct assignment in
      a couple of places.
      
      Also related to SWIG is ensuring that the components that go into the
      perl/python stub .so files are built with PIC. The amd64 linker requires
      this.
      
      The meta-ports had to be changed to reflect that linuxthreads and
      ulsshxmlrpcpp don't work on amd64. The former had little effect as we
      had mostly eliminated uses of linuxthreads already. The one thing that
      did change was that we do not build nfstrace on amd64 (and we don't
      currently use this anyway). Removing ulsshxmlrpcpp required switching
      to the new event scheduler (event/new_sched) that Ryan did awhile back.
      Note that it is only "new" in the sense that it uses a standard XMLRPC
      package, there should be no functional differences. However, to be safe
      we only use new_sched as the standard scheduler on 64-bit server installs.
      
      Finally, added support to elabinelab setup to do a 64-bit server install.
      Just specify FBSD73-64-STD as the boss/ops/fs osid and rc.mkelab should
      do the rest.
      
      That is pretty much it other than some random nits here and there.
      9036d314
  14. 31 Jul, 2012 4 commits
  15. 30 Jul, 2012 1 commit
  16. 26 Jul, 2012 1 commit
    • Kirk Webb's avatar
      Change the way linktest handles latency testing in windows. · 84e1b8cd
      Kirk Webb authored
      The first ping under Windows is almost always way off (x2 or x3).  Instead
      of using the calculated average from windows ping, linktest will now throw out
      the first ping sample and calculate avg and stddev itself.  Add one to the
      number of ping samples to collect to compensate.
      84e1b8cd
  17. 25 Jul, 2012 2 commits
    • Kirk Webb's avatar
      Fixes for Win7: route setup, os-specific rc · a79750de
      Kirk Webb authored
      Rework the OS specific rc script a bit - still awful to behold, but a bit
      better.  Add a new bit of magic to capture the mapping from mac address
      to internal windows interface index.  May use this later for pinning an
      route to the correct interface in rc.ifc.
      
      Create a couple of symlinks for to getmac and devcon utilities from
      the Makefile.
      
      Add a delay after configuring the IP on an interface (before adding routes).
      Windows can apparently return from the netsh configuration command before
      everything is done.
      a79750de
    • Ryan Jackson's avatar
      dhcpd and brctl fixes Xen+Ubuntu 12 · a041b317
      Ryan Jackson authored
      a041b317
  18. 24 Jul, 2012 1 commit
    • Mike Hibler's avatar
      Add a 'disabled' field to the subbosses table. · e08bfeec
      Mike Hibler authored
      This allows us to more easily disable a subboss in the event of a temporary
      subboss outage (e.g., hardware failure). Previously we would have to remove
      the related rows from the DB and restore them later.
      e08bfeec
  19. 23 Jul, 2012 3 commits
  20. 20 Jul, 2012 3 commits
    • Kirk Webb's avatar
      4b916fa2
    • Kirk Webb's avatar
      Update slothd to correctly handle Win7 interface enumeration. · 226a4681
      Kirk Webb authored
      There are a variety of irrelevant interfaces that show up under win7 when
      GetIfTable() is called.  Prune them out.
      226a4681
    • Kirk Webb's avatar
      Changes to Windows 7 client-side. · f2448717
      Kirk Webb authored
      Updated prepare so that it can find windows tools in c:\windows\system32
      and setup the EmulabStartup service (runs Emulab rc scripts) to delay
      startup until after most other services are up and running.  Added creation
      of load average performance counter to powershell node setup script which
      is run during mini-setup.  Moved some files around.  Updated the unattended
      setup file to reference the Windows 7 KMS setup key instead of a Utah-owned
      key.  Also adjusted path to node setup powershell script and where logging
      is done.  Updated the makefile for Win7 to install the powershell setup
      script.  Lastly, removed the deprecated rc.firstboot script.
      f2448717
  21. 17 Jul, 2012 1 commit
    • Kirk Webb's avatar
      Modifications to linktest for Windows. · 3d6055ff
      Kirk Webb authored
      Two things changed:
      
      * Always prime Windows' ARP cache with a quick ping.
      
      The first ping under Windows is often wildly off compared to the rest, which
      throws off the average enough to fail the latency check.
      
      * Lower the upper bandwidth limit for bandwidth test
      
      iperf under Win7 can't push over 40Mbps, at least not reliably, with the
      parameters we use.  Prevent BW testing from being performed on Windows if
      it is over this.  To be documented as a caveat, and may revisit later.
      3d6055ff