`
xitonga
  • 浏览: 587217 次
文章分类
社区版块
存档分类
最新评论

MySQL Cluster管理节点配置文件-数据节点4G内存

 
阅读更多

自己测试机器上搭建使用,大家可以参考一下


[NDBD DEFAULT]

#TotalSendBufferMemory = 256M
NoOfReplicas=2
DataMemory=2500M
IndexMemory=256M
DataDir=/var/lib/mysql-cluster
#FileSystemPath=/data/dbdata


#Redo log
FragmentLogFileSize=32M
InitFragmentLogFiles=SPARSE
NoOfFragmentLogFiles=8
RedoBuffer=1024M


StringMemory=25
LockPagesInMainMemory=1
MaxNoOfTables=4096
MaxNoOfOrderedIndexes=2048
MaxNoOfUniqueHashIndexes=1024
MaxNoOfAttributes=24576
MaxNoOfTriggers=14336
ODirect=1


MaxNoOfConcurrentTransactions=10000
MaxNoOfConcurrentOperations=50000
MaxNoOfLocalOperations=55000
TimeBetweenGlobalCheckpoints=1000
TimeBetweenEpochs=100
TimeBetweenWatchdogCheckInitial=60000
TransactionBufferMemory=10M
DiskCheckpointSpeed=10M
DiskCheckpointSpeedInRestart=100M
TimeBetweenLocalCheckpoints=20


SchedulerSpinTimer=400
SchedulerExecutionTimer=100
RealTimeScheduler=1


BackupMaxWriteSize=1M
BackupDataBufferSize=16M
BackupLogBufferSize=4M
BackupMemory=20M


MaxNoOfExecutionThreads=4
TransactionDeadLockDetectionTimeOut=10000
BatchSizePerLocalScan=512


### Increasing the LongMessageBuffer b/c of a bug (20090903)
LongMessageBuffer=8M


### Heartbeating
HeartbeatIntervalDbDb=15000
HeartbeatIntervalDbApi=15000


[MGM DEFAULT]
PortNumber: 1186
DataDir: /var/lib/mysql-cluster1


[TCP DEFAULT]
SendBufferMemory: 64M


#######################################
# Change HOST1 to the name of the NDB_MGMD host
# Change HOST2 to the name of the NDB_MGMD host
# Change HOST3 to the name of the NDB_MGMD host
# Change HOST4 to the name of the NDBD host
# Change HOST5 to the name of the NDBD host


# Change HOST6 to the name of the NDBD host
# Change HOST7 to the name of the NDBD host
# Change HOST8 to the name of the NDBD host
# Change HOST9 to the name of the NDBD host
#######################################


[NDB_MGMD]
NodeId: 1
HostName: 10.100.200.36
ArbitrationRank: 1


[NDBD]
NodeId: 4
HostName: 10.100.200.37


[NDBD]
NodeId: 5
HostName: 10.100.200.38


#[NDBD]
#NodeId:
#HostName:


######################################################
# Note: The following can be MySQLD connections or #
# NDB API application connecting to the cluster #
######################################################


[API]
NodeId: 10
HostName: 10.100.200.39
ArbitrationRank: 2


[API]
NodeId: 11
HostName: 10.100.200.39
ArbitrationRank: 2


[API]
NodeId: 12
HostName: 10.100.200.39
ArbitrationRank: 2


[API]
NodeId: 13
HostName: 10.100.200.39
ArbitrationRank: 2


[API]
NodeId: 14
HostName: 10.100.200.41
ArbitrationRank: 2


[API]
NodeId: 15
HostName: 10.100.200.41
ArbitrationRank: 2


[API]
NodeId: 16
HostName: 10.100.200.41
ArbitrationRank: 2


[API]
NodeId: 17
HostName: 10.100.200.41
ArbitrationRank: 2


[API]
[API]




#[API]
#Id: 12
#HostName: HOST3
分享到:
评论

相关推荐

    MySQL Cluster 8.0.27(mysql-cluster-8.0.27-winx64.zip)

    MySQL Cluster 8.0.27( Microsoft Windows) 适用于Windows (x86, 64-bit), ZIP Archive

    Mysql 高可用 InnoDB Cluster 多节点搭建过程

    Mysql 高可用 InnoDB Cluster 多节点搭建过程

    MySQL Cluster 配置详细介绍

    在MySQL Cluster 环境的配置文件 config.ini 里面,每一类节点都有两个(或以上)的相应配置项组,每一类节点的配置项都主要由两部分组成,一部分是同类所有节点相同的配置项组,在[NDB_MGM DEFAULT]、[NDBD DEFAULT...

    mysql-cluster操作文档

    说明:操作以北京环境为例,广东的操作只需修改相应的ip即可。 1. 启动 管理节点 在 192 .16.12.131 上执

    MySQL Cluster 7.3.7+CentOS7集群配置入门 MySQL双管理节点配置入门

    NULL 博文链接:https://wilr.iteye.com/blog/2168659

    MySQLCluster(MySQL集群)V7.6.10官方安装版(附安装配置教程)64位

    MySQL Cluster 是专门用来做MySQL集群的程序,简单来讲它是一种技术,... MySQL Cluster 由一组计算机构成,每台计算机上均运行着多种进程,包括MySQL服务器,NDB Cluster 的数据节点,管理服务器,以及(可能)专门的

    利用MySQL Cluster 7.0 + LVS 搭建高可用环境

    是这样安排这些服务器的,192.168.0.2 作为 MySQL Cluster 的管理节点,2 ~ 6 既做数据节点(DATA node),也做SQL节点(SQL node),7 ~ 10 也做SQL节点。LVS采用 VS/DR 的模式,因此把 192.168.0.2 也同时作为 LVS 的 ...

    CentOS安装Mysql_Cluster集群

    CentOS安装Mysql_Cluster集群---1管理节点2数据节点2SQL节点(已测试完成)

    mysql cluster集群安装以及故障处理

    MySQL Cluster 由一组计算机构成,每台计算机上均运行着多种进程,包括MySQL服务器,NDB Cluster 的数据节点,管理服务器,以及(可能)专门的数据访问程序。关于 Cluster 中这些组件的关系。 文档包含如下: 1、...

    mysql-cluster双机集群.rar

    linux搭建mysql-cluster双机集群 管理节点:192.168.42.137.192.168.42.139 数据节点-SQL节点IP:192.168.42.137 数据节点-SQL节点IP:192.168.42.139 serverA:192.168.42.137 serverB:192.168.42.139 不管centos,...

    MySQL Cluster同步集群搭建

    MYSQL Cluster同步集群的搭建!实现的功能就是节点间的数据同步

    MySQL Cluster 3台机器搭建集群环境

    ndb是一种存储引擎,通常在mysql cluster中使用,MySQL Cluster 是一个基于NDB Cluster 存储引擎的完整的分布式数据库系统。 和Oracle Real Cluster Application 不太一样的是,MySQL Cluster 是一个Share Nothing ...

    win2003服务器下配置 MySQL 群集(Cluster)的方法

    MySQL 群集是一种技术,该技术允许在无共享的系统中... 管理服务器(MGM节点)负责管理 Cluster 配置文件和 Cluster 日志。Cluster 中的每个节点从管理服务器检索配置数据。当数据节点内出现新的事件时,节点将关于这类

    MySQL集群

    管理节点(MGM):管理MySQL Cluster内的其他节点,提供配置数据,启动并停止节点、运行备份等 数据节点:保存Cluster的数据 SQL节点:用来访问Cluster数据的节点 在NDB集群中这些组件的关系如上所示:所有这些程序...

    unbuntu详细安装mysqlcluster

    一台虚拟机中安装一个管理节点,2个数据几点,2个SQL节点,初学者通过一台虚拟机就可以搭建起mysqlcluster环境,进行测试方便,不需要多台机器。

    mysql-cluster:启动并运行mysql-cluster的示例

    带有Docker-ComposeMySQL Cluster安装示例设置一个具有两个数据节点,一个应用程序节点和一个管理节点MySQL集群。笔记创建的顺序很重要; 管理节点必须最后创建。 最基本的mysql-cluster.cnf显示了群集所需的最少...

    MySQL集群配置与使用(Windows环境)

    Windows环境下MySQL集群的搭建,使用了三个节点,第一个节点作为管理节点,第二个节点作为数据节点A和SQL节点A,第三个节点作为数据节点B和SQL节点B。 此外,还演示了如何使用图形化客户端管理MySQL集群,新建数据库...

    MySQLCluster初步学习资料整理

    简单的说,MySQLCluster实际上是...架构如下图所示:这类节点的作用是管理MySQLCluster内的其他节点,如提供配置数据、启动并停止节点、运行备份等。由于这类节点负责管理其他节点的配置,应在启动其他节点之前首先启动

Global site tag (gtag.js) - Google Analytics