Patrik_146826
Nov 18, 2015Nimbostratus
Redirect incoming URL to correct port depending on node monitor port
Hi, I'm fairly new with F5 and have a question about iRule or some other way to handle this. The "problem" is as follows: My development team have two servers running the same front end web-application. I have them in a VS and POOL and everything is green in that. But the application is running on different ports on the servers, and they can't be running on the same port (don't ask why). So I want to know if I can use F5 iRule or something to add a port to the incoming URL depending on what port is open on what server?
- Incoming URL: testbeta.example.com/login/test/
- Health monitor ports: 8081, 8082
-
Pool status:
- serverA, up, on 8081
- serverB, up, on 8082
- Outgoing URL should be: testbeta.example.com:80[81/82]/login/test/
Hopefully someone can help me. I have a hard time searching for this issue. Found nothing yet. Regards, Patrik.