jbb_41358
May 07, 2012Nimbostratus
how to emulate webseal junctions in iRules
Hi,
Could someone point me to appropriate resources that would allow us to figure out how to read Webseal junction definition config files so as to generate corresponding pool definitions to be used to loadbalance traffic to.
Here's an extract of a junction definition file as pertains to load balancing:
-JUNCTION>
-VERSION>6.1.0.3 (Build 090602)-/VERSION>
-NAME>/TEST-/NAME>
-JUCTYPE>tcp-/JUCTYPE>
-HOST>ap002-/HOST>
-PORT>6475-/PORT>
-VIRTHOSTNM>ap002:6475-/VIRTHOSTNM>
-URLQC>/cgi-bin/query_contents-/URLQC>
-HOST>ap002
-PORT>6476
-VIRTHOSTNM>ap002:6476-/VIRTHOSTNM>
-URLQC>/cgi-bin/query_contents-/URLQC>
-/JUNCTION>
The idea is to make it as straightforward as possible to maintain Webseal and F5 based loadbalancing configurations and operations in sync.
The approach we're researching is to have iRules read the set of Webseal junction config files upon startup, parse them and generate equivalent pool definitions. Of course any suggestion for alternative approaches is welcome!
Thanks.