summaryrefslogtreecommitdiff
path: root/storage/ndb/demos/2-node/2-mgm-1/template_config.ini
diff options
context:
space:
mode:
Diffstat (limited to 'storage/ndb/demos/2-node/2-mgm-1/template_config.ini')
-rw-r--r--storage/ndb/demos/2-node/2-mgm-1/template_config.ini157
1 files changed, 157 insertions, 0 deletions
diff --git a/storage/ndb/demos/2-node/2-mgm-1/template_config.ini b/storage/ndb/demos/2-node/2-mgm-1/template_config.ini
new file mode 100644
index 00000000000..3edb909609a
--- /dev/null
+++ b/storage/ndb/demos/2-node/2-mgm-1/template_config.ini
@@ -0,0 +1,157 @@
+###############################################################################
+#
+# Initial system configuration file for MySQL Cluster v3.1.0 (Demo 2)
+#
+###############################################################################
+
+[COMPUTER]
+Id: 1
+ByteOrder: Little
+HostName: localhost
+
+[COMPUTER]
+Id: 2
+ByteOrder: Little
+HostName: localhost
+
+[MGM]
+Id: 1
+ExecuteOnComputer: 1
+PortNumber: 10000
+PortNumberStats: 10001
+ArbitrationRank: 1
+
+[DB DEFAULT]
+NoOfReplicas: 2
+#LockPagesInMainMemory: N
+StopOnError: N
+#MaxNoOfConcurrentOperations: 1024
+#MaxNoOfConcurrentTransactions: 1024
+NoOfIndexPages: 200
+NoOfDataPages: 600
+#TimeBetweenLocalCheckpoints: 20
+#TimeBetweenGlobalCheckpoints: 1500
+#NoOfFragmentLogFiles: 8
+BackupMemory: 4M
+BackupDataBufferSize: 2M
+BackupLogBufferSize: 2M
+BackupWriteSize: 32k
+
+[DB]
+Id: 2
+ExecuteOnComputer: 1
+FileSystemPath: WRITE_PATH_TO_FILESYSTEM_2_HERE
+
+[DB]
+Id: 3
+ExecuteOnComputer: 2
+FileSystemPath: WRITE_PATH_TO_FILESYSTEM_3_HERE
+
+[API DEFAULT]
+ArbitrationRank: 1
+
+[API]
+Id: 4
+ExecuteOnComputer: 1
+
+[API]
+Id: 5
+ExecuteOnComputer: 1
+
+[API]
+Id: 6
+ExecuteOnComputer: 2
+
+[API]
+Id: 7
+ExecuteOnComputer: 2
+
+# Designated MySQL Server API node id
+[API]
+Id: 11
+ExecuteOnComputer: 1
+
+# Designated MySQL Server API node id
+[API]
+Id: 12
+ExecuteOnComputer: 2
+
+
+[TCP]
+NodeId1: 1
+NodeId2: 2
+PortNumber: 10002
+
+[TCP]
+NodeId1: 1
+NodeId2: 3
+PortNumber: 10003
+
+[TCP]
+NodeId1: 2
+NodeId2: 3
+PortNumber: 10004
+
+[TCP]
+NodeId1: 2
+NodeId2: 4
+PortNumber: 10005
+
+[TCP]
+NodeId1: 2
+NodeId2: 5
+PortNumber: 10006
+
+[TCP]
+NodeId1: 2
+NodeId2: 6
+PortNumber: 10007
+
+[TCP]
+NodeId1: 2
+NodeId2: 7
+PortNumber: 10008
+
+[TCP]
+NodeId1: 3
+NodeId2: 4
+PortNumber: 10009
+
+[TCP]
+NodeId1: 3
+NodeId2: 5
+PortNumber: 10010
+
+[TCP]
+NodeId1: 3
+NodeId2: 6
+PortNumber: 10011
+
+[TCP]
+NodeId1: 3
+NodeId2: 7
+PortNumber: 10012
+
+# Designated MySQL Server API node connection
+[TCP]
+NodeId1: 2
+NodeId2: 11
+PortNumber: 10013
+
+# Designated MySQL Server API node connection
+[TCP]
+NodeId1: 3
+NodeId2: 11
+PortNumber: 10014
+
+# Designated MySQL Server API node connection
+[TCP]
+NodeId1: 2
+NodeId2: 12
+PortNumber: 10015
+
+# Designated MySQL Server API node connection
+[TCP]
+NodeId1: 3
+NodeId2: 12
+PortNumber: 10016