Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-07 Thread Ferenc Wágner
"Lentes, Bernd" writes: > - On Jun 7, 2016, at 3:53 PM, Ferenc Wágner wf...@niif.hu wrote: > >> "Lentes, Bernd" writes: >> >>> Ok. Does DLM takes care that a LV just can be used on one host ? >> >> No. Even plain LVM

Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-07 Thread Lentes, Bernd
- On Jun 7, 2016, at 5:54 PM, Digimer li...@alteeve.ca wrote: > DLM is just a distributed lock manager, that's it. LVM uses it to > coordinate actions within the cluster, so what LVM does is still up to LVM. > > I'm not a dev, so I might get this a little wrong, but basically it > works

Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-07 Thread Digimer
On 07/06/16 07:23 AM, Lentes, Bernd wrote: >>> Ok. Does DLM takes care that a LV just can be used on one host ? >>> cLVM just takes care that the naming is the same on all nodes, right ? >> >> AFAIK DLM takes care about the LVM Locking cluster wide. > > What does that mean concretely, "LVM

Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-07 Thread Ferenc Wágner
"Lentes, Bernd" writes: > Ok. Does DLM takes care that a LV just can be used on one host ? No. Even plain LVM uses locks to serialize access to its metadata (avoid concurrent writes corrupting it). These locks are provided by the host kernel

Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-07 Thread Lentes, Bernd
- On Jun 7, 2016, at 12:28 PM, Sven Moeller smoel...@nichthelfer.de wrote: > Hi, > > > Am Dienstag, 07. Juni 2016 11:42 CEST, "Lentes, Bernd" > schrieb: > >> >> >> - On Jun 6, 2016, at 8:17 PM, Digimer li...@alteeve.ca wrote: >> >> >> Ok.

Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-06 Thread Digimer
On 06/06/16 01:13 PM, Lentes, Bernd wrote: > Hi, > > i'm currently establishing a two node cluster. I have a FC SAN and two hosts. > My services are integrated into virtual machines (kvm). The vm's should > reside on the SAN. > The hosts are connected to the SAN via FC HBA. Inside the hosts i

[ClusterLabs] how to "switch on" cLVM ?

2016-06-06 Thread Lentes, Bernd
Hi, i'm currently establishing a two node cluster. I have a FC SAN and two hosts. My services are integrated into virtual machines (kvm). The vm's should reside on the SAN. The hosts are connected to the SAN via FC HBA. Inside the hosts i see already the volume from the SAN. I'd like to store