Documentation Index
Fetch the complete documentation index at: https://docs.xloud.tech/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Live migration moves a running instance from one compute host to another without shutting it down. Cold migration stops the instance, moves it, and restarts it on the target host. Both operations are administrator-only actions used for planned maintenance, load balancing, and hardware decommissioning.Prerequisites
- Administrator access to the Xloud Dashboard (admin view)
- Shared storage between source and destination hosts (or block migration enabled)
- Compatible CPU architecture between hosts
Migration Types
| Type | Instance Status | Downtime | Use Case |
|---|---|---|---|
| Live Migrate | Active or Paused | None (zero downtime) | Planned maintenance, load balancing |
| Cold Migrate | Active or Shutoff | Yes (reboot required) | Hardware replacement, when live migration fails |
Live Migrate an Instance
- Dashboard
- CLI
Open the Live Migrate dialog
Navigate to Compute > Instances in the admin sidebar. Click the More
dropdown on the instance row and select Live Migrate.
Live Migrate is available for instances in
Active or Paused status.
It is not available for bare metal instances. This action appears only
on the admin page.Select a destination host (optional)
The dialog shows:
The host table shows available hypervisors. The current host and disabled
hosts are grayed out. Bare metal hypervisors are filtered from the list.
| Field | Description |
|---|---|
| Instance | Instance name (read-only) |
| Current Host | The compute host currently running the instance (read-only) |
| Destination Host | Select a target hypervisor, or leave empty for scheduler auto-selection |
| Block Migrate | Checkbox — enable block migration for instances on local storage |
Server Group Affinity Is Honored
Live migration respects the affinity / anti-affinity policy of any server group the instance belongs to. The scheduler treats migration the same way it treats a launch:| Policy on the instance’s server group | What live migration does |
|---|---|
| affinity | Picks a destination host that already runs the other instances in the group. If no such host has capacity, the migration fails with NoValidHost |
| anti-affinity | Picks a destination host that does not already run another instance in the group. If every other host already runs a group member, the migration fails with NoValidHost |
| soft-affinity | Prefers a destination host that already runs other group members; falls back to any available host if none has capacity |
| soft-anti-affinity | Prefers a destination host with no other group members; falls back to any available host if no separate host is free |
Cold Migrate an Instance
- Dashboard
- CLI
Open the Migrate dialog
Navigate to Compute > Instances in the admin sidebar. Click the More
dropdown and select Migrate.
Cold Migrate is available for instances in
Active or Shutoff status.
Not available for bare metal instances. Admin-only action.Select a destination host (optional)
| Field | Description |
|---|---|
| Instance | Instance name (read-only) |
| Current Host | Current compute host (read-only) |
| Destination Host | Select a target, or leave empty for auto-selection |
Next Steps
Compute Hosts
Monitor hypervisor resources before and after migration
Availability Zones
Understand zone boundaries for migration targets
Live vCPU/RAM Scaling
Scale instance resources without migration
Troubleshooting
Resolve stuck or failed migrations