Browse Source

init project

yangxg 3 years ago
parent
commit
84701bb159

+ 1 - 0
baseimage-alpine/readme.txt

@@ -0,0 +1 @@
+docker build -t mybase .

+ 1 - 0
docker-redis-sentinel-master/.env

@@ -0,0 +1 @@
+EXTERNAL_HOST=10.26.30.216

+ 13 - 2
redis-sentinel/redis/docker-compose.yml

@@ -6,32 +6,37 @@ services:
     command: redis-server --port 6480 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6480 --slave-announce-ip "10.26.30.216"
     ports:
     ports:
       - '0.0.0.0:6480:6480'
       - '0.0.0.0:6480:6480'
+    restart: always
   redis-assets-2:
   redis-assets-2:
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-assets-2
     container_name: redis-assets-2
     ports:
     ports:
       - '0.0.0.0:6481:6481'
       - '0.0.0.0:6481:6481'
     command: redis-server --port 6481 --slaveof "10.26.30.216" 6480 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6481 --slaveof "10.26.30.216" 6480 --slave-announce-ip "10.26.30.216"
+    restart: always
   redis-assets-3:
   redis-assets-3:
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-assets-3
     container_name: redis-assets-3
     ports:
     ports:
       - '0.0.0.0:6482:6482'
       - '0.0.0.0:6482:6482'
     command: redis-server --port 6482 --slaveof "10.26.30.216" 6480 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6482 --slaveof "10.26.30.216" 6480 --slave-announce-ip "10.26.30.216"
-
+    restart: always
   redis-activity-1:
   redis-activity-1:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-activity-1
     container_name: redis-activity-1
     command: redis-server --port 6580 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6580 --slave-announce-ip "10.26.30.216"
     ports:
     ports:
       - '0.0.0.0:6580:6580'
       - '0.0.0.0:6580:6580'
   redis-activity-2:
   redis-activity-2:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-activity-2
     container_name: redis-activity-2
     ports:
     ports:
       - '0.0.0.0:6581:6581'
       - '0.0.0.0:6581:6581'
     command: redis-server --port 6581 --slaveof "10.26.30.216" 6580 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6581 --slaveof "10.26.30.216" 6580 --slave-announce-ip "10.26.30.216"
   redis-activity-3:
   redis-activity-3:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-activity-3
     container_name: redis-activity-3
     ports:
     ports:
@@ -40,18 +45,21 @@ services:
 
 
   redis-vipbook-queue-1:
   redis-vipbook-queue-1:
     image: redis:5.0.11
     image: redis:5.0.11
+    restart: always
     container_name: redis-vipbook-queue-1
     container_name: redis-vipbook-queue-1
     command: redis-server --port 6680 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6680 --slave-announce-ip "10.26.30.216"
     ports:
     ports:
       - '0.0.0.0:6680:6680'
       - '0.0.0.0:6680:6680'
   redis-vipbook-queue-2:
   redis-vipbook-queue-2:
     image: redis:5.0.11
     image: redis:5.0.11
+    restart: always
     container_name: redis-vipbook-queue-2
     container_name: redis-vipbook-queue-2
     ports:
     ports:
       - '0.0.0.0:6681:6681'
       - '0.0.0.0:6681:6681'
     command: redis-server --port 6681 --slaveof "10.26.30.216" 6680 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6681 --slaveof "10.26.30.216" 6680 --slave-announce-ip "10.26.30.216"
   redis-vipbook-queue-3:
   redis-vipbook-queue-3:
     image: redis:5.0.11
     image: redis:5.0.11
+    restart: always
     container_name: redis-vipbook-queue-3
     container_name: redis-vipbook-queue-3
     ports:
     ports:
       - '0.0.0.0:6682:6682'
       - '0.0.0.0:6682:6682'
@@ -59,19 +67,22 @@ services:
 
 
   redis-community-queue-1:
   redis-community-queue-1:
     image: redis:5.0.11
     image: redis:5.0.11
+    restart: always
     container_name: redis-community-queue-1
     container_name: redis-community-queue-1
     command: redis-server --port 6780 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6780 --slave-announce-ip "10.26.30.216"
     ports:
     ports:
       - '0.0.0.0:6780:6780'
       - '0.0.0.0:6780:6780'
   redis-community-queue-2:
   redis-community-queue-2:
     image: redis:5.0.11
     image: redis:5.0.11
+    restart: always
     container_name: redis-community-queue-2
     container_name: redis-community-queue-2
     ports:
     ports:
       - '0.0.0.0:6781:6781'
       - '0.0.0.0:6781:6781'
     command: redis-server --port 6781 --slaveof "10.26.30.216" 6780 --slave-announce-ip "10.26.30.216"
     command: redis-server --port 6781 --slaveof "10.26.30.216" 6780 --slave-announce-ip "10.26.30.216"
   redis-community-queue-3:
   redis-community-queue-3:
     image: redis:5.0.11
     image: redis:5.0.11
+    restart: always
     container_name: redis-community-queue-3
     container_name: redis-community-queue-3
     ports:
     ports:
       - '0.0.0.0:6782:6782'
       - '0.0.0.0:6782:6782'
-    command: redis-server --port 6782 --slaveof "10.26.30.216" 6780 --slave-announce-ip "10.26.30.216"
+    command: redis-server --port 6782 --slaveof "10.26.30.216" 6780 --slave-announce-ip "10.26.30.216"

+ 5 - 0
redis-sentinel/sentinel/docker-compose.yml

@@ -1,6 +1,7 @@
 version: '3'
 version: '3'
 services:
 services:
   sentinel1:
   sentinel1:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-sentinel-1
     container_name: redis-sentinel-1
     ports:
     ports:
@@ -9,6 +10,7 @@ services:
     volumes:
     volumes:
       - ./sentinel1.conf:/usr/local/etc/redis/sentinel.conf
       - ./sentinel1.conf:/usr/local/etc/redis/sentinel.conf
   sentinel2:
   sentinel2:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-sentinel-2
     container_name: redis-sentinel-2
     ports:
     ports:
@@ -17,6 +19,7 @@ services:
     volumes:
     volumes:
       - ./sentinel2.conf:/usr/local/etc/redis/sentinel.conf
       - ./sentinel2.conf:/usr/local/etc/redis/sentinel.conf
   sentinel3:
   sentinel3:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-sentinel-3
     container_name: redis-sentinel-3
     ports:
     ports:
@@ -25,6 +28,7 @@ services:
     volumes:
     volumes:
       - ./sentinel3.conf:/usr/local/etc/redis/sentinel.conf
       - ./sentinel3.conf:/usr/local/etc/redis/sentinel.conf
   sentinel4:
   sentinel4:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-sentinel-4
     container_name: redis-sentinel-4
     ports:
     ports:
@@ -33,6 +37,7 @@ services:
     volumes:
     volumes:
       - ./sentinel4.conf:/usr/local/etc/redis/sentinel.conf
       - ./sentinel4.conf:/usr/local/etc/redis/sentinel.conf
   sentinel5:
   sentinel5:
+    restart: always
     image: redis:5.0.11
     image: redis:5.0.11
     container_name: redis-sentinel-5
     container_name: redis-sentinel-5
     ports:
     ports:

+ 43 - 12
redis-sentinel/sentinel/sentinel1.conf

@@ -1,26 +1,57 @@
 port 26379
 port 26379
 dir "/tmp"
 dir "/tmp"
 
 
-sentinel announce-ip 10.26.30.216
+sentinel myid ad49d2327a23f21eccbc1838fb7458f2ee18234f
 sentinel deny-scripts-reconfig yes
 sentinel deny-scripts-reconfig yes
 
 
-sentinel monitor master_activity 10.26.30.216 6480 2
-sentinel down-after-milliseconds master_activity 10000
-sentinel failover-timeout master_activity 30000
-sentinel parallel-syncs master_activity 1
-
 sentinel monitor master_assets 10.26.30.216 6580 2
 sentinel monitor master_assets 10.26.30.216 6580 2
 sentinel down-after-milliseconds master_assets 10000
 sentinel down-after-milliseconds master_assets 10000
 sentinel failover-timeout master_assets 30000
 sentinel failover-timeout master_assets 30000
-sentinel parallel-syncs master_assets 1
+sentinel config-epoch master_assets 0
+
+sentinel leader-epoch master_assets 8
+sentinel known-replica master_assets 10.26.30.216 6582
+sentinel known-replica master_assets 10.26.30.216 6581
+sentinel known-sentinel master_assets 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+
+sentinel known-sentinel master_assets 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel master_assets 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_assets 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel monitor master_activity 10.26.30.216 6480 2
+
+sentinel down-after-milliseconds master_activity 10000
+sentinel failover-timeout master_activity 30000
+sentinel config-epoch master_activity 0
+sentinel leader-epoch master_activity 8
 
 
-sentinel monitor vipbook_queue 10.26.30.216 6680 2
+# Generated by CONFIG REWRITE
+sentinel known-replica master_activity 10.26.30.216 6482
+sentinel known-replica master_activity 10.26.30.216 6481
+sentinel known-sentinel master_activity 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel master_activity 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel master_activity 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_activity 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel monitor vipbook_queue 10.26.30.216 6682 2
 sentinel down-after-milliseconds vipbook_queue 10000
 sentinel down-after-milliseconds vipbook_queue 10000
 sentinel failover-timeout vipbook_queue 30000
 sentinel failover-timeout vipbook_queue 30000
-sentinel parallel-syncs vipbook_queue 1
-
+sentinel config-epoch vipbook_queue 9
+sentinel leader-epoch vipbook_queue 9
+sentinel known-replica vipbook_queue 10.26.30.216 6681
+sentinel known-replica vipbook_queue 10.26.30.216 6680
+sentinel known-sentinel vipbook_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel vipbook_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel vipbook_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel vipbook_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
 sentinel monitor community_queue 10.26.30.216 6780 2
 sentinel monitor community_queue 10.26.30.216 6780 2
 sentinel down-after-milliseconds community_queue 10000
 sentinel down-after-milliseconds community_queue 10000
 sentinel failover-timeout community_queue 30000
 sentinel failover-timeout community_queue 30000
-sentinel parallel-syncs community_queue 1
-
+sentinel config-epoch community_queue 0
+sentinel leader-epoch community_queue 8
+sentinel known-replica community_queue 10.26.30.216 6782
+sentinel known-replica community_queue 10.26.30.216 6781
+sentinel known-sentinel community_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel community_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel community_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel community_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel current-epoch 9
+sentinel announce-ip "10.26.30.216"

+ 45 - 14
redis-sentinel/sentinel/sentinel2.conf

@@ -1,26 +1,57 @@
 port 26380
 port 26380
 dir "/tmp"
 dir "/tmp"
 
 
-sentinel announce-ip 10.26.30.216
+sentinel myid 70ee80504e98483730bd0d2115905a7281ea8f9b
 sentinel deny-scripts-reconfig yes
 sentinel deny-scripts-reconfig yes
 
 
+sentinel monitor community_queue 10.26.30.216 6780 2
+sentinel down-after-milliseconds community_queue 10000
+sentinel failover-timeout community_queue 30000
+sentinel config-epoch community_queue 0
+
+sentinel leader-epoch community_queue 8
+sentinel known-replica community_queue 10.26.30.216 6782
+sentinel known-replica community_queue 10.26.30.216 6781
+sentinel known-sentinel community_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+
+sentinel known-sentinel community_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel community_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel community_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
 sentinel monitor master_activity 10.26.30.216 6480 2
 sentinel monitor master_activity 10.26.30.216 6480 2
+
 sentinel down-after-milliseconds master_activity 10000
 sentinel down-after-milliseconds master_activity 10000
 sentinel failover-timeout master_activity 30000
 sentinel failover-timeout master_activity 30000
-sentinel parallel-syncs master_activity 1
+sentinel config-epoch master_activity 0
+sentinel leader-epoch master_activity 8
 
 
+# Generated by CONFIG REWRITE
+sentinel known-replica master_activity 10.26.30.216 6482
+sentinel known-replica master_activity 10.26.30.216 6481
+sentinel known-sentinel master_activity 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel master_activity 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel master_activity 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel master_activity 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel monitor vipbook_queue 10.26.30.216 6682 2
+sentinel down-after-milliseconds vipbook_queue 10000
+sentinel failover-timeout vipbook_queue 30000
+sentinel config-epoch vipbook_queue 9
+sentinel leader-epoch vipbook_queue 9
+sentinel known-replica vipbook_queue 10.26.30.216 6680
+sentinel known-replica vipbook_queue 10.26.30.216 6681
+sentinel known-sentinel vipbook_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel vipbook_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel vipbook_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel vipbook_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
 sentinel monitor master_assets 10.26.30.216 6580 2
 sentinel monitor master_assets 10.26.30.216 6580 2
 sentinel down-after-milliseconds master_assets 10000
 sentinel down-after-milliseconds master_assets 10000
 sentinel failover-timeout master_assets 30000
 sentinel failover-timeout master_assets 30000
-sentinel parallel-syncs master_assets 1
-
-sentinel monitor vipbook_queue 10.26.30.216 6680 2
-sentinel down-after-milliseconds vipbook_queue 10000
-sentinel failover-timeout vipbook_queue 30000
-sentinel parallel-syncs vipbook_queue 1
-
-sentinel monitor community_queue 10.26.30.216 6780 2
-sentinel down-after-milliseconds community_queue 10000
-sentinel failover-timeout community_queue 30000
-sentinel parallel-syncs community_queue 1
-
+sentinel config-epoch master_assets 0
+sentinel leader-epoch master_assets 8
+sentinel known-replica master_assets 10.26.30.216 6582
+sentinel known-replica master_assets 10.26.30.216 6581
+sentinel known-sentinel master_assets 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel master_assets 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel master_assets 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel known-sentinel master_assets 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel current-epoch 9
+sentinel announce-ip "10.26.30.216"

+ 45 - 14
redis-sentinel/sentinel/sentinel3.conf

@@ -1,26 +1,57 @@
 port 26381
 port 26381
 dir "/tmp"
 dir "/tmp"
 
 
-sentinel announce-ip 10.26.30.216
+sentinel myid 1a9f2c501e12124857d29cff1290dbbd9a336638
 sentinel deny-scripts-reconfig yes
 sentinel deny-scripts-reconfig yes
 
 
-sentinel monitor master_activity 10.26.30.216 6480 2
-sentinel down-after-milliseconds master_activity 10000
-sentinel failover-timeout master_activity 30000
-sentinel parallel-syncs master_activity 1
+sentinel monitor community_queue 10.26.30.216 6780 2
+sentinel down-after-milliseconds community_queue 10000
+sentinel failover-timeout community_queue 30000
+sentinel config-epoch community_queue 0
 
 
+sentinel leader-epoch community_queue 8
+sentinel known-replica community_queue 10.26.30.216 6782
+sentinel known-replica community_queue 10.26.30.216 6781
+sentinel known-sentinel community_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+
+sentinel known-sentinel community_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel community_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel community_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
 sentinel monitor master_assets 10.26.30.216 6580 2
 sentinel monitor master_assets 10.26.30.216 6580 2
+
 sentinel down-after-milliseconds master_assets 10000
 sentinel down-after-milliseconds master_assets 10000
 sentinel failover-timeout master_assets 30000
 sentinel failover-timeout master_assets 30000
-sentinel parallel-syncs master_assets 1
+sentinel config-epoch master_assets 0
+sentinel leader-epoch master_assets 8
 
 
-sentinel monitor vipbook_queue 10.26.30.216 6680 2
+# Generated by CONFIG REWRITE
+sentinel known-replica master_assets 10.26.30.216 6581
+sentinel known-replica master_assets 10.26.30.216 6582
+sentinel known-sentinel master_assets 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel master_assets 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_assets 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel master_assets 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel monitor master_activity 10.26.30.216 6480 2
+sentinel down-after-milliseconds master_activity 10000
+sentinel failover-timeout master_activity 30000
+sentinel config-epoch master_activity 0
+sentinel leader-epoch master_activity 8
+sentinel known-replica master_activity 10.26.30.216 6481
+sentinel known-replica master_activity 10.26.30.216 6482
+sentinel known-sentinel master_activity 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel master_activity 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_activity 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel master_activity 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel monitor vipbook_queue 10.26.30.216 6682 2
 sentinel down-after-milliseconds vipbook_queue 10000
 sentinel down-after-milliseconds vipbook_queue 10000
 sentinel failover-timeout vipbook_queue 30000
 sentinel failover-timeout vipbook_queue 30000
-sentinel parallel-syncs vipbook_queue 1
-
-sentinel monitor community_queue 10.26.30.216 6780 2
-sentinel down-after-milliseconds community_queue 10000
-sentinel failover-timeout community_queue 30000
-sentinel parallel-syncs community_queue 1
-
+sentinel config-epoch vipbook_queue 9
+sentinel leader-epoch vipbook_queue 9
+sentinel known-replica vipbook_queue 10.26.30.216 6680
+sentinel known-replica vipbook_queue 10.26.30.216 6681
+sentinel known-sentinel vipbook_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel vipbook_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel vipbook_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel vipbook_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel current-epoch 9
+sentinel announce-ip "10.26.30.216"

+ 47 - 16
redis-sentinel/sentinel/sentinel4.conf

@@ -1,26 +1,57 @@
 port 26382
 port 26382
 dir "/tmp"
 dir "/tmp"
 
 
-sentinel announce-ip 10.26.30.216
+sentinel myid 2e28940c244f39572173001852ccd5d5c2d3d4ab
 sentinel deny-scripts-reconfig yes
 sentinel deny-scripts-reconfig yes
 
 
-sentinel monitor master_activity 10.26.30.216 6480 2
-sentinel down-after-milliseconds master_activity 10000
-sentinel failover-timeout master_activity 30000
-sentinel parallel-syncs master_activity 1
+sentinel monitor community_queue 10.26.30.216 6780 2
+sentinel down-after-milliseconds community_queue 10000
+sentinel failover-timeout community_queue 30000
+sentinel config-epoch community_queue 0
 
 
-sentinel monitor master_assets 10.26.30.216 6580 2
-sentinel down-after-milliseconds master_assets 10000
-sentinel failover-timeout master_assets 30000
-sentinel parallel-syncs master_assets 1
+sentinel leader-epoch community_queue 8
+sentinel known-replica community_queue 10.26.30.216 6781
+sentinel known-replica community_queue 10.26.30.216 6782
+sentinel known-sentinel community_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+
+sentinel known-sentinel community_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel community_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel community_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel monitor vipbook_queue 10.26.30.216 6682 2
 
 
-sentinel monitor vipbook_queue 10.26.30.216 6680 2
 sentinel down-after-milliseconds vipbook_queue 10000
 sentinel down-after-milliseconds vipbook_queue 10000
 sentinel failover-timeout vipbook_queue 30000
 sentinel failover-timeout vipbook_queue 30000
-sentinel parallel-syncs vipbook_queue 1
-
-sentinel monitor community_queue 10.26.30.216 6780 2
-sentinel down-after-milliseconds community_queue 10000
-sentinel failover-timeout community_queue 30000
-sentinel parallel-syncs community_queue 1
+sentinel config-epoch vipbook_queue 9
+sentinel leader-epoch vipbook_queue 9
 
 
+# Generated by CONFIG REWRITE
+sentinel known-replica vipbook_queue 10.26.30.216 6681
+sentinel known-replica vipbook_queue 10.26.30.216 6680
+sentinel known-sentinel vipbook_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel vipbook_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel vipbook_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel vipbook_queue 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel monitor master_assets 10.26.30.216 6580 2
+sentinel down-after-milliseconds master_assets 10000
+sentinel failover-timeout master_assets 30000
+sentinel config-epoch master_assets 0
+sentinel leader-epoch master_assets 8
+sentinel known-replica master_assets 10.26.30.216 6581
+sentinel known-replica master_assets 10.26.30.216 6582
+sentinel known-sentinel master_assets 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_assets 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel master_assets 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel master_assets 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel monitor master_activity 10.26.30.216 6480 2
+sentinel down-after-milliseconds master_activity 10000
+sentinel failover-timeout master_activity 30000
+sentinel config-epoch master_activity 0
+sentinel leader-epoch master_activity 8
+sentinel known-replica master_activity 10.26.30.216 6482
+sentinel known-replica master_activity 10.26.30.216 6481
+sentinel known-sentinel master_activity 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_activity 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel master_activity 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel known-sentinel master_activity 10.26.30.216 26383 17f2628136cc86df187269ba624fe7b1cea4db58
+sentinel current-epoch 9
+sentinel announce-ip "10.26.30.216"

+ 45 - 14
redis-sentinel/sentinel/sentinel5.conf

@@ -1,26 +1,57 @@
 port 26383
 port 26383
 dir "/tmp"
 dir "/tmp"
 
 
-sentinel announce-ip 10.26.30.216
+sentinel myid 17f2628136cc86df187269ba624fe7b1cea4db58
 sentinel deny-scripts-reconfig yes
 sentinel deny-scripts-reconfig yes
 
 
+sentinel monitor vipbook_queue 10.26.30.216 6682 2
+sentinel down-after-milliseconds vipbook_queue 10000
+sentinel failover-timeout vipbook_queue 30000
+sentinel config-epoch vipbook_queue 9
+
+sentinel leader-epoch vipbook_queue 9
+sentinel known-replica vipbook_queue 10.26.30.216 6680
+sentinel known-replica vipbook_queue 10.26.30.216 6681
+sentinel known-sentinel vipbook_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+
+sentinel known-sentinel vipbook_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel vipbook_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel vipbook_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
 sentinel monitor master_activity 10.26.30.216 6480 2
 sentinel monitor master_activity 10.26.30.216 6480 2
+
 sentinel down-after-milliseconds master_activity 10000
 sentinel down-after-milliseconds master_activity 10000
 sentinel failover-timeout master_activity 30000
 sentinel failover-timeout master_activity 30000
-sentinel parallel-syncs master_activity 1
-
-sentinel monitor master_assets 10.26.30.216 6580 2
-sentinel down-after-milliseconds master_assets 10000
-sentinel failover-timeout master_assets 30000
-sentinel parallel-syncs master_assets 1
-
-sentinel monitor vipbook_queue 10.26.30.216 6680 2
-sentinel down-after-milliseconds vipbook_queue 10000
-sentinel failover-timeout vipbook_queue 30000
-sentinel parallel-syncs vipbook_queue 1
+sentinel config-epoch master_activity 0
+sentinel leader-epoch master_activity 8
 
 
+# Generated by CONFIG REWRITE
+sentinel known-replica master_activity 10.26.30.216 6481
+sentinel known-replica master_activity 10.26.30.216 6482
+sentinel known-sentinel master_activity 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_activity 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel master_activity 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel master_activity 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
 sentinel monitor community_queue 10.26.30.216 6780 2
 sentinel monitor community_queue 10.26.30.216 6780 2
 sentinel down-after-milliseconds community_queue 10000
 sentinel down-after-milliseconds community_queue 10000
 sentinel failover-timeout community_queue 30000
 sentinel failover-timeout community_queue 30000
-sentinel parallel-syncs community_queue 1
-
+sentinel config-epoch community_queue 0
+sentinel leader-epoch community_queue 8
+sentinel known-replica community_queue 10.26.30.216 6782
+sentinel known-replica community_queue 10.26.30.216 6781
+sentinel known-sentinel community_queue 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel community_queue 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel community_queue 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel community_queue 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel monitor master_assets 10.26.30.216 6580 2
+sentinel down-after-milliseconds master_assets 10000
+sentinel failover-timeout master_assets 30000
+sentinel config-epoch master_assets 0
+sentinel leader-epoch master_assets 8
+sentinel known-replica master_assets 10.26.30.216 6581
+sentinel known-replica master_assets 10.26.30.216 6582
+sentinel known-sentinel master_assets 10.26.30.216 26380 70ee80504e98483730bd0d2115905a7281ea8f9b
+sentinel known-sentinel master_assets 10.26.30.216 26381 1a9f2c501e12124857d29cff1290dbbd9a336638
+sentinel known-sentinel master_assets 10.26.30.216 26382 2e28940c244f39572173001852ccd5d5c2d3d4ab
+sentinel known-sentinel master_assets 10.26.30.216 26379 ad49d2327a23f21eccbc1838fb7458f2ee18234f
+sentinel current-epoch 9
+sentinel announce-ip "10.26.30.216"