- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
38 lines
1010 B
Bash
Executable File
38 lines
1010 B
Bash
Executable File
#!/bin/bash
|
|
# Deploy RPC Translator to all VMIDs (2400, 2401, 2402)
|
|
# Usage: ./scripts/deploy-all-vmids.sh
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PROJECT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
|
|
# VMID configuration - adjust IPs as needed
|
|
declare -A VMIDS=(
|
|
["2400"]="192.168.11.240"
|
|
["2401"]="192.168.11.241"
|
|
["2402"]="192.168.11.242"
|
|
)
|
|
|
|
echo "Deploying RPC Translator to all VMIDs..."
|
|
echo ""
|
|
|
|
for VMID in "${!VMIDS[@]}"; do
|
|
VMIP="${VMIDS[$VMID]}"
|
|
echo "========================================="
|
|
echo "Deploying to VMID $VMID ($VMIP)..."
|
|
echo "========================================="
|
|
"$SCRIPT_DIR/deploy-to-vmid.sh" "$VMID" "$VMIP"
|
|
echo ""
|
|
done
|
|
|
|
echo "✅ Deployment to all VMIDs complete!"
|
|
echo ""
|
|
echo "Next steps:"
|
|
echo "1. Configure .env on each VMID (2400, 2401, 2402)"
|
|
echo "2. Start services on each VMID:"
|
|
echo " systemctl start rpc-translator-138.service"
|
|
echo "3. Check service status:"
|
|
echo " systemctl status rpc-translator-138.service"
|
|
echo ""
|