# Containers and Services Report - Five Backend Nodes

## Summary

**All 5 backend nodes (cus, eus, eus2, wus, wus2) have:**
- ✅ **Besu containers** - Running (1 container per node)
- ❌ **Cacti containers** - Not found
- ❌ **Firefly containers** - Not found

## Detailed Breakdown by Node

### Central US (cus) - 10.1.1.4
**Containers:**
- `besu-besu-node-0` (hyperledger/besu:23.10.0) - Status: Restarting

**Services:**
- Docker service: Running
- Besu service: Configured via docker-compose.yml at `/opt/besu/docker-compose.yml`

**Docker Compose Configuration:**
- Service: `besu`
- Image: `hyperledger/besu:23.10.0`
- Container name: `besu-besu-node-0`
- Ports: 8545 (RPC HTTP), 8546 (WebSocket), 30303 (P2P TCP/UDP), 9545 (Metrics)
- Volumes: `/opt/besu/data`, `/opt/besu/config`, `/opt/besu/keys`, `/opt/besu/logs`

---

### East US (eus) - 10.2.1.4
**Containers:**
- `besu-besu-node-0` (hyperledger/besu:23.10.0) - Status: Restarting

**Services:**
- Docker service: Running
- Besu service: Configured via docker-compose.yml at `/opt/besu/docker-compose.yml`

**Docker Compose Configuration:**
- Service: `besu`
- Image: `hyperledger/besu:23.10.0`
- Container name: `besu-besu-node-0`
- Ports: 8545 (RPC HTTP), 8546 (WebSocket), 30303 (P2P TCP/UDP), 9545 (Metrics)
- Volumes: `/opt/besu/data`, `/opt/besu/config`, `/opt/besu/keys`, `/opt/besu/logs`

---

### East US 2 (eus2) - 10.3.1.4
**Containers:**
- `besu-besu-node-0` (hyperledger/besu:23.10.0) - Status: Restarting

**Services:**
- Docker service: Running
- Besu service: Configured via docker-compose.yml at `/opt/besu/docker-compose.yml`

**Docker Compose Configuration:**
- Service: `besu`
- Image: `hyperledger/besu:23.10.0`
- Container name: `besu-besu-node-0`
- Ports: 8545 (RPC HTTP), 8546 (WebSocket), 30303 (P2P TCP/UDP), 9545 (Metrics)
- Volumes: `/opt/besu/data`, `/opt/besu/config`, `/opt/besu/keys`, `/opt/besu/logs`
- Healthcheck: Configured (metrics endpoint)

---

### West US (wus) - 10.4.1.4
**Containers:**
- `besu-besu-node-0` (hyperledger/besu:23.10.0) - Status: Restarting

**Services:**
- Docker service: Running (recently installed)
- Besu service: Configured via docker-compose.yml at `/opt/besu/docker-compose.yml`

**Docker Compose Configuration:**
- Service: `besu`
- Image: `hyperledger/besu:23.10.0`
- Container name: `besu-besu-node-0`
- Ports: 8545 (RPC HTTP), 8546 (WebSocket), 30303 (P2P TCP/UDP), 9545 (Metrics)
- Volumes: `/opt/besu/data`, `/opt/besu/config`, `/opt/besu/keys`, `/opt/besu/logs`

---

### West US 2 (wus2) - 10.5.1.4
**Containers:**
- `besu-besu-node-0` (hyperledger/besu:23.10.0) - Status: Restarting

**Services:**
- Docker service: Running
- Besu service: Configured via docker-compose.yml at `/opt/besu/docker-compose.yml`

**Docker Compose Configuration:**
- Service: `besu`
- Image: `hyperledger/besu:23.10.0`
- Container name: `besu-besu-node-0`
- Ports: 8545 (RPC HTTP), 8546 (WebSocket), 30303 (P2P TCP/UDP), 9545 (Metrics)
- Volumes: `/opt/besu/data`, `/opt/besu/config`, `/opt/besu/keys`, `/opt/besu/logs`

---

## Service Summary

### Besu
- **Status**: ✅ Configured and running on all 5 nodes
- **Containers**: 1 per node (5 total)
- **Image**: `hyperledger/besu:23.10.0`
- **Configuration**: Docker Compose at `/opt/besu/docker-compose.yml`
- **Current Status**: Containers are restarting (likely due to genesis file configuration issues)

### Cacti
- **Status**: ❌ Not found on any node
- **Containers**: 0
- **Configuration**: None

### Firefly
- **Status**: ❌ Not found on any node
- **Containers**: 0
- **Configuration**: None

## Docker Compose File Locations

All nodes have a single docker-compose.yml file:
- `/opt/besu/docker-compose.yml` - Defines the Besu service

## Systemd Services

All nodes have:
- `docker.service` - Running (Docker daemon)

No systemd services found for:
- Cacti
- Firefly
- Besu (managed via docker-compose, not systemd)

## Container Details

### Besu Container Configuration
- **Image**: `hyperledger/besu:23.10.0`
- **Container Name**: `besu-besu-node-0` (same on all nodes)
- **Restart Policy**: `unless-stopped`
- **Memory**: 4GB heap (`-Xmx4g -Xms4g`)
- **Network**: `besu-network` (bridge)
- **Volumes**:
  - `/opt/besu/data:/data` - Blockchain data
  - `/opt/besu/config:/config` - Configuration files
  - `/opt/besu/keys:/keys:ro` - Validator keys (read-only)
  - `/opt/besu/logs:/logs` - Log files
- **Ports**:
  - `8545:8545` - RPC HTTP
  - `8546:8546` - WebSocket
  - `30303:30303` - P2P TCP
  - `30303:30303/udp` - P2P UDP
  - `9545:9545` - Metrics

## Notes

1. **Only Besu is deployed** - The Phase 1 deployment only includes Besu nodes
2. **No Cacti/Firefly** - These services are not part of the current Phase 1 deployment
3. **Container Status** - All Besu containers are currently restarting, likely due to:
   - Genesis file configuration issues (IBFT 2.0 extraData)
   - Configuration file issues (deprecated options, invalid APIs)

---

**Last Updated**: After checking all 5 backend nodes

