Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4726

How can a frontend utilize all servers from multiple backend without repeating code

$
0
0

@deepika wrote:

Is it possible to combine multiple backend (like in fe-b frontend below) on HAProxy 1.8 so that the servers from both backend can be used within frontend without repeating the servers on backend.

frontend fe-a
	...
	mode tcp
	use_backend be-test-1

frontend fe-b
	...
	mode tcp
	use_backend >>>### USE SERVERS FROM BOTH be-test-1 AND be-test-2 ###<<<

backend be-test-1
	...
	mode tcp
	server srv-1 111.111.111.1:4567 check
	server srv-2 111.111.111.2:4567 check

backend be-test-2
	...
	mode tcp
	server srv-1 222.222.222.1:4567 check
	server srv-2 222.222.222.2:4567 check

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>