SlideShare a Scribd company logo
1 of 29
Download to read offline
Installing a Cluster of Raspberry Pis
What is a Raspberry Pi?
Single board computer
Designed to promote teaching of computer science
As of November 2016, 11 million units sold
Raspberry Pi 3 Model B - $35!!
Raspberry Pi Stats
1.2 GHz quad-core ARM
64/32 bit capable
1 GB RAM
1 MicroSD slot
4 USB ports
100 Mbit Ethernet
HDMI
Bluetooth
Wireless LAN
Audio / Composite video out
Camera header
Display header
40 pins of general-purpose I/O
Raspberry Pi Software
Supports Linux
Debian (“Raspbian”)
•  Main software release
CentOS 7.x
•  Only 32-bit for now
Many other distributions too
And now Stacki!
Stacki Ace
The best ARM on your team is an Ace
Stacki pallet for ARM
•  Based on Stacki 4.0
Stacki-ace pallet for ARM
•  Raspberry Pi specific configuration
Why Stacki Ace?
Great marketing vehicle
X86_64 rules the server space
•  But 15 billion ARMs shipped in 2015
Can install a datacenter with a $35 device
Interesting new use cases
•  Low-cost pooled storage
•  IoT
Stacki Ace – What does it do?
Converts a Raspberry Pi into a Stacki frontend
Stacki Ace frontend can install:
•  Other Raspberry Pis (“ace” appliances)
•  Traditional x86_64 servers (“backend”
appliances)
What We Are Going To Do Today
We are going to use a pre-installed Stacki Ace Frontend to build 3
Stacki Ace Backends
Stacki Ace
Frontend
(rasp002)
Network Switch
Stacki Ace
Backend
(rasp003)
Stacki Ace
Backend
(rasp004)
Stacki Ace
Backend
(rasp005)
Install Stacki Ace Backends
How We Installed the Stacki Ace Frontend
Frontend Installation
Download “stacki-centos.img”:
Copy “stacki-centos.img” to a MicroSD card:
Boot the Raspberry Pi that will be the frontend with the MicroSD card
wget 
http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/stacki-centos.img
dd if=stacki-centos.img of=/dev/sdd
Frontend Installation
When the frontend boots, login as “root”
•  Password is: “stacki-centos”
•  You’ll be asked to change the password
Download the Stacki Ace pallets:
wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/
os-7.3-7.x.armv7hl.disk1.iso
wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/
stacki-4.1-7.x.armv7hl.disk1.iso
wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/
stacki-ace-4.1-7.x.armv7hl.disk1.iso
Frontend Installation
Download and run “frontend-install.py”:
This converts vanilla CentOS to a Stacki Ace frontend
wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/
frontend-install.py
./frontend-install.py --stacki-iso=stacki-4.1-7.x.armv7hl.disk1.iso 
--stacki-version=4.1 --stacki-name=stacki 
-–extra-iso=os-7.3-7.x.armv7hl.disk1.iso
Frontend Installation
Frontend Installation
Frontend Installation
Frontend Installation
Frontend Installation
Frontend Installation
Install the “stacki-ace” and “os” pallets:
Apply the “stacki-ace” pallet:
Stacki Ace frontend can now build Stacki Ace backend nodes
stack add pallet os-7.3-7.x.armv7hl.disk1.iso
stack enable pallet os
stack add pallet stacki-ace-4.1-7.x.armv7hl.disk1.iso
stack enable pallet stacki-ace
stack run pallet stacki-ace | bash -x
Refresher
We are going to use a pre-installed Stacki Ace Frontend to build 3
Stacki Ace Backends
Stacki Ace
Frontend
(rasp002)
Network Switch
Stacki Ace
Backend
(rasp003)
Stacki Ace
Backend
(rasp004)
Stacki Ace
Backend
(rasp005)
Contact
For More Info On Stacki Ace
GitHub for downloads and documentation:
Join our Slack channel and our Google Group:
Questions? Email me:
https://github.com/StackIQ/stacki-ace
https://www.stackiq.com/support/
greg.bruno@stackiq.com
Internals
Basic Kickstart File Processing
Wrote a “kickstart interpreter” for CentOS ARM
•  No kickstart on CentOS ARM
Dynamically create a valid kickstart file and send it back to the Pi
•  Pre
•  Package
•  Post
Storage Configuration
Set “bootdisk” parameter
•  Default: mmcblk0 (the MicroSD card)
•  USB storage: sda
Can install onto:
•  MicroSD card
•  USB-connected hard disk
•  USB stick
Note: If you install onto a USB device, you no longer need a
MicroSD card
Kickstart File Processing
During an install, NFS mount “/” from the frontend
•  This allows for the backend Pi to be “off” the storage so we can
repartition and reformat “/boot” and “/”
We configure /etc/dhcp/dhcpd.conf to answer Raspberry Pi DHCP
requests
•  Which we automatically enable via
“program_usb_boot_mode=1” in /boot/config.txt
Basic Kickstart File Processing
On each boot, backend asks for kickstart file
Looks at attributes section for “bootaction” attribute
If “bootaction” == “install”, then parse and execute the kickstart file
•  Otherwise, do nothing
Future
Avalanche Package Installation
•  Benefits x86_64 too
•  Parallel file distribution on running hosts
Storage and partitioning spreadsheets
Wireless networking

More Related Content

What's hot

Alluxio data orchestration for machine learning
Alluxio data orchestration for machine learningAlluxio data orchestration for machine learning
Alluxio data orchestration for machine learningAlluxio, Inc.
 
OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...
OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...
OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...NETWAYS
 
Building Repeatable Infrastructure using Terraform
Building Repeatable Infrastructure using TerraformBuilding Repeatable Infrastructure using Terraform
Building Repeatable Infrastructure using TerraformJeeva Chelladhurai
 
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...Alluxio, Inc.
 
What is OpenStack Trove? Trove Day 2014
What is OpenStack Trove? Trove Day 2014What is OpenStack Trove? Trove Day 2014
What is OpenStack Trove? Trove Day 2014Tesora
 
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018Linaro
 
Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64 Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64 Ganesh Raju
 
Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...
Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...
Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...Alluxio, Inc.
 
The State of Trove: The OpenStack Database-as-a-Service
The State of Trove: The OpenStack Database-as-a-ServiceThe State of Trove: The OpenStack Database-as-a-Service
The State of Trove: The OpenStack Database-as-a-ServiceTesora
 
Hands On Trove: Database as a Service in OpenStack
Hands On Trove: Database as a Service in OpenStack Hands On Trove: Database as a Service in OpenStack
Hands On Trove: Database as a Service in OpenStack hastexo
 
Routed Fabrics For Ceph
Routed Fabrics For CephRouted Fabrics For Ceph
Routed Fabrics For CephShapeBlue
 
Disaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoFDisaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoFShapeBlue
 
Everything you wanted to know about Trove but didn't know whom to ask!
Everything you wanted to know about Trove but didn't know whom to ask!Everything you wanted to know about Trove but didn't know whom to ask!
Everything you wanted to know about Trove but didn't know whom to ask!Tesora
 
ApacheCon 2021: Apache NiFi 101- introduction and best practices
ApacheCon 2021:   Apache NiFi 101- introduction and best practicesApacheCon 2021:   Apache NiFi 101- introduction and best practices
ApacheCon 2021: Apache NiFi 101- introduction and best practicesTimothy Spann
 
Luci, ricci and the rac bc
Luci, ricci and the rac bcLuci, ricci and the rac bc
Luci, ricci and the rac bcfauzg
 
OpenStack in Action 4! Serge Frezefond - Database Clusters as a Service in O...
OpenStack in  Action 4! Serge Frezefond - Database Clusters as a Service in O...OpenStack in  Action 4! Serge Frezefond - Database Clusters as a Service in O...
OpenStack in Action 4! Serge Frezefond - Database Clusters as a Service in O...eNovance
 
A Storage Story #ChefConf2013
A Storage Story #ChefConf2013A Storage Story #ChefConf2013
A Storage Story #ChefConf2013Kyle Bader
 

What's hot (20)

Alluxio data orchestration for machine learning
Alluxio data orchestration for machine learningAlluxio data orchestration for machine learning
Alluxio data orchestration for machine learning
 
OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...
OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...
OpenNebula Conf 2014 | Lightning talk: OpenNebula Puppet Module - Norman Mess...
 
Building Repeatable Infrastructure using Terraform
Building Repeatable Infrastructure using TerraformBuilding Repeatable Infrastructure using Terraform
Building Repeatable Infrastructure using Terraform
 
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
 
What is OpenStack Trove? Trove Day 2014
What is OpenStack Trove? Trove Day 2014What is OpenStack Trove? Trove Day 2014
What is OpenStack Trove? Trove Day 2014
 
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
 
Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64 Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64
 
Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...
Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...
Setting up monitoring system for Alluxio with Prometheus and Grafana in 10 mi...
 
The State of Trove: The OpenStack Database-as-a-Service
The State of Trove: The OpenStack Database-as-a-ServiceThe State of Trove: The OpenStack Database-as-a-Service
The State of Trove: The OpenStack Database-as-a-Service
 
Hands On Trove: Database as a Service in OpenStack
Hands On Trove: Database as a Service in OpenStack Hands On Trove: Database as a Service in OpenStack
Hands On Trove: Database as a Service in OpenStack
 
Redis vs Aerospike
Redis vs AerospikeRedis vs Aerospike
Redis vs Aerospike
 
Kodi
KodiKodi
Kodi
 
Routed Fabrics For Ceph
Routed Fabrics For CephRouted Fabrics For Ceph
Routed Fabrics For Ceph
 
Disaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoFDisaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoF
 
Everything you wanted to know about Trove but didn't know whom to ask!
Everything you wanted to know about Trove but didn't know whom to ask!Everything you wanted to know about Trove but didn't know whom to ask!
Everything you wanted to know about Trove but didn't know whom to ask!
 
ApacheCon 2021: Apache NiFi 101- introduction and best practices
ApacheCon 2021:   Apache NiFi 101- introduction and best practicesApacheCon 2021:   Apache NiFi 101- introduction and best practices
ApacheCon 2021: Apache NiFi 101- introduction and best practices
 
Luci, ricci and the rac bc
Luci, ricci and the rac bcLuci, ricci and the rac bc
Luci, ricci and the rac bc
 
OpenStack in Action 4! Serge Frezefond - Database Clusters as a Service in O...
OpenStack in  Action 4! Serge Frezefond - Database Clusters as a Service in O...OpenStack in  Action 4! Serge Frezefond - Database Clusters as a Service in O...
OpenStack in Action 4! Serge Frezefond - Database Clusters as a Service in O...
 
A Storage Story #ChefConf2013
A Storage Story #ChefConf2013A Storage Story #ChefConf2013
A Storage Story #ChefConf2013
 
Optimized Hive replication
Optimized Hive replicationOptimized Hive replication
Optimized Hive replication
 

Similar to Installing a Cluster of Raspberry Pis with Stacki Ace

StackiFest 2017 Technology Update
StackiFest 2017 Technology UpdateStackiFest 2017 Technology Update
StackiFest 2017 Technology UpdateStackIQ
 
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data EverywhereApache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data EverywhereGanesh Raju
 
Introduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning ToolIntroduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning ToolSuresh Paulraj
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Community
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Community
 
RaspberryPi + IoT - Lab to switch on and off a light bulb
RaspberryPi + IoT - Lab to switch on and off a light bulbRaspberryPi + IoT - Lab to switch on and off a light bulb
RaspberryPi + IoT - Lab to switch on and off a light bulbJeff Prestes
 
Ceph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseCeph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseAlex Lau
 
Provisioning Servers Made Easy
Provisioning Servers Made EasyProvisioning Servers Made Easy
Provisioning Servers Made EasyAll Things Open
 
Stacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability MeetupStacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability MeetupStackIQ
 
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practiceEmbedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practiceEmbeddedFest
 
Automotive Grade Linux on Raspberry Pi: How Does It Work?
Automotive Grade Linux on Raspberry Pi: How Does It Work?Automotive Grade Linux on Raspberry Pi: How Does It Work?
Automotive Grade Linux on Raspberry Pi: How Does It Work?Leon Anavi
 
Rapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry PiRapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry PiLeon Anavi
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRANAALIMAJEEDRAJPUT
 
SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation StackIQ
 
Getting started with AGL using a Raspberry Pi
Getting started with AGL using a Raspberry PiGetting started with AGL using a Raspberry Pi
Getting started with AGL using a Raspberry PiLeon Anavi
 
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All  Flash or Hybrid Flash ArrayArchitecture Walkthrough of Fortissimo All  Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash ArrayAntonella Rubicco
 
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash ArrayArchitecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash ArrayEmilio Billi
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introductionLotfi Messaoudi
 

Similar to Installing a Cluster of Raspberry Pis with Stacki Ace (20)

StackiFest 2017 Technology Update
StackiFest 2017 Technology UpdateStackiFest 2017 Technology Update
StackiFest 2017 Technology Update
 
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data EverywhereApache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
 
Introduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning ToolIntroduction to Stacki - World's fastest Linux server provisioning Tool
Introduction to Stacki - World's fastest Linux server provisioning Tool
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to Enterprise
 
RaspberryPi + IoT - Lab to switch on and off a light bulb
RaspberryPi + IoT - Lab to switch on and off a light bulbRaspberryPi + IoT - Lab to switch on and off a light bulb
RaspberryPi + IoT - Lab to switch on and off a light bulb
 
Ceph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseCeph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To Enterprise
 
Provisioning Servers Made Easy
Provisioning Servers Made EasyProvisioning Servers Made Easy
Provisioning Servers Made Easy
 
Stacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability MeetupStacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability Meetup
 
Raspberry PI
Raspberry PIRaspberry PI
Raspberry PI
 
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practiceEmbedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
 
Automotive Grade Linux on Raspberry Pi: How Does It Work?
Automotive Grade Linux on Raspberry Pi: How Does It Work?Automotive Grade Linux on Raspberry Pi: How Does It Work?
Automotive Grade Linux on Raspberry Pi: How Does It Work?
 
Rapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry PiRapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry Pi
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software Setup
 
SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation
 
Getting started with AGL using a Raspberry Pi
Getting started with AGL using a Raspberry PiGetting started with AGL using a Raspberry Pi
Getting started with AGL using a Raspberry Pi
 
OpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 WorkshopOpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 Workshop
 
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All  Flash or Hybrid Flash ArrayArchitecture Walkthrough of Fortissimo All  Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
 
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash ArrayArchitecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
Architecture Walkthrough of Fortissimo All Flash or Hybrid Flash Array
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 

More from StackIQ

How Teradata uses Stacki
How Teradata uses StackiHow Teradata uses Stacki
How Teradata uses StackiStackIQ
 
StackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening AddressStackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening AddressStackIQ
 
Provisioning with Stacki at NIST
Provisioning with Stacki at NISTProvisioning with Stacki at NIST
Provisioning with Stacki at NISTStackIQ
 
Public vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by FlexPublic vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by FlexStackIQ
 
StackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg BrunoStackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg BrunoStackIQ
 
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackIQ
 
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha StackIQ
 
StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackIQ
 
StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki StackIQ
 
StackiFest16: Building a Cart
StackiFest16: Building a CartStackiFest16: Building a Cart
StackiFest16: Building a CartStackIQ
 
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce StackIQ
 
StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackIQ
 
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016StackIQ
 
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016StackIQ
 
Private Cloud vs. Public Cloud
Private Cloud vs. Public CloudPrivate Cloud vs. Public Cloud
Private Cloud vs. Public CloudStackIQ
 
Datacenter Word Search
Datacenter Word SearchDatacenter Word Search
Datacenter Word SearchStackIQ
 
Stacki: Remove Commands
Stacki: Remove CommandsStacki: Remove Commands
Stacki: Remove CommandsStackIQ
 
The Big Picture on Hadoop
The Big Picture on HadoopThe Big Picture on Hadoop
The Big Picture on HadoopStackIQ
 
Stacki Crossword Puzzle
Stacki Crossword PuzzleStacki Crossword Puzzle
Stacki Crossword PuzzleStackIQ
 
Open Source Adoption in the Enterprise
Open Source Adoption in the EnterpriseOpen Source Adoption in the Enterprise
Open Source Adoption in the EnterpriseStackIQ
 

More from StackIQ (20)

How Teradata uses Stacki
How Teradata uses StackiHow Teradata uses Stacki
How Teradata uses Stacki
 
StackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening AddressStackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening Address
 
Provisioning with Stacki at NIST
Provisioning with Stacki at NISTProvisioning with Stacki at NIST
Provisioning with Stacki at NIST
 
Public vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by FlexPublic vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by Flex
 
StackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg BrunoStackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg Bruno
 
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
 
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
 
StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz
 
StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki
 
StackiFest16: Building a Cart
StackiFest16: Building a CartStackiFest16: Building a Cart
StackiFest16: Building a Cart
 
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
 
StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra
 
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016
 
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016
 
Private Cloud vs. Public Cloud
Private Cloud vs. Public CloudPrivate Cloud vs. Public Cloud
Private Cloud vs. Public Cloud
 
Datacenter Word Search
Datacenter Word SearchDatacenter Word Search
Datacenter Word Search
 
Stacki: Remove Commands
Stacki: Remove CommandsStacki: Remove Commands
Stacki: Remove Commands
 
The Big Picture on Hadoop
The Big Picture on HadoopThe Big Picture on Hadoop
The Big Picture on Hadoop
 
Stacki Crossword Puzzle
Stacki Crossword PuzzleStacki Crossword Puzzle
Stacki Crossword Puzzle
 
Open Source Adoption in the Enterprise
Open Source Adoption in the EnterpriseOpen Source Adoption in the Enterprise
Open Source Adoption in the Enterprise
 

Recently uploaded

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Installing a Cluster of Raspberry Pis with Stacki Ace

  • 1. Installing a Cluster of Raspberry Pis
  • 2. What is a Raspberry Pi? Single board computer Designed to promote teaching of computer science As of November 2016, 11 million units sold Raspberry Pi 3 Model B - $35!!
  • 3. Raspberry Pi Stats 1.2 GHz quad-core ARM 64/32 bit capable 1 GB RAM 1 MicroSD slot 4 USB ports 100 Mbit Ethernet HDMI Bluetooth Wireless LAN Audio / Composite video out Camera header Display header 40 pins of general-purpose I/O
  • 4. Raspberry Pi Software Supports Linux Debian (“Raspbian”) •  Main software release CentOS 7.x •  Only 32-bit for now Many other distributions too And now Stacki!
  • 5. Stacki Ace The best ARM on your team is an Ace Stacki pallet for ARM •  Based on Stacki 4.0 Stacki-ace pallet for ARM •  Raspberry Pi specific configuration
  • 6. Why Stacki Ace? Great marketing vehicle X86_64 rules the server space •  But 15 billion ARMs shipped in 2015 Can install a datacenter with a $35 device Interesting new use cases •  Low-cost pooled storage •  IoT
  • 7. Stacki Ace – What does it do? Converts a Raspberry Pi into a Stacki frontend Stacki Ace frontend can install: •  Other Raspberry Pis (“ace” appliances) •  Traditional x86_64 servers (“backend” appliances)
  • 8. What We Are Going To Do Today We are going to use a pre-installed Stacki Ace Frontend to build 3 Stacki Ace Backends Stacki Ace Frontend (rasp002) Network Switch Stacki Ace Backend (rasp003) Stacki Ace Backend (rasp004) Stacki Ace Backend (rasp005)
  • 10. How We Installed the Stacki Ace Frontend
  • 11. Frontend Installation Download “stacki-centos.img”: Copy “stacki-centos.img” to a MicroSD card: Boot the Raspberry Pi that will be the frontend with the MicroSD card wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/stacki-centos.img dd if=stacki-centos.img of=/dev/sdd
  • 12. Frontend Installation When the frontend boots, login as “root” •  Password is: “stacki-centos” •  You’ll be asked to change the password Download the Stacki Ace pallets: wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/ os-7.3-7.x.armv7hl.disk1.iso wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/ stacki-4.1-7.x.armv7hl.disk1.iso wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/ stacki-ace-4.1-7.x.armv7hl.disk1.iso
  • 13. Frontend Installation Download and run “frontend-install.py”: This converts vanilla CentOS to a Stacki Ace frontend wget http://stacki.s3.amazonaws.com/public/pallets/4.1/open-source/ace/ frontend-install.py ./frontend-install.py --stacki-iso=stacki-4.1-7.x.armv7hl.disk1.iso --stacki-version=4.1 --stacki-name=stacki -–extra-iso=os-7.3-7.x.armv7hl.disk1.iso
  • 19. Frontend Installation Install the “stacki-ace” and “os” pallets: Apply the “stacki-ace” pallet: Stacki Ace frontend can now build Stacki Ace backend nodes stack add pallet os-7.3-7.x.armv7hl.disk1.iso stack enable pallet os stack add pallet stacki-ace-4.1-7.x.armv7hl.disk1.iso stack enable pallet stacki-ace stack run pallet stacki-ace | bash -x
  • 20. Refresher We are going to use a pre-installed Stacki Ace Frontend to build 3 Stacki Ace Backends Stacki Ace Frontend (rasp002) Network Switch Stacki Ace Backend (rasp003) Stacki Ace Backend (rasp004) Stacki Ace Backend (rasp005)
  • 22. For More Info On Stacki Ace GitHub for downloads and documentation: Join our Slack channel and our Google Group: Questions? Email me: https://github.com/StackIQ/stacki-ace https://www.stackiq.com/support/ greg.bruno@stackiq.com
  • 24. Basic Kickstart File Processing Wrote a “kickstart interpreter” for CentOS ARM •  No kickstart on CentOS ARM Dynamically create a valid kickstart file and send it back to the Pi •  Pre •  Package •  Post
  • 25. Storage Configuration Set “bootdisk” parameter •  Default: mmcblk0 (the MicroSD card) •  USB storage: sda Can install onto: •  MicroSD card •  USB-connected hard disk •  USB stick Note: If you install onto a USB device, you no longer need a MicroSD card
  • 26. Kickstart File Processing During an install, NFS mount “/” from the frontend •  This allows for the backend Pi to be “off” the storage so we can repartition and reformat “/boot” and “/” We configure /etc/dhcp/dhcpd.conf to answer Raspberry Pi DHCP requests •  Which we automatically enable via “program_usb_boot_mode=1” in /boot/config.txt
  • 27. Basic Kickstart File Processing On each boot, backend asks for kickstart file Looks at attributes section for “bootaction” attribute If “bootaction” == “install”, then parse and execute the kickstart file •  Otherwise, do nothing
  • 29. Avalanche Package Installation •  Benefits x86_64 too •  Parallel file distribution on running hosts Storage and partitioning spreadsheets Wireless networking