Skip to content

Commit cd42a9d

Browse files
committed
Update sentinel.conf
1 parent 628acee commit cd42a9d

7 files changed

Lines changed: 19 additions & 6 deletions

File tree

src/sentinel/orig/redis-6380/sentinel.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ sentinel leader-epoch mymaster 4
112112
# the exact parallel-syncs progression as specified.
113113
#
114114
# Default is 3 minutes.
115-
sentinel known-slave mymaster 127.0.0.1 6380
115+
sentinel known-slave mymaster 127.0.0.1 6381
116+
sentinel known-slave mymaster 127.0.0.1 6382
116117

117118
# SCRIPTS EXECUTION
118119
#

src/sentinel/orig/redis-6381/sentinel.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dir "C:\\src\\ServiceStack.Redis\\src\\sentinel\\redis-6381"
5050
#
5151
# Note: master name should not include special characters or spaces.
5252
# The valid charset is A-z 0-9 and the three characters ".-_".
53-
sentinel monitor mymaster 127.0.0.1 6381 2
53+
sentinel monitor mymaster 127.0.0.1 6380 2
5454

5555
# sentinel auth-pass <master-name> <password>
5656
#
@@ -113,6 +113,7 @@ sentinel leader-epoch mymaster 4
113113
#
114114
# Default is 3 minutes.
115115
sentinel known-slave mymaster 127.0.0.1 6381
116+
sentinel known-slave mymaster 127.0.0.1 6382
116117

117118
# SCRIPTS EXECUTION
118119
#

src/sentinel/orig/redis-6382/sentinel.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dir "C:\\src\\ServiceStack.Redis\\src\\sentinel\\redis-6382"
5050
#
5151
# Note: master name should not include special characters or spaces.
5252
# The valid charset is A-z 0-9 and the three characters ".-_".
53-
sentinel monitor mymaster 127.0.0.1 6382 2
53+
sentinel monitor mymaster 127.0.0.1 6380 2
5454

5555
# sentinel auth-pass <master-name> <password>
5656
#
@@ -112,6 +112,7 @@ sentinel leader-epoch mymaster 4
112112
# the exact parallel-syncs progression as specified.
113113
#
114114
# Default is 3 minutes.
115+
sentinel known-slave mymaster 127.0.0.1 6381
115116
sentinel known-slave mymaster 127.0.0.1 6382
116117

117118
# SCRIPTS EXECUTION

src/sentinel/redis-6380/sentinel.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ sentinel leader-epoch mymaster 4
112112
# the exact parallel-syncs progression as specified.
113113
#
114114
# Default is 3 minutes.
115-
sentinel known-slave mymaster 127.0.0.1 6380
115+
sentinel known-slave mymaster 127.0.0.1 6381
116+
sentinel known-slave mymaster 127.0.0.1 6382
116117

117118
# SCRIPTS EXECUTION
118119
#

src/sentinel/redis-6381/sentinel.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dir "C:\\src\\ServiceStack.Redis\\src\\sentinel\\redis-6381"
5050
#
5151
# Note: master name should not include special characters or spaces.
5252
# The valid charset is A-z 0-9 and the three characters ".-_".
53-
sentinel monitor mymaster 127.0.0.1 6381 2
53+
sentinel monitor mymaster 127.0.0.1 6380 2
5454

5555
# sentinel auth-pass <master-name> <password>
5656
#
@@ -113,6 +113,7 @@ sentinel leader-epoch mymaster 4
113113
#
114114
# Default is 3 minutes.
115115
sentinel known-slave mymaster 127.0.0.1 6381
116+
sentinel known-slave mymaster 127.0.0.1 6382
116117

117118
# SCRIPTS EXECUTION
118119
#

src/sentinel/redis-6382/sentinel.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dir "C:\\src\\ServiceStack.Redis\\src\\sentinel\\redis-6382"
5050
#
5151
# Note: master name should not include special characters or spaces.
5252
# The valid charset is A-z 0-9 and the three characters ".-_".
53-
sentinel monitor mymaster 127.0.0.1 6382 2
53+
sentinel monitor mymaster 127.0.0.1 6380 2
5454

5555
# sentinel auth-pass <master-name> <password>
5656
#
@@ -112,6 +112,7 @@ sentinel leader-epoch mymaster 4
112112
# the exact parallel-syncs progression as specified.
113113
#
114114
# Default is 3 minutes.
115+
sentinel known-slave mymaster 127.0.0.1 6381
115116
sentinel known-slave mymaster 127.0.0.1 6382
116117

117118
# SCRIPTS EXECUTION

src/sentinel/reset.cmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ copy /v/y orig\redis-6382\* redis-6382
55
del /F /Q redis-6380\dump.rdb
66
del /F /Q redis-6381\dump.rdb
77
del /F /Q redis-6382\dump.rdb
8+
9+
redis\redis-cli -p 6380 SHUTDOWN NOSAVE
10+
redis\redis-cli -p 6381 SHUTDOWN NOSAVE
11+
redis\redis-cli -p 6382 SHUTDOWN NOSAVE
12+
redis\redis-cli -p 26380 SHUTDOWN NOSAVE
13+
redis\redis-cli -p 26381 SHUTDOWN NOSAVE
14+
redis\redis-cli -p 26382 SHUTDOWN NOSAVE

0 commit comments

Comments
 (0)