photoncloud-monorepo/baremetal/vm-cluster
centra 4bd9b4ef0b feat(t052): QEMU cluster comprehensive feature testing
T052 verifies all 8 PlasmaCloud services on the 3-node QEMU cluster:
- LightningSTOR: S3 API (SigV4 auth)
- FlashDNS: gRPC + DNS resolver
- NightLight: Prometheus-compatible metrics
- FiberLB: Load balancer gRPC API
- PrismNET: Virtual networking
- CreditService: Quota REST API
- K8sHost: Kubernetes API server
- PlasmaVMC: VM controller

All services verified running and responding.

Also adds VDE launch and recovery scripts for VM cluster management.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 17:37:33 +09:00
..
pxe-server T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
alpine-answers.txt T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
alpine-ssh-setup.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
deploy-all.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-node01-disk.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node01-dual.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-node01-from-disk.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node01-iso.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node01-netboot.sh fix(lightningstor): Fix SigV4 canonicalization for AWS S3 auth 2025-12-12 06:23:46 +09:00
launch-node01-vde.sh feat(t052): QEMU cluster comprehensive feature testing 2025-12-19 17:37:33 +09:00
launch-node01.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-node02-alpine.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-node02-disk.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node02-from-disk.sh feat: Batch commit for T039.S3 deployment 2025-12-13 04:34:51 +09:00
launch-node02-iso.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node02-netboot.sh fix(lightningstor): Fix SigV4 canonicalization for AWS S3 auth 2025-12-12 06:23:46 +09:00
launch-node02-recovery.sh feat(t052): QEMU cluster comprehensive feature testing 2025-12-19 17:37:33 +09:00
launch-node02-vde.sh feat(t052): QEMU cluster comprehensive feature testing 2025-12-19 17:37:33 +09:00
launch-node02.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-node03-disk.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node03-from-disk.sh feat: Batch commit for T039.S3 deployment 2025-12-13 04:34:51 +09:00
launch-node03-iso.sh fix(nix): Align service ExecStart with actual binary CLI interfaces 2025-12-18 22:58:40 +09:00
launch-node03-netboot.sh fix(lightningstor): Fix SigV4 canonicalization for AWS S3 auth 2025-12-12 06:23:46 +09:00
launch-node03-recovery.sh feat(t052): QEMU cluster comprehensive feature testing 2025-12-19 17:37:33 +09:00
launch-node03-vde.sh feat(t052): QEMU cluster comprehensive feature testing 2025-12-19 17:37:33 +09:00
launch-node03.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-pxe-server-install.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-pxe-server-iso.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
launch-pxe-server.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
netboot-initrd T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
netboot-kernel T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
pxe-server-setup.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
README.md T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00
validate-cluster.sh T036: Add VM cluster deployment configs for nixos-anywhere 2025-12-11 09:59:19 +09:00

QEMU Socket Networking VM Cluster

Architecture

Topology: 4 QEMU VMs connected via multicast socket networking (230.0.0.1:1234)

VMs:

  1. pxe-server (192.168.100.1) - Provides DHCP/TFTP/HTTP services
  2. node01 (192.168.100.11) - Cluster node
  3. node02 (192.168.100.12) - Cluster node
  4. node03 (192.168.100.13) - Cluster node

Network: All VMs share L2 segment via QEMU multicast socket (no root privileges required)

Files

  • node01.qcow2, node02.qcow2, node03.qcow2 - 100GB cluster node disks
  • pxe-server.qcow2 - 20GB PXE server disk
  • launch-pxe-server.sh - PXE server startup script
  • launch-node01.sh, launch-node02.sh, launch-node03.sh - Node startup scripts
  • pxe-server/ - PXE server configuration files

MACs

  • pxe-server: 52:54:00:00:00:01
  • node01: 52:54:00:00:01:01
  • node02: 52:54:00:00:01:02
  • node03: 52:54:00:00:01:03

Provisioning Flow

  1. Start PXE server VM (Alpine Linux with dnsmasq)
  2. Configure DHCP/TFTP/HTTP services
  3. Deploy NixOS netboot artifacts
  4. Start node VMs with PXE boot enabled
  5. Nodes PXE boot and provision via nixos-anywhere