Welcome to The TechFlow, your go-to destination for concise and insightful technical videos.
In this video will setup redis cluster with 6 nodes (3 master and 3 slaves)
You can follow same process in Mac or Windows
Commands and configs can be copied from below
******Create Folders******
mkdir cluster-test
cd cluster-test
mkdir 8000 8001 8002 8003 8004 8005
Create Redis Config files
******Configs:******
port 8000
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
appendonly yes
******Start Redis Nodes:******
cd 8000
redis-server ./redis.conf
Repeat same with different node folders
******Create and Start Cluster:******
redis-cli --cluster create 127.0.0.1:8000 127.0.0.1:8001 \
127.0.0.1:8002 127.0.0.1:8003 127.0.0.1:8004 127.0.0.1:8005 \
--cluster-replicas 1
TABLE OF CONTENTS
Introduction 00:00
Create Folders
Create Redis Config files
Start Redis nodes
Create and Start Redis Cluster
Subscribe
Thank You
Subscribe to our channel:
Watch video Redis Cluster Setup step-by-step | The TechFlow online without registration, duration 04 minute 19 second in high hd quality. This video was added by user The TechFlow 11 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 65 once and liked it 2 people.