smeisenzahl
Jul 26, 2012Employee
Irule for 1 IP but multiple service ports
I am having some difficulty trying to configure a service for our internal clients using "One" IP address on a server but the server has multiple apps on different ports. Is it possible to create an Irule for the GTM to do the following:
wip = test.company.com
The wip has two pools with a load balancing method of global availability.
In each pool there are two VIPS with the same IP but different service ports; see example below
Pool A
10.1.1.1:100
10.1.1.1:101
Pool B
10.1.2.1:100
10.1.2.1:101
I am trying to direct the request of test.company.com:100 to only 10.1.1.1:100. I have found that if .1:100 is down it will send the request to .1:101 if .1:101 is up. I do not want this to happen because the .1:101 service port is for a completely different application.
Is there a way to direct a request to only .1:100 if its up but if its down to reject or end the request? I would need the same for .1:101 in the same Irule.
Thanks in advance for the help.