Bug #8103 Configuration handling error
Submitted: 24 Jan 2005 9:32 Modified: 24 Jan 2005 9:35
Reporter: Mikael Ronström Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:latest bk 5.0 OS:Mac OS X (Mac OS X 10.3)
Assigned to: CPU Architecture:Any

[24 Jan 2005 9:32] Mikael Ronström
Description:
Used to config file below

###############################################################################
#
#  Initial system configuration file for NDB Cluster v2.00  (Demo 2)
#
#  Alzato, Ericsson Business Innovation  
#  Web: www.alzato.com, Email: support@alzato.com
#
###############################################################################
[DB DEFAULT]
NoOfReplicas: 2
MaxNoOfConcurrentOperations: 10000
DataMemory: 40M
IndexMemory: 12M
BackupMemory: 4M
BackupDataBufferSize: 2M
BackupLogBufferSize: 2M
BackupWriteSize: 32k
TimeBetweenLocalCheckpoints: 20
TimeBetweenGlobalCheckpoints: 1500
NoOfFragmentLogFiles: 4
TimeBetweenWatchDogCheck: 30000
TransactionInactiveTimeOut: 5000
MaxNoOfConcurrentTransactions: 2024
MaxNoOfConcurrentScans: 150
LockPagesInMainMemory: N
StopOnError: Y
[COMPUTER DEFAULT]
HostName: localhost

[COMPUTER]
Id: 1

[MGM]
Id: 1
ExecuteOnComputer: 1
ArbitrationRank: 2

[DB]
Id: 2
ExecuteOnComputer: 1
FileSystemPath:/Users/mikron/configs/2-node/2-db-2/filesystem

[DB]
Id: 3
ExecuteOnComputer: 1
FileSystemPath: /Users/mikron/configs/2-node/2-db-3/filesystem

[API DEFAULT]
ArbitrationRank: 1

[API]
Id: 4
ExecuteOnComputer: 1

[API]
Id: 5
ExecuteOnComputer: 1

[API]
Id: 6
ExecuteOnComputer: 1

[API]
Id: 7
ExecuteOnComputer: 1

How to repeat:
Start management server
ndb_mgmd
Start ndbd server
ndbd --install

Gives error log message:
Date/Time: Monday 24 January 2005 - 10:27:34
Type of error: error
Message: Invalid Configuration fetched from Management Server
Fault ID: 2350
Problem data: Unable to alloc node id
Object of reference: Could not alloc node id at localhost port 1186: Id 1 configured as ndb_mgmd(MGM), connect attempted as ndbd(NDB).
ProgramName: ndbd
ProcessID: 661
TraceFile: <no tracefile>
***EOM***
[24 Jan 2005 9:35] Mikael Ronström
Was due to Ndb.cfg in directory where started (=> thus not a bug)