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