Christian,
You need to execute the cluster setup steps on the page you linked below (previous to the GNBD-specific sections). Specifically, on each node you need to run: modprobe lock_dlm, ccsd, cman_tool join, and fence_tool join after you have cman quorum. Then you should be able to gnbd_export devices.
I have done all the steps but I found these errors in the logs:
node1 (GFS1)
-----
Jul 20 01:29:02 gfs1 Lock_Harness <CVS> (built Jul 17 2004 22:54:18) installed
Jul 20 01:29:02 gfs1 CMAN <CVS> (built Jul 17 2004 22:59:43) installed
Jul 20 01:29:02 gfs1 NET: Registered protocol family 31
Jul 20 01:29:02 gfs1 DLM <CVS> (built Jul 18 2004 00:08:18) installed
Jul 20 01:29:02 gfs1 Lock_DLM (built Jul 17 2004 22:53:49) installed
Jul 20 01:29:02 gfs1 ccsd[6723]: Error while processing get: No data available
Jul 20 01:29:02 gfs1 ccsd[6723]: Error while processing get: No data available
Jul 20 01:29:02 gfs1 ccsd[6723]: Error while processing get: No data available
Jul 20 01:29:02 gfs1 ccsd[6723]: Error while processing get: No data available
Jul 20 01:29:03 gfs1 CMAN: Waiting to join or form a Linux-cluster
Jul 20 01:29:14 gfs1 CMAN: forming a new cluster
Jul 20 01:29:14 gfs1 CMAN: quorum regained, resuming activity
Jul 20 01:29:34 gfs1 CMAN: got node gfs2
Jul 20 01:30:06 gfs1 gnbd: registered device at major 253
Jul 20 01:30:38 gfs1 gnbd_serv[8039]: startup succeeded
Jul 20 01:30:38 gfs1 receiver[8043]: ERROR [gnbd_clusterd.c:53] cannot connect to cluster manager : Operation not permitted
-----
node2 (GFS2)
-----
Jul 20 01:15:24 gfs2 Lock_Harness <CVS> (built Jul 17 2004 22:54:18) installed
Jul 20 01:15:24 gfs2 CMAN <CVS> (built Jul 17 2004 22:59:43) installed
Jul 20 01:15:24 gfs2 NET: Registered protocol family 31
Jul 20 01:15:24 gfs2 DLM <CVS> (built Jul 18 2004 00:07:29) installed
Jul 20 01:15:24 gfs2 Lock_DLM (built Jul 17 2004 22:53:49) installed
Jul 20 01:15:51 gfs2 ccsd[6724]: Error while processing get: No data available
Jul 20 01:15:51 gfs2 ccsd[6724]: Error while processing get: No data available
Jul 20 01:15:51 gfs2 ccsd[6724]: Error while processing get: No data available
Jul 20 01:15:51 gfs2 ccsd[6724]: Error while processing get: No data available
Jul 20 01:15:51 gfs2 CMAN: Waiting to join or form a Linux-cluster
Jul 20 01:15:55 gfs2 CMAN: sending membership request
Jul 20 01:15:55 gfs2 CMAN: got node gfs1
Jul 20 01:15:55 gfs2 CMAN: quorum regained, resuming activity
Jul 20 01:16:28 gfs2 gnbd: registered device at major 253
Jul 20 01:16:52 gfs2 gnbd_serv[8025]: startup succeeded
Jul 20 01:17:03 gfs2 receiver[8029]: ERROR [gnbd_clusterd.c:53] cannot connect to cluster manager : Operation not permitted
-----
here is the cluster.xml file: ----- <?xml version="1.0"?> <cluster name="xcluster" config_version="1">
<cman two_node="1" expected_votes="1"> </cman>
<nodes> <node name="gfs1" votes="1"> <fence> <method name="single"> <device name="human" ipaddr="10.0.4.101"/> </method> </fence> </node> <node name="gfs2" votes="1"> <fence> <method name="single"> <device name="human" ipaddr="10.0.4.102"/> </method> </fence> </node> </nodes>
<fence_devices> <device name="human" agent="fence_manual"/> </fence_devices> </cluster> -----
Christian