Not the answer you need?
Register and ask your own question!

percona xtradb cluster setup on ubuntu 14.04 lts

sivakumar.dasarisivakumar.dasari EntrantInactive User Role Beginner
HI
I have followed below linke to setup 3 node percona xtradb cluster on 14.04lts.

https://www.percona.com/doc/percona-xtradb-cluster/5.5/howtos/ubuntu_howto.html

i am not able to find the below variables from node 1
| wsrep_local_state | 4 | | wsrep_local_state_comment | Synced | ... | wsrep_cluster_size | 1 | | wsrep_cluster_status | Primary | | wsrep_connected | ON | ... | wsrep_ready | ON | +
+
+

Please help on this.

Thanks and Regards,
Siva

Comments

  • sivakumar.dasarisivakumar.dasari Entrant Inactive User Role Beginner
    Now, i have setup Percona xtradb cluster setup in ubuntu 14.04lts
  • sivakumar.dasarisivakumar.dasari Entrant Inactive User Role Beginner
    HI Evey One,
    One day, percona xtradb cluster is worked fine for me. I have restarted servers then cluster is not working. Node2 and Node3 servers are getting fail.
    Please check the below error Information


    160420 10:22:00 mysqld_safe WSREP: Recovered position 4237f00e-0536-11e6-93eb-3bc3b2a8f928:5
    160420 10:22:00 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
    160420 10:22:00 [Note] WSREP: wsrep_start_position var submitted: '4237f00e-0536-11e6-93eb-3bc3b2a8f928:5'
    160420 10:22:00 [Note] WSREP: Read nil XID from storage engines, skipping position init
    160420 10:22:00 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib/libgalera_smm.so'
    160420 10:22:00 [Note] WSREP: wsrep_load(): Galera 2.12(r318911d) by Codership Oy <[email protected]> loaded successfully.
    160420 10:22:00 [Note] WSREP: Found saved state: 4237f00e-0536-11e6-93eb-3bc3b2a8f928:-1
    160420 10:22:00 [Note] WSREP: Reusing existing '/var/lib/mysql//galera.cache'.
    160420 10:22:00 [Note] WSREP: Passing config to GCS: base_host = 192.168.0.51; base_port = 4567; cert.log_conflicts = no; debug = no; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /var/lib/mysql//galera.cache; gcache.page_size = 128M; gcache.size = 128M; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.version = 0; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = false; pc.npvo = false; pc.version = 0; pc.wait_prim = true; pc.wait_prim_timeout = P30S; pc.weight = 1; protonet.backend = asio; pr
    160420 10:22:01 [Note] WSREP: Assign initial position for certification: 5, protocol version: -1
    160420 10:22:01 [Note] WSREP: wsrep_sst_grab()
    160420 10:22:01 [Note] WSREP: Start replication
    160420 10:22:01 [Note] WSREP: Setting initial position to 4237f00e-0536-11e6-93eb-3bc3b2a8f928:5
    160420 10:22:01 [Note] WSREP: protonet asio version 0
    160420 10:22:01 [Note] WSREP: backend: asio
    160420 10:22:01 [Note] WSREP: GMCast version 0
    160420 10:22:01 [Note] WSREP: (9e98ff07, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
    160420 10:22:01 [Note] WSREP: (9e98ff07, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
    160420 10:22:01 [Note] WSREP: EVS version 0
    160420 10:22:01 [Note] WSREP: PC version 0
    160420 10:22:01 [Note] WSREP: gcomm: connecting to group 'PXC', peer '192.168.0.50:,192.168.0.51:,192.168.0.53:'
    160420 10:22:01 [Warning] WSREP: (9e98ff07, 'tcp://0.0.0.0:4567') address 'tcp://192.168.0.51:4567' points to own listening address, blacklisting
    160420 10:22:04 [Warning] WSREP: no nodes coming from prim view, prim not possible
    160420 10:22:04 [Warning] WSREP: last inactive check more than PT1.5S ago (PT3.51594S), skipping check
    160420 10:22:34 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 (Connection timed out)
    at gcomm/src/pc.cpp:connect():141
    160420 10:22:34 [ERROR] WSREP: gcs/src/gcs_core.cpp:long int gcs_core_open(gcs_core_t*, const char*, const char*, bool)():204: Failed to open backend connection: -110 (Connection timed out)
    160420 10:22:34 [ERROR] WSREP: gcs/src/gcs.cpp:long int gcs_open(gcs_conn_t*, const char*, const char*, bool)():1303: Failed to open channel 'PXC' at 'gcomm://192.168.0.50,192.168.0.51,192.168.0.53': -110 (Connection timed out)
    160420 10:22:34 [ERROR] WSREP: gcs connect failed: Connection timed out
    160420 10:22:34 [ERROR] WSREP: wsrep::connect() failed: 7
    160420 10:22:34 [ERROR] Aborting

    160420 10:22:34 [Note] WSREP: Service disconnected.
    160420 10:22:35 [Note] WSREP: Some threads may fail to exit.
    160420 10:22:35 [Note] /usr/sbin/mysqld: Shutdown complete

    160420 10:22:35 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

    Please help on this.

    Thanks and Regards,
    Siva
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.