Red Hat Training
A Red Hat training course is available for Red Hat Virtualization
5.6. Pinning a Virtual Machine to Multiple Hosts
Virtual machines can be pinned to multiple hosts. Multi-host pinning allows a virtual machine to run on a specific subset of hosts within a cluster, instead of one specific host or all hosts in the cluster. The virtual machine cannot run on any other hosts in the cluster even if all of the specified hosts are unavailable. Multi-host pinning can be used to limit virtual machines to hosts with, for example, the same physical hardware configuration.
A virtual machine that is pinned to multiple hosts cannot be live migrated, but in the event of a host failure, any virtual machine configured to be highly available is automatically restarted on one of the other hosts to which the virtual machine is pinned.
High availability is not supported for virtual machines that are pinned to a single host.
Pinning Virtual Machines to Multiple Hosts
- Click Compute → Virtual Machines and select a virtual machine.
- Click Edit.
- Click the Host tab.
- Select the Specific Host(s) radio button under Start Running On and select two or more hosts from the list.
- Select Do not allow migration from the Migration Options drop-down list.
- Click the High Availability tab.
- Select the Highly Available check box.
- Select Low, Medium, or High from the Priority drop-down list. When migration is triggered, a queue is created in which the high priority virtual machines are migrated first. If a cluster is running low on resources, only the high priority virtual machines are migrated.
- Click OK.