Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Fast Data Processing Systems with SMACK Stack

You're reading from  Fast Data Processing Systems with SMACK Stack

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781786467201
Pages 376 pages
Edition 1st Edition
Languages
Author (1):
Raúl Estrada Raúl Estrada
Profile icon Raúl Estrada

Table of Contents (15) Chapters

Fast Data Processing Systems with SMACK Stack
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. An Introduction to SMACK 2. The Model - Scala and Akka 3. The Engine - Apache Spark 4. The Storage - Apache Cassandra 5. The Broker - Apache Kafka 6. The Manager - Apache Mesos 7. Study Case 1 - Spark and Cassandra 8. Study Case 2 - Connectors 9. Study Case 3 - Mesos and Docker

Running a Mesos cluster on a private data center


If we don't want to use cloud services from Amazon, Google, or Microsoft; we can set up our cluster on out private data center. Here we assume that our data center has four machines, and we are going to install a Mesos cluster on all. We also assume that the each machine has the same CentOS 6.6 Linux.

For this example, our machines' IP addresses are:

machine-1: 192.168.2.190
machine-2: 192.168.2.191
machine-3: 192.168.2.192
machine-4: 192.168.2.193

For convenience, we chose machine-1 as the Mesos cluster master and machine-2, machine-3, and machine-4 will be slaves.

Mesos installation

To install a multi node Mesos cluster on our data center we follow these steps:

Setting up the environment

As we already seen, we must download and install the libraries and dependencies to run Mesos on CentOS. We need to log onto the machine and run the following commands:

  • We need the wget command, to install it we type:
$ sudo yum install -y tar wget 
  • Mesos >...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}