Generate Support Package¶
Collect diagnostics for Redis Support in 30 seconds.
Prefix optional
The enterprise prefix is optional when your profile config is unambiguous. The examples below use the full form for copy-paste convenience in scripts. See Platform Inference.
Quick Start¶
That's it. A tar.gz file is created in your current directory.
Optimize and Upload¶
For the fastest support experience:
This: 1. Generates the package 2. Reduces size by 20-30% 3. Uploads directly to Redis Support
Step-by-Step¶
1. Generate Package¶
Output:
Redis Enterprise Support Package
================================
Cluster: prod-cluster
Nodes: 3
Databases: 5
Generating support package...
Support package created successfully
File: support-package-cluster-20240115T143000.tar.gz
Size: 487.3 MB
2. Optimize (Optional)¶
Reduces package size by truncating logs and removing redundant data.
3. Upload¶
Set up your Files.com API key (get from Redis Support):
Then upload:
Or do everything at once:
Package Types¶
Cluster (Most Common)¶
Full cluster diagnostics:
Database-Specific¶
For issues with a specific database:
Node-Specific¶
For node issues:
Automation¶
Before Maintenance¶
#!/bin/bash
DATE=$(date +%Y%m%d)
# Pre-maintenance baseline
redisctl enterprise support-package cluster \
-o "pre-maintenance-$DATE.tar.gz"
# Do maintenance...
# Post-maintenance capture
redisctl enterprise support-package cluster \
-o "post-maintenance-$DATE.tar.gz"
On Failure in CI¶
- name: Collect diagnostics on failure
if: failure()
run: |
redisctl enterprise support-package cluster \
--optimize \
-o support-package-${{ github.run_id }}.tar.gz
env:
REDIS_ENTERPRISE_URL: ${{ secrets.REDIS_ENTERPRISE_URL }}
REDIS_ENTERPRISE_USER: ${{ secrets.REDIS_ENTERPRISE_USER }}
REDIS_ENTERPRISE_PASSWORD: ${{ secrets.REDIS_ENTERPRISE_PASSWORD }}
The Old Way vs redisctl¶
Before (10+ minutes):
ssh admin@cluster-node
rladmin cluster debug_info
# Wait...
scp admin@node:/tmp/debug*.tar.gz ./
# Open browser, upload to support portal...
Now (30 seconds):
Related¶
- Cluster Health - Monitor cluster status
- Support Package Reference - Full documentation