Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Digimer
On 2017-07-18 03:11 PM, Lentes, Bernd wrote: > >> >> If you have DRBD (PV) -> Clustered VG -> LV per VM, and you have >> dual-primary DRBD, you can already do a live migration. >> > > > What is about PV -> clustered VG -> LV -> DRBD ? I don't understand how that would work... The goal of clvmd

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Lentes, Bernd
> > If you have DRBD (PV) -> Clustered VG -> LV per VM, and you have > dual-primary DRBD, you can already do a live migration. > What is about PV -> clustered VG -> LV -> DRBD ? Bernd Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Digimer
On 2017-07-18 02:29 PM, Lentes, Bernd wrote: > >>> >>> On SLES 11 SP4 HAE DRBD 8.4 is available. Do i need a cluster fs on top of a >>> dual primary DRBD ? >>> I assume. >>> >>> >>> Bernd >> >> Depends. >> >> If you want to have a shared FS, yes. If you want to back VMs though, we >> use

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Lentes, Bernd
>> >> On SLES 11 SP4 HAE DRBD 8.4 is available. Do i need a cluster fs on top of a >> dual primary DRBD ? >> I assume. >> >> >> Bernd > > Depends. > > If you want to have a shared FS, yes. If you want to back VMs though, we > use clustered LVM to manage the DRBD space, creating per-VM LVs,

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Digimer
On 2017-07-18 01:41 PM, Lentes, Bernd wrote: > > > >>> >>> Is with DRBD and Virtual Machines live migration possible ? >>> >>> >>> Bernd >> >> yes, but dual-primary is needed (this is how the Anvil! does live >> migration). With DRBD 9, you can set it up to momentarily do >> dual-primary

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Lentes, Bernd
>>> >> >> Is with DRBD and Virtual Machines live migration possible ? >> >> >> Bernd > > yes, but dual-primary is needed (this is how the Anvil! does live > migration). With DRBD 9, you can set it up to momentarily do > dual-primary to support live migration, though I have not used this >

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread emmanuel segura
yes, if you are using drbd in master/slave, first promote the resource to master and then start vm on the node, if you use drbd in multimaster, only start the vm when drbd is started. Use SAN, with multipath. 2017-07-18 16:34 GMT+02:00 Lentes, Bernd : > > >

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Digimer
On 2017-07-18 10:34 AM, Lentes, Bernd wrote: > > > - On Jul 17, 2017, at 11:51 AM, Bernd Lentes > bernd.len...@helmholtz-muenchen.de wrote: > >> Hi, >> >> i established a two node cluster with two HP servers and SLES 11 SP4. I'd >> like >> to start now with a test period. Resources are

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Digimer
On 2017-07-18 04:08 AM, Dmitri Maziuk wrote: > On 7/17/2017 2:07 PM, Chris Adams wrote: > >> However, just like RAID is not a replacement for backups, DRBD is IMHO >> not a replacement for database replication. DRBD would just replicate >> database files, so if for example file corruption would

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Ken Gaillot
On 07/18/2017 09:34 AM, Lentes, Bernd wrote: > > > - On Jul 17, 2017, at 11:51 AM, Bernd Lentes > bernd.len...@helmholtz-muenchen.de wrote: > >> Hi, >> >> i established a two node cluster with two HP servers and SLES 11 SP4. I'd >> like >> to start now with a test period. Resources are

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Lentes, Bernd
- On Jul 17, 2017, at 11:51 AM, Bernd Lentes bernd.len...@helmholtz-muenchen.de wrote: > Hi, > > i established a two node cluster with two HP servers and SLES 11 SP4. I'd like > to start now with a test period. Resources are virtual machines. The vm's > reside on a FC SAN. The SAN has two

Re: [ClusterLabs] DRBD or SAN ?

2017-07-18 Thread Dmitri Maziuk
On 7/17/2017 2:07 PM, Chris Adams wrote: However, just like RAID is not a replacement for backups, DRBD is IMHO not a replacement for database replication. DRBD would just replicate database files, so if for example file corruption would be copied from host to host. When something provides a