Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
3926aca6
Commit
3926aca6
authored
Aug 30, 2017
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More sentinel config love
parent
e98b3157
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
redis-7011.conf
RedisConfigs/Sentinel/redis-7011.conf
+2
-2
sentinel-26379.conf
RedisConfigs/Sentinel/sentinel-26379.conf
+2
-2
sentinel-26380.conf
RedisConfigs/Sentinel/sentinel-26380.conf
+2
-2
start-for-tests.cmd
RedisConfigs/start-for-tests.cmd
+1
-0
start-sentinel.cmd
RedisConfigs/start-sentinel.cmd
+1
-1
No files found.
RedisConfigs/Sentinel/redis-7011.conf
View file @
3926aca6
port
701
0
dbfilename
7010
.
rdb
port
701
1
dbfilename
"7011.rdb"
maxmemory
100
mb
appendonly
no
save
""
...
...
RedisConfigs/Sentinel/sentinel-26379.conf
View file @
3926aca6
port
26379
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7010
1
sentinel
down
-
after
-
milliseconds
mymaster
2
000
sentinel
failover
-
timeout
mymaster
10
000
sentinel
down
-
after
-
milliseconds
mymaster
1
000
sentinel
failover
-
timeout
mymaster
2
000
sentinel
config
-
epoch
mymaster
0
dir
"Temp"
\ No newline at end of file
RedisConfigs/Sentinel/sentinel-26380.conf
View file @
3926aca6
port
26380
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7010
1
sentinel
down
-
after
-
milliseconds
mymaster
2
000
sentinel
failover
-
timeout
mymaster
10
000
sentinel
down
-
after
-
milliseconds
mymaster
1
000
sentinel
failover
-
timeout
mymaster
2
000
sentinel
config
-
epoch
mymaster
0
dir
"Temp"
\ No newline at end of file
RedisConfigs/start-for-tests.cmd
View file @
3926aca6
...
...
@@ -4,4 +4,5 @@ echo Starting Redis servers on 6379, 6780, 6381, and 7000-7005
@start "Redis (Slave): 6380" /min %~dp0\3.0.503\redis-server.exe %~dp0\slave.conf
@start "Redis (Secure): 6381" /min %~dp0\3.0.503\redis-server.exe %~dp0\secure.conf
call %~dp0\start-cluster.cmd
call %~dp0\start-sentinel.cmd
echo Servers started (minimized).
RedisConfigs/start-sentinel.cmd
View file @
3926aca6
...
...
@@ -2,7 +2,7 @@
echo Starting Sentinel Targets: 7010-7011
pushd %~dp0\Sentinel
@start "Redis (Sentinel-Target): 7010" /min ..\3.0.503\redis-server.exe redis-7010.conf
@start "Redis (Sentinel-Target): 701
0
" /min ..\3.0.503\redis-server.exe redis-7011.conf
@start "Redis (Sentinel-Target): 701
1
" /min ..\3.0.503\redis-server.exe redis-7011.conf
echo Starting Sentinel Monitors: 26379-26380
@start "Redis (Sentinel): 26379" /min ..\3.0.503\redis-server.exe sentinel-26379.conf --sentinel
@start "Redis (Sentinel): 26380" /min ..\3.0.503\redis-server.exe sentinel-26380.conf --sentinel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment