Forum Discussion
Darren_M_19965
Nimbostratus
Jun 11, 2012Need some direction Monitor vs iRule to determine to fail over
So, as the title and summary state, I'm looking for some direction here.
I need to know how to accomplish the following.
One can assume the following simple configuration: ...
epaalx
Cirrus
Jun 12, 2012You don't necessarily need a pool monitor (a common monitor for all members). You can have one or more specific monitor(s) per member.
In your case, define a TCP-type customised monitor for Svr1 with "recv" set to "ERRCODE|00000000" and Scr2 a genetic TCP-type monitor. Set Svr1's "priority" to 1 and Scr2's "priority" to 0 and pool's "min active members" to 1. This will give you the active(Svr1)-standby(Svr2).
Regarding emails, I don't have experience with that, but I'd say you'd need an iRule to generate a log message that'd be translated into a customised trap. See:
SOL3727: Configuring custom SNMP traps - http://support.f5.com/kb/en-us/solutions/public/3000/700/sol3727.html
SOL3667: Configuring alerts to send email notifications - http://support.f5.com/kb/en-us/solutions/public/3000/600/sol3667.html
SOL11127: Testing SNMP traps on BIG-IP (9.4.x - 11.x) - http://support.f5.com/kb/en-us/solutions/public/11000/100/sol11127.html
also
SOL6414: Determining which alerts are pre-configured to trigger an SNMP trap - https://support.f5.com/kb/en-us/solutions/public/6000/400/sol6414.html
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
