<div dir="ltr">Hi, <div><br></div><div>I'm using pacemaker and corosync to bootstrap de cluster from zero.</div><div><br></div><div>Thanks a lot</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-11 6:17 GMT+01:00 Hao QingFeng <span dir="ltr"><<a href="mailto:haoqf@linux.vnet.ibm.com" target="_blank">haoqf@linux.vnet.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<p><br>
</p>
<br>
<div class="m_-5401481479166804108moz-cite-prefix">在 2017-01-06 18:27, Oscar Segarra 写道:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi, I get errors like the following:
<div><br>
</div>
<div>
<div>017-01-06 11:25:47 139902389713152 [ERROR] WSREP: failed
to open gcomm backend connection: 131: invalid UUID:
00000000 (FATAL)</div>
<div> at gcomm/src/pc.cpp:PC():267</div>
<div>2017-01-06 11:25:47 139902389713152 [ERROR] WSREP:
gcs/src/gcs_core.cpp:gcs_core_<wbr>open():208: Failed to open
backend connection: -131 (State not recoverable)</div>
<div>2017-01-06 11:25:47 139902389713152 [ERROR] WSREP:
gcs/src/gcs.cpp:gcs_open():<wbr>1380: Failed to open channel
'vdic-galera-cluster' at
'gcomm://vdicdb01-priv,<wbr>vdicdb02-priv,vdicdb03-priv': -131
(State not recoverable)</div>
<div>2017-01-06 11:25:47 139902389713152 [ERROR] WSREP: gcs
connect failed: State not recoverable</div>
<div>2017-01-06 11:25:47 139902389713152 [ERROR] WSREP:
wsrep::connect(gcomm://<wbr>vdicdb01-priv,vdicdb02-priv,<wbr>vdicdb03-priv)
failed: 7</div>
<div>2017-01-06 11:25:47 139902389713152 [ERROR] Aborting</div>
</div>
<div><br>
</div>
<div>Of course, three nodes are started up!</div>
<div><br>
</div>
</div>
</blockquote></span>
I am not sure what kind of cluster you used in your env, galera
cluster for mysql or MariaDB galera cluster? how did you configure
and start the galera cluster?<br>
I set MariaDB galera cluster up successfully before. And here is my
understanding on the notes:<br>
After installed and configured,<br>
1. Start the first node with galera_new_cluster, but the left nodes
use service mysql start.<br>
2. Turn on the firewall's ports accordingly on each node. <br>
<a class="m_-5401481479166804108moz-txt-link-freetext" href="http://docs.openstack.org/ha-guide/shared-database-configure.html" target="_blank">http://docs.openstack.org/ha-<wbr>guide/shared-database-<wbr>configure.html</a><br>
<br>
For debug purpose, you can comment out the nodes in gcomm and change
it to be "wsrep_cluster_address=gcomm:/<wbr>/", then try to start it and
the wsrep_cluster_size<br>
should be 1 if successfully.<br>
Reflink:<br>
<a class="m_-5401481479166804108moz-txt-link-freetext" href="https://mariadb.com/kb/en/mariadb/getting-started-with-mariadb-galera-cluster/" target="_blank">https://mariadb.com/kb/en/<wbr>mariadb/getting-started-with-<wbr>mariadb-galera-cluster/</a><br>
Thanks<br>
QingFeng Hao<div><div class="h5"><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>Thanks a lot.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-01-06 11:14 GMT+01:00 Oscar
Segarra <span dir="ltr"><<a href="mailto:oscar.segarra@gmail.com" target="_blank">oscar.segarra@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>In my environment I'm not able to bootstrap the
cluster after a crash and I thought it could be a
configuration problem at cluster level and I wanted to
know if anybody has been able to configure it.<br>
</div>
<div><br>
</div>
<div>Thanks a lot.</div>
</div>
<div class="m_-5401481479166804108HOEnZb">
<div class="m_-5401481479166804108h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-01-06 9:34 GMT+01:00
Damien Ciabrini <span dir="ltr"><<a href="mailto:dciabrin@redhat.com" target="_blank">dciabrin@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey
Oscar,<br>
<span><br>
----- Original Message -----<br>
> Hi,<br>
><br>
> Anybody has been able to set up a Galera
cluster with the latest available<br>
> version of Galera?<br>
><br>
> Can anybody paste the configuration?<br>
><br>
> I have tested it but I have not been able
to make it run resiliently.<br>
><br>
</span>Can you be more specific on why it wouldn't
run "resiliently"?<br>
I just saw you've asked question on codership
group re. bootstrapping the<br>
cluster, is it related?<br>
<span><br>
> Any help will be welcome!<br>
><br>
> Thanks a lot.<br>
><br>
><br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Users mailing list: <a href="mailto:Users@clusterlabs.org" target="_blank">Users@clusterlabs.org</a><br>
> <a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/m<wbr>ailman/listinfo/users</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc<wbr>/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org" target="_blank">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/m<wbr>ailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc<wbr>/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_-5401481479166804108mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list: <a class="m_-5401481479166804108moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org" target="_blank">Users@clusterlabs.org</a>
<a class="m_-5401481479166804108moz-txt-link-freetext" href="http://lists.clusterlabs.org/mailman/listinfo/users" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a>
Project Home: <a class="m_-5401481479166804108moz-txt-link-freetext" href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a>
Getting started: <a class="m_-5401481479166804108moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="m_-5401481479166804108moz-txt-link-freetext" href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><pre class="m_-5401481479166804108moz-signature" cols="72">--
QingFeng Hao(Robin)</pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>