On 12/08/2010 04:54 PM, Mike Diehn wrote: > > Hello all. > > First post. :-) > > I'm building a cluster for an Apache served subversion server.
Why? Well I presume you must, otherwise whoever you're building this fore would have long switched to git or Mercurial. > I want > to use OCFS2 on an LVM2 logical volume. Why why why??? > The PV for the volume group is > a SAN LAN connected to the nodes with fiber channel. > > Some examples I found showed configuring a resource with > ocf:heartbeat:LVM, presumably to active the volume group? Do I need > that? I ask because.... > > Once the cluster gets dlm, clvm and o2cb running on a node, I can always > see the volume group on that node with vgscan. Before dlm and clvm is > running, I can't - which makes perfect sense. Are you trying to build simple failover, and you have no requirements for load balancing at all? Forget cLVM or any cluster filesystem. Use regular LVM and ext3 or XFS or whathaveyou. The build a resource group with ocf:heartbeat:LVM, ocf:heartbeat:Filesystem, ocf:heartbeat:IPaddr2, and ocf:heartbeat:apache. Make sure you configure STONITH so you can arbitrate access to shared storage. Cheers, Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker