PSMDB cros site replication without MCS

Hi

We have 2 cluster on k8s env and we want to do cross site replication. In percona document MCS is described.

Is there a way to create cross site replication without MCS.

Regards

Hi, technically it is possible but would be quite complicated. You will need to implement cross-cluster DNS resolution (probably ExternalDNS), as well as ensuring all nodes can reach each other’s services.

Hi @Ivan_Groenewold

Thanks for your response. We exposed services as nodeport on both side like following

➜ ~ k5 get services psmdb-db-rs0-0
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
psmdb-db-rs0-0 NodePort 10.x.x.x 27017:30304/TCP 18h
➜ ~ k4 get services psmdb-db-rs0-0
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
psmdb-db-rs0-0 NodePort 10.x.x.x 27017:31619/TCP 18h

over node ip both cluster is accessible to each other. Which kind of dns entry we should define? Can we use host alias to handle it?

Regards