Redis Error Guide: 'This instance has cluster support disabled' — Enable cluster-enabled or Use Non-Cluster Commands
Fix This instance has cluster support disabled in Redis: enable cluster-enabled mode correctly and stop running CLUSTER commands against a standalone node.
- #redis
- #database
- #troubleshooting
- #errors
Stuck on this Redis error? Get the free incident triage checklist
A one-page PDF — the exact steps to isolate, fix, and verify a production error like this one. No spam, unsubscribe anytime.
Overview
Redis returns this error when you send a Redis Cluster command — CLUSTER MEET, CLUSTER ADDSLOTS, CLUSTER SETSLOT, CLUSTER NODES write operations, or a cluster-aware client’s setup calls — to a server that was not started in cluster mode. Cluster support is a startup setting (cluster-enabled yes), not something you can toggle at runtime with CONFIG SET.
The literal error clients receive:
(error) ERR This instance has cluster support disabled
The instance is a perfectly healthy standalone (or primary/replica) Redis; it simply isn’t part of a sharded cluster and rejects cluster-management commands. The fix is either to point the command at a real cluster node, or to (re)start the instance with cluster mode enabled if you actually intended to build a cluster.
Symptoms
CLUSTER MEET,CLUSTER ADDSLOTS,CLUSTER SETSLOT, orredis-cli --cluster createfails withcluster support disabled.CLUSTER INFOshowscluster_enabled:0.- A cluster-aware client throws at connection time while a plain client works fine.
redis-cli CLUSTER ADDSLOTS 0 1 2
(error) ERR This instance has cluster support disabled
redis-cli CLUSTER INFO | head -1
cluster_enabled:0
Common Root Causes
1. The instance was started as standalone
cluster-enabled is no (the default), so cluster commands are rejected.
redis-cli CONFIG GET cluster-enabled
1) "cluster-enabled"
2) "no"
2. Trying to enable cluster mode with CONFIG SET
cluster-enabled cannot be changed at runtime; CONFIG SET cluster-enabled yes fails or is ignored — it must be set in redis.conf/flags before start.
3. Connecting a cluster client to a standalone node
An app configured for cluster topology (cluster client) points at a standalone instance, and the client’s CLUSTER bootstrap calls fail.
4. Building a cluster from unprepared nodes
redis-cli --cluster create is run against nodes that were never launched with cluster-enabled yes.
Diagnostic Workflow
Step 1: Confirm whether cluster mode is on
redis-cli CLUSTER INFO | grep cluster_enabled
redis-cli CONFIG GET cluster-enabled
redis-cli INFO cluster
cluster_enabled:0 means this instance can never serve cluster commands until restarted in cluster mode.
Step 2: Decide what you actually want
Ask: is this instance supposed to be standalone, or a cluster node? Cluster mode changes behavior (single logical DB, hash-slot key routing, no SELECT) — don’t enable it unless you intend to run a sharded cluster.
Step 3: If it should be a cluster node, check the config
grep -E 'cluster-enabled|cluster-config-file' /etc/redis/redis.conf
Cluster nodes need cluster-enabled yes and a writable cluster-config-file.
Step 4: If it should stay standalone, use non-cluster commands
Replace cluster-management calls with standalone equivalents (replication via REPLICAOF, not CLUSTER MEET), and point clients at standalone mode.
Step 5: Read the startup log
sudo journalctl -u redis-server --no-pager | grep -iE 'cluster|Ready to accept' | tail
A cluster node logs cluster initialization; a standalone node does not.
Example Root Cause Analysis
An engineer follows a sharding runbook and runs redis-cli --cluster create against three fresh instances. It fails on the first node with ERR This instance has cluster support disabled. Checking the node confirms it:
redis-cli -p 7000 CLUSTER INFO | grep cluster_enabled
cluster_enabled:0
The instances were launched from the default packaged redis.conf, which ships with cluster-enabled no. Someone had tried CONFIG SET cluster-enabled yes, which does not work — cluster mode is a launch-time decision.
The fix was to set cluster-enabled yes (and a distinct cluster-config-file per node) in each node’s config and restart, then re-run the create:
# redis-7000.conf
port 7000
cluster-enabled yes
cluster-config-file nodes-7000.conf
cluster-node-timeout 5000
appendonly yes
sudo systemctl restart redis@7000 redis@7001 redis@7002
redis-cli -p 7000 CLUSTER INFO | grep cluster_enabled # cluster_enabled:1
redis-cli --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 # succeeds
After the restart the nodes reported cluster_enabled:1 and the cluster formed correctly. The runbook was updated to note that cluster mode must be set before starting the process.
Prevention Best Practices
- Set
cluster-enabled yes(and a uniquecluster-config-file) in each node’s config before first start; it cannot be toggled at runtime. - Decide standalone vs cluster deliberately — cluster mode restricts multi-key operations to same-slot keys and removes multiple logical databases (
SELECT). - Point cluster-aware clients only at genuine cluster nodes; use standalone client mode for standalone instances.
- Use
REPLICAOF/Sentinel for HA on standalone deployments, andCLUSTERcommands only on cluster nodes. - Verify
cluster_enabled:1on every node before runningredis-cli --cluster create. - Feed cluster setup errors into the free incident assistant, and browse more Redis guides.
Quick Command Reference
# Is this a cluster node?
redis-cli CLUSTER INFO | grep cluster_enabled
redis-cli CONFIG GET cluster-enabled
redis-cli INFO cluster
# Cluster mode must be in the config, not CONFIG SET
grep -E 'cluster-enabled|cluster-config-file' /etc/redis/redis.conf
# Standalone replication instead of CLUSTER MEET
redis-cli REPLICAOF <primary-host> 6379
# After restarting nodes in cluster mode
redis-cli --cluster create host1:7000 host2:7000 host3:7000
Conclusion
This instance has cluster support disabled means you sent a Redis Cluster command to a server not started in cluster mode. The typical root causes are:
- The instance was launched as standalone (
cluster-enabled no, the default). - An attempt to enable cluster mode at runtime with
CONFIG SET(which cannot work). - A cluster client or
--cluster createpointed at unprepared nodes.
Decide whether the instance should be standalone or a cluster node. If it should be a cluster node, set cluster-enabled yes in its config and restart; if it should stay standalone, use standalone commands (REPLICAOF, Sentinel) instead of CLUSTER management calls.
Fixed it? Get 500 Redis & DevOps AI prompts — free
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.
Did this fix your issue?
Get 500 Battle-Tested DevOps AI Prompts — Free
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.