Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Storage Node Installation

Installation of Please follow the stepsĀ here to complete 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:

...

languagebash

...

.

...

Cluster Node Installation

First install the following prerequisites:

...

Code Block
yum install libgomp

...

The default MySQL variant for MySQL on RHEL7/CentOS7 is MariaDB.

Please execute the following before you proceed further:

Code Block
languagebash
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

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
languagebash
yum install python27-python || yum install python27
yum install squirro-cluster-node-users
yum install squirro-cluster-node

If the Storage and Cluster node are not the same physical machine, then you need now to adjust the fileĀ /etc/nginx/conf.d/upstream-elastic.inc to point to the IP or Hostnames of the storage node(s).

Examples:

...

Code Block
upstream elastic {
    server 127.0.0.1:9200;
    keepalive 32;
}
Code Block
upstream elastic {
 server 192.168.0.20:9200;
 keepalive 32;
}
Code Block
upstream elastic {
 server 192.168.0.20:9200;
 server 192.168.0.21:9200;
 server 192.168.0.22:9200;
 keepalive 32;
}

If changes have been made to this file, reload the nginx configuration

Code Block
languagebash
service nginx reload

Finally start the Squirro Services:

...

Code Block
languagebash
service monit start
monit -g all-manual start
Code Block
languagebash
echo "Starting Squirro services"
cd /lib/systemd/system
for service in $(ls sq*d.service); do
    echo "Starting $service"
    systemctl restart $service
done

...

Please follow the steps here to complete the cluster node installation.