mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
117 lines
2.3 KiB
Text
117 lines
2.3 KiB
Text
|
[atrt]
|
||
|
basedir=/home/jonas/atrt
|
||
|
baseport=10000
|
||
|
clusters = .master
|
||
|
clusters= .master,.slave
|
||
|
replicate = 1.master:1.slave
|
||
|
replicate = 2.master:2.slave
|
||
|
|
||
|
[cluster_config]
|
||
|
NoOfReplicas= 2
|
||
|
IndexMemory= 10M
|
||
|
DataMemory= 50M
|
||
|
MaxNoOfConcurrentScans= 100
|
||
|
Diskless = 1
|
||
|
|
||
|
[cluster_config.master]
|
||
|
ndb_mgmd = local1
|
||
|
ndbd = local1,local1
|
||
|
mysqld = local1,local1
|
||
|
ndbapi= local1
|
||
|
NoOfReplicas= 2
|
||
|
|
||
|
[cluster_config.slave]
|
||
|
ndb_mgmd = local1
|
||
|
ndbd = local1
|
||
|
ndbapi= local1
|
||
|
mysqld = local1,local1
|
||
|
NoOfReplicas= 1
|
||
|
|
||
|
[mysqld]
|
||
|
skip-innodb
|
||
|
skip-bdb
|
||
|
|
||
|
#
|
||
|
# Generated by atrt
|
||
|
# Mon May 29 23:27:49 2006
|
||
|
|
||
|
[mysql_cluster.master]
|
||
|
ndb-connectstring= local1:10000
|
||
|
|
||
|
[cluster_config.ndb_mgmd.1.master]
|
||
|
PortNumber= 10000
|
||
|
|
||
|
[cluster_config.ndbd.1.master]
|
||
|
FileSystemPath= /home/jonas/atrt/cluster.master/ndbd.1
|
||
|
|
||
|
[cluster_config.ndbd.2.master]
|
||
|
FileSystemPath= /home/jonas/atrt/cluster.master/ndbd.2
|
||
|
|
||
|
[mysqld.1.master]
|
||
|
datadir= /home/jonas/atrt/cluster.master/mysqld.1
|
||
|
socket= /home/jonas/atrt/cluster.master/mysqld.1/mysql.sock
|
||
|
port= 10001
|
||
|
server-id= 1
|
||
|
log-bin
|
||
|
ndb-connectstring= local1:10000
|
||
|
ndbcluster
|
||
|
|
||
|
[client.1.master]
|
||
|
socket= /home/jonas/atrt/cluster.master/mysqld.1/mysql.sock
|
||
|
port= 10001
|
||
|
|
||
|
[mysqld.2.master]
|
||
|
datadir= /home/jonas/atrt/cluster.master/mysqld.2
|
||
|
socket= /home/jonas/atrt/cluster.master/mysqld.2/mysql.sock
|
||
|
port= 10002
|
||
|
server-id= 2
|
||
|
log-bin
|
||
|
ndb-connectstring= local1:10000
|
||
|
ndbcluster
|
||
|
|
||
|
[client.2.master]
|
||
|
socket= /home/jonas/atrt/cluster.master/mysqld.2/mysql.sock
|
||
|
port= 10002
|
||
|
|
||
|
[mysql_cluster.slave]
|
||
|
ndb-connectstring= local1:10003
|
||
|
|
||
|
[cluster_config.ndb_mgmd.1.slave]
|
||
|
PortNumber= 10003
|
||
|
|
||
|
[cluster_config.ndbd.1.slave]
|
||
|
FileSystemPath= /home/jonas/atrt/cluster.slave/ndbd.1
|
||
|
|
||
|
[mysqld.1.slave]
|
||
|
datadir= /home/jonas/atrt/cluster.slave/mysqld.1
|
||
|
socket= /home/jonas/atrt/cluster.slave/mysqld.1/mysql.sock
|
||
|
port= 10004
|
||
|
server-id= 3
|
||
|
master-host= local1
|
||
|
master-port= 10001
|
||
|
master-user= root
|
||
|
master-password= ""
|
||
|
ndb-connectstring= local1:10003
|
||
|
ndbcluster
|
||
|
|
||
|
[client.1.slave]
|
||
|
socket= /home/jonas/atrt/cluster.slave/mysqld.1/mysql.sock
|
||
|
port= 10004
|
||
|
|
||
|
[mysqld.2.slave]
|
||
|
datadir= /home/jonas/atrt/cluster.slave/mysqld.2
|
||
|
socket= /home/jonas/atrt/cluster.slave/mysqld.2/mysql.sock
|
||
|
port= 10005
|
||
|
server-id= 4
|
||
|
master-host= local1
|
||
|
master-port= 10002
|
||
|
master-user= root
|
||
|
master-password= ""
|
||
|
ndb-connectstring= local1:10003
|
||
|
ndbcluster
|
||
|
|
||
|
[client.2.slave]
|
||
|
socket= /home/jonas/atrt/cluster.slave/mysqld.2/mysql.sock
|
||
|
port= 10005
|
||
|
|