WIP: hv0{1,2}-{lix,floral}: init #237

Closed
raito wants to merge 12 commits from hyp01 into main
Owner

3 hypervisors gets introduced.

2 in EU (France & Germany), 1 in the US (SEA01 location).

Planned usecases:

  • Migration of fragile Lix services to the hypervisor.
  • Migration of Digital Ocean (expensive) services to the hypervisor (lix.systems being the last one to move).
  • Increased redundancy.
  • Services that can afford to be high latency to EU and are lacking capacity in the EU continent.
  • Services that need to be low latency on the American continent (e.g. Lix's Gerrit or Lix's S3).

Remaining actions:

  • redesign the hypervisor abstraction: maybe it should stay away from the baremetal abstraction?
  • add microvm.nix or another hypervisor technology
  • macvtap configuration
  • configure the data disks with ZFS or similar.
  • add some abstraction to boot VMs easily.

Design proposals:

  • Public reverse proxy service (all other VMs have IPv6-only and PROXY PROTOCOL to avoid dealing with NAT?)
  • Explore snapshots under microvm.nix (if chosen)
  • Explore live migration under microvm.nix (if chosen)
3 hypervisors gets introduced. 2 in EU (France & Germany), 1 in the US (SEA01 location). Planned usecases: - Migration of fragile Lix services to the hypervisor. - Migration of Digital Ocean (expensive) services to the hypervisor (lix.systems being the last one to move). - Increased redundancy. - Services that can afford to be high latency to EU and are lacking capacity in the EU continent. - Services that need to be low latency on the American continent (e.g. Lix's Gerrit or Lix's S3). Remaining actions: - redesign the hypervisor abstraction: maybe it should stay away from the baremetal abstraction? - add microvm.nix *or* another hypervisor technology - macvtap configuration - configure the data disks with ZFS or similar. - add some abstraction to boot VMs easily. Design proposals: - Public reverse proxy service (all other VMs have IPv6-only and PROXY PROTOCOL to avoid dealing with NAT?) - Explore snapshots under microvm.nix (if chosen) - Explore live migration under microvm.nix (if chosen)
This is in preparation to receive the R440.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Now we have more than one host platform, let's generalize the hardware
logic to support the split and factorize things.

The networking configuration could be improved but that's a work for
later.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
raito changed title from hypervisor01: init to WIP: hypervisor01: init 2025-07-18 02:27:50 +00:00
raito changed title from WIP: hypervisor01: init to WIP: hv0{1,2}-{lix,floral}: init 2025-07-25 00:37:15 +00:00
[root@test01:~]# systemd-analyze time
Startup finished in 206ms (kernel) + 3.371s (initrd) + 2.307s (userspace) = 5.885s
multi-user.target reached after 2.294s in userspace.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Author
Owner

superseded by #269.

superseded by #269.
raito closed this pull request 2025-08-22 00:05:44 +00:00
Author
Owner

superseded by #271.

superseded by https://git.lix.systems/the-distro/infra/pulls/271.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#237
No description provided.