Forum Discussion
InnO
Dec 16, 2019Nimbostratus
Can you have multiple instances of the same vip ? No, you can't.
Could you use the same VIP for 2 different pools as long as the port etc is different? Sure you can. You can forward your traffic to any pool you need to, based on some criteria of your choice (port, source ip, host header, etc...). You would have to create an iRule though or use a HTTP policy, as the GUI just lets use specify one pool.
- CarlTDec 16, 2019Altostratus
Hi There, thanks for the reply,
what would the irule look like for this?
cheers
- CarlTDec 17, 2019AltostratusCan you give me an example of how you would do it?Can you specify different listening ports? Do people do it often ?Would you still have to create the second pool in the gui first ? Sent from Yahoo Mail for iPhone
- Abed_AL-RDec 18, 2019Cirrostratus
Hi there
for example, irule selecting pool based on HTTP Path:
when HTTP_REQUEST { switch -glob [string tolower [HTTP::path]] { "/oauth*" { pool Pool_1 } "/lmsserver*" { pool Pool_2 } "/admin*" { pool Pool_3 } } }