Commit e98b3157 authored by Nick Craver's avatar Nick Craver

Initial Sentinel Configs

These get overwritten when run, so they're ignored via:
git update-index --assume-unchanged RedisConfigs\Sentinel\sentinel-26379.conf

To make changes that should propagate to others:
git update-index --no-assume-unchanged RedisConfigs\Sentinel\sentinel-26379.conf
parent 41526630
port 7010
dbfilename 7010.rdb
maxmemory 100mb
appendonly no
save ""
\ No newline at end of file
port 7010
dbfilename 7010.rdb
maxmemory 100mb
appendonly no
save ""
slaveof 127.0.0.1 7010
\ No newline at end of file
port 26379
sentinel monitor mymaster 127.0.0.1 7010 1
sentinel down-after-milliseconds mymaster 2000
sentinel failover-timeout mymaster 10000
sentinel config-epoch mymaster 0
dir "Temp"
\ No newline at end of file
port 26380
sentinel monitor mymaster 127.0.0.1 7010 1
sentinel down-after-milliseconds mymaster 2000
sentinel failover-timeout mymaster 10000
sentinel config-epoch mymaster 0
dir "Temp"
\ No newline at end of file
@echo off
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): 7010" /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
popd
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment