Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-28 Thread Gionatan Danti
On 28/08/2017 14:13, Yannis Milios wrote: I use lvm-based block device on critical installation, actually. However, backing up block devices is an hassle compared to regular files: you basically need to use ddrescue or, even worse, plain dd. Especially with the latter, you need

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-26 Thread Gionatan Danti
Il 26-08-2017 14:28 Yannis Milios ha scritto: Ah I see, sorry I wasn't aware of that. Is there a particular reason in using file based VMs ? Simply for easy of management :) since generally speaking the performance on raw devices is much better and in DRBD9 you can leverage of thin lvm or

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-26 Thread Yannis Milios
Ah I see, sorry I wasn't aware of that. Is there a particular reason in using file based VMs ? since generally speaking the performance on raw devices is much better and in DRBD9 you can leverage of thin lvm or zfs based snapshots. Yannis On 26 Aug 2017 15:14, "Gionatan Danti"

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-26 Thread Gionatan Danti
Il 26-08-2017 13:56 Yannis Milios ha scritto: Have you considered a HA NFS over a 2-node DRBD8 cluster ? Should work well on most hypervisors (qcow2,raw,vmdk based). Yannis Hi Yannis, yes, I considered that. However, as this would be a converged setup (ie: virtual machines run on the same

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-26 Thread Yannis Milios
Have you considered a HA NFS over a 2-node DRBD8 cluster ? Should work well on most hypervisors (qcow2,raw,vmdk based). Yannis On 26 Aug 2017 12:16, "A.Rubio" wrote: > Hi all. > > I writted a book about this every years ago for a course. > > The book is about pacemaker,

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-26 Thread A.Rubio
Hi all. I writted a book about this every years ago for a course. The book is about pacemaker, drbd, gfs2 and kvm, for 2 nodes and for many nodes. It's writted in spanish because my english is poor (it's evident :-()

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Digimer
On 2017-08-25 04:08 PM, Gionatan Danti wrote: > Il 25-08-2017 22:01 Digimer ha scritto: >> On 2017-08-25 03:37 PM, Gionatan Danti wrote: >> >> The overhead of clustered locking is likely such that your VM >> performance would not be good, I think. > > Mmm... I need to do some more testing with

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Gionatan Danti
Il 25-08-2017 22:01 Digimer ha scritto: On 2017-08-25 03:37 PM, Gionatan Danti wrote: The overhead of clustered locking is likely such that your VM performance would not be good, I think. Mmm... I need to do some more testing with fio, it seems ;) With raw clustered LVs backing the servers,

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Digimer
On 2017-08-25 03:59 PM, Gionatan Danti wrote: > Il 25-08-2017 21:46 Remolina, Diego J ha scritto: >> Danti, >> >> Have you considered using something other than drbd for VM disk >> storage? Glusterfs for example is really good for that. You may want >> to give it a try. You should look at enabling

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Remolina, Diego J
t: Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts Il 25-08-2017 14:34 Digimer ha scritto: > > Our Anvil! project (https://www.alteeve.com/w/Build_an_m2_Anvil!) is > basically this, except we put the VMs on clustered LVs and use gfs2 to > store install media and the serve

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Digimer
On 2017-08-25 03:37 PM, Gionatan Danti wrote: > Il 25-08-2017 14:34 Digimer ha scritto: >> >> Our Anvil! project (https://www.alteeve.com/w/Build_an_m2_Anvil!) is >> basically this, except we put the VMs on clustered LVs and use gfs2 to >> store install media and the server XML files. >> >> I

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Gionatan Danti
Il 25-08-2017 21:46 Remolina, Diego J ha scritto: Danti, Have you considered using something other than drbd for VM disk storage? Glusterfs for example is really good for that. You may want to give it a try. You should look at enabling sharding from the get-go to speed up heals when a node goes

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Gionatan Danti
Il 25-08-2017 14:34 Digimer ha scritto: Our Anvil! project (https://www.alteeve.com/w/Build_an_m2_Anvil!) is basically this, except we put the VMs on clustered LVs and use gfs2 to store install media and the server XML files. I would NOT put the image files on gfs2, as the distributed locking

Re: [DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Digimer
On 2017-08-25 02:49 AM, Gionatan Danti wrote: > Hi list, > in my endless search for information :) I was testing DRBD in dual > primary mode + GFS2. The goal is "the same": running a replicated, > 2-node KVM setup where disk images are located on the GFS2 filesystem. > > I know how to integrate

[DRBD-user] DRBD Dual Primary + GFS2 for redundant KVM hosts

2017-08-25 Thread Gionatan Danti
Hi list, in my endless search for information :) I was testing DRBD in dual primary mode + GFS2. The goal is "the same": running a replicated, 2-node KVM setup where disk images are located on the GFS2 filesystem. I know how to integrate DRBD with corosync/pacemaker, but I wonder how the