Forum Discussion
bring down VS using iRule
i need to bring down/offline VS and drop the icmp echo-request and echo-reply when it's pool member are down.
any ideas how to?
- George_Watkins_Historic F5 AccountHi player,
Hey Guys, this is a tough one, I've thought about it in the past but couldn't come up with anything.. I can't find doc that references ICMP in the command list, and I'm not sure what event it would fall under because ICMP, even though still at the network layer, is a separate protocol than IP.... so I don't see a event that would support it.. Like you mention it seems to be a fundamental function of a VS... Here's an old post talking about the same issue... http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/afv/topic/aff/5/aft/3591/Default.aspx Some interesting ideas.... Can you invoke a bigpipe command or script from an irule? If so, you could use the arp idea in that post.. I'm not to sure about deleting the VS.. as how would you add it back in?
- player_72606
Nimbostratus
well, the only thing to do is to disable the ARP on the VS, - Hamish
Cirrocumulus
It would really have to be external... You could have something like nagios watch the pool status (Could be via traps, but they're not guaranteed, so you really want to poll as well to catch missing traps), and when it goes down, run a small script that uses an iControl call (In perl or whatever) to down the VS... Then when it comes back up, re-enable it...
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