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:
Смотрите видео Redis Cluster Setup step-by-step | The TechFlow онлайн без регистрации, длительностью 04 минут 19 секунд в хорошем hd качестве. Это видео добавил пользователь The TechFlow 11 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6 раз и оно понравилось людям.