If virtual service advertising VIPs through BGP goes down, its VIPs are removed from BGP, and so it becomes unreachable. An optional BGP route withdrawal when virtual service goes down feature is added.
The following are the features added:
Field
VirtualService advertise_down_vs
Configuration
To turn on the feature, you can configure using the following CLI:
[admin:ctrl-bgp]: virtualservice> advertise_down_vs [admin:ctrl-bgp]: virtualservice> save
To turn off the feature, you can configure using the following CLI:
[admin:ctrl-bgp]: virtualservice> no advertise_down_vs [admin:ctrl-bgp]: virtualservice>save
If the virtual service is already down, the configuration changes done will not affect it. These changes will be applied if virtual service goes down in future. In such cases, you must deactivate and then enable virtual service and apply the configuration.
remove_listening_port_on_vs_down
feature will not work ifadvertise_down_vs
is False.For custom actions, such as HTTP redirect, showing error pages, and so on, to handle down virtual service,
VirtualService.remove_listening_port_on_vs_down
must be False.