浏览代码

Fixing galera cluster size = 1 restart issue.

Galera should start normaly after reboot

Change-Id: I4f1bfb0f0ba8ef4f18bc89e8cf2bc6870a2278a2
master
Dzmitry Stremkouski 6 年前
父节点
当前提交
fd31960684
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      galera/files/my.cnf

+ 4
- 0
galera/files/my.cnf 查看文件

@@ -61,7 +61,11 @@ innodb_flush_method=O_DIRECT
innodb_doublewrite=0
innodb_autoinc_lock_mode=2
innodb_locks_unsafe_for_binlog=1
{%- if service.members|length > 1 %}
wsrep_cluster_address="gcomm://{% for member in service.members %}{{ member.host}}:4567{% if not loop.last %},{% endif %}{% endfor %}/?pc.wait_prim=no"
{%- else %}
wsrep_cluster_address="gcomm://"
{%- endif %}
wsrep_provider={{ service.wsrep_provider }}
wsrep_cluster_name="openstack"


正在加载...
取消
保存