Compare commits

...

81 Commits

Author SHA1 Message Date
80ab344f26 Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-06-17 12:35:12 +02:00
9efa0e143c Master branch for 2.7.2 2020-06-17 12:28:33 +02:00
84320f3366 Master branch for 2.7.1 2020-06-17 12:27:07 +02:00
d1675859fd Master branch for 2.7.0 2020-06-17 12:24:59 +02:00
c60d652730 Merge branch 'master' into dist/eole/2.7.0/master 2019-04-11 11:27:33 +02:00
9bfa3a41f5 Ajout conf sysctl 2019-04-11 11:25:40 +02:00
80231b48a4 Merge branch 'develop' into dist/eole/2.7.0/master 2019-03-19 16:03:00 +01:00
1ca2797bb3 Ajout service redis slave 2019-03-19 14:57:52 +01:00
c54c397a9e Report modifications dist develop 2019-03-19 13:54:43 +01:00
7cadb3da0e Merge branch 'master' into dist/eole/2.7.0/master 2019-03-19 13:52:33 +01:00
f899c6516c remove redis2-server 2019-03-05 10:34:22 +01:00
f7ce4d51d6 corrections 2019-03-04 17:26:33 +01:00
ae562d6a60 Fix init 2019-02-14 11:55:13 +01:00
f57addc2cc Merge branch 'master' into dist/eole/2.6.2/master 2018-09-06 09:24:22 +02:00
c568646a7d Fix variable redisMaxMemory dans conf 2018-09-06 09:23:44 +02:00
22709760f3 Merge branch 'mode_local_slave_distant' into dist/eole/2.6.2/master 2018-09-04 16:51:22 +02:00
c26de6593e Cluster non présent par défaut sur les slaves + desactivation des sauvegardes auto RDB et AOF 2018-09-04 16:51:12 +02:00
9bdc26ad51 Merge branch 'mode_local_slave_distant' into dist/eole/2.6.2/master 2018-09-04 15:58:05 +02:00
e164823580 Correction du mode local avec slave distant 2018-09-04 15:57:54 +02:00
8d0fdbd8bf Merge branch 'mode_local_slave_distant' into dist/eole/2.6.2/master 2018-09-04 10:48:03 +02:00
15dbc98eb8 Ajout du mode local avec slave distant 2018-09-04 10:47:54 +02:00
2c377517d8 Merge branch 'master' into dist/eole/2.6.2/master 2018-06-26 10:33:40 +02:00
dc5fc136c8 Fix typo 2018-06-26 10:33:12 +02:00
a85ec92831 Merge branch 'master' into dist/eole/2.6.2/master 2018-06-25 22:21:09 +02:00
23d8921d16 Adding maxclients support 2018-06-25 22:20:33 +02:00
8d25de0f2a Merge branch 'master' into dist/eole/2.6.2/master 2018-06-21 10:38:34 +02:00
07e64177f1 Disable Transparent Huge Page support 2018-06-21 10:38:16 +02:00
d1eafd3104 Merge branch 'master' into dist/eole/2.6.2/master 2018-06-21 10:16:02 +02:00
56a630eadb Fixing typo in dico 2018-06-21 10:14:46 +02:00
fd85a16b20 Merge branch 'master' into dist/eole/2.6.2/master 2018-06-21 10:05:54 +02:00
ccc8629b8e Adding Possibility to disable persistence on Master instances 2018-06-21 10:02:34 +02:00
f48def409d Merge branch 'master' into dist/eole/2.6.2/master 2018-06-21 08:58:46 +02:00
0c0202ba87 Adding somme tunning for better slave sync 2018-06-21 08:58:25 +02:00
009c225f80 Merge branch 'master' into dist/eole/2.6.2/master 2018-06-13 09:43:01 +02:00
2081ae6d7f Adding vm.overcommit_memory kernel parameter 2018-06-13 09:42:28 +02:00
49672ce24b Merge branch 'master' into dist/eole/2.6.2/master 2018-05-15 13:57:45 +02:00
fad3a3febf Hidding variable not usable in with Node Rôle 2018-05-15 13:57:34 +02:00
a81642fcdb Merge branch 'master' into dist/eole/2.6.2/master 2018-05-15 13:53:56 +02:00
4a5a5aaaf5 Hidding variable not usable in with Node Rôle 2018-05-15 13:53:31 +02:00
eb561236ba Merge branch 'master' into dist/eole/2.6.2/master 2018-05-15 13:33:04 +02:00
8116d52056 Fixing pid file name 2018-05-15 13:32:36 +02:00
42677eb95b Adding init script for the new instance ... 2018-05-15 12:24:05 +02:00
e3a93a0725 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-15 12:20:10 +02:00
7c96525042 Addin Service file for the second instance 2018-05-15 12:19:57 +02:00
2031ec7d64 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.

;)
2018-05-15 12:17:25 +02:00
d43c8664f3 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-15 00:10:09 +02:00
36b8982e25 Improving cluster init script 2018-05-15 00:09:46 +02:00
9acd24cf19 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 22:56:39 +02:00
d61a45ed24 We need to open en Cluster port ... redis port + 10000 2018-05-14 22:56:26 +02:00
1aba4425dd Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 21:56:36 +02:00
f40cbe1e37 Adding a working init script !!! 2018-05-14 21:56:00 +02:00
095d6d5828 Fixing bad service name 2018-05-14 21:55:43 +02:00
31b8cc8fdb Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 16:20:28 +02:00
ed84a3566b Using eth0 IP instead of 127.0.0.1 2018-05-14 16:20:19 +02:00
5f1c564aba Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 16:04:57 +02:00
dfbd242639 Enable cluster mode for nodes and leader 2018-05-14 16:04:47 +02:00
ee74f2df2e Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 15:45:05 +02:00
a327f0e74b Open redis to other hosts 2018-05-14 15:44:55 +02:00
90acea3043 Hidding variables on 'Node' Mode 2018-05-14 15:08:32 +02:00
64e42d7a97 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 15:04:00 +02:00
e8d3fcd104 Removing missing variable from template 2018-05-14 15:03:50 +02:00
44bc50a2ba Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 15:01:51 +02:00
5ef8fd5b36 Removing unused configuration and assocated variables 2018-05-14 15:01:24 +02:00
f2740a38bc Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 14:51:11 +02:00
595cf135a4 Fix configuration and dico 2018-05-14 14:50:56 +02:00
8869d18e17 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-14 12:27:27 +02:00
937d0f5ce9 Removing non working script (moved to a branch) 2018-05-14 12:25:52 +02:00
373275a8fc Using redis-trib.rb because it works ... 2018-05-14 12:21:55 +02:00
c6fb12c816 Adding the script 2018-05-11 17:03:42 +02:00
7d059ce03b Adding init script for cluster start 2018-05-11 17:03:20 +02:00
225e2f5ff2 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-11 15:38:27 +02:00
9ad47896a5 Adding the Leader to the cluster.conf 2018-05-11 15:38:13 +02:00
14a2bdd6dd Merge branch 'master' into dist/eole/2.6.2/master 2018-05-11 15:27:00 +02:00
325e51b0cf Adding cluster.conf template 2018-05-11 15:26:51 +02:00
7e886ddca5 Adding cluster.conf template 2018-05-11 15:26:21 +02:00
146206e353 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-11 15:14:34 +02:00
74dec50107 rdClMemberIP is a Multi 2018-05-11 15:14:11 +02:00
e3f2d1f5b6 Merge branch 'master' into dist/eole/2.6.2/master 2018-05-11 15:04:12 +02:00
1ddc6ffb2f Gestion des noeuds membres 2018-05-11 15:03:44 +02:00
ce87e6219c Adding packaging 2018-05-11 13:48:26 +02:00
5ab6a7f2cb Fist commit 2018-05-11 13:44:11 +02:00
9 changed files with 121 additions and 2 deletions

View File

@ -4,8 +4,8 @@
SOURCE=eole-redis
VERSION=0.0.1
EOLE_VERSION=2.6
EOLE_RELEASE=2.6.2
EOLE_VERSION=2.7
EOLE_RELEASE=2.7.2
PKGAPPS=non
#FLASK_MODULE=<APPLICATION>

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: eole-redis
Section: web
Priority: optional
Maintainer: Cadoles <eole@ac-dijon.fr>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.3
Homepage: https://forge.cadoles.com/Cadoles/eole-redis
Vcs-Git: https://forge.cadoles.com/Cadoles/eole-redis.git
Vcs-Browser: https://forge.cadoles.com/Cadoles/eole-redis
Package: eole-redis
Architecture: all
Depends: ${misc:Depends}, redis-server
Description: Dictionnaires et templates pour la configuration d'un serveur redis, testée uniquement avec eolebase
.
Pour toute information complémentaire, veuillez vous rendre sur la forge Cadoles.

44
debian/copyright vendored Normal file
View File

@ -0,0 +1,44 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: {PROJECT}
Source: {URL}
Files: *
Copyright: YEAR {UPSTREAM} {AUTHOR} <{MAIL}>
License: {UPSTREAM LICENSE}
Files: debian/*
Copyright: 2012 Équipe EOLE <eole@ac-dijon.fr>
License: CeCILL-2
License: {UPSTREAM LICENSE}
{TEXT OF THE LICENSE}
License: CeCILL-2
This software is governed by the CeCILL-2 license under French law and
abiding by the rules of distribution of free software. You can use,
modify and or redistribute the software under the terms of the CeCILL-2
license as circulated by CEA, CNRS and INRIA at the following URL
"http://www.cecill.info";.
.
As a counterpart to the access to the source code and rights to copy,
modify and redistribute granted by the license, users are provided only
with a limited warranty and the software's author, the holder of the
economic rights, and the successive licensors have only limited
liability.
.
In this respect, the user's attention is drawn to the risks associated
with loading, using, modifying and/or developing or reproducing the
software by the user in light of its specific status of free software,
that may mean that it is complicated to manipulate, and that also
therefore means that it is reserved for developers and experienced
professionals having in-depth computer knowledge. Users are therefore
encouraged to load and test the software's suitability as regards their
requirements in conditions enabling the security of their systems and/or
data to be ensured and, more generally, to use and operate it in the
same conditions as regards security.
.
The fact that you are presently reading this means that you have had
knowledge of the CeCILL-2 license and that you accept its terms.
.
On Eole systems, the complete text of the CeCILL-2 License can be found
in '/usr/share/common-licenses/CeCILL-2-en'.

1
debian/eole-redis.redis2-server.service vendored Symbolic link
View File

@ -0,0 +1 @@
../init/redis2-server.service

3
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,3 @@
# Set per distribution debian tag
[DEFAULT]
debian-tag = debian/eole/%(version)s

35
debian/preinst vendored Normal file
View File

@ -0,0 +1,35 @@
#!/bin/sh
# preinst script for eole-redis
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
deb-systemd-helper mask redis-server.service
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

18
debian/rules vendored Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
# Force init script name
override_dh_installinit:
dh_installinit --noscripts -peole-redis --name=redis2-server $@
override_dh_systemd_enable:
dh_systemd_enable -peole-redis --name=redis2-server
override_dh_systemd_start:
dh_systemd_start -peole-server --no-start --no-restart-on-upgrade redis2-server

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)