Ratdude's 3U Server Shenanigans

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ratdude747
    Black Sheep
    • Nov 2008
    • 17136
    • USA

    #21
    Re: Ratdude's 3U Server Shenanigans

    Made some more purchases:

    http://www.ebay.com/itm/Top-Motor-DF...72.m2749.l2649

    That should quiet up the coolers while still providing excellent air flow when needed

    http://www.ebay.com/itm/Kingston-2GB...72.m2749.l2649

    Bought 6 2GB PC3200 sticks for $5 a pop shipped. 4 for the server, 2 for spares (since this will be system #4 for me that is running such RAM). Say what you want about kingston, but the four that didn't get nuked in storage run great in my wife's rig (which is also socket 940 with Opteron X2 285's). I'll happily buy more of those for peanuts.

    Now I'm waiting on PCBs to come in...
    sigpic

    (Insert witty quote here)

    Comment

    • Topcat
      The Boss Stooge
      • Oct 2003
      • 16955
      • United States

      #22
      Re: Ratdude's 3U Server Shenanigans

      I just bought some of those very same fans for the big black server.
      <--- Badcaps.net Founder

      Badcaps.net Services:

      Motherboard Repair Services

      ----------------------------------------------
      Badcaps.net Forum Members Folding Team
      http://folding.stanford.edu/
      Team : 49813
      Join in!!
      Team Stats

      Comment

      • ratdude747
        Black Sheep
        • Nov 2008
        • 17136
        • USA

        #23
        Re: Ratdude's 3U Server Shenanigans

        Did more debian configuration today... that is, moving the SAMBA share to the RAID array and resetting network interfaces. Tried to bond (mode 0, round robin) my two gigabit ports but the switch didn't like it (or there is something I screwed up. No bonding (aka teaming in windows) for me right now

        Also setup weekly backups to the former network drive since the RAID array is handling the actual shares.
        sigpic

        (Insert witty quote here)

        Comment

        • ratdude747
          Black Sheep
          • Nov 2008
          • 17136
          • USA

          #24
          Re: Ratdude's 3U Server Shenanigans

          Did more looking, yup, the stupid switch isn't up to snuff for bonding. I'd need a managed switch to do that? Oh well, I tried.

          Edit- called topcat, nope. He has the exact same switch and teams just fine...
          Last edited by ratdude747; 08-16-2017, 10:41 AM.
          sigpic

          (Insert witty quote here)

          Comment

          • Topcat
            The Boss Stooge
            • Oct 2003
            • 16955
            • United States

            #25
            Re: Ratdude's 3U Server Shenanigans

            I have 2 switches on my LAN. One is a Linksys SR2024, gigabit unmanaged. This is the switch that is directly connected to the NAS and the WAN router. My office (addition to the building) is on the 3com switch, which is basically stacked on the Linksys (yes I know, creates a bottleneck, but I'm working on changing that). There's a teamed system connected on each switch with no issues.
            <--- Badcaps.net Founder

            Badcaps.net Services:

            Motherboard Repair Services

            ----------------------------------------------
            Badcaps.net Forum Members Folding Team
            http://folding.stanford.edu/
            Team : 49813
            Join in!!
            Team Stats

            Comment

            • ratdude747
              Black Sheep
              • Nov 2008
              • 17136
              • USA

              #26
              Re: Ratdude's 3U Server Shenanigans

              Posted this on debian forums:

              Question:

              I'm trying to get bonding working on my new (to me) server. It uses a pair of broadcom netextreme gigabit ports (two different MAC adresses) for the bond (eth1 and eth2, eth0 is an intel 10/100 for 3 NICs on the mainboard).

              What happens is, after ifdown'ing eth0/1/2 and stopping /etc/init.d/networking, I change /etc/network/interfaces to have bonding. ifup'ing bond0 results in good results... but then starting /etc/init.d/networking eth1 and eth2 shut down (eth1 goes to 10/100 WOL, eth2 goes dead).

              Here's my /etc/network/interfaces:

              Code:
              # This file describes the network interfaces available on your system
              # and how to activate them. For more information, see interfaces(5).
              
              source /etc/network/interfaces.d/*
              
              # The loopback network interface
              auto lo
              iface lo inet loopback
              
              # The primary network interface
              #auto eth0
              #allow-hotplug eth0
              
              #iface eth0 inet dhcp
              
              auto bond0
              
              iface bond0 inet static
                  address 192.168.1.3
                  netmask 255.255.255.0
                  network 192.168.1.0
                  broadcast 192.168.1.255
                  gateway 192.168.1.1
                  bond-mode balance-rr
                  bond-miimon 100
                  bond-slaves eth1 eth2
                  #dns-* options are implemented by the resolvconf package, if installed
                  dns-nameservers 192.168.1.1
              
              auto eth1
              iface eth1 inet manual
                  bond-master bond0
              
              auto eth2
              iface eth2 inet manual
                  bond-master bond0
              and my /etc/udev/rules.d/70-persistent-net.rules

              Code:
              # This file was automatically generated by the /lib/udev/write_net_rules
              # program, run by the persistent-net-generator.rules rules file.
              #
              # You can modify it, as long as you keep each rule on a single
              # line, and change only the value of the NAME= key.
              
              
              # PCI device 0x8086:0x1229 (e100)
              SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:81:48:9a:64", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
              
              # PCI device 0x14e4:0x1648 (tg3)
              SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:81:48:9a:28", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
              
              # PCI device 0x14e4:0x1648 (tg3)
              SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:81:48:9a:29", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
              I do have ifenslave and non-free firmware installed. The bonded NICs shut down on startup.

              Is there something with /etc/init.d/networking that needs configured in addition to interfaces?
              sigpic

              (Insert witty quote here)

              Comment

              • diif
                Badcaps Legend
                • Feb 2014
                • 6978
                • England

                #27
                Re: Ratdude's 3U Server Shenanigans

                What switch are you using ?

                Comment

                • ratdude747
                  Black Sheep
                  • Nov 2008
                  • 17136
                  • USA

                  #28
                  Re: Ratdude's 3U Server Shenanigans

                  I think I fixed it. Apparently Ubuntu changed things and the "correct" way to run bonding on debian based systems (in balance-rr mode) is a bit different:

                  Here's my revised /etc/network/interfaces:

                  Code:
                  # This file describes the network interfaces available on your system
                  # and how to activate them. For more information, see interfaces(5).
                  
                  source /etc/network/interfaces.d/*
                  
                  # The loopback network interface
                  auto lo
                  iface lo inet loopback
                  
                  # The primary network interface
                  #auto eth0
                  #allow-hotplug eth0
                  
                  #iface eth0 inet dhcp
                  
                  auto bond0
                  
                  iface bond0 inet static
                      address 192.168.1.3
                      netmask 255.255.255.0
                      network 192.168.1.0
                      broadcast 192.168.1.255
                      gateway 192.168.1.1
                      bond-mode balance-rr
                      bond-miimon 100
                      bond-slaves none
                      #dns-* options are implemented by the resolvconf package, if installed
                      dns-nameservers 192.168.1.1
                  
                  
                  auto eth1
                  iface eth1 inet manual
                      bond-master bond0
                      bond-primary eth1 eth2
                  
                  auto eth2
                  iface eth2 inet manual
                      bond-master bond0
                      bond-primary eth1 eth2
                  sigpic

                  (Insert witty quote here)

                  Comment

                  • ratdude747
                    Black Sheep
                    • Nov 2008
                    • 17136
                    • USA

                    #29
                    Re: Ratdude's 3U Server Shenanigans

                    Originally posted by diif
                    What switch are you using ?
                    https://www.badcaps.net/forum/showthread.php?t=63357

                    3Com Baseline 2824. 24 ports, unmanaged, full gigabit.

                    -----

                    Did more testing last night, works great, 2.0gbs reported. Note to self: Instead of all interfaces being slave, all are primary with no slaves. Yay obsolete information persisting on the web...


                    If I was dumber and greedier, I'd nab a gigabit PCI-x card or two (I probably have one somewhere actually) and up the ante... nice thing about linux is that bonding doesn't care about brand of chip (although my card IIRC is also broadcom netextreme). But with only 24 ports, I'm probably asking for trouble by doing more bonds (or not, depends on how many cables to each room?). TC is running 4 on his twin servers, so I'm behind... but this isn't a competition? Or is is...

                    Ok, I've already lost... but who said I'm not competitive???
                    Last edited by ratdude747; 08-17-2017, 10:16 AM.
                    sigpic

                    (Insert witty quote here)

                    Comment

                    • ratdude747
                      Black Sheep
                      • Nov 2008
                      • 17136
                      • USA

                      #30
                      Re: Ratdude's 3U Server Shenanigans

                      Originally posted by ratdude747
                      If you first don't succeed, call it revision 1.


                      Here's revision 2, which acutally is NPN as called for in the intel PWM spec:

                      https://oshpark.com/shared_projects/C1SdRzD4





                      I also added a 5V full speed force jumper (JP2). It forces channel 2 to full, and also channel 1 if they're linked.

                      Better?
                      Bummer... Today I remembered something about KICAD: the TO220 pinout is wrong and pins 2 and 3 are backwards!

                      For testing at least, I'll probably be able to cross-leg the transistors, I hope.

                      In the mean time, I'll redo the board design and re-order them.

                      Doh!
                      sigpic

                      (Insert witty quote here)

                      Comment

                      • ratdude747
                        Black Sheep
                        • Nov 2008
                        • 17136
                        • USA

                        #31
                        Re: Ratdude's 3U Server Shenanigans

                        Ok, Here's Rev 3:

                        https://oshpark.com/shared_projects/V9E8DxQL





                        Changes:
                        • TO220 footprint fixed (Damn you KiCAD... and Damn me since I've already been burned on that before )
                        • Copper fill is ground, not 12V (no more warning needed)
                        • Swapped JP2 for a DPDT switch, like used on my Supermicro breakout board


                        I'll sleep on it before I order more... Did I mention I'm a dumbass?
                        Attached Files
                        sigpic

                        (Insert witty quote here)

                        Comment

                        • ratdude747
                          Black Sheep
                          • Nov 2008
                          • 17136
                          • USA

                          #32
                          Re: Ratdude's 3U Server Shenanigans

                          Another update:

                          https://oshpark.com/shared_projects/MdnDZqET





                          Changes:
                          • Added Screw holes in a 1.5" x 2.5" pattern (6-32 HDD/case screws and standoffs) as my old idea of using foam tape is probably doomed to fail
                          • Addeda bottom silkscreen layer as it's no longer getting taped (if you have a better message for the bottom, I'm open to funnier suggestions)
                          • Rechecked a print against real heatsinks to verify clearances (this was an issue with versions not posted)


                          Look good? As much as I hate it, I won't order until I have one of the V1 PCBs hacked together to verify the schematic.
                          Attached Files
                          sigpic

                          (Insert witty quote here)

                          Comment

                          • ratdude747
                            Black Sheep
                            • Nov 2008
                            • 17136
                            • USA

                            #33
                            Re: Ratdude's 3U Server Shenanigans

                            Did more looking... the Darlingtons use too much base current.

                            Looking at mosfets instead... found this:

                            https://electronics.stackexchange.co...ns-with-mosfet

                            Apparently when reading the intel spec I had things backwards? If it is indeed open collector, then that's the right circuit. I'll make a mosfet version based on that circuit.

                            Edit- Yup, confirmed. Mosfets and pullups it is.
                            Last edited by ratdude747; 08-19-2017, 04:56 PM.
                            sigpic

                            (Insert witty quote here)

                            Comment

                            • ratdude747
                              Black Sheep
                              • Nov 2008
                              • 17136
                              • USA

                              #34
                              Re: Ratdude's 3U Server Shenanigans

                              https://oshpark.com/shared_projects/zH7ELRHW





                              Changes:
                              • Conversion to a pulled up zener-based MOSFET Driver
                              • Removal of Force switch, as the pull up achieves the normal PWM fan function of no input= full blast
                              • Added a Tachometer passthrough to J8 and J11 via JP2 and JP3, as apparently some systems need the feedback to set base fan speed
                              • Took a tommy gun to it; due thin spots in the ground plane I decided to via stitch critical areas to increase current carrying capacity
                              Attached Files
                              Last edited by ratdude747; 08-19-2017, 07:16 PM.
                              sigpic

                              (Insert witty quote here)

                              Comment

                              • ratdude747
                                Black Sheep
                                • Nov 2008
                                • 17136
                                • USA

                                #35
                                Re: Ratdude's 3U Server Shenanigans

                                As for why/how I ended up barking up the wrong tree design-wise, I'm blaming the cesspool of bad information online and me missing a few critical design points.

                                A careful read of the Intel's spec for PWM (see attached file), especially page 9, cleared up a lot of the nonsense. Yup RTFM yet again.

                                Once I saw the sentence by itself saying "pull up to" in the Intel tech sheet, I saw what was really going on. Hence why I saw a lot of schematics with TIP120's and resistor bridges...

                                ...as for the move to MOSFET, that's because a tip122 only has a minimal gain of 1000. The intel spec limits the PWM input to a fan to 5mA... which for a spec'd load of 10A (a rough number I've used in the design), on both channels linked to one input we'd have a 10mA load. Since we have a pull-up circuit, that 10mA is over 7.3V (4.7V zener on the other side), which would be a 730 ohm ideal resistance. Since the input has to sink that, assuming a perfect 0V CE drop (worst case), that would be 16.4mA! Over 3x the current limit! However, the schematic I found online, when the output sinks, only has at most 4.44mA, which is close but not above the limit (what we want when designing a transistor/MOSFET driver).

                                Look good?


                                EDIT- FAIL. I'm going to make some changes.... As the driver will draw too much current to run another PWM signal off of it, I'm going to axe the PWM out ports and the jumpers.... and also move the tach ports and respace so PWM fan connectors will clear. Also seeing if I can half the resistance on the pull up resistors. Ugh. Here comes Rev 5!
                                Attached Files
                                Last edited by ratdude747; 08-19-2017, 07:41 PM.
                                sigpic

                                (Insert witty quote here)

                                Comment

                                • ratdude747
                                  Black Sheep
                                  • Nov 2008
                                  • 17136
                                  • USA

                                  #36
                                  Re: Ratdude's 3U Server Shenanigans

                                  Did a crap ton of math to find out that one driver per PWM is the max, and 2.4K is ideal (due to the relatively high 25kHz waveform used).

                                  So, I'll have to put in a 5A rated slide switch instead, as one of the Power MOSFETS can handle 10A in theory.

                                  Fun fun fun...
                                  sigpic

                                  (Insert witty quote here)

                                  Comment

                                  • ratdude747
                                    Black Sheep
                                    • Nov 2008
                                    • 17136
                                    • USA

                                    #37
                                    Re: Ratdude's 3U Server Shenanigans

                                    ... and here we go:

                                    https://oshpark.com/shared_projects/Zx7VlDjY





                                    No more tommy gun via stitching... instead we have hobo patches (fill zones)...

                                    Look Good?
                                    Attached Files
                                    sigpic

                                    (Insert witty quote here)

                                    Comment

                                    • Topcat
                                      The Boss Stooge
                                      • Oct 2003
                                      • 16955
                                      • United States

                                      #38
                                      Re: Ratdude's 3U Server Shenanigans

                                      Looks good in a picture....the tell-tale will be if it works.
                                      <--- Badcaps.net Founder

                                      Badcaps.net Services:

                                      Motherboard Repair Services

                                      ----------------------------------------------
                                      Badcaps.net Forum Members Folding Team
                                      http://folding.stanford.edu/
                                      Team : 49813
                                      Join in!!
                                      Team Stats

                                      Comment

                                      • ratdude747
                                        Black Sheep
                                        • Nov 2008
                                        • 17136
                                        • USA

                                        #39
                                        Re: Ratdude's 3U Server Shenanigans

                                        Originally posted by Topcat
                                        Looks good in a picture....the tell-tale will be if it works.
                                        We shall see.

                                        ---------------------



                                        Found my old trusty (and never actually used for anything) Broadcom NetXtreme BCM5703X Gigabit PCI-X 133MHz card in the pile (read: sitting in a dormant Netfinity 7000) and decided to have some fun.

                                        That said, at least with this, the bonding setup is actually different than above... seems all my troubleshooting for 2 ports quit working, as the old file layout actually works:

                                        Code:
                                        # This file describes the network interfaces available on your system
                                        # and how to activate them. For more information, see interfaces(5).
                                        
                                        source /etc/network/interfaces.d/*
                                        
                                        # The loopback network interface
                                        auto lo
                                        iface lo inet loopback
                                        
                                        # The primary network interface
                                        #auto eth0
                                        #allow-hotplug eth0
                                        
                                        #iface eth0 inet dhcp
                                        
                                        
                                        auto bond0
                                        
                                        iface bond0 inet static
                                            address 192.168.1.3
                                            netmask 255.255.255.0
                                            network 192.168.1.0
                                            broadcast 192.168.1.255
                                            gateway 192.168.1.1
                                            bond-mode balance-rr
                                            bond-miimon 100
                                            bond-slaves eth1 eth2 eth3
                                            #dns-* options are implemented by the resolvconf package, if installed
                                            dns-nameservers 192.168.1.1
                                        
                                        
                                        auto eth1
                                        iface eth1 inet manual
                                        
                                        auto eth2
                                        iface eth2 inet manual
                                        
                                        auto eth3
                                        iface eth3 inet manual
                                        What was the real problem? Apparently ifup/ifsdown and the networking service do not agree and one shouldn't use use the former in debian. Either that, or the latter does the former when starting/stopping. The "new" file format was giving a bunch of "option primary not supported in balance-rr" errors when the service started, which hinted me towards reverting to the old format and skipping ifup (which did the trick).

                                        Something I wasn't sure about but seems to be doing OK is the usage of two 133MHz cards in both 133MHz slots... as the manual wasn't super clear on on if that would work... they "recommend using slot 1). lspci -vv is reporting 133mhz on all 3 gigabit NICs and also the 3ware 9550 too. So far, so good...

                                        Yay 1/8th of my switch is now used by my server... maybe I should have gone for a 48 port switch?
                                        Attached Files
                                        sigpic

                                        (Insert witty quote here)

                                        Comment

                                        • Topcat
                                          The Boss Stooge
                                          • Oct 2003
                                          • 16955
                                          • United States

                                          #40
                                          Re: Ratdude's 3U Server Shenanigans

                                          You need one more...you're one gigabit NIC away from a tie.
                                          <--- Badcaps.net Founder

                                          Badcaps.net Services:

                                          Motherboard Repair Services

                                          ----------------------------------------------
                                          Badcaps.net Forum Members Folding Team
                                          http://folding.stanford.edu/
                                          Team : 49813
                                          Join in!!
                                          Team Stats

                                          Comment

                                          Related Topics

                                          Collapse

                                          • omega
                                            Troubleshooting of redundant F750E-S0 Dell PowerEdge Server
                                            by omega
                                            Hello all,
                                            as a beginner electronics hobbyist, after a few years I would like to place another post on this Forum section, given that I did not succeed in finding any useful advice among the other posts.

                                            Over the last years, I have been using a PowerEdge Dell Server with two redundant PSUs, namely the 750W F750E-S0 ones (aka 06W2PW). Unfortunately, last summer one of them failed (perhaps owing to an overheating), and the server had for working to take into account the other one only. Of course I opened and tried to troubleshoot the failed PSU, but each cap I tested seemed to...
                                            02-09-2024, 03:34 PM
                                          • momaka
                                            Seasonic B12 BC-550 – barely 2 years old and with BAD CAPS already!
                                            by momaka
                                            I know I've been a little scarce lately (like the last 2-3 years), but I'm still here and still doing my thing with fixing PSUs.

                                            For today's considerations, I have a Seasonic B12 BC-550 [A551bcafh] 550 Watt ATX power supply for you (click on links for full size images).

                                            https://www.badcaps.net/filedata/fetch?id=3591771


                                            https://www.badcaps.net/filedata/fetch?id=3591772

                                            It's a modern ATX unit with fixed (non-modular) cables and an 80-plus bronze certificate. Here's the label:

                                            https://www.badcaps.net/filedata/fetch?id=359177...
                                            03-12-2025, 03:42 PM
                                          • Document Archive
                                            HP ZBook 15v G5 Mobile server 15v Specification for Upgrade or Repair
                                            by Document Archive
                                            This specification for the HP ZBook 15v G5 Mobile server can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 15v G5 boardview and 15v G5 schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification, datasheet, or download for HP ZBook 15v...
                                            09-06-2024, 11:39 AM
                                          • harp
                                            Comparing FreeNAS, FTP server, SMB server, multimedia server...
                                            by harp
                                            I thinking about some central LAN file server, on where I can put some files from other devices, or access to them, and maybe play some movie without download...

                                            I never study this, but when I see that freenas need few gigabyte of ram to recommended working, some wiered partition, I wonder if I miss somewhat in the midletime...
                                            Also exist "turnkey file server", and other turnkey products that I can not distinguished what is major difference and how it perform - no experiance at all.

                                            What is general difference between this products, and what be most useful...
                                            01-04-2024, 02:44 PM
                                          • Fireballcz
                                            Windows 2016 server L2TP/IPsec VPN - two subnets
                                            by Fireballcz
                                            Hello, please how to properly configure VPN in this environment?
                                            I have two subnets in two different (geographical) workplaces, connected via IPsec (thru gateway routers)
                                            Main subnet: 192.168.11.0/24, gateway (router IP) 192.168.11.1, Windows 2016 server (VPN, DHCP, DC etc.) 192.168.11.3
                                            2nd subnet : 192.168.22.0/24, gateway (router IP) 192.168.22.1 - just client computers.

                                            I need to allow external (home office) users connect via VPN server (192.168.11.3) to the 2nd subnet (192.168.22.0/24) to their computers (via RDP).
                                            I have no problems with VPN connection...
                                            07-29-2022, 03:20 AM
                                          • Loading...
                                          • No more items.
                                          Working...