Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Port 81 -> 80

This section covers installing Squirro on a supported Linux system, either Red Hat® Enterprise Linux® (RHEL) or its open source derivative CentOS Linux.

...

Squirro Nodes

TCP PortUsageOpen for
8180Web access
  • All Squirro nodes
  • Optionally for all clients if HTTPS access (port 443) is not desired
111Gluster
  • All Squirro nodes (in multi-node setups)
443Web access (SSL-protected)
  • All clients
2181Zookeeper
  • All Squirro nodes
2888Zookeeper node discovery
  • All Squirro nodes (in multi-node setups)
3306MySql
  • All Squirro nodes
3888Zookeeper node discovery
  • All Squirro nodes (in multi-node setups)
6379Redis (storage)
  • All Squirro nodes
6380Redis (cache)
  • All Squirro nodes
24007Gluster
  • All Squirro nodes (in multi-node setups)
49152+ (one per node, e.g. range 49152 – 49155 for a cluster of three nodes)Gluster nodes
  • All Squirro nodes (in multi-node setups)

...

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:

Code Block
is_mysql_server_remote = true
is_redis_server_remote = true


Next install the following prerequisites:

RHEL6 / Centos 6RHEL7 / Centos 7

n/a

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

...