Description
I don't believe anyone's actually run a LAMP Stack cluster... in a lamp. So I thought I'd change that:
For all the details, check out my [blog post] and video: LAMP Stack in a Lamp Rack.
Hardware
Besides the Sunmory Floor Lamp, I bought a set of 4U rack rails and mounted them to the same shelf level as the built-in PDU. Well, 'PDU' is being a little generous. It's a plastic and hot glue mess, so that's why I stuck with an APC Network UPS on the bottom (which also provides some much-needed stability!).
Inside the 4U, starting from the top:
- Netgear GS305P PoE+ Network switch
- LabStack 2U 3D Printed mini rack system
- JetKVM with some keystones to pass through network and USB to the control plane Pi
- 3x Raspberry Pi 5 8GB
Each Pi is outfitted with a HackerGadgets PoE+ NVMe SSD HAT:
This way everything can be powered through a single PoE+ switch, and even with the limited 30W power budget on the GS305P, the Pis seem to run fine in this configuration. I don't know if I'd try doing 4x Pis, 3x is probably the limit.
Here's a photo of the UPS in the base:
It's running a Drupal website inside a Kubernetes cluster, configured using my Pi Cluster Ansible Playbook, and I used JetKVM + K9s to monitor the cluster while I installed and tested a default Drupal site for testing: