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

[Linux-cluster] GNBD and GFS (was: drbd and gfs)



Hello all,

Sorry... wrong subject! I was with "drbd" on my head, but I don't like
him because I just can use 2 (two) nodes. The correct subject it's
"gnbd" and GFS!

I hope that someone can help me!
Regards

On Mon, 2008-03-31 at 15:52 -0300, Tiago Cruz wrote:
> Hi,
> 
> I'm trying to do the follow setup:
> 
> http://photos1.blogger.com/blogger/2723/1994/1600/plan.jpg
> 
> Extracted from this link:
> http://linuxsutra.blogspot.com/2006/11/howto-gfs-gnbd.html
> 
> 
> But, my GNBD Server has one dom0 and my nodes has two domU's, all
> running RHEL 5.1 x86_84.
> 
> 10.25.2.1   gnbdserv.mycluster.com gnbdserv
> 10.25.0.251 node1.mycluster.com
> 10.25.0.252 node2.mycluster.com
> 
> My server.conf is this:
> http://photos1.blogger.com/blogger/2723/1994/1600/clusterconf.jpg
> 
> 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?
> 
> Thanks!!
> 
-- 
Tiago Cruz
http://everlinux.com
Linux User #282636



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