Forum Discussion
Roman_80473
Jun 06, 2011Nimbostratus
Invoke java method from iRule or iControl
Hi folks,
I'm new to iRules/iControl, and was wondering if I could get a sound advice here. We have an LTM with some pool members (Weblogic servers). The Weblogic servers have java MBeans (manag...
Jun 06, 2011
From a server-perspective, there is no direct way to call out to outside methods from our iRules or iControl. For iControl, you could make a call to an outside object from your client, but not in the server implementation. Now, that's not saying it can't be done, just not directly. We've seen folks use iRules issuing log statements to the syslog system and then configured the syslog system to execute a script based on entries in the log. You can also use the high speed logging (or external logging with the log command) to pipe syslog based messages to the target of your choice. You could implement a syslog server that listened for your commands and then did something on that behalf. Both solutions do fairly the same thing. The first is on the LTM, the second would be on a target system of your choice.
-Joe
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