On Thu, Mar 10, 2011 at 4:52 PM, Gregory Bartholomew <gregory.lee.bartholomew@xxxxxxxxx> wrote: > On 03/10/2011 01:14 AM, Andrew Beekhof wrote: >> >> On Wed, Mar 9, 2011 at 7:03 PM, Gregory Bartholomew >> <gregory.lee.bartholomew@xxxxxxxxx> 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: Excellent, very pleased to hear you got it working. I'll try and incorporate your feedback into the doc. > ----- > > 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 > END > > ----- > > 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 127.0.0.1/}' /etc/httpd/conf/httpd.conf What on earth does that do? :-) > > 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". > > gb > -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster