nasdneb
nasdneb

Reputation: 113

How to forward http request to multiple servers?

The problem is the following: There is one client C and servers A and B. The client sends information to server A, but server B should also receive this information to do additional work. I think there is an easy way to do this, but i dont know it. I dont want to touch code in client or server.

I use apache and tomcat.

So far I only discovered ways to redirect incoming requests to another url, so the relation is one->one. But I need one->many.

Thanks in advance!

Upvotes: 0

Views: 856

Answers (1)

Eduardo Andrés
Eduardo Andrés

Reputation: 117

you probably need 3 servers, one with 3 nic and the other twoo with one. The first one shoud have a bonding on mode 3 (broadcast). It's a simple but expensive idea.

I don't know if you can get the same with IPTABLES rules or similar...

Upvotes: 1

Related Questions