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

Re: [Linux-cluster] help



On Sun, Dec 04, 2005 at 01:07:58PM +0200, Raz Ben-Jehuda(caro) wrote:
>    gnbd_serv cannot load without -n flag.
>    They fixed it in min-gfs.txt document.
>    So, I have a little problem with it.

I have had no problem starting gnbd_serv without the -n option.

If you try to start gnbd_serv without a cluster manager running on the node,
you will receive a message like this on the command line

gnbd_serv: ERROR cannot get node name : No such process
gnbd_serv: ERROR No cluster manager is running
gnbd_serv: ERROR If you are not planning to use a cluster manager, use -n

and like this in syslog

ERROR [gnbd_serv.c:389] If you are not planning to use a cluster manager, use -n

This is not a gnbd error. This means that the cluster has not been properly
started.

Not only must there be a working cluster, but the gnbd server node must be a
cluster member.  In the min-gfs.txt document, the gnbd server node is not a
cluster member, so you will not be able to export uncached gnbds with this
setup.

If you believe that the gnbd server node is a member of a quorate cluster,
you can do this check.

run

# ccsd
# cman_tool join

on all cluster nodes.

Then run

# cat /proc/cluster/status

For "Membership state:" you should see "Cluster-Member"
For "Nodes:" you should see the number of nodes you expect there to be.

If the cluster has not started up, you will not see a "Nodes:" section, and
"Membership state:" will say something like "Starting" or "Not-in-Cluster".

If you are a cluster member, and you still cannot start up gnbd_serv, please
run it with the -v option, and send me the command and log output, along
with the output from

# cat /proc/cluster/status.

Thanks,
Ben
 
>    On 12/3/05, Benjamin Marzinski <bmarzins redhat com> wrote:
> 
>      On Tue, Nov 29, 2005 at 08:01:20AM +0200, Raz Ben-Jehuda(caro) wrote:
>      > sorry, i maanage to make it work only when cache enabled.
>      > Is it possible to do it with no cache ?
> 
>      The only difference in letting you export between cached and uncached,
>      is that
>      uncached requires the server to be a member of a quorate cluster. Could
>      you
>      start up gnbd_serv with the -v option, try to export an uncached device,
>      and
>      mail me what the messages you get back, both from the command and from
>      the logs.
> 
>      -Ben
> 
>      > On 11/29/05, Raz Ben-Jehuda(caro) <raziebe gmail com> wrote:
>      > > been there.
>      > > if i would load gnbd_serv with no cluster i would failed to export
>      > > any devices with gnbd_export.
>      > > if i join with: "cman_tool -X -e 2 join -c gamma -m 224.0.0.1 -i
>      eth1"
>      > > and then gnbd_export hangs and dmeg reports
>      > > CMAN: Waiting to join or form a Linux-cluster
>      > > CMAN: forming a new cluster
>      > > CMANsendmsg failed: -22.
>      > > sometimes gnbd_export just says that ERROR create request failed :
>      > > Operation not supported:
>      > > So again i am stuck.
>      > >
>      > > On 11/28/05, David Teigland < teigland redhat com> wrote:
>      > > > On Mon, Nov 28, 2005 at 08:07:47PM +0200, Raz Ben-Jehuda(caro)
>      wrote:
>      > > > > tried it.
>      > > > > According to the min-gfs.txt at the GNBD  server the only thing
>      i have to do
>      > > > > is simly run gnbd_serv. but looking at the code i learned that i
>      need
>      > > > > to load cman.
>      > > > > yet this is not enough. gnbd_serv fails to load with :
>      > > > >
>      > > > > gnbd_serv: ERROR cannot get node name : No such process
>      > > > > gnbd_serv: ERROR No cluster manager is running
>      > > > > gnbd_serv: ERROR If you are not planning to use a cluster
>      manager, use -n
>      > > > >
>      > > > > does gnbd_serv depends in a cluster manager?
>      > > > > What is my mistake  ? this is not part of the cluster.
>      > > >
>      > > > min-gfs.txt is wrong, I'll fix it.  You need to use gnbd_serv -n.
>      > > > Then gnbd_serv will ignore all clustering stuff which is what you
>      want.
>      > > >
>      > > > Dave
>      > > >
>      > > >
>      > >
>      > >
>      > > --
>      > > Raz
>      > >
>      >
>      >
>      > --
>      > Raz
>      >
>      > --
>      > Linux-cluster mailing list
>      > Linux-cluster redhat com
>      > https://www.redhat.com/mailman/listinfo/linux-cluster
> 
>      --
>      Linux-cluster mailing list
>      Linux-cluster redhat com
>      https://www.redhat.com/mailman/listinfo/linux-cluster
> 
>    --
>    Raz


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