MySQL Forums
Forum List  »  NDB clusters

NDB configuration
Posted by: Tarmo Loorits
Date: April 04, 2005 08:42AM

I have mysql-max-4.1.10a-pc-linux-gnu-i686.tar.gz installed but my attempt to start cluster fails at first round since NDB configuration brought in example does not seem work. It starts when I remove all 'datadir=' lines but how can I then separate different nodes on same host? What am I missing?

![root@test1:/var/data/conf]#> cat config.ini
![NDBD DEFAULT]
!NoOfReplicas=2
!DataMemory=20M
!IndexMemory=12M
!
![TCP DEFAULT]
!portnumber=2202
!
![NDB_MGMD]
!hostname=127.0.0.1
!datadir=/var/data/conf
!
![NDBD]
!hostname=127.0.0.1
!datadir=/var/data/node1
!
![NDBD]
!hostname=127.0.0.1
!datadir=/var/data/node2
!
![MYSQLD]
!hostname=127.0.0.1
!datadir=/var/data/mysqld
!
![root@test1:/var/data/conf]#> /usr/local/mysql/bin/ndb_mgmd -f config.ini
!Error line 19: [API] Unknown parameter: datadir
!Error line 19: Could not parse name-value pair in config file.
!Unable to read config file

Options: ReplyQuote


Subject
Views
Written By
Posted
NDB configuration
7079
April 04, 2005 08:42AM
2150
April 04, 2005 09:48AM
2118
April 05, 2005 09:54AM
2021
June 10, 2005 10:42PM
1872
June 03, 2005 01:12PM
1719
June 13, 2005 05:58AM
1707
June 13, 2005 08:48AM
1926
June 16, 2005 10:38PM
1907
September 24, 2005 07:35PM


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.