Forum Discussion
Ahmed_Saeed_329
Nimbostratus
Dec 16, 2017Inter-VIP communication
Hello,
Is there a way to redirect/communicate to another VIP. I have following scenario:
Step 1: Clients are hitting successfully VIP.37
Step 2: VIP.37 requires to communicate with VIP...
Andy_McGrath
Cumulonimbus
Dec 16, 2017Yes you can with an iRule, in the iRule you need to use the virtual Command however this has an issue. When you use virtual you can’t check the status of the virtual server you are forwarding to before so it is a blind forward unless you know and check the associated pools.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with “/vs2”} {
Send request to a new virtual server
virtual vs2
}
}
A better approach might be to forward to different pools instead of different virtual servers.
The only two reasons I have used virtual is for Data Centre Affinity and automatically selecting virtual for different SSL profiles.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with “/vs2”} {
Send request to a new virtual server
pool vs2_pool
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
