MySQL Forums
Forum List  »  NDB clusters

Connect to a NDB Cluster
Posted by: Christoph Süß
Date: December 26, 2004 03:07PM

Hello,
i have set up my ndb cluster successfully with the following config:

[CONFIG]
# file "config.ini" - showing minimal setup consisting of 1 DB node,
# 1 management server, and 3 MySQL servers.
# The empty default sections are not required, and are shown only for
# the sake of completeness.
# Storage nodes are required to provide a hostname but MySQL Servers
# are not.
# If you don't know the hostname for your machine, use localhost.
# The DataDir parameter also has a default value, but it is recommended to
# set it explicitly.
# NDBD, MYSQLD, and NDB_MGMD are aliases for DB, API, and MGM respectively
#
[NDBD DEFAULT]
NoOfReplicas=1

[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]

[NDB_MGMD]
HostName= s3.domain.de

[NDBD]
HostName= s3.domain.de
DataDir= /var/lib/mysql-cluster

[MYSQLD]
HostName= s3.domain.de

[MYSQLD]
HostName= s2.domain.de

[MYSQLD]
HostName= s1.domain.de

[/CONFIG]

The ndb_mgm program shows me following information:

-- NDB Cluster -- Management Client --
Connecting to Management Server: localhost:2200
NDB> show
Cluster Configuration
---------------------
[ndbd(NDB)] 1 node(s)
id=2 @127.0.0.1 (Version: 3.5.3, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @217.zz.yy.xx (Version: 3.5.3)

[mysqld(API)] 3 node(s)
id=3 @127.0.0.1 (Version: 3.5.3)
id=4 (not connected, accepting connect from s2.domain.de)
id=5 (not connected, accepting connect from s1.domain.de)

Ihave also 3 SQL Servers. But now my main question:
How can I connect to my cluster (s3.domain.de) from s2.domain.de and s1.domain.de ?

I cant find something about this. Please help me :D

Bye

Options: ReplyQuote


Subject
Views
Written By
Posted
Connect to a NDB Cluster
3723
December 26, 2004 03:07PM
2331
December 27, 2004 04:36AM
2411
December 27, 2004 01:41PM
2562
December 28, 2004 05:53AM


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.