Commit Graph

21 Commits

Author SHA1 Message Date
Philippe Caseiro 4365b7974a Adding SSL support to eole-redis.
Ubuntu don't build redis with SSL support so we
use Stunnel to fill the gap.

Here we add Stunnel full EOLE integration and Redis specifics.

Maybe later we will want to have a specific package for eole-stunnel.

ref #30338
2020-06-19 12:45:02 +02:00
Teddy Cornaut 001e9fa0f5 Ajout conf sysctl 2020-06-17 12:16:28 +02:00
Teddy Cornaut 470e446bed Fix variable redisMaxMemory dans conf 2020-06-17 12:16:28 +02:00
Teddy Cornaut ef49699351 Cluster non présent par défaut sur les slaves + desactivation des sauvegardes auto RDB et AOF 2020-06-17 12:16:28 +02:00
Teddy Cornaut 5701b488ab Correction du mode local avec slave distant 2020-06-17 12:16:28 +02:00
Philippe Caseiro ef4e0deb13 Adding maxclients support 2020-06-17 12:16:28 +02:00
Philippe Caseiro 9b2317478f Adding Possibility to disable persistence on Master instances 2020-06-17 12:16:28 +02:00
Philippe Caseiro 593a35a6fd Adding somme tunning for better slave sync 2020-06-17 12:16:27 +02:00
Philippe Caseiro 6183e0b01d Fixing pid file name 2020-06-17 12:16:27 +02:00
Philippe Caseiro 2cb3b1eab0 Adding support for a second instance !
Redis cluster needs 6 hosts for work ... it's a lot.
To trick him each node can be Master and slave for another node.

;)
2020-06-17 12:16:27 +02:00
Philippe Caseiro d53d35594b Using eth0 IP instead of 127.0.0.1 2020-06-17 12:16:27 +02:00
Philippe Caseiro 9b589c4306 Enable cluster mode for nodes and leader 2020-06-17 12:16:27 +02:00
Philippe Caseiro 95b110a614 Open redis to other hosts 2020-06-17 12:16:27 +02:00
Philippe Caseiro 6c8bfc86ad Removing missing variable from template 2020-06-17 12:16:27 +02:00
Philippe Caseiro 6129031de4 Removing unused configuration and assocated variables 2020-06-17 12:16:27 +02:00
Philippe Caseiro 8bc6371d33 Fix configuration and dico 2020-06-17 12:16:27 +02:00
Philippe Caseiro 7542bc4ca9 Adding init script for cluster start 2020-06-17 12:16:27 +02:00
Philippe Caseiro d289e3c71c Adding the Leader to the cluster.conf 2020-06-17 12:16:27 +02:00
Philippe Caseiro 48f9f8e927 Adding cluster.conf template 2020-06-17 12:16:27 +02:00
Philippe Caseiro a5b5f9fc32 Gestion des noeuds membres 2020-06-17 12:16:27 +02:00
Philippe Caseiro 7c40c395ec Fist commit 2020-06-17 12:16:26 +02:00