Forum Discussion
CarlT
Altostratus
Dec 16, 2019Can you have multiple instances of the same vip ?
Hi All Can you have multiple instances of the same vip ? could you use the same VIP for 2 different pools as long as the port etc is different?
InnO
Nimbostratus
Dec 16, 2019Can 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, 2019
Altostratus
Hi There, thanks for the reply,
what would the irule look like for this?
cheers
- CarlTDec 17, 2019
Altostratus
Can 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, 2019
Cirrostratus
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 } } }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects