| 1 |
!include include/default_mysqld.cnf |
| 2 |
!include include/default_ndbd.cnf |
| 3 |
!include my.cnf |
| 4 |
|
| 5 |
[cluster_config.1] |
| 6 |
NoOfReplicas= 2 |
| 7 |
DataMemory= 100M |
| 8 |
#NoOfFragmentLogFiles= 4 |
| 9 |
NoOfFragmentLogFiles= 16 |
| 10 |
#FragmentLogFileSize= 80M |
| 11 |
FragmentLogFileSize= 100M |
| 12 |
#RedoBuffer= 100M |
| 13 |
RedoBuffer= 200M |
| 14 |
#TransactionDeadlockDetectionTimeout= 7500 |
| 15 |
ndbd=,,, |
| 16 |
ndb_mgmd= |
| 17 |
mysqld=, |
| 18 |
ndbapi=,,,,,,,,,,, |
| 19 |
|
| 20 |
[mysqld] |
| 21 |
# Make all mysqlds use cluster |
| 22 |
#ndbcluster |
| 23 |
#ndb-wait-connected=20 |
| 24 |
#ndb-wait-setup=600 |
| 25 |
ndb-cluster-connection-pool=2 |
| 26 |
#ndb-extra-logging=99 |
| 27 |
|
| 28 |
#connect_timeout=60 |
| 29 |
#delayed_insert_timeout =1300 |
| 30 |
#interactive_timeout =28800 |
| 31 |
#net_read_timeout =1130 |
| 32 |
net_write_timeout =1160 |
| 33 |
#replica_net_timeout =1120 |
| 34 |
#Table_lock_wait_timeout=1150 |
| 35 |
#wait_timeout = 28800 |
| 36 |
|
| 37 |
[cluster_config.mysqld.2.1] |
| 38 |
NodeId=16 |
| 39 |
Dedicated=1 |
| 40 |
|
| 41 |
[cluster_config.ndbapi.1.1] |
| 42 |
NodeId=32 |
| 43 |
Dedicated=1 |
| 44 |
|
| 45 |
[cluster_config.ndbapi.2.1] |
| 46 |
NodeId=48 |
| 47 |
Dedicated=1 |
| 48 |
|
| 49 |
[mysqld.1.1] |
| 50 |
skip-ndb-nodeid |
| 51 |
ndb-cluster-connection-pool-nodeids=49,32 |
| 52 |
|
| 53 |
[mysqld.2.1] |
| 54 |
ndb-cluster-connection-pool-nodeids=16,48 |
| 55 |
|
| 56 |
[cluster_config.ndbd.3.1] |
| 57 |
Nodegroup=65536 |
| 58 |
|
| 59 |
[cluster_config.ndbd.4.1] |
| 60 |
Nodegroup=65536 |
| 61 |
|
| 62 |
[ENV] |
| 63 |
NDB_CONNECTSTRING= @mysql_cluster.1.ndb_connectstring |
| 64 |
MASTER_MYPORT= @mysqld.1.1.port |
| 65 |
MASTER_MYPORT1= @mysqld.2.1.port |
| 66 |
|
| 67 |
NDB_BACKUP_DIR= @cluster_config.ndbd.1.1.BackupDataDir |
| 68 |
|
| 69 |
# Test will pass some table names that includes $ to command line interpreter. |
| 70 |
# $ is expanded in bourne shell, but not expanded in Windows command line. |
| 71 |
# The environment variable below makes sure that xxx$BLOB is passed as xxx$BLOB |
| 72 |
# in either case. |
| 73 |
BLOB=$BLOB |
| 74 |
unique=$unique |