Files
proxmox/docs/archive/DEPLOYMENT_IN_PROGRESS.md

100 lines
2.7 KiB
Markdown

# Besu Temporary VM Deployment - In Progress
**Started**: $(date)
**Method**: Option 1 - Complete Automated Deployment
**Target**: ml110 (192.168.11.10)
**VMID**: 9000
**VM IP**: 192.168.11.90
## Deployment Steps
The deployment is running the following steps:
1.**Files Synced** - All deployment scripts synced to ml110
2. 🔄 **Creating VM** - Creating temporary VM (VMID 9000)
3.**Setting up Docker** - Installing Docker in VM
4.**Copying Configs** - Copying configuration files and keys
5.**Starting Containers** - Starting all 12 Besu containers
6.**Validation** - Validating deployment
## Monitor Progress
### Check Deployment Log
```bash
tail -f /tmp/besu-temp-vm-deployment.log
```
### Check VM Status (on ml110)
```bash
ssh root@192.168.11.10 "qm status 9000"
```
### Check Containers (once VM is ready)
```bash
ssh root@192.168.11.90 "docker ps"
```
### Check Deployment Script Output
```bash
ssh root@192.168.11.10 "tail -f /opt/smom-dbis-138-proxmox/logs/*.log"
```
## Expected Timeline
- **VM Creation**: 2-5 minutes
- **Docker Setup**: 3-5 minutes
- **Config Copy**: 1-2 minutes
- **Container Startup**: 5-10 minutes
- **Validation**: 2-3 minutes
- **Total**: 15-30 minutes
## What Will Be Deployed
- **VM**: VMID 9000, 32GB RAM, 8 cores, 500GB disk
- **5 Validator Containers**: besu-validator-1 through besu-validator-5
- **4 Sentry Containers**: besu-sentry-1 through besu-sentry-4
- **3 RPC Containers**: besu-rpc-1 through besu-rpc-3
## RPC Endpoints (After Deployment)
- RPC-1: `http://192.168.11.90:8545`
- RPC-2: `http://192.168.11.90:8547`
- RPC-3: `http://192.168.11.90:8549`
## Next Steps (After Deployment Completes)
1. **Validate Deployment**:
```bash
ssh root@192.168.11.10 "cd /opt/smom-dbis-138-proxmox && ./scripts/validation/validate-besu-temp-vm.sh"
```
2. **Monitor Containers**:
```bash
ssh root@192.168.11.90 "docker compose logs -f"
```
3. **Test RPC Endpoint**:
```bash
curl -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \
http://192.168.11.90:8545
```
4. **When Ready, Migrate to LXC**:
```bash
ssh root@192.168.11.10 "cd /opt/smom-dbis-138-proxmox && \
sudo ./scripts/deployment/deploy-besu-nodes.sh && \
sudo ./scripts/migration/migrate-vm-to-lxc.sh /opt/smom-dbis-138"
```
## Troubleshooting
If deployment fails:
1. Check the log file: `/tmp/besu-temp-vm-deployment.log`
2. SSH to ml110 and check VM status: `qm status 9000`
3. Check if VM exists: `qm list | grep 9000`
4. Review deployment script output on ml110
For detailed troubleshooting, see: `smom-dbis-138-proxmox/docs/TEMP_VM_DEPLOYMENT.md`