Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Log In
Found the internet!

MariaDB

r/mariadb

1
0
Posted by7 days ago
0
17 comments
5
Posted by10 days ago
5
0 comments
2
2
Posted by20 days ago

Hello, I have recently set up a new cluster based from an existing one, I did the following steps to create the new cluster:

  1. Created a 4th node to sync up with my currently 3-node cluster

  2. Disconnected the 4th node and updated the galera configuration to a new wsrep_cluster_address and wsrep_cluster_name, I also updated the config on my 3-node cluster to remove the 4th node completely

  3. Removed the ib_log files and updated grastate.dat config to safe_to_bootstrap: 1

  4. run sudo galera_new_cluster

But after running the command it fails on creating a new cluster. Here are the last logs on the server:

mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: Start replication
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: Connecting with bootstrap option: 0
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: protonet asio version 0
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: Using CRC-32C for message checksums.
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: backend: asio
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: gcomm thread scheduling priority set to other:0
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: access file(/mdb/mysql-data//gvwstate.dat) failed(No such file or directory)
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: restore pc from disk failed
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: GMCast version 0
mariadbd[23069]: 2023-01-04 14:16:33 0 [Note] WSREP: (564456ef-afa1, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2
2 comments

About Community

MariaDB Server is an open source relational database
Created Mar 17, 2013

1.9k

Members

1

Online

Moderators

Moderator list hidden. Learn More