[MDEV-21072] MariaDB Galera Services are down on all Nodes Created: 2019-11-18 Updated: 2019-12-02 Resolved: 2019-11-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.2.28 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Ras Tarun | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hello , We have newly moved to Open Source MariaDB Galera 10.2.25 supporting 3 nodes. During OS Upgrade activity , we brought down all the three nodes . First we brought the MariaDB service down on least loaded node and then one by one brought the MariaDB Galera Cluster down After completion of maintenance , I was only able to Bootstrap the mostly Advance node using command sudo galera_new_cluster and remaining nodes , I was not able to bring up using sudo systemctl start MariaDB. I have only 1 node which is UP and MariaDB service is Active and running. I changed the safe_to_bootstrap to 1 in grastate.dat file and bootstrapped all the 3 nodes using sudo galera_new_cluster command I am able to bring MariaDB service UP on the all the nodes. But now every node is a local node and not part of Cluster. Kindly suggest how to resolve this issue. |
| Comments |
| Comment by Ras Tarun [ 2019-11-18 ] | ||||
|
Now I am able to see wsrep_cluster_size = 1 on all the 3 Nodes of MariaDB Galera . Previously , I could see 3 nodes part of Cluster and 3 incoming IP address MariaDB [(none)]> SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
-------------------
------------------- | ||||
| Comment by Ras Tarun [ 2019-11-18 ] | ||||
|
Here are the initial contents of grastate.dat file [root@ Node1 ~]# cat grastate.dat
[root@ Node2 ~]# cat grastate.dat
[root@ Node3 ~]# cat grastate.dat
After editing safe_to_bootstrap to 1 , I have bootstrapped all the 3 nodes using sudo galera_new_cluster | ||||
| Comment by Ras Tarun [ 2019-11-18 ] | ||||
|
Kindly advise how I can bring the system to normal state | ||||
| Comment by Jan Lindström (Inactive) [ 2019-11-28 ] | ||||
|
You need to select one of the servers, boostrap that as a new master and then start node by node making sure that they will select master as donor. You should run galera_new_cluster only for the first node. What you have done is that every node is its own cluster. | ||||
| Comment by Ras Tarun [ 2019-12-01 ] | ||||
|
Hello Jan Lindstrom , I am Tarun Pandit MariaDB Database Administrator , Thanks for your You have closed the thread , but I had a question Would it be possible to 1) Take Full L0 Backup of Database Merci , On Thu, Nov 28, 2019 at 6:27 PM Jan Lindström (Jira) <jira@mariadb.org> | ||||
| Comment by Jan Lindström (Inactive) [ 2019-12-02 ] | ||||
|
Yes, it is possible. I suggest mariabackup. |