You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Enhanced VM Compatibility (EVC) feature facilitates the management of heterogeneous OpenNebula clusters by masking host CPU capabilities to enforce a unified base model. Using a lowest-common-denominator approach ensures CPU compatibility across hosts and enables seamless live migration of Virtual Machines between hosts with different processor generations.
153
+
154
+
EVC is configured at the cluster level. This simplifies management and improves scalability by allowing administrators to add newer hardware to existing clusters without preventing VM migration due to CPU differences.
155
+
156
+
### Using EVC with the CLI
157
+
158
+
1. Inspect the cluster to view the current template and attributes:
159
+
160
+
```bash
161
+
$ onecluster show default
162
+
```
163
+
164
+
Look for the `CLUSTER TEMPLATE` section. If `EVC_MODE` is not present, it has not been configured for the cluster.
165
+
166
+
2. Set the `EVC_MODE` attribute on a cluster using `onecluster update`. For example, to set a Sandy Bridge baseline:
167
+
168
+
```bash
169
+
$ onecluster update default"
170
+
```
171
+
172
+
Then add the `EVC_MODE` attribute to the list:
173
+
174
+
```bash
175
+
...
176
+
EVC_MODE="sandybridge"
177
+
...
178
+
```
179
+
180
+
The exact CPU model string depends on the hypervisor's supported CPU map. You can view the supported cpu models of a given host with the following command under the `KVM_CPU_MODELS` key:
181
+
182
+
```bash
183
+
$ onehost show <host-id> -j
184
+
```
185
+
186
+
Make sure to select a cpu model available in all hosts in the cluster, otherwise you may fail to deploy VMs on unsupported hosts.
187
+
188
+
189
+
3. To revert or remove EVC, update the cluster template to remove the `EVC_MODE` attribute (for example by setting it to an empty string or re-applying a template without the attribute).
190
+
191
+
### Using EVC with Sunstone
192
+
193
+
The Fireedge / Sunstone web UI provides a convenient way to enable and change EVC without editing templates directly.
194
+
195
+
1. Open the Infrastructure → Clusters view and select the cluster you want to configure.
196
+
197
+
2. Click the Update button and go to the Select Hosts tabs, there you will see the EVC Mode section. To enable EVC, choose a model from the droplist. Afterwards you can click Finish.
0 commit comments