I am looking for a way to set up MariaDB replication from a replica. My configuration looks as following:
First datacenter: Primary + 3 replicas connected via private switch
Second datacenter: Primary + 3 replicas connected via private switch
Primary from second datacenter should replicate from primary from first dataceter via public network (this is working) And replicas from second dataceter should replicate from primary from second datacenter via private network.
The problem is that configuring Primary from second datacenter to replicate from first Primary, then it is not creating own binlog (binlog is on "log-bin", binlog file is created but empty all time) so Replicas cannot replicate from it. Is there any way to change it?