Overview
The Resource Optimizer relies on Xloud Compute for both cluster state collection and migration execution. All optimization actions that produce live migrations require compute hosts to support live migration — which in turn requires shared storage for instance disks. This page covers the compute requirements, verification steps, and configuration adjustments needed before enabling optimization in production.Prerequisites
- Administrator privileges
- Xloud Compute deployed and operational
- Xloud Distributed Storage or equivalent shared storage for instance volumes
Shared Storage Requirement
Verify that the instances targeted by optimization are using shared storage:Check instance storage backend
Verify Compute Host Availability
Optimization actions only target compute hosts that are up, enabled, and not in maintenance state.Check all compute services
| Column | Required Value |
|---|---|
| State | up |
| Status | enabled |
state: down or status: disabled are automatically excluded from
optimization targets. Disabled hosts do not receive live-migrated instances.
Verify Live Migration Capability
Check migration capability per host
Test live migration between hosts
ACTIVE status on the destination host.
CPU Compatibility for Live Migration
Live migration between hosts with different CPU architectures or feature sets can fail. Configure a common CPU baseline in the Compute service to ensure compatibility across all hosts in the optimization segment.- XDeploy
- CLI
Open Advanced Configuration
Open XDeploy and navigate to Advanced Configuration. In the Service Tree
(left panel), select nova.
Edit the Compute Configuration
Click New File or select an existing
nova.conf from the File Browser
(right panel). Add the following in the Code Editor (center panel):/etc/xavs/config/nova/nova.conf
Host Aggregates for Optimization Scope
Use host aggregates to define which hosts are eligible for optimization. Assign all hosts intended for consolidation to a single aggregate, then scope your audits to that aggregate:Create optimization aggregate
Validation
- Dashboard
- CLI
Navigate to Admin → Compute → Hypervisors. Verify:
- All compute hosts show
State: UpandStatus: Enabled - No hosts are in maintenance or down state
All compute hosts are up and enabled, ready to serve as migration targets.
Next Steps
Action Policies
Configure manual approval vs automatic execution for optimization plans.
Security
Secure the service account used by the Applier to call the Compute API.
Troubleshooting
Diagnose live migration failures during plan execution.
Compute Admin Guide
Configure compute hosts, shared storage, and live migration settings.