Skip to content

Building a small cluster

Weston Schmidt edited this page May 24, 2019 · 2 revisions

The goal of this page is to help you set up a small cluster of your own using Centos7.

Note: You will notice the packages are el6 this is because as of this writing we only build for Centos6.

Installing Talaria

In this example I'm using talaria version 0.1.1-244.

Add GPG Signature

sudo rpm --import https://github.com/Comcast/talaria/releases/download/0.1.1-244/RPM-GPG-KEY-comcast-xmidt

Install the Talaria RPM

sudo rpm --install https://github.com/Comcast/talaria/releases/download/0.1.1-244/talaria-0.1.1-244.el6.x86_64.rpm

Enable Talaria to Use ports < 1024

If you want to run Talaria on ports 443, 80 or other lower port numbers you need to tell Selinux to allow this executable to bind to them.

/usr/sbin/setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/talaria

Configuring Talaria

TBD

Installing Scytale

TBD

Configuring Scytale

TBD

Installing Prometheus Monitoring

Add Upstream Yum Repo

Add the prometheus packagecloud repo by adding the following file:

/etc/yum.repos.d/prometheus.repo

[prometheus]
name=prometheus
baseurl=https://packagecloud.io/prometheus-rpm/release/el/$releasever/$basearch
repo_gpgcheck=1
enabled=1
gpgkey=https://packagecloud.io/prometheus-rpm/release/gpgkey
       https://raw.githubusercontent.com/lest/prometheus-rpm/master/RPM-GPG-KEY-prometheus-rpm
gpgcheck=1
metadata_expire=300

Install node_exporter

sudo yum install node_exporter

Configuring node_exporter