Forum Discussion
Faintly_Lucky
Mar 17, 2011Nimbostratus
iRule not triggered on target VIP after using the virtual iRule command to direct traffic to it
My company has a pair of 1600s (9.4.8 HF4) that accept and load balance all of the syslog traffic generated by our devices to several syslog pools.
Recently, we had a requirement come dow...
Faintly_Lucky
Mar 18, 2011Nimbostratus
Sure can, but all that typing gets to you eventually. I started using aliased commands and functions a long time ago :)
VIP Defs below. Also another anonymized copy of the secondary rule as I made some changes to it troubleshooting to see if they had any effect.
From the troubleshooting that I've done so far, it would appear that the pool selection commands in the primary rule that come after the virtual command are overriding the VIP selection as the secondary virtual is zeroed out on stats.
Thanks for taking a look at this.
Lucky
[root@XXXXXX:Active] config bv list
virtual SEIM_SYSLOG_VIP {
destination xxx.xxx.xxx.xxx:shell
ip protocol udp
rules syslog-pool-select-v4
}
virtual seim-syslog-tacacs {
pool syslog_pool_Channel_1
destination xxx.xxx.xxx.xxx:shell
ip protocol udp
rules syslog-tacacs-pool-select
profiles udp-test
}
[root@xxxxxxx:Active] config bpr udp list
profile udp udp {
idle timeout 60
}
profile udp udp-test {
defaults from udp
datagram lb enable
}
[root@xxxxxx:Active] config br syslog-tacacs-pool-select list
rule syslog-tacacs-pool-select {
when LB_SELECTED {
set addr [findstr [UDP::payload] Address 8 ,]
if { [matchclass $addr starts_with $::xxxxxxsubnetstring] } { LB::reselect pool syslog_pool_xxxxxxx
log local0.info "I selected the xxxxxxx pool, YAY!.....addr $sddr" }
else { log local0.info "selected syslog channel 1" }
}
}
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