Code Monkey home page Code Monkey logo

documentation's Introduction

documentation's People

Contributors

faizalrf avatar koushikr avatar

Stargazers

Valentin Rentschler avatar Gabriel Coelho Soares avatar Ahmad Miqdaad bin Abdul Aziz avatar Oren Bissick avatar  avatar Alejandro Duarte avatar dustin doan avatar LsYueh avatar Kangwoo Choi avatar Jun avatar  YoungDa LEE avatar Sangjae.Park avatar Nico Wunder avatar Majes avatar Milad Pakravan avatar Thomas Erlang avatar hassnain Khizar avatar  avatar  avatar Phaneesh avatar Ameya Zope avatar Sylvain Arbaudie avatar Sanjeev Kumar avatar Apirat Pisutthiphan avatar Germán Rivas avatar Sebastien GIRAUD avatar Nick Lamb avatar

Watchers

James Cloos avatar Sanjeev Kumar avatar dustin doan avatar Sangjae.Park avatar  avatar Sebastien GIRAUD avatar

documentation's Issues

Consult with MariaDB Master Slave Setup

Hi Faisal and thank you so much for this guide. It's very useful.

I follow step by step but I can't successfully replicate it.

In my virtual lab I use CentOS 8 and MariaDB 10.5, maybe something changed and that's why I have errors and I can't achieve the Master, Slave with GTID replication.

That's why I'm asking you if there's a possibility that you can update this guide with the new versions of CentOS and MariaDB.

Thank you very much!
I'm waiting for your answer.

###########################################
This is the guide that i follow:
https://github.com/mariadb-faisalsaeed/documentation/blob/master/MariaDB%20Master%20Slave%20Setup.md

Message on Galera Slave Nodes | Could not increase number of max_open_files to more than

Good morning, Faisal,
I was able to start the cluster on node 1, this is the result:

MariaDB [(none)]> show global status like 'wsrep_cluster_size';
+-----------------------+-------+
| Variable_name         | Value |
+-----------------------+-------+
| wsrep_cluster_size    | 1     |
+-----------------------+-------+
1 rows in set (0.000 sec)

...and when I execute it in the node 2 and 3 I get the following error that I visualize after executing: journalctl -xe

[root@Galera-02 ~]# systemctl start mariadb
Job for mariadb.service failed because a fatal signal was delivered to the control process.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
[root@Galera-02 ~]# journalctl -xe
-- Support: https://access.redhat.com/support
--
-- Automatic restarting of the unit mariadb.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
ago 13 12:35:50 Galera-02 systemd[1]: Stopped MariaDB 10.5.5 database server.
-- Subject: Unit mariadb.service has finished shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit mariadb.service has finished shutting down.
ago 13 12:35:50 Galera-02 systemd[1]: Starting MariaDB 10.5.5 database server...
-- Subject: Unit mariadb.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit mariadb.service has begun starting up.
ago 13 12:35:52 Galera-02 sh[34329]: WSREP: Recovered position 00000000-0000-0000-0000-000000000000:-1
ago 13 12:35:52 Galera-02 mariadbd[34410]: 2020-08-13 12:35:52 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.5-MariaDB) starting as process 34410 ...
ago 13 12:35:52 Galera-02 mariadbd[34410]: 2020-08-13 12:35:52 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32183)
ago 13 12:35:54 Galera-02 systemd[1]: mariadb.service: Main process exited, code=killed, status=6/ABRT
ago 13 12:35:54 Galera-02 systemd[1]: mariadb.service: Failed with result 'signal'.
ago 13 12:35:54 Galera-02 systemd[1]: Failed to start MariaDB 10.5.5 database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit mariadb.service has failed.
--
-- The result is failed.
ago 13 12:35:59 Galera-02 systemd[1]: mariadb.service: Service RestartSec=5s expired, scheduling restart.
ago 13 12:35:59 Galera-02 systemd[1]: mariadb.service: Scheduled restart job, restart counter is at 308.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Automatic restarting of the unit mariadb.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
ago 13 12:35:59 Galera-02 systemd[1]: Stopped MariaDB 10.5.5 database server.
-- Subject: Unit mariadb.service has finished shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit mariadb.service has finished shutting down.
ago 13 12:35:59 Galera-02 systemd[1]: Starting MariaDB 10.5.5 database server...
-- Subject: Unit mariadb.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit mariadb.service has begun starting up.
ago 13 12:36:01 Galera-02 sh[34436]: WSREP: Recovered position 00000000-0000-0000-0000-000000000000:-1
ago 13 12:36:01 Galera-02 mariadbd[34517]: 2020-08-13 12:36:01 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.5-MariaDB) starting as process 34517 ...
ago 13 12:36:01 Galera-02 mariadbd[34517]: 2020-08-13 12:36:01 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32183)
ago 13 12:36:03 Galera-02 systemd[1]: mariadb.service: Main process exited, code=killed, status=6/ABRT
ago 13 12:36:03 Galera-02 systemd[1]: mariadb.service: Failed with result 'signal'.
ago 13 12:36:03 Galera-02 systemd[1]: Failed to start MariaDB 10.5.5 database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit mariadb.service has failed.
--
-- The result is failed.

[root@Galera-02 ~]#

I feel a great frustration that I'm doing something wrong in this kind of replication?

My environment is CentOS Core 8 + The latest version of MariaDB Server and Galera Cluster.

Do I need to make any extra modifications to the CentOS servers or to the MariaDB configuration files?

Greetings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.