[ClusterLabs] Galera 10.1 cluster

Hao QingFeng haoqf at linux.vnet.ibm.com
Wed Jan 11 06:17:48 CET 2017



在 2017-01-06 18:27, Oscar Segarra 写道:
> Hi, I get errors like the following:
>
> 017-01-06 11:25:47 139902389713152 [ERROR] WSREP: failed to open gcomm 
> backend connection: 131: invalid UUID: 00000000 (FATAL)
>          at gcomm/src/pc.cpp:PC():267
> 2017-01-06 11:25:47 139902389713152 [ERROR] WSREP: 
> gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend 
> connection: -131 (State not recoverable)
> 2017-01-06 11:25:47 139902389713152 [ERROR] WSREP: 
> gcs/src/gcs.cpp:gcs_open():1380: Failed to open channel 
> 'vdic-galera-cluster' at 
> 'gcomm://vdicdb01-priv,vdicdb02-priv,vdicdb03-priv': -131 (State not 
> recoverable)
> 2017-01-06 11:25:47 139902389713152 [ERROR] WSREP: gcs connect failed: 
> State not recoverable
> 2017-01-06 11:25:47 139902389713152 [ERROR] WSREP: 
> wsrep::connect(gcomm://vdicdb01-priv,vdicdb02-priv,vdicdb03-priv) 
> failed: 7
> 2017-01-06 11:25:47 139902389713152 [ERROR] Aborting
>
> Of  course, three nodes are started up!
>
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?
I set MariaDB galera cluster up successfully before. And here is my 
understanding on the notes:
After installed and configured,
1. Start the first node with galera_new_cluster, but the left nodes use 
service mysql start.
2. Turn on the firewall's ports accordingly on each node.
http://docs.openstack.org/ha-guide/shared-database-configure.html

For debug purpose, you can comment out the nodes in gcomm and change it 
to be "wsrep_cluster_address=gcomm://", then try to start it and the 
wsrep_cluster_size
should be 1 if successfully.
Reflink:
https://mariadb.com/kb/en/mariadb/getting-started-with-mariadb-galera-cluster/
Thanks
QingFeng Hao

> Thanks a lot.
>
> 2017-01-06 11:14 GMT+01:00 Oscar Segarra <oscar.segarra at gmail.com 
> <mailto:oscar.segarra at gmail.com>>:
>
>     Hi,
>
>     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.
>
>     Thanks a lot.
>
>     2017-01-06 9:34 GMT+01:00 Damien Ciabrini <dciabrin at redhat.com
>     <mailto:dciabrin at redhat.com>>:
>
>         Hey Oscar,
>
>         ----- Original Message -----
>         > Hi,
>         >
>         > Anybody has been able to set up a Galera cluster with the
>         latest available
>         > version of Galera?
>         >
>         > Can anybody paste the configuration?
>         >
>         > I have tested it but I have not been able to make it run
>         resiliently.
>         >
>         Can you be more specific on why it wouldn't run "resiliently"?
>         I just saw you've asked question on codership group re.
>         bootstrapping the
>         cluster, is it related?
>
>         > Any help will be welcome!
>         >
>         > Thanks a lot.
>         >
>         >
>         >
>         > _______________________________________________
>         > Users mailing list: Users at clusterlabs.org
>         <mailto:Users at clusterlabs.org>
>         > http://lists.clusterlabs.org/mailman/listinfo/users
>         <http://lists.clusterlabs.org/mailman/listinfo/users>
>         >
>         > Project Home: http://www.clusterlabs.org
>         > Getting started:
>         http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>         <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
>         > Bugs: http://bugs.clusterlabs.org
>         >
>
>         _______________________________________________
>         Users mailing list: Users at clusterlabs.org
>         <mailto:Users at clusterlabs.org>
>         http://lists.clusterlabs.org/mailman/listinfo/users
>         <http://lists.clusterlabs.org/mailman/listinfo/users>
>
>         Project Home: http://www.clusterlabs.org
>         Getting started:
>         http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>         <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
>         Bugs: http://bugs.clusterlabs.org
>
>
>
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://lists.clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-- 
QingFeng Hao(Robin)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170111/ada140f0/attachment.html>


More information about the Users mailing list