abachman_72712
Jul 31, 2009Nimbostratus
Traffic destined for certain port
New to working with iRules.
I need to write an iRule for Soap HTTP call. The HTTP traffic will need to go to a certain port listening on the server pool (IBM WebSphere JVM on port 9082), but traffic will need to go to primary server all the time unless that server is down. Created a VIP server on BigIP with service port 9082. Traffic will be generated outbound with a DNS name that points to this BigIP virtual server ip. Do they also need to add the port(9082)with the header as well? (e.g. dnsname:9082)
when HTTP_REQUEST {
if { [HTTP::header "Content-Type"] contains "SoapAction" } {
node 10.10.10.15 9082
} else {
pool mysoap_pool
}
}
Any suggestions would be helpful.
Thanks
TA