MySQL Forums
Forum List  »  NDB clusters

location of my.cnf
Posted by: Jacky Shu
Date: June 27, 2006 06:06AM

I am having the following question:
if my.cnf is under /etc, i can start ndbd by "ndbd --initial"; if my.cnf is not uder /etc, i have to use "ndbd --connect-string=mgm_node --initial". I guess ndbd has no way to tell where my.cnf is in this case.

another question is that i have two SQL nodes in cluster, but i can't use SELECT on one SQL node (the error msg is: "1297 - got temporary error 4028 'node failure caused abort of transaction' from ndbcluster"), although I can DELETE and CREATE TABLE on it. another SQL works fine.
I used ndb_mgm to show status, everything looks fine.

I checked ndb_1_cluster.log on management node, I found this:

2006-06-27 09:08:16 [MgmSrvr] WARNING -- Node 2: Node 4 missed heartbeat 2
2006-06-27 09:08:17 [MgmSrvr] ALERT -- Node 2: Node 4 Disconnected
2006-06-27 09:08:17 [MgmSrvr] INFO -- Node 2: Communication to Node 4 closed
2006-06-27 09:08:20 [MgmSrvr] INFO -- Node 2: Communication to Node 4 opened
2006-06-27 09:08:20 [MgmSrvr] INFO -- Node 2: Node 4 Connected
2006-06-27 09:08:21 [MgmSrvr] INFO -- Node 2: Node 4: API version 5.0.22

Node 4 is the SQL node that I couldn't do SELECT.

Thanks.

Jacky Shu

OCPDBA, MCDBA



Edited 1 time(s). Last edit at 06/27/2006 06:14AM by Jue (Jacky) Shu.

Options: Reply• Quote


Subject
Views
Written By
Posted
location of my.cnf
18894
June 27, 2006 06:06AM
5391
June 28, 2006 01:42AM
5603
June 28, 2006 08:06AM
2943
June 28, 2006 10:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.