Multiple Gateway pod in Multi Datacenters

Hi,

We are planning to install Router and Message Processor in 2 data centers.

So do we need to use mp_pod = gateway only for both data centers and will be able to configure without any issues.

Or do we need to use mp_pod= gateway-1 and mp_pod= gateway-2.

Also can you please specify the reason about which option is best and why?

Because in documentation no specific reason is specified regarding gateway pod for multi data center.

Actually we are installing in the Production so need to be sure before configuring anything.

So can anyone please help us with this as soon as possible.

0 5 206
5 REPLIES 5

Not applicable

if it is production, I would suggest going for a replica of data center 1 in data center 2, you can use Postgres master in one and standby in other.

But RMPs, Cassandra, qpid, and other components should be separate in each dc. That will truly satisfy the purpose of multi dc. If one DC is down then the other dc will take the full load. If you have only RMPs in the second DC then if the first DC is affected, the second will not work.

I want to know about the gateway pod. Should we specify gateway-1 and gateway-2, and if yes than why. Can you please specify the reason.

yes you need to specify 1 and 2 in multi DC. The gateway pod of DC1 will not share the load with DC2. The RMPs in DC1 will share the load between them, simillarly the RMPs in DC2 will share the load between them. But the DC1 RMPs cannot do load balancing with DC2 RMPs. Only during disaster all traffic will get routed to the working DC.

Okay.

Can you please explain little bit more about this. Also will there be an issue if we use only one gateway pod.

gateway 1 and gateway 2 are for two different data centers. The traffic coming to the router of gateway 1 will only be distributed to the gateway 1 message processors and similar for gateway 2. If you will add to one gateway then traffic will be distributed from dc 1 router to dc 2 MP. That will work similarly to a single data center with few more message processors. And this will not fulfill the multi DC architecture purpose.