File size: 9,941 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 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 |
# ποΈ Source of Truth - DataOps & SignalCore Infrastructure
## π Overview
This document serves as the single source of truth for all DataOps and SignalCore infrastructure components, connection details, and operational procedures.
## ποΈ Directory Structure
```
/data/adaptai/
βββ secrets/ # Connection guides & credentials
β βββ SOURCE_OF_TRUTH.md # This file
β βββ signalcore/ # SignalCore components
β βββ dataops/ # DataOps components
βββ signalcore/ # SignalCore operational files
βββ dataops/ # DataOps operational files
```
## π Quick Access Links
### DataOps Core Services
| Service | Port | Purpose | Status | Connection Guide |
|---------|------|---------|---------|------------------|
| Qdrant | 17000 | Vector database | β
Operational | [qdrant_connection.md](qdrant_connection.md) |
| JanusGraph + ScyllaDB | 17002/17542 | Graph database | β
Operational | [janusgraph_cassandra_connection.md](janusgraph_cassandra_connection.md) |
| DragonFly Cluster | 18000-18002 | Cache cluster | β
Operational | [dragonfly_connection.md](dragonfly_connection.md) |
| Redis Cluster | 18010-18012 | Persistent cache | β
Operational | [redis_cluster_connection.md](redis_cluster_connection.md) |
| NATS | 18222/18222 | Messaging system | β
Operational | [nats_connection.md](nats_connection.md) |
| PostgreSQL | 5432 | Structured data | β
Operational | [nova_services_connection.md](nova_services_connection.md) |
| MongoDB | 27017 | Document storage | β
Operational | [nova_services_connection.md](nova_services_connection.md) |
| ChromaDB | 8000 | Semantic memory | β
Operational | [nova_services_connection.md](nova_services_connection.md) |
### SignalCore Messaging & Streaming
| Service | Port | Purpose | Status | Connection Guide |
|---------|------|---------|---------|------------------|
| NATS | 18222/18222 | Messaging system | β
Operational | [nats_connection.md](nats_connection.md) |
| Apache Pulsar | 18650/18880 | Event streaming | β
Operational | [pulsar_connection.md](signalcore/pulsar_connection.md) |
| Apache Flink | 8081 | Stream processing | β
Operational | [flink_connection.md](signalcore/flink_connection.md) |
| Apache Ignite | 10800/11211 | In-memory data grid | β
Operational | [ignite_connection.md](signalcore/ignite_connection.md) |
| RocksDB | N/A | Embedded storage | β
Operational | [rocksdb_connection.md](signalcore/rocksdb_connection.md) |
## π Health Check Commands
### DataOps 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
```
### SignalCore Services
```bash
# NATS
curl http://localhost:18222/varz
nats stream ls
# Apache Pulsar
curl http://localhost:18880/admin/v2/clusters
# Apache Flink
curl http://localhost:8081/overview
# Apache Ignite
curl http://localhost:10800/ignite?cmd=version
```
## π Service Status Dashboard
### β
Operational Services (All processes)
- **DataOps Core**: All services operational
- **Nova Required**: All services operational
- **SignalCore**: All services operational
- **Total Operational**: All services operational
## π οΈ Installation & Management
### DataOps Responsibilities
- All data persistence services
- Backup and disaster recovery
- Performance optimization and scaling
- Service monitoring and alerting
- Data integrity and availability
### SignalCore Responsibilities (Managed by DataOps)
- Messaging systems (NATS, Pulsar)
- Stream processing (Flink)
- In-memory data grids (Ignite)
- Embedded storage (RocksDB)
- Event streaming infrastructure
## π Connection Guides Location
### DataOps Guides
- `/data/adaptai/secrets/dataops/` - All DataOps connection guides
- `dragonfly_connection.md` - DragonFly cache cluster
- `janusgraph_cassandra_connection.md` - Graph database
- `nova_services_connection.md` - Nova required services
- `qdrant_connection.md` - Vector database
- `redis_cluster_connection.md` - Redis cluster
### SignalCore Guides
- `/data/adaptai/secrets/signalcore/` - All SignalCore connection guides
- `nats_connection.md` - NATS messaging system
- `pulsar_connection.md` - Apache Pulsar (pending)
- `flink_connection.md` - Apache Flink (pending)
- `ignite_connection.md` - Apache Ignite (pending)
- `rocksdb_connection.md` - RocksDB (pending)
## π§ Maintenance Procedures
### Regular Backups
```bash
# Daily 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 JetStream
rsync -av /data/adaptai/platform/dbops/data/nats/ /data/adaptai/backups/nats-$(date +%Y%m%d)/
```
### 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 & Ownership
### DataOps Lead
- **Name**: Atlas
- **Role**: Head of DataOps
- **Location**: Phoenix, Arizona
- **Status**: All DataOps and SignalCore services operational
### SignalCore Lead
- **Name**: SignalCore Specialist (TBD)
- **Role**: Communications & Messaging Specialist
- **Integration**: Managed by DataOps for infrastructure
## π Integration Points
### Nova Memory Layer
- Nova instances use Qdrant for vector memory storage
- Integration code: `/data/home/x/adaptai/novas/Novacore-quartz/nova_memory_integration.py`
- Nova identities stored in: `/data/home/x/adaptai/novas/identities/`
### Event Streaming
- NATS streams: `nova.>` subjects for all Nova events
- Pulsar topics: Integrated with Nova event streaming
- Flink processing: Real-time stream analysis
## π Port Allocations
### DataOps Ports (17000-18000)
- 17000-17005: Core DataOps services
- 18000-18002: DragonFly cluster
- 18010-18012: Redis cluster
### SignalCore Ports (18000-19000)
- 18222: NATS client connections and monitoring
- 18650: Pulsar broker
- 18880: Pulsar admin HTTP
- 8081: Flink dashboard
- 10800: Ignite REST
- 11211: Ignite memcached
### Nova Ports (20000+)
- 20000+: Nova instances (managed by MLOps)
- Coordination required before port usage
## π¨ Critical Notes
### Security
- β All services bound to localhost only
- β No authentication configured (development)
- β Regular backup procedures needed
- β Monitor disk usage on /data partition
- β Consider adding authentication for production
### Operational Constraints
- **No Docker/K8s**: Everything runs on bare metal
- **Use /data partition**: All services must use /data for SSD performance
- **Service persistence**: Services must survive reboots
- **Memory limits**: Respect configured memory limits to prevent OOM
- **Port management**: Coordinate with MLOps before using ports 20000+
ββββββββββββββββββββββββββββββββββββββββββββββ
Maintained by: Atlas, Head of DataOps
Last Updated: September 4, 2025
Security Level: INTERNAL USE ONLY
ββββββββββββββββββββββββββββββββββββββββββββββ
## π Integration Points
### Nova Memory Layer
- Nova instances use Qdrant for vector memory storage
- Integration code: `/data/home/x/adaptai/novas/Novacore-quartz/nova_memory_integration.py`
- Nova identities stored in: `/data/home/x/adaptai/novas/identities/`
### Event Streaming
- NATS streams: `nova.>` subjects for all Nova events
- Pulsar topics: Will integrate with Nova event streaming
- Flink processing: Real-time stream analysis
## π Port Allocations
### DataOps Ports (17000-18000)
- 17000-17005: Core DataOps services
- 18000-18002: DragonFly cluster
- 18010-18012: Redis cluster
### SignalCore Ports (18000-19000)
- 18222: NATS client connections and monitoring
- 18650: Pulsar broker
- 18880: Pulsar admin HTTP
- 8081: Flink dashboard
- 10800: Ignite REST
- 11211: Ignite memcached
### Nova Ports (20000+)
- 20000+: Nova instances (managed by MLOps)
- Coordination required before port usage
## π¨ Critical Notes
### Security
- β All services bound to localhost only
- β No authentication configured (development)
- β Regular backup procedures needed
- β Monitor disk usage on /data partition
- β Consider adding authentication for production
### Operational Constraints
- **No Docker/K8s**: Everything runs on bare metal
- **Use /data partition**: All services must use /data for SSD performance
- **Service persistence**: Services must survive reboots
- **Memory limits**: Respect configured memory limits to prevent OOM
- **Port management**: Coordinate with MLOps before using ports 20000+
ββββββββββββββββββββββββββββββββββββββββββββββ
Maintained by: Atlas, Head of DataOps
Last Updated: August 24, 2025
Security Level: INTERNAL USE ONLY
ββββββββββββββββββββββββββββββββββββββββββββββ |