# Issue with replicated xtradb cluster accross multiple datacenters

**URL:** <https://forums.percona.com/t/issue-with-replicated-xtradb-cluster-accross-multiple-datacenters/27519>\
**Category:** Percona XtraDB Cluster\
**Created:** [January 2, 2024, 9:00am UTC](https://forums.percona.com/t/issue-with-replicated-xtradb-cluster-accross-multiple-datacenters/27519 "2024-01-02T09:00:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zozotk](https://avatars.discourse-cdn.com/v4/letter/z/ea666f/32.png) [@zozotk](https://forums.percona.com/u/zozotk)\
**Post date:** [January 2, 2024, 9:00am UTC](https://forums.percona.com/t/issue-with-replicated-xtradb-cluster-accross-multiple-datacenters/27519/1 "2024-01-02T09:00:14Z")

</div>

Hello,

I have a master-master xtradb cluster configured accross multiple datacenters. All is good but from time to time one of the nodes goes down as it cannot check the status of the replication (possibly a timeout of some sort).  
All I can see in the logs is

```auto
2024-01-02T08:58:28.135066Z 0 [Warning] [MY-000000] [Galera] last inactive check more than PT1.5S (3*evs.inactive_check_period) ago (PT2.70677S), skipping check

```

Can I configure something in the cluster so that I can avoid the above situation?

Regards,

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 2, 2024, 2:29pm UTC](https://forums.percona.com/t/issue-with-replicated-xtradb-cluster-accross-multiple-datacenters/27519/2 "2024-01-02T14:29:00Z")

</div>

@zozotk,  
You can increase the timeout period/intervals but this can lead to potential split-brain and/or complete node disconnects. Have a look at these 3 parameters:

[https://galeracluster.com/library/documentation/galera-parameters.html#evs-delay-margin](https://galeracluster.com/library/documentation/galera-parameters.html#evs-delay-margin)  
and evs.inactive\_check\_period

I would also set up a simple script to `ping` host A from B every 1s and monitor general network issues. If you are experiencing packet loss between your datacenters, you need to talk with your provider and find out why their networks are bad.

---

<div class="post-metadata">

**Author:** ![zozotk](https://avatars.discourse-cdn.com/v4/letter/z/ea666f/32.png) [@zozotk](https://forums.percona.com/u/zozotk)\
**Post date:** [January 2, 2024, 2:31pm UTC](https://forums.percona.com/t/issue-with-replicated-xtradb-cluster-accross-multiple-datacenters/27519/3 "2024-01-02T14:31:49Z")

</div>

Thank you, will investigate further.
