name: redisctl-enterprise-ops description: Day-to-day Redis Enterprise cluster operations via the redisctl CLI. Use when checking cluster status, managing databases, viewing stats and logs, or monitoring Active-Active deployments.
Overview
Manage Redis Enterprise clusters, databases, and operational monitoring through the CLI.
Cluster Status
# Comprehensive status overview
redisctl enterprise status
# With specific sections
redisctl enterprise status --cluster --nodes --databases --shards
# Brief summary
redisctl enterprise status --brief
Database Management
# List all databases
redisctl enterprise database list
# Get database details
redisctl enterprise database get 1
# Create a database
redisctl enterprise database create --data '{...}'
# Update a database
redisctl enterprise database update 1 --data '{...}'
# Delete a database
redisctl enterprise database delete 1
Active-Active (CRDB)
# List CRDBs
redisctl enterprise crdb list
# Get CRDB details
redisctl enterprise crdb get <guid>
# Create a CRDB
redisctl enterprise crdb create --data '{...}'
# Update a CRDB
redisctl enterprise crdb update <guid> --data '{...}'
# Check CRDB task status
redisctl enterprise crdb-task list
redisctl enterprise crdb-task get <task-id>
Stats and Metrics
# Cluster-level stats
redisctl enterprise stats cluster
# Per-node stats
redisctl enterprise stats node
# Per-database stats
redisctl enterprise stats database
# Per-shard stats (by database)
redisctl enterprise stats database-shards
Logs and Alerts
# View cluster event logs
redisctl enterprise logs list
# List alerts
redisctl enterprise alerts list
# Get alert details
redisctl enterprise alerts get <UID>
Module Management
# List installed modules
redisctl enterprise module list
# Get module details
redisctl enterprise module get <UID>
Nodes and Shards
# List nodes
redisctl enterprise node list
# Get node details
redisctl enterprise node get 1
# List shards
redisctl enterprise shard list
# Get shard details
redisctl enterprise shard get <UID>
Tips
- Use
--profile <name>to target a specific Enterprise cluster - Manage multiple clusters by creating separate profiles and switching with
--profile - Use
redisctl enterprise status --brieffor a quick health check - Database IDs are numeric (BDB IDs), CRDB IDs are GUIDs