Forum Discussion
Sideband iRulesLX to another virtual server?
Hello Dan.
Everything depends on the specific details of your implementation, but reading your description I'm sure you can do it mostly using only iRules.
HSSR Documentation
https://clouddocs.f5.com/api/irules/HTTP-Super-SIDEBAND-Requestor-Client-Handles-Redirects-Cookies-Chunked-Transfer-APM-Access-etc.html
A practical example of using it:
https://clouddocs.f5.com/api/irules/Query-LDAP-From-An-iRule-And-Or-Use-APM-With-Non-HTTP-Services.html
Base on the info above, you can check something in your incoming request and use HSSR to send the initial info to another VS.
KR,
Dario.
- Dan_BowmanAug 01, 2019
Cirrus
Thanks Dario - We need to make some fairly complex calls including generating a signed JWT token before initiating the sideband connection, that JWT is then used to request an access token from API 1 - we then need to use that token to make a second sideband call to API 2 and use it to validate some of the header info from the initial HTTP request, hence me looking at using iLX! 😀 - I'm much more familiar with regular iRules so if the same could be achieved that way I'd be happier!
If anyone can shed any light on the iLX > Virtual server sideband methods I'd be appreciative.
Fallback position is to offload this work to a web service on an application server but that will add another tier of infrastructure to the process, so I'd like to try and explore the options of doing this on-box if we can.
Thanks,
Dan
- Dario_GarridoAug 01, 2019
Noctilucent
Then I recommend you to use iRulesLX better.
Here you have a good example.
https://devcentral.f5.com/s/articles/irules-lx-sideband-connection-1162
Also, some doc of how to start with iRulesLX
https://devcentral.f5.com/s/articles/getting-started-with-irules-lx-introduction-conceptual-overview-20409
https://devcentral.f5.com/s/articles/introducing-irules-lx-19888
KR,
Dario.
- Satoshi_Toyosa1Oct 31, 2019Ret. Employee
Regarding iRules LX sideband connection implementation, see also iRules LX Sideband Connection - Handling timeouts: It discusses techniques to avoid unpleasant ILX::call timeouts.
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
