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
}
}
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
}
}
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