Re: data loss after restart the cluster
#cat /var/lib/mysql-cluster/config.ini
[NDBD DEFAULT]
NoOfReplicas=2
#table related things
DataMemory=1G
IndexMemory=1G
MaxNoOfTables=4096
MaxNoOfAttributes=24756
MaxNoOfOrderedIndexes=2048
MaxNoOfUniqueHashIndexes=512
[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]
# Section for the cluster management node
[NDB_MGMD]
# IP address of the management node (server1)
NodeId=1
HostName=10.0.3.155
DataDir=/var/lib/mysql-cluster
# Section for the storage nodes
[NDB_MGMD]
# IP address of the management node (server1)
NodeId=6
HostName=10.0.3.193
DataDir=/var/lib/mysql-cluster
# Section for the storage nodes
[NDBD]
# IP address of the first data node (Server2)
NodeId=2
HostName=10.0.3.46
DataDir=/var/lib/mysql-cluster
[NDBD]
# IP address of the second storage node (Server3)
NodeId=3
HostName=10.0.3.200
DataDir=/var/lib/mysql-cluster
# one [MYSQLD] per storage node
[MYSQLD]
NodeId=4
HostName=10.0.3.11
[MYSQLD]
NodeId=5
HostName=10.0.3.18
Subject
Views
Written By
Posted
1679
January 20, 2015 11:01PM
738
January 21, 2015 05:16AM
1294
January 22, 2015 02:41AM
755
January 22, 2015 05:34AM
Re: data loss after restart the cluster
917
January 22, 2015 06:26AM
709
January 27, 2015 12:27AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.