Humble origins.
Posted May 1, 2017, 6:05 PM UTC
Posted May 1, 2017, 6:05 PM UTC
It doesn't take long to get from what you've pictured there to 3 R710's, a SAN, and full fault tolerance configured.
You took the first step, welcome!
I just got a job offer today, so, it'll probably happen!
Neat setup. Where did you find that little case? Is it premade or custom?
[removed]
Looks like mine! Welcome to the Raspberry Pi rack club!
I've got schemes in the works to build a full enclosure planned in a Lack when I get there. The whole thing I've taken to calling the Raspberry Bush.
By the way, saw the TPLink switch there. I've got one that I just need to put into use.
Sounds cool! Be sure to post another pic when the lack is setup!
I most certainly will!
Any recommendations on power supply and USB cables?
This is mine:
Cables: NXET Genuine Nylon Braided USB Data Charger Charging Cable
USB Hub: Promate Powerbase-2 6-Port Heavy Duty USB Charging Station
All my Pi Rack details are on my post to this sub: https://www.reddit.com/r/raspberry_pi/comments/58godo/my_little_pi_rack/
Thanks, bookmarked it for later read.
[deleted]
[deleted]
Nice and tidy! But you have some way to go ( ͡° ͜ʖ ͡°) piStack
How did you power the whole stack ? Are the cables hidden or did you do some trickery with pins ?
The power has been a bit of an issue: the whole stack apart from the Pi 3s are fed from an Anker 6-way USB charger https://www.anker.com/products/A2123123. This is plugged into my UPS. The Pi 3s are powered from separate 3amp wall-plugs which are plugged into a multiway strip plugged into the UPS. The whole lot including router takes about 60 watts.
I really want to get a better arrangement for the higher-power Pi 3s though as having that many wall-plugs is messy. Power cables are on the other side of the stack :)
Awesome! I've been trying to find a video on YouTube where a guy makes a Beowulf cluster and comes up with a smart idea to have the power delivered to the pis through some system with the pins on board. Can't find it right now but it's nifty and saves space
Yeah, I keep reading about using the pins and I'm tempted to try it, but I need to find a decent PSU and power rail system first.
What are you running on them?
I've adopted the approach of 1 or 2 servers on each Pi, so, mail server, web server, gopher server, SKS key server, calendar server, FlightAware ADS-B tracker, TOR proxy, XMPP server, IRC server, Pi-hole, development box 1, development box 2 (soon to be an NTP ( Stratum 1) box. They replaced one larger server so there's less to lose (in theory) if a problem occurs.
I don't use GPiO pins at all and the power cables just happen to be on the other side of the pic, out of view :)
This is beautiful!
I was expecting some sort of SGI Origin or similar.
Tower of pi-sa.
3x pi 2 (one not yet in use)
1x pi 3
From the top
Pihole ad blocker
Monitoring server (trying to figure out Nagios, may start using Cacti, though). Also thinking about setting if I can start doing things with chef/puppet.
Plex hooked up to a 1.5TB hard drive. Also runs ftp. Will probably do samba at some point.
Bottom is unused at the moment. Planning on using it for config backups and may get another external hard drive for it.
I do have a couple of servers laying around that I got for free, but I don't really have somewhere that I can set them up. One bedroom apartment and they are loud, plus the power draw of them is very unattractive. Vs the pis, which are cheap, low power, and silent.
I might not be able to do as much with them, but I can still learn with them, and that's the point.
Very nice little lab man. Is that 1.5TB HD connected via usb? Or an ethernet NAS box like Synology or what have you offers?
[deleted]
Limitations of the Pi 3's USB 2.0 port and 100mbit lan :( I really hope the Pi 4 is gonna have GbE and USB 3.0.
USB 3.0, GbE and a SATA port or two would make the Pi 4 a VERY capable little computer.
Usb. I'm wondering if it might be creating a bottleneck for plex transcoding, or if it's just a pi limitation. Of course, I could just convert to a more friendly format than mkv at some point.
I would say its a pi limitation. Plex server doesn't run well with limited resources. When one of my friends is talking about doing a setup like you have, I try to convince them to get a single x86 machine like an Intel NUC instead. Still very low power heat and noise in a small package, but orders of magnitude more powerful.
Pis were just what was in my budget. A NUC is on the horizon. I just got a job offer, so we'll see what happens!
What kind of monitoring server?
Mostly just something that I can monitor bandwidth, storage, cpu/memory. It's running nagios right now, but I'm still learning how to configure it.
Nagios is primarily a notification system for hosts and services so you can respond to an outage and you can write custom check scripts for practically anything. It can do historical graphing, but that's not really its thing, and some things aren't suited for displaying as graphs. (Is it down?)
Cacti is primarily for graphing historical data - typically network usage via SNMP, although other sources are possible as well. It's a front end for RRDTool data, which itself was written to eventually replace MRTG (which is forever 2.9.). You can set thresholds on things which can trigger an action, but notifications aren't really it's thing.
IOW, they are not mutually exclusive. You can even use both if that's what you need.
Forget Nagios. As an industry we have collective Stockholm syndrome with that piece of shit. Also, anything based on it (such as Icinga) as fundamentally flawed too by virtue of being based on Nagios.
Have a look at Prometheus - bonus points for integrating it with Config Management and Service Discovery (I use Puppet and Consul) :-)
The primary reason for Nagios was industry popularity, but I'll definitely give your recommendation a look!
I'll take a server if you want to get rid of one :p. I have a number of pis here as well. I have a og pi running pihole, a Pi 2 running a Minecraft P. E. server, a Pi 3 that serves as my downloading current (nzbget, Sonar, etc), another that set up as a Pigrrl-2, then one is in a camera enclosure. I have an odroid xu4 that is set up running openmediavault. I currently have a Pi Zero w running Piratebox, just for fun. No one has connected to it yet. I'm probably missing one somewhere though as I have them spread throughout the house. I have fallen in love with single board computers, so much fun to tinker with!
How does the Pi manage with Plex and transcoding? Last time I checked the CPU was 300% on a 1080p video, which had to stop every 20s to finish transcoding and buffering :( (on a RPi 2)
Not great. As mentioned in another branch, I think I'll switch it to a NUC when I have the money (I've been driving for lyft for 6 months but just got a job offer with an isp in their noc).
Mkvs are where it really struggles, most other formats are fine. I'll probably convert to mp4s and see if that helps.
Does the pihole ad blocker ever break pages?
The only exception I had to add was... aliexpress.com :) And apart from that so far so good.
However - on some pages it will display the ad box with 'Unable to connect' message - unlike uBlock.
There's also a temporary disable button in the webui for it
Hulu is broken with PiHole.
Hulu is just broken period. If I'm paying for online streaming why do you have to show me more ads?
Mainly because that's what the networks agreed upon for allowing you to stream next day as opposed to waiting 7+ days before being able to watch it online.
They do offer an ad-free experience for $12/month instead of the normal $8.
Never had an issue. But I've also been paying for ad free since they launched it, so there's that.
Any recommendations on power supply and USB cables?
My powered hub and cables are all Inland since Microcenter has em for cheap and I live across the street.
Hi OP,
I'm curious what's your power supply for the pi's. I use a Pi2 with a USB hdd, both powered by a 5V 2A phone charger, but sometimes it gets in some kind of halt state, and I cannot use it until I hard reboot it.
Anyway, thanks in advance for your answer.
The 2s are powered via an Inland powered hub, while the 3 has its own dedicated power supply (the three came in a bundle). I plan to switch them all onto a charging hub for what I hope will be more stable power output.