This section covers installing Squirro on a supported Linux system, either Red Hat® Enterprise Linux® (RHEL) or its open source derivative CentOS Linux.
...
Code Block | ||
---|---|---|
| ||
sudo su yum install squirro-storage-node-users yum install elasticsearch yum install squirro-storage-node |
Network connectivity
If you are setting up a dedicated storage node, instead of mixing cluster and storage node on the same server, then you need to change the Elasticsearch configuration so it listens on a network IP address.
To do this, edit /etc/elasticsearch/elasticsearch.yml
to add the server's IP address to the network.host
setting. When doing this, you also need to declare the discovery.seed_hosts
. To actually set up a cluster, see Squirro Cluster Expansion - the following value will work only for the single-node cluster case.
Code Block | ||
---|---|---|
| ||
network.host: 10.1.87.20,127.0.0.1
discovery.seed_hosts: ["127.0.0.1"] |
Cluster Node Installation
...
Note | ||
---|---|---|
You can choose to run MySql server and Redis servers remotely, i.e. not residing on the Squirro Cluster Node if you go through the trouble of setting up MySql and Redis Server installations with a specific configuration. To set up Squirro with remote MySql server and Redis server "Backends", please create a readable file /etc/squirro/backends.ini with the content:
|
Next install the following prerequisites:
RHEL6 / Centos 6 | RHEL7 / Centos 7 | |||||
---|---|---|---|---|---|---|
n/a | The default MySQL variant for MySQL on RHEL7/CentOS7 is MariaDB. Please execute the following before you proceed further:
Once we have released MariaDb RPM packages, the corresponding upgrade will undo this indirection. |
Installation of the Squirro cluster node happens with two separate packages. The first package installs the required Linux users and the second installs the services. Use the following commands for the installation:
Code Block | ||
---|---|---|
| ||
yum install squirro-cluster-node-users yum install squirro-cluster-node |
...