start master, volume servers, filer

Current Status
✅ Master: Healthy and running (port 9333)
✅ Filer: Healthy and running (port 8888)
✅ Volume Servers: All 6 servers running (ports 8080-8085)
🔄 Admin/Workers: Will start when dependencies are ready
This commit is contained in:
chrislu committed 2025-07-24 09:16:10 -07:00
1 parent a4cf55a741
commit 167ab29eb6
14 files changed
+2551

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
#!/bin/sh
set -e
echo "Starting Cluster Monitor..."
echo "Master Address: $MASTER_ADDRESS"
echo "Admin Address: $ADMIN_ADDRESS"
echo "Filer Address: $FILER_ADDRESS"
echo "Monitor Interval: $MONITOR_INTERVAL"
# Wait for core services to be ready
echo "Waiting for core services to be ready..."
echo "Waiting for master..."
until curl -f http://$MASTER_ADDRESS/cluster/status > /dev/null 2>&1; do
echo "Master not ready, waiting..."
sleep 5
done
echo "Master is ready!"
echo "Waiting for admin..."
until curl -f http://$ADMIN_ADDRESS/health > /dev/null 2>&1; do
echo "Admin not ready, waiting..."
sleep 5
done
echo "Admin is ready!"
echo "Waiting for filer..."
until curl -f http://$FILER_ADDRESS/ > /dev/null 2>&1; do
echo "Filer not ready, waiting..."
sleep 5
done
echo "Filer is ready!"
echo "All services ready! Starting monitor..."
# Start the monitor
exec ./monitor