Repository navigation
Billing panels can resize a master with splits, and users can restart, stop or kill the master after a split change. Requires panel >=1.2.11 (unchanged).
New
- Plan totals for billing panels. A new setting, Limits set on a master, decides what a CPU, memory, disk (and pooled swap) value set on a master through the admin API or the admin server page means. Plan total: the value is the whole plan and the master keeps it minus what its splits hold, so a Paymenter or WHMCS up- or downgrade no longer stacks the splits on top. Master only: the value is what the master keeps, as before. Unlimited stays unlimited, and saving the admin page without touching the limits changes nothing.
- Over-commit instead of shrinking splits. A plan lowered below what the splits hold plus the reserve never touches running splits and never fails the billing panel's request. The master is held at its reserve and marked over-committed on the admin server card, in the Splits tab and on the user's pool card, with how much to free. Whatever the splits give back pays that down first.
- Then restart, stop or kill the master. The New split drawer, Resize and Delete offer a power action for the master once the change is saved, while the master is running. It needs the panel's own Restart or Stop permission on the master, goes through the master's node after its new limits are pushed, and shows in the master's activity log. If it fails, the split change stays and the user sees why. Admins choose which actions are offered and which is preselected (none by default). The admin Resize offers it too (
nodes.power). - The admin server card shows a master's plan total, what its splits hold and what it keeps.
Upgrading
Replace the extension archive and restart the panel. A migration adds one table; running servers are not changed. On an upgraded panel Limits set on a master starts at Master only, so values your billing panel or admins set keep their 1.5.4 meaning; switch it to Plan total under Admin → Extensions → Server Splitter → General if your billing panel sends the plan size. New installs start at Plan total.