Infrastructure & virtualisation

Proxmox Live Migration and Maintenance Window

Check CPU, disk, network and target capacity before Proxmox live migration. Prepare a maintenance window, service tests and rollback steps.

Proxmox live migration moves a running virtual machine to another node. It does not resolve every issue in a maintenance plan on its own. If the target host's capacity, CPU compatibility, disk access and network behavior are not prepared correctly, a “VM is running” status may not mean the customer's service is working properly.

This guide provides an acceptance and rollback workflow for planned maintenance on the same cluster. Migrating from another platform is a separate project; for this, you can review the article VM transfer from ESXi to Proxmox. Here, live migration is a maintenance method whose suitability must be tested; it carries no guarantee about downtime.

First inventory the VMs to be migrated

Listing only the IDs of VMs on the node being maintained is not enough. For each VM, the CPU model, amount of memory, disk location, bridge and VLAN information, connected devices and critical customer service endpoints are recorded. Use this inventory to determine which machines can migrate live and which require an offline migration.

The migration section of the Proxmox QEMU/KVM documentation is the official reference for CPU and version compatibility, network connectivity, and local resources that cannot be migrated. Don't assume that you can directly transfer the state of the running machine between CPU architectures. Even if processors from the same manufacturer are used, it should be checked that the features offered to the guest are present in the target.

Passing physical PCI or USB devices directly through to the guest may limit migration options. Do not group these machines with standard web VPSs. Verify separately that the device exists on the target, its configuration matches and the migration method is supported. A request for rapid maintenance should not replace compatibility testing.

Disk location affects migration time

Accessing disk contents on shared storage from the target node and copying local disks to that node require different operations. A VM with local disks can still be migrated under suitable conditions. However, the requirements of the path to be used and the actual transfer time should be established in a pilot test.

In local disk transfer, write activity is as important as disk size. A busy database during maintenance generates a different load from an idle test VM. If storage and network are handling other tasks at the same time, resource sharing affects the duration. Use the distinction between shared and local storage in the storage selection guide when scheduling maintenance.

Target node acceptance checklist

CheckExpected evidenceIf not suitable
CPU and versionPilot VM compatibility test and version recordEvaluate a suitable target or offline migration
RAM and CPU capacityCalculation of total load during maintenanceRescheduling migration order or capacity
Disk accessCheck of target storage and transfer pathDisk transfer schedule and duration measurement
NetworkBridge, VLAN and application access testingFixing network mapping before maintenance
Special devicesRecord of dependencies and supported methodPrepare a dedicated maintenance procedure

The table does not have to be the same length for each VM. Machines built from standard packages can use a common acceptance profile. Evaluate VMs that deviate from the profile separately, for example those with an additional physical device or a different network layout. If the customer has subsequently made changes, do not assume that old inventory is valid.

Verify live migration with service tests

Live migration transfers the state of the running machine; it is not a universal promise that all connections in the outside world will be unaffected by any changes. Network status at the host level, routing, filtering and connection tolerance of the application are evaluated together. A successful ping test does not indicate that the long-lived database connection or the client's transactional session persists.

Prepare a small test list for the relevant service. For a web application, this might include a page request, a controlled session and a representative transaction; for a database, an authorized test query; for a file service, reads and controlled writes. These processes are designed not to corrupt production data. Results before and after migration are recorded with time information.

If you are not managing the application as a provider, specify how the customer will do their own testing. “Infrastructure and VM access verified” covers a different scope from “all application functions verified.” This distinction should be written clearly in the announcement regarding maintenance. Do not promise zero downtime without assessing the expected interruption for that customer's system.

Migration order and stop conditions

Start with a representative VM whose migration has limited impact. If the pilot succeeds, proceed in groups, checking target resources and service test results at each step. Moving all machines at the same time can create unexpected network and storage congestion. Base the number of concurrent migrations on results from a lab or controlled production trial.

Define stop conditions before maintenance begins: unexpected incompatibility, service test failure, storage health deterioration, or target reserve exceeded. When a condition occurs, new migrations are stopped and the current VM's state is checked. Interventions such as canceling the task or restarting the source node are not made without understanding which stage the operation has reached.

A rollback plan covers more than migrating back

The sentence "If there is a problem, we will move it back" is not a sufficient plan. Account for whether the source node has changed due to maintenance, whether new data has been written at the target, and the current state of both nodes. The VM ID, location of disks, and last task result are clearly recorded. Independent operation of the same VM in two locations may create data and network conflicts.

If restoring a backup is the final recovery option, the available copy and the accepted data loss must be known. The RPO and RTO plan describes this part of the maintenance. Having a backup does not prove that it can be restored quickly and consistently enough to roll back maintenance.

Coordinate HA and maintenance

If HA management is used in the cluster, how services will be handled during maintenance is determined in advance. Proxmox HA management document is the official go-to source for service states and maintenance behavior. Manual maintenance steps should not conflict with the cluster manager's automated decisions.

Also consider the effect on the maintenance scope of operations such as order creation, package upgrade, or reinstallation during maintenance. If a new VM is provisioned on the node being evacuated, the maintenance schedule will be extended. Check that the automation workflow follows the maintenance rules. A clear manual procedure should be established for functions not supported in the current tool; do not assume those functions are built in.

Explain the maintenance scope clearly to customers

The maintenance announcement should describe the scope of service rather than a list of technical commands. State the start and end times, affected services, expected behavior and any actions required from customers. Including the time zone helps customers in different locations prepare correctly. Instead of a vague statement "servers will be optimized", state which infrastructure group will be affected.

Even when live migration is planned, the announcement can explain how updates will be provided if something unexpected happens. If the customer is asked to check the application, it should be clear at what time and through which channel they should send feedback. If there is a temporary limit for operations such as package change or reinstallation before starting maintenance, the support team should use the same information. This keeps customer communications aligned with operational decisions.

When work ends, report completed and postponed work separately. Do not claim uninterrupted service if the observed service impact is unknown. A closing message consistent with the operational record links the expectation for subsequent maintenance to actual data.

Include verification time in the maintenance window

If the maintenance schedule is based solely on the estimated time of disk or memory transfer, there may be no room left for customer testing. Preparation, piloting, migration, verification and rollback if necessary are written as separate time budgets. The last VM reaching its target does not mark completion; the acceptance checklist must also be complete.

Check the change in workload when producing time estimates from previous maintenance records. A larger disk, a different network path, or increased customer traffic may invalidate the earlier estimate. If the planned window is narrow, reducing the scope and proceeding with a smaller group may be considered. Trying to fit into the window by skipping the verification steps will leave service impact unclear after maintenance.

What should the maintenance completion report cover?

A concise record of migrated VMs, failed or delayed operations, application tests, and observed service impact is kept. The remaining reserve on the target nodes is recorded in the capacity plan. It is verified that the normal monitoring and alert rules are active again.

Do not just say "maintenance is completed" in the final evaluation. Compare planned and actual duration, and explain any difference. This way the next maintenance window is based on evidence of your own environment, not guesswork. This is how the value of live migration is measured: in which services it can be used safely, which dependencies require different methods, and how the operation controls customer impact.