Home  >  Article  >  Database  >  MySQL cluster的MCM下的文件目录结构管理_MySQL

MySQL cluster的MCM下的文件目录结构管理_MySQL

WBOY
WBOYOriginal
2016-06-01 13:42:43910browse

bitsCN.com
MySQL cluster的MCM下的文件目录结构管理 MCM是MySQL cluster CGE才有的,也就是收费软件,用来自动管理MySQL cluster的十分方便
我今天来看一下它的目录结构缺省所有的数据库文件会放到manager-directory目录下,建议在mcmd.ini是单独制定一个独立分区的文件系统各个节点的信息都放置到了该目录下的clusters中
 由于可以有多个cluster,会以cluster的名字建立一个子目录比如:    manager-directory/clusters/cluster03/id/datamanager-directory/clusters/cluster03/id/cfg  
 每个节点按id名字建立一个子目录数据放到data目录中配置文件放到cfg目录中,比如config.ini或my.cnf,这个多个mysql sqlnode甚至cluster都没有问题。配置文件没有放到缺省的/etc/目录下,这样更加合理,多实例也不在是什么问题啦。   作者 kerlion bitsCN.com

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn