[CentOS] KVM HA

Wed Jun 22 05:01:18 UTC 2016
Tom Robinson <tom.robinson at motec.com.au>

Hi,

I have two KVM hosts (CentOS 7) and would like them to operate as High Availability servers,
automatically migrating guests when one of the hosts goes down.

My question is: Is this even possible? All the documentation for HA that I've found appears to not
do this. Am I missing something?

My configuration so fare includes:

 * SAN Storage Volumes for raw device mappings for guest vms (single volume per guest).
 * multipathing of iSCSI and Infiniband paths to raw devices
 * live migration of guests works
 * a cluster configuration (pcs, corosync, pacemaker)

Currently when I migrate a guest, I can all too easily start it up on both hosts! There must be some
way to fence these off but I'm just not sure how to do this.

Any help is appreciated.

Kind regards,
Tom


-- 

Tom Robinson
IT Manager/System Administrator

MoTeC Pty Ltd

121 Merrindale Drive
Croydon South
3136 Victoria
Australia

T: +61 3 9761 5050
F: +61 3 9761 5051
E: tom.robinson at motec.com.au

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20160622/4df4eb68/attachment-0004.sig>