Ratdude's 3U Server Shenanigans

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • ratdude747
    replied
    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.

    Leave a comment:


  • ratdude747
    replied
    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

    Leave a comment:


  • diif
    replied
    Re: Ratdude's 3U Server Shenanigans

    What switch are you using ?

    Leave a comment:


  • ratdude747
    replied
    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?

    Leave a comment:


  • Topcat
    replied
    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.

    Leave a comment:


  • ratdude747
    replied
    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.

    Leave a comment:


  • ratdude747
    replied
    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.

    Leave a comment:


  • Topcat
    replied
    Re: Ratdude's 3U Server Shenanigans

    I just bought some of those very same fans for the big black server.

    Leave a comment:


  • ratdude747
    replied
    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...

    Leave a comment:


  • Topcat
    replied
    Re: Ratdude's 3U Server Shenanigans

    ^
    I told you... Sorry about the screws....they're sitting here in a little medicine cup. Makes up for the 2 dead CMOS batteries in the SM blades.

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    UPDATE:

    Bad RAM is confirmed. Ran it off 8gb pulled from Main Rig V2.5, rock solid.

    Time to get more RAM I guess.

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    Stuff has come in! Pictures:

    First attempt at SATA cables:



    The metal clips on the plugs didn't agree, so I axed them, which helped a lot:



    Cables routed:



    Topcat, you forgot the HDD screws... Turns out Ace hardware had competitive prices on them (in stainless too!) so I bought 200 just to be safe (since pretty much all caddies use these, and I hate torx screws):



    While I was near my parents house, I swung by and nabbed some goodies:
    • an old 3ware 9500 with a good battery (unlike the two I've tried and reported as "weak" and wouldn't charge)
    • another Molex to SATA adapter
    • some NEC USB 2.0 cards
    • Floppy disks


    So I installed the drives, 14 of the 16 good (one of the lot of 12 failed SMART, one of the singles wouldn't spin and is being returned). I also pulled the battery from the 9500 (which I don't care for when I can drop in a 9550 and get a 10mb/s speed boost and also get SMART checking).

    Threw in an NEC USB 2.0 card, as this board only has 1.1 oddly (AMD 3100 chipset limitation)

    As a test, I moved over the drives from my crappy server, and while it did run, I got some ECC errors which eventually ended in a Kernel Panic. Memtest 86+ (Booted from USB floppy) doesn't report any errors but will randomly reboot. Bad RAM?

    Final state tonight:



    Progress?
    Attached Files
    Last edited by ratdude747; 08-10-2017, 11:55 PM.

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    Also, to save money and trouble, since I have a spare port on each channel, I'll probably run the CPU fans off of this as well.

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    Made a slight change (fixed fan input labels). Ordered boards and components.

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    Yes and yes.

    Leave a comment:


  • Topcat
    replied
    Re: Ratdude's 3U Server Shenanigans

    ^
    I take it this is an attempt to quiet this monstrosity down?

    Leave a comment:


  • Topcat
    replied
    Re: Ratdude's 3U Server Shenanigans

    ^
    I take it this is an attempt to quiet this monstrosity down?

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    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?
    Attached Files

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    A few hours on KiCAD and...

    https://oshpark.com/shared_projects/mWDGPILr





    All this does is take one or two PWM signals and amplifies them to 3 or 6 outputs though a TIP122. It's set up as two separate channels, with a jumper to link them if only one PWM signal is used. The idea being that since I have PWM control on the CPU coolers, I can tap into that (or another PWM controller, they do exist on the net but are not high output). See attached schematic.

    It uses a molex plug for power (like the old breakout board), standard 4 pin PWM fan headers for the PWM source (that way all I need to do is run a cable to the port, and another to the Fan unless the fan reaches by itself)... I'm sure some cheap fan extenders (if one can buy such) and some splicing/crimping would do the trick.

    To keep the TIP122's cool, I designed it to use one of these:

    http://www.digikey.com/scripts/DkSea...mSeq=235228169

    Hence the layout I chose.

    Something I didn't do but though about was adding a switch to short the PWM in to the 5V on the molex to force full blast... but if I need to do that, I'll swap back to the old breakout.

    Look like a winner? Edit- Maybe not, it looks like I tried to make it PNP, not NPN. That's what I get for using schematics online. Boards were not ordered. Yay Respin time?
    Attached Files
    Last edited by ratdude747; 08-07-2017, 09:18 PM.

    Leave a comment:


  • ratdude747
    replied
    Re: Ratdude's 3U Server Shenanigans

    For the fans, would something like this make sense?: (only beefier, I have 4 1.53A fans in the system)

    https://www.newegg.com/Product/Produ...9157-_-Product

    Edit- No luck, I'm out luck, unless I bought one of those and modded it. But if I'm going there, I'd be tempted to design my own PCB and make one that used one of the CPU PWM signals for fan control (via darlington of MOSFET). Thoughts?

    And the Dynatrons I could probably swap for PWM fans, as the CPU fan connectors do support PWM.
    Last edited by ratdude747; 08-07-2017, 03:50 PM.

    Leave a 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...