[Linux-cluster] Two-node cluster GFS2 confusing

Le Trung Kien kienlt at mbbank.com.vn
Mon Jun 16 12:50:52 UTC 2014


I don't have an active support contract with Redhat right now. And try to work around with Redhat cluster to understand the solution first.

I followed the steps guide from clusterlabs.org, configure cluster using: CMAN, Pacemaker (of course there is rgmanager in 6.4 but I don't know how to use it right now because I'm in the middle of messing thing from start)

I think the problem was from GFS2 because, with a NFS (no locking) has no problem with my cluster at all. This problem just come when I configure a shared GFS2 for my cluster.

Thank you for your concerns :)

-----Original Message-----
From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Bob Peterson
Sent: Monday, June 16, 2014 7:21 PM
To: linux clustering
Subject: Re: [Linux-cluster] Two-node cluster GFS2 confusing

----- Original Message -----
> Hello everyone,
> I'm a new man on linux cluster.  I have built a two-node cluster 
> (without qdisk), includes:
> Redhat 6.4
> cman
> pacemaker
> gfs2
> My cluster could fail-over (back and forth) between two nodes for 
> these 3
> resources: ClusterIP, WebFS (Filesystem GFS2 mount /dev/sdc on 
> /mnt/gfs2_storage), WebSite ( apache service)
> My problem occurs when I stop/start node in the following order: (when 
> both nodes started)
> 1. Stop: node1 (shutdown) -> all resource fail-over on node2 -> all 
> resources still working on node2 2. Stop: node2 (stop service: 
> pacemaker then cman) -> all resources stop (of
> course)
> 3. Start: node1 (start service: cman then pacemaker) -> only ClusterIP 
> started, WebFS failed, WebSite not started
> I don't have any glues to trace down this case, I just guess this 
> problem comes from locking file system, please suggest me some advices.


Some thoughts on your problem:

(1) If this is truly Redhat 6.4, and you have a support contract with Red Hat,
    you should call the support number with Global Support Services and file a
    ticket. They'll be able to help.
(2) You didn't explain what your symptoms were? In what way does it fail?
(3) Why do you suspect "this problem comes from locking file system"? Do you
    mean from GFS2? What is the symptom that causes you to think it might be
    the file system? Were there messages on the console or dmesg to indicate
    a kernel issue?
(4) I thought RHEL6.4 has cman/rgmanager, not pacemaker.


Bob Peterson
Red Hat File Systems

Linux-cluster mailing list
Linux-cluster at redhat.com

More information about the Linux-cluster mailing list