Hi

Perhaps mysql-ndb-4.1 and mysql-ndb-mgm-4.1 packages would be for the best. 
Since mysql-server ( the mysqld and stuff is ( an optional ) part of the 
cluster too ( as sql nodes ) )

These are the files that should be in the ndb-mgm pkg:

usr/bin/ndb_mgm
usr/sbin/ndb_mgmd
var/lib/mysql-cluster/config.ini

Contents of config.ini:

[NDBD DEFAULT]
NoOfReplicas=2
DataMemory=1000MB
IndexMemory=250MB
MaxNoOfTables=256
MaxNoOfOrderedIndexes=256
MaxNoOfUniqueHashIndexes=128
[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]
# Managment Server
[NDB_MGMD]
Id=1
HostName=192.168.1.90            # the IP of THIS SERVER
# Storage Engines
[NDBD]
Id=2
HostName=192.168.1.91            # the IP of the FIRST storage node
DataDir= /var/lib/mysql-cluster
[NDBD]
Id=3
HostName=192.168.1.90            # the IP of the SECOND storage node
DataDir=/var/lib/mysql-cluster

[MYSQLD]
# MYSQL-CLUSTER SQL NODE 1
Id=4
HostName=192.168.1.101

[MYSQLD]
# MYSQL-CLUSTER SQL NODE 2
Id=5
HostName=192.168.1.102


ndb-mgm can be a totally stand-alone pkg.

These are the files that should be in the ndb pkg:

usr/bin/ndb_delete_all                                      
usr/bin/ndb_desc                                            
usr/bin/ndb_drop_index                                      
usr/bin/ndb_drop_table                                      
usr/bin/ndb_restore                                         
usr/bin/ndb_select_all                                      
usr/bin/ndb_select_count                                    
usr/bin/ndb_show_tables                                     
usr/bin/ndb_waiter
usr/sbin/ndbd
usr/sbin/ndb_cpcd
etc/init.d/mysql-ndb



/etc/init.d/mysql-ndb should just startup "ndb"

Also, debconf could ask the ip of the management server ( ndb-mgm ). This is 
filled in like this in /etc/mysql/my.cnf:

[mysql_cluster]
ndb-connectstring=192.168.1.90   # the IP of the MANAGMENT SERVER

I hope this at least helps you a little further...
Don't hesitate to ask for any more help! I'd be glad to help out ;)

Thanks!

-- 
Bart Verwilst
Linux R&D Engineer
Hostbasket NV


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to