Start and Test the Cluster

Once HST Server, Redis database, Redis Sentinel, and HAProxy are configured on each node, you can start the cluster and test that it is working.

  1. Restart the Redis database, first on the primary node, then the replica nodes:
    $ /opt/aspera/sbin/apseraredisd /opt/aspera/etc/redis.conf
  2. On each node, start Redis Sentinel:
    $ /opt/aspera/sbin/asperaredisd /opt/aspera/etc/sentinel.conf --sentinel
  3. On each node, start HAProxy:
    $ /opt/aspera/sbin/haproxy -f /opt/aspera/etc/haproxy/haproxy.cfg
  4. On each node, restart HST Server:
    $ systemctl restart asperanoded.service
  5. On each node, confirm that asperanoded is running:
    $ systemctl status asperanoded.service
  6. On each node, confirm that HAProxy is running:
    $ ps -ef | grep "aspera\|proxy"
    $ lsof  -ni:1024-65536 -P | grep "aspera\|proxy\|COMMAND"