OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Software Bugs/6203
Full headers

From: andrew.morgan@sun.com
Subject: Problem & solution for back-ndb issue connecting to Cluster data nodes
Compose comment
Download message
State:
0 replies:
1 followups: 1

Major security issue: yes  no

Notes:

Notification:


Date: Thu, 09 Jul 2009 13:51:17 +0000
From: andrew.morgan@sun.com
To: openldap-its@OpenLDAP.org
Subject: Problem & solution for back-ndb issue connecting to Cluster data nodes
Full_Name: Andrew Morgan
Version: 2.4.16
OS: Ubuntu
URL: 
Submission from: (NULL) (90.193.196.76)


I am running MySQL Cluster with data nodes all running on the same host.

I configured, built and installed OpenLDAP with back-ndb but when I run "slapd
-d 5", it failed with "ndb_db_open: ni_cluster[0]->wait failed (1)".

Looking at the code in "back-ndb/init.cpp" this implies that it was able to
connect to the Cluster management node but only the first of the data nodes. The
cause of this is line 133:  "ni->ni_cluster[i]->wait_until_ready( 30, 0
);" -
the 30,0 means wait up to 30 seconds for first data node but then no time at all
for the others; the fact that the method returned 1 means that the first node
was found to be live. The second parameter should be set to a non-zero value to
give the other data nodes chance to show as being live. I changed the 0 to 30,
recompiled/installed and slapd came up correctly.

Followup 1

Download message
Date: Thu, 09 Jul 2009 15:18:29 +0100
From: Andrew Morgan <Andrew.Morgan@Sun.COM>
Subject: (ITS#6203)
To: openldap-its@openldap.org
wait_until_ready is documented here:
http://dev.mysql.com/doc/ndbapi/en/class-ndb-cluster-connection-methods.html
#class-ndb-cluster-connection-wait-until-ready 

-----Original Message-----
From: openldap-its@OpenLDAP.org [mailto:openldap-its@OpenLDAP.org] 
Sent: 09 July 2009 14:51
To: Andrew.Morgan@Sun.COM
Subject: Re: (ITS#6203) Problem & solution for back-ndb issue connecting to
Cluster data nodes


*** THIS IS AN AUTOMATICALLY GENERATED REPLY ***

Thanks for your report to the OpenLDAP Issue Tracking System.  Your
report has been assigned the tracking number ITS#6203.

One of our support engineers will look at your report in due course.
Note that this may take some time because our support engineers
are volunteers.  They only work on OpenLDAP when they have spare
time.

If you need to provide additional information in regards to your
issue report, you may do so by replying to this message.  Note that
any mail sent to openldap-its@openldap.org with (ITS#6203)
in the subject will automatically be attached to the issue report.

	mailto:openldap-its@openldap.org?subject=(ITS#6203)

You may follow the progress of this report by loading the following
URL in a web browser:
    http://www.OpenLDAP.org/its/index.cgi?findid=6203

Please remember to retain your issue tracking number (ITS#6203)
on any further messages you send to us regarding this report.  If
you don't then you'll just waste our time and yours because we
won't be able to properly track the report.

Please note that the Issue Tracking System is not intended to
be used to seek help in the proper use of OpenLDAP Software.
Such requests will be closed.

OpenLDAP Software is user supported.
	http://www.OpenLDAP.org/support/

--------------
Copyright 1998-2007 The OpenLDAP Foundation, All Rights Reserved.



Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org