无法添加新节点到现有的加莱拉群集
在我有这个错误文件。无法添加新节点到现有的加莱拉群集
WSREP:wsrep_load():加载提供程序库 '无'
,但在配置文件中/etc/mysql/config.d/galera.conf有这个
[mysqld]
#mysql settings
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
query_cache_size=0
query_cache_type=0
bind-address=0.0.0.0
#galera settings
wsrep_provider=/usr/lib/galera/libgalera_smm.so
wsrep_cluster_name="pivotrac_cluster"
wsrep_cluster_address="gcomm://192.168.1.113,192.168.1.119,192.168.1.126,192.168.1.129"
wsrep_sst_method=rsync
wsrep_sst_auth=geek:snape99
wsrep_sst_donor='dot129'
wsrep_provider_options=”gcache.size = 5G”
和文件/ usr/lib/galera/libgalera_smm.so存在。
有什么想法?
这里是在日志文件中培训相关信息
140926 13:40:52 InnoDB: The InnoDB memory heap is disabled
140926 13:40:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140926 13:40:52 InnoDB: Compressed tables use zlib 1.2.8
140926 13:40:52 InnoDB: Using Linux native AIO
140926 13:40:52 InnoDB: Initializing buffer pool, size = 100.0G
140926 13:40:57 InnoDB: Completed initialization of buffer pool
140926 13:40:57 InnoDB: highest supported file format is Barracuda.
140926 13:41:01 InnoDB: Waiting for the background threads to start
140926 13:41:02 Percona XtraDB (http://www.percona.com) 5.5.38-MariaDB-35.2 started; log sequence number 1598129
140926 13:41:02 [Note] Plugin 'FEEDBACK' is disabled.
140926 13:41:02 [Note] Server socket created on IP: '0.0.0.0'.
140926 13:41:02 [Note] Event Scheduler: Loaded 0 events
140926 13:41:02 [Note] WSREP: Read nil XID from storage engines, skipping position init
140926 13:41:02 [Note] WSREP: wsrep_load(): loading provider library 'none'
140926 13:41:02 [Note] mysqld: ready for connections.
Version: '5.5.39-MariaDB-1~trusty-wsrep' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution, wsrep_25.10.r4014
一些笔记 该服务器的Ubuntu 14.04的人则12.04(我希望能在一个时间来升级他们的操作系统之一)
我还可以登录到用root用户名和密码MariaDB的服务器..
希望有人能帮助我在这..感谢所有
我昨天遇到同样的问题。有两个地方需要检查:
确保/usr/lib/galera/libgalera_smm.so存在COS,将在/usr/lib64/galera/libgalera_smm.so位于针对x64文件平台
将这些设置/etc/mysql/config.d/server.cnf代替//etc/mysql/config.d/galera.cnf
希望它能帮助。
你galera.conf
应该按顺序命名为galera.cnf
为MySQL加载它,假设您的主MySQL配置(/etc/mysql/my.cnf
)具有!includedir /etc/mysql/config.d/
。
我不敢相信我犯了这个愚蠢的错误。非常感谢给我指针。如果你曾经在新西兰,我欠你一个巧克力鱼(这里是感谢的标准单位);) – 2016-07-26 22:28:45
谢谢你对此的帮助,自从它发生以来它一直是个谜。我确实停止了重新安装,并且这也起作用了。尽管我会保留这些笔记,因为本月晚些时候我将重建两台服务器。 – skrite 2014-11-20 14:39:51