-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMANUAL
More file actions
72 lines (51 loc) · 2.25 KB
/
MANUAL
File metadata and controls
72 lines (51 loc) · 2.25 KB
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
HIVE MANUAL
# 🐝 HIVE v1.8: Industrial Distributed AI Cluster
> **"Built with the steel-like rigidity of BASIC. Evolved for Resilient AI Operations."**
This document provides the full command set for deploying and managing the HIVE v1.8 infrastructure. HIVE is designed for high-availability AI inference in secure intranet environments.
---
SYSTEM ARCHITECTURE
- **QUEEN (Primary Command):** Handles external API requests and worker load balancing.
- **CELL (Backup Command & Log):** Records all telemetry. Automatically assumes command if Queen fails.
- **DRONE (Worker):** Self-registering AI execution node.
---
DEPLOYMENT COMMANDS (Git & Setup)
### [A] First-time Repository Setup
```bash
# Initialize and push to GitHub
git init
git add .
git commit -m "Initial Release: HIVE v1.8 Commercial Grade"
git branch -M main
git remote add origin [YOUR_REPO_URL]
git push -u origin main
Environment Synchronization
Run this on every new machine to install required components:
python fabricator.py
RUNTIME COMMAND SET (Execution)
Run these commands in order to ensure stable cluster synchronization.
Step 1: Start the Primary Controller (Queen)
# Run on the Master Machine
python queen.py
Step 2: Start the Backup & Logger (Cell)
# Run on the Storage/Secondary Machine
python cell.py
Step 3: Launch the Swarm (Drones)
# Run on GPU-equipped Machines (Assign different ports if on same machine)
python drone.py 8081
python drone.py 8082
INTEGRITY & FAILOVER TESTING
[A] External API Bridge Test
Verify if the HIVE is reachable from external Web/App servers:
curl -X POST http://[QUEEN_IP]:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"prompt": "HIVE Connectivity Test", "max_tokens": 50}'
[B] Critical Failover Test (Resilience Check)
Simulate a command center failure to verify the Cell node's takeover:
Terminate queen.py (Ctrl+C).
Monitor cell.py terminal for: "🚨 ALERT: Queen Offline. Cell assuming Command..."
Verify that the External API now responds via http://[CELL_IP]:9000/v1/chat/completions.
LICENSE & ATTRIBUTION
License: Apache License 2.0 (Industrial Patent Protection included).
Author: R2 (2026)
Core Philosophy: Minimalist Rigidity, Maximum Reliability.
============================================================ END OF MANUAL //