Discussion:
[Pacemaker] create 2 node cluster with clvm starting with one node
Sven Moeller
2015-09-24 12:26:40 UTC
Permalink
Hi,

I have to build a 2 node NFS Cluster based on Pacemaker/Corosync. The Volume used for the filesystem that will be exported by NFS is on a shared storage. I would like to use cLVM on this Volume. The challenge is, at the moment just one node is available. That means, I have to create the cluster configuration for a two node cluster by having just one node available.

Is it possible to get cLVM running with just one node? Is this possible by setting quorum policy to ignore?

Is it possible to get cLVM running without enabling Stonith? (as long as i got only one of the two nodes, I'm forced to disable stonith, because the other node is in production).

thank's and kind regards

Sven


_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Andrei Borzenkov
2015-09-24 12:34:40 UTC
Permalink
Post by Sven Moeller
Hi,
I have to build a 2 node NFS Cluster based on Pacemaker/Corosync. The Volume used for the filesystem that will be exported by NFS is on a shared storage. I would like to use cLVM on this Volume.
Why do you need cLVM in the first place? Will you be using clustered
filesystem that allows concurrent access from both nodes?
Post by Sven Moeller
The challenge is, at the moment just one node is available. That means, I have to create the cluster configuration for a two node cluster by having just one node available.
Is it possible to get cLVM running with just one node? Is this possible by setting quorum policy to ignore?
Is it possible to get cLVM running without enabling Stonith? (as long as i got only one of the two nodes, I'm forced to disable stonith, because the other node is in production).
thank's and kind regards
Sven
_______________________________________________
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Sven Moeller
2015-09-24 13:15:24 UTC
Permalink
Post by Andrei Borzenkov
Post by Sven Moeller
Hi,
I have to build a 2 node NFS Cluster based on Pacemaker/Corosync. The Volume used for the filesystem that will be exported by NFS is on a shared storage. I would like to use cLVM on this Volume.
Why do you need cLVM in the first place? Will you be using clustered
filesystem that allows concurrent access from both nodes?
No, I don't want to use a clustered filesystem. But I want the cluster to be able to lock the active Volume Group (activate exclusively) so that no concurrent access will be possible by activating the LVM Volume Group manually on different node bypassing the cluster, ending up with 2 times mounted FS on 2 different nodes. I don't like corrupted ext3/4 filesystems ;-)

Beside SCSI Locks or activating a cLVM Volume Gorup exclusively I don't know any mechanism to be sure to not mount a Volume twice on different servers.

Sven





_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Loading...