summaryrefslogtreecommitdiff
path: root/support-files/ndb-config-2-node.ini.sh
diff options
context:
space:
mode:
authorunknown <tulin@mysql.com>2005-02-03 17:58:02 +0100
committerunknown <tulin@mysql.com>2005-02-03 17:58:02 +0100
commite244a3a9b4a9d9fd9dad63338ead667cf4b9a959 (patch)
tree761006b9f2f6997460a0c1a2a90313352a6b4e38 /support-files/ndb-config-2-node.ini.sh
parent12a0a21c5ee7d4dec9c6199873933b65964c7ef2 (diff)
downloadmariadb-git-e244a3a9b4a9d9fd9dad63338ead667cf4b9a959.tar.gz
made an .sh file of ndb-config-2-node.ini instead
support-files/ndb-config-2-node.ini.sh: Rename: support-files/ndb-config-2-node.ini -> support-files/ndb-config-2-node.ini.sh
Diffstat (limited to 'support-files/ndb-config-2-node.ini.sh')
-rw-r--r--support-files/ndb-config-2-node.ini.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/support-files/ndb-config-2-node.ini.sh b/support-files/ndb-config-2-node.ini.sh
new file mode 100644
index 00000000000..be80f1dd0b3
--- /dev/null
+++ b/support-files/ndb-config-2-node.ini.sh
@@ -0,0 +1,43 @@
+# Example Ndbcluster storage engine config file.
+#
+[ndbd default]
+NoOfReplicas= 2
+MaxNoOfConcurrentOperations= 10000
+DataMemory= 80M
+IndexMemory= 24M
+TimeBetweenWatchDogCheck= 30000
+DataDir= /var/lib/mysql-cluster
+MaxNoOfOrderedIndexes= 512
+
+[ndb_mgmd default]
+DataDir= /var/lib/mysql-cluster
+
+[ndb_mgmd]
+Id=1
+HostName= localhost
+
+[ndbd]
+Id= 2
+HostName= localhost
+
+[ndbd]
+Id= 3
+HostName= localhost
+
+[mysqld]
+Id= 4
+
+[mysqld]
+Id= 5
+
+[mysqld]
+Id= 6
+
+[mysqld]
+Id= 7
+
+# choose an unused port number
+# in this configuration 63132, 63133, and 63134
+# will be used
+[tcp default]
+PortNumber= 63132