| # ποΈ 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 | |
| ββββββββββββββββββββββββββββββββββββββββββββββ |