This is an old revision of the document!
Table of Contents
Compute Repo (Project 22) — Structure
Notes
The compute repo (project 22) is a separate GitLab repository from the main vps/vps monorepo. It contains programs deployed to each compute host node, primarily used by HostDaemon.
Repository
- Project ID: 22
- Description: Programs and scripts deployed to each compute host node
- Used by: HostDaemon, live migration, guest lifecycle management
Structure
<code> vps/compute/ ├── hostdaemon/ — HostDaemon deployment (duplicate of product/website/HostDaemon) ├── ovmf/ — UEFI firmware for KVM guests │ ├── binarylane/ — BinaryLane branded UEFI firmware │ └── mammoth/ — Mammoth branded UEFI firmware ├── power-limiter/ — Power capping/throttling for compute hosts ├── qemu-network/ — iptables/netns firewall scripts ├── routed/ — BIRD routing daemon │ ├── scripts/ │ └── tests/ ├── scripts/ — General deployment scripts ├── services/ — Systemd service definitions │ └── tests/ ├── smtbalance/ — SMTP load balancer ├── xm/ — Xen configuration tooling (legacy) │ ├── bin/ │ ├── cloud-init/ — Cloud-init integration │ ├── config/ │ ├── net/ │ ├── qemu/ │ ├── src/xm/ — Xen management source │ │ ├── commands/ — Xen commands (agent, config, net) │ │ ├── config/ │ │ ├── net/ │ │ └── templates/ │ ├── templates/ │ ├── tests/ │ └── tests_functional/ — Functional tests ├── xmconfig/ — Xen configuration tools └── xm-for-kvm/ — Xen-to-KVM migration tooling
Key Components
- '
hostdaemon/' — Deployment package for HostDaemon on compute hosts - '
qemu-network/' — Firewall rules (same as vps/qemu-network project 20) - '
routed/' — BIRD routing daemon for BGP peering on compute hosts - '
smtbalance/' — SMTP traffic load balancer across mail servers - '
ovmf/' — UEFI firmware for KVM guests (different resolutions for BinaryLane/Mammoth branding) - '
xm/' — Xen paravirtualisation tools (legacy, being migrated to KVM) - '
xm-for-kvm/' — Tools for migrating VMs from Xen to KVM - '
power-limiter/' — Hardware power capping control
