Forum Discussion
yquirion
Altostratus
Mar 23, 2018iRules executed on both device when connection mirroring enabled
Dear all,
I have a question about iRule and the activation of connection mirroring on a VIP.
On the majority on my services, I've bound an iRule to send a log to my syslog server. This iRule, is ...
jaikumar_f5
Noctilucent
Mar 25, 2018So when mirroring is enabled for the VS, the Irule does executes on the Standby too. To get the device status, you can use the HA::status option,
when CLIENT_ACCEPTED {
log local0. "active: [HA::status active]"
log local0. "standby: [HA::status standby]"
}
/var/log/ltm log output:
: active: 1
: standby: 0
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