File size: 3,861 Bytes
085ac9e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# Database Connection Secrets & Guides
## π Overview
This directory contains connection guides and credentials for all DataOps database components. All services are bound to localhost only with no external authentication.
## π Security Notice
**β IMPORTANT:** These configurations are for development/local use only. For production deployment:
- Add authentication mechanisms
- Enable TLS encryption
- Implement proper access controls
- Set up monitoring and alerting
- Regular security audits
## π Service Directory
### Core DataOps Services
1. **Qdrant** - Vector Database (`17000`)
- File: `qdrant_connection.md`
- Purpose: High-performance vector storage
2. **JanusGraph + ScyllaDB** - Graph Database (`17002` + `17542`)
- File: `janusgraph_cassandra_connection.md`
- Purpose: Graph relationships and connections
3. **DragonFly Cluster** - Cache Cluster (`18000-18002`)
- File: `dragonfly_connection.md`
- Purpose: High-performance memory cache
4. **Redis Cluster** - Persistent Cache (`18010-18012`)
- File: `redis_cluster_connection.md`
- Purpose: Traditional Redis with persistence
5. **NATS** - Messaging (`18222`)
- File: `signalcore/nats_connection.md`
- Purpose: High-performance messaging and event streaming
### Nova Required Services
6. **PostgreSQL** - Structured Data (`5432`)
- File: `nova_services_connection.md`
- Purpose: Relational data storage
7. **MongoDB** - Document Storage (`27017`)
- File: `nova_services_connection.md`
- Purpose: Flexible document database
8. **ChromaDB** - Semantic Memory (`8000`)
- File: `nova_services_connection.md`
- Purpose: Semantic search and memory
## π Quick Start
### Health Check All Services
```bash
# Qdrant
curl http://localhost:17000/collections
# JanusGraph
netstat -tln | grep 17002
# ScyllaDB (via HAProxy)
cqlsh localhost 17542 -e "DESCRIBE KEYSPACES"
# DragonFly
redis-cli -p 18000 ping
# Redis Cluster
redis-cli -p 18010 cluster info
# NATS
curl http://localhost:18222/connz
# PostgreSQL
pg_isready -h localhost -p 5432
# MongoDB
mongosh --eval "db.adminCommand('ping')" --quiet
# ChromaDB
curl http://localhost:8000/api/v1/heartbeat
```
## π Connection Examples
Each service has detailed connection examples in their respective markdown files, including:
- Command-line interface usage
- Python client examples
- Health check commands
- Configuration notes
- Security considerations
## π§ Maintenance
### Backup Procedures
```bash
# Regular backups to /data/adaptai/backups/
mkdir -p /data/adaptai/backups/$(date +%Y%m%d)
# PostgreSQL
pg_dumpall > /data/adaptai/backups/postgresql_backup.sql
# MongoDB
mongodump --out=/data/adaptai/backups/mongodb_backup/
# Redis Cluster
redis-cli -p 18010 SAVE
cp /data/adaptai/platform/dbops/data/redis/node*/dump.rdb /data/adaptai/backups/
# NATS (if persistence is configured)
# rsync -av /data/nats/ /data/adaptai/backups/nats/
```
### Monitoring
- Check service status every 5 minutes
- Monitor disk usage on /data partition
- Watch memory usage for each service
- Set up alerts for service failures
## π Emergency Recovery
If services fail:
1. Check logs in respective service directories
2. Verify disk space: `df -h /data`
3. Check memory: `free -h`
4. Restart services using scripts in `/home/x/adaptai/dataops/scripts/`
## π Support
- **DataOps Lead**: Atlas
- **Location**: Phoenix, Arizona
- **Status**: All core DataOps services operational
- **Last Updated**: September 4, 2025
ββββββββββββββββββββββββββββββββββββββββββββββ
Maintained by: Atlas, Head of DataOps
Security Level: INTERNAL USE ONLY
ββββββββββββββββββββββββββββββββββββββββββββββ |