codership / galera

Synchronous multi-master replication library
GNU General Public License v2.0
447 stars 177 forks source link

multiple galera arbitrators are not working together as one across the network #621

Closed vidhut-singh closed 2 years ago

vidhut-singh commented 2 years ago

hi

I am using galera-3 and galera-arbitrator on 2 "Ubuntu.20" Node HA . I have started garbd on both the instances . Here is the output xxx@paloxx-node1:/home/xx# mysql -u root -p -e "SHOW STATUS LIKE 'wsrep_cluster_size'" Enter password: +--------------------+-------+ | Variable_name | Value | +--------------------+-------+ | wsrep_cluster_size | 4 | +--------------------+-------+

Ideally it should report

xxx@paloxx-node1:/home/xx# mysql -u root -p -e "SHOW STATUS LIKE 'wsrep_cluster_size'" Enter password: +--------------------+-------+ | Variable_name | Value | +--------------------+-------+ | wsrep_cluster_size | 3 | +--------------------+-------+

as per the document https://galeracluster.com/library/kb/two-node-clusters.html

Here is my garbd config file xx@paloma-node1:~$ cat arbitrator.config group = galera_cluster address = gcomm://10.194.194.21,10.194.194.38 options=gmcast.listen_addr=tcp://0.0.0.0:4444

please suggest what am I missing ?

vidhut-singh commented 2 years ago

Closing this issue based on the observation, it does look like the arbitrators are working as one across the network however the cluster size doesn't reflect the same. Anyone has any issue in future, happy to help ! @vidhut.singh@gmail.com