[Linux-cluster] ERROR cannot get node name
Sridharan Ramaswamy (srramasw)
srramasw at cisco.com
Thu Dec 21 18:34:32 UTC 2006
I'm a newbie too and got similar error while trying to get min-gfs setup
working. Steps in min-gfs skips the whole cluster configuration using
"-n" (which is kinda neat to get started).
Try adding "-n" to gnbd_import similar to your gnbd_serv(see man
gnbd_import).
/sbin/gnbd_import -n -i boston
I presume min-gfs document should be updated/corrected for this.
Getting this to work with cluster mode (i.e. without -n) involves
starting ccsd, cman and creating an appropriate cluster.conf.
thanks,
Sridhar
________________________________
From: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] On Behalf Of Michael Mitchell
Sent: Thursday, December 21, 2006 6:12 AM
To: linux-cluster at redhat.com
Subject: [Linux-cluster] ERROR cannot get node name
Ok, well I am still following the mini how to that is included
in the tar ball.
When I go to startup everything on the node I get the following:
[root at perforce2 cluster-1.03.00]# depmod -a
[root at perforce2 cluster-1.03.00]# modprobe gnbd
[root at perforce2 cluster-1.03.00]# modprobe gfs
[root at perforce2 cluster-1.03.00]# modprobe lock_dlm
[root at perforce2 cluster-1.03.00]# gnbd_import -i boston
gnbd_import: ERROR cannot get node name : No such process
gnbd_import: ERROR No cluster manager is running
gnbd_import: ERROR If you are not planning to use a cluster
manager, use -n
[root at perforce2 cluster-1.03.00]#
Is there something I forgot?
here is the selection from the file:
- load kernel modules on nodes
node2 and node3> modprobe gnbd
node2 and node3> modprobe gfs
node2 and node3> modprobe lock_dlm
- run the following commands
node1> gnbd_serv -n
node1> gnbd_export -c -d /dev/sda1 -e global_disk
node2 and node3> gnbd_import -i node1
node2 and node3> ccsd
node2 and node3> cman_tool join
node2 and node3> fence_tool join
node2> gfs_mkfs -p lock_dlm -t gamma:gfs1 -j 2
/dev/gnbd/global_disk
node2 and node3> mount -t gfs /dev/gnbd/global_disk /mnt
- the end, you now have a gfs file system mounted on node2 and
node3
--
Mike Mitchell
otakurx at gmail.com
(603) 706-0026
www.otaku-wired.net (offline)
zatoichi.is-a-geek.org
otakurx.blogspot.com (my Blog)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20061221/bd06ba1a/attachment.htm>
More information about the Linux-cluster
mailing list