[Linux-cluster] dlm-pcmk-3.0.17-1.fc14.x86_64 and gfs-pcmk-3.0.17-1.fc14.x86_64 woes

Gregory Bartholomew gregory.lee.bartholomew at gmail.com
Thu Mar 10 15:52:26 UTC 2011

On 03/10/2011 01:14 AM, Andrew Beekhof wrote:
> On Wed, Mar 9, 2011 at 7:03 PM, Gregory Bartholomew
> <gregory.lee.bartholomew at gmail.com>  wrote:
>> Never mind, I figured it out ... I needed to install the gfs2-cluster
>> package and start its service and I also had a different name for my cluster
>> in /etc/cluster/cluster.conf than what I was using in my mkfs.gfs2 command.
>> It's all working now.  Thanks to those who helped me get this going,
> So you're still using Pacemaker to mount/unmount the filesystem and
> other services?
> If so, were there any discrepancies in the documentation describing
> how to configure this?

Good morning,

This is what I did to get the file system going:


yum install -y httpd gfs2-cluster gfs2-utils
chkconfig gfs2-cluster on
service gfs2-cluster start

mkfs.gfs2 -p lock_dlm -j 2 -t siue-cs:iscsi /dev/sda1

cat <<-END | crm
configure primitive gfs ocf:heartbeat:Filesystem params 
device="/dev/sda1" directory="/var/www/html" fstype="gfs2" op start 
interval="0" timeout="60s" op stop interval="0" timeout="60s"
configure clone dual-gfs gfs


I think this sed command was also missing from the guide:

sed -i '/^#<Location \/server-status>/,/#<\/Location>/{s/^#//;s/Allow 
from .example.com/Allow from}' /etc/httpd/conf/httpd.conf

I've attached the full record of all the commands that I used to set up 
my nodes to this email.  It has, at the end, the final result of "crm 
configure show".

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: node-config.txt
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20110310/4dbfbdfe/attachment.txt>

More information about the Linux-cluster mailing list