Forum Discussion
http traffic shift to a VIP in another LTM
- Jun 15, 2020
Hi,
If I understand right both VIP uses same host name so you can try like that
Create pool on LTM-A like LTM_B_VIP and set node IP with VIP of vs_aaa.bbb.ccc.xxx_80
when CLIENT_ACCEPTED {
set def_pool [LB::server pool]
if { [class match [IP::remote_addr] equals customer_migrated] } {
pool LTM_B_VIP
} else {
pool $def_pool
}
}
Thank you for your reply msenturk!
It worked!
In case the client matched the customer_migrated condition, I added the clause
event disable
to prevent other irules present at the VS to be executed.
Thanks!
- msenturkJun 16, 2020
Altocumulus
Nice to hear that.
Yea if first VIP has got Irules its best to disable events after the match.
Recent Discussions
Related Content
* 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
