[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] drbd and gfs


I'm trying to do the follow setup:


Extracted from this link:

But, my GNBD Server has one dom0 and my nodes has two domU's, all
running RHEL 5.1 x86_84.   gnbdserv.mycluster.com gnbdserv node1.mycluster.com node2.mycluster.com

My server.conf is this:

But I'm getting a lot of logs like this:

Mar 31 15:37:24 teste-spo-la-v1 fenced[1530]: fencing node "gnbdserv.mycluster.com"
Mar 31 15:37:24 teste-spo-la-v1 fenced[1530]: agent "fence_gnbd" reports: warning: 'ipaddr' key is depricated, please see man page failed: missing server list 
Mar 31 15:37:24 teste-spo-la-v1 fenced[1530]: fence "gnbdserv.mycluster.com" failed

Ask 1-): I'm already seeing the device exported from the server on my
nodes, but I still needing that the dom0 as part of cluster?

[root teste-spo-la-v1 ~]# gnbd_import -n -l
Device name : cluster
    Minor # : 0
 sysfs name : /block/gnbd0
     Server : gnbdserv
       Port : 14567
      State : Close Connected Clear
   Readonly : No
    Sectors : 20971520

[root teste-spo-la-v2 ~]# cman_tool nodes
Node  Sts   Inc   Joined               Name
   1   X      0                        gnbdserv.mycluster.com
   2   M     24   2008-03-31 12:20:27  node1.mycluster.com
   3   M     16   2008-03-31 12:20:27  node2.mycluster.com

Ask 2-) I've formated on this way:

# mkfs.gfs2 -t mycluster:root -p lock_dlm -j 2 /dev/Vol_LVM/mycluster

But I still can't mount the device:

[root teste-spo-la-v1 ~]# mount -v /dev/gnbd/cluster /mnt/
mount: you didn't specify a filesystem type for /dev/gnbd/cluster
       I will try type gfs2
/sbin/mount.gfs2: mount /dev/gnbd/cluster /mnt
/sbin/mount.gfs2: parse_opts: opts = "rw"
/sbin/mount.gfs2:   clear flag 1 for "rw", flags = 0
/sbin/mount.gfs2: parse_opts: flags = 0
/sbin/mount.gfs2: parse_opts: extra = ""
/sbin/mount.gfs2: parse_opts: hostdata = ""
/sbin/mount.gfs2: parse_opts: lockproto = ""
/sbin/mount.gfs2: parse_opts: locktable = ""
/sbin/mount.gfs2: message to gfs_controld: asking to join mountgroup:
/sbin/mount.gfs2: write "join /mnt gfs2 lock_dlm mycluster:root rw /dev/gnbd/cluster"
/sbin/mount.gfs2: node not a member of the default fence domain
/sbin/mount.gfs2: error mounting lockproto lock_dlm

What can I do to fix this?


Tiago Cruz
Linux User #282636

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]