1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/static
catborise ea20f12bc8 feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once
Bulk Migrate sent every chosen VM to one destination, without looking at
its memory. With several other hosts it now spreads them by default
(computes.balance.spread): the largest VMs first, each to the host that
has the least memory, then vCPUs, with it; a VM that holds its memory
(running or paused) only where it fits the memory the host's running and
paused VMs leave. The page shows where
each VM goes and makes the spread again when a VM is ticked or unticked;
a VM no host has room for says so. One destination stays a choice. The
host.bulk_migrate job takes a destination per VM ("moves").

The Balance and Bulk Migrate pages asked, for every VM and destination,
the host's identity and whether both hosts share each disk directory,
which writes a marker file on the shared storage: about 86 ms a pair,
sequential, so minutes with a few hundred VMs on ten hosts. A Reach
(computes/reach.py) asks each host pair and each directory once and
reads a VM's definitions once. vrtManager: wvmInstances.shares and
file_disks, also used by disk_plan.

read_fleet reads the hosts, their VMs and loads for both pages.
2026-11-16 10:29:07 +03:00
..
css chore(deps): patch and minor updates of pinned and vendored libraries 2026-11-07 18:14:59 +03:00
fonts chore(deps): patch and minor updates of pinned and vendored libraries 2026-11-07 18:14:59 +03:00
icon_cache fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00
js feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
favicon.ico Initial commit 2015-02-27 10:53:51 +02:00