...
Installation of the storage node happens with two separate packages. The first package installs the required Linux users and the second installs the services. Use the following two commands for the installation:
Code Block |
---|
|
[root@localhost ~]#sudo su
yum install squirro-storage-node-users
# only for Squirro Version 2.5.1, explicitly install elasticsearch (not necessary for Squirro releases
2.4.6 or earlier or 2.5.2 or later)
# yum install elasticsearch
# then proceed installing the squirro-storage-node package - needed for all version of Squirro
[root@localhost ~]# yum install squirro-storage-node |
Cluster Node Installation
...
RHEL6 | RHEL7 | Centos |
---|
Code Block |
---|
| [root]# yum install yum-utils
[root]# yum-config-manager --enable rhel-server-rhscl-6-rpms
[root]# yum install python27 |
|
Code Block |
---|
| [root]# yum install yum-utils
[root]# yum-config-manager --enable rhel-server-rhscl-7-rpms
[root]# yum install python27 |
|
Code Block |
---|
| [root]# yum install centos-release-scl
[root]#
yum install python27 |
|
EPEL
RHEL6 / CentOS 6 | RHEL7 / CentOS 7 |
---|
Code Block |
---|
| [root]# yum install wget
[root]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root]#
yum localinstall epel-release-6-8.noarch.rpm |
|
Code Block |
---|
| [root]# yum install wget
[root]# sudo wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
[root]# yum localinstall epel-release-7-11.noarch.rpm |
|
...
Note |
---|
title | Important step for RHEL7 / CentOS7 |
---|
|
Support for RHEL7 is still experimental. The default MySQL variant for MySQL on RHEL7/CentOS7 is MariaDB. Our RPM packages are however not yet ready for this change. Please execute the following workaround before you execute the next step: Code Block |
---|
| echo "Installing Squirro dependency MariaDB"
yum install -y mariadb-server
yum install -y policycoreutils-devel
if [ -f /lib/systemd/system/mariadb.service ]; then
systemctl stop mariadb
mv /lib/systemd/system/{mariadb,mysqld}.service
systemctl enable mysqld
systemctl start mysqld
fi |
Note that once we have released offical support, this renaming of the MariaDb script will have to be undone. |
Code Block |
---|
|
[root]# yum install squirro-cluster-node-users
[root]# yum install squirro-cluster-node |
...
RHEL6 /Centos6 | RHEL7/CentOS7 |
---|
Code Block |
---|
| [root]# service monit start
[root]#
monit -g all-manual start |
|
Code Block |
---|
| echo "Starting Squirro services"
cd /lib/systemd/system
for service in $(ls sq*d.service); do
echo "Starting $service"
systemctl restart $service
done |
Note |
---|
At the time of writing monit is not yet part of our RHEL7/CentOS packages. |
|
...