2018/03/08

KVM + Ceph with Pacemaker

KVM + Ceph with Pacemaker

Architecture

  • Hosts: 2
  • Roles:
    • Host 1: KVM, Ceph
    • Host 2: KVM, Ceph

Steps

  1. setup ceph cluster
  2. setup pacemaker cluster
  3. create VM with virt-install
  4. export the xml with virsh dump
  5. edit the xml to use ceph as backend and change other desired settings1
  6. add a virtualdomain resource to pacemaker with the xml2

Written with StackEdit.


  1. USING LIBVIRT WITH CEPH RBD ↩︎

  2. VirtualDomain (resource agent) - Linux-HA ↩︎

KVM + Ceph with Pacemaker

KVM + Ceph with Pacemaker

KVM + Ceph with Pacemaker

Architecture

  • Hosts: 2
  • Roles:
    • Host 1: KVM, Ceph
    • Host 2: KVM, Ceph

Steps

  1. setup ceph cluster
  2. setup pacemaker cluster
  3. create VM with virt-install
  4. export the xml with virsh dump
  5. edit the xml to use ceph as backend and change other desired settings1
  6. add a virtualdomain resource to pacemaker with the xml2

Written with StackEdit.


  1. USING LIBVIRT WITH CEPH RBD ↩︎

  2. VirtualDomain (resource agent) - Linux-HA ↩︎