03-Aug-2020 23:47
Hello, i have 3 applications running on one server(appserver). How can i setup 3 Virtual Server where access to app is:
1) appserver/app1
2) appserver/app2
3) appserver/app3
I cant add node with fqdn+context. I can add only appserver. How to manage traffic to those apps?
05-Aug-2020 17:42
Hello,
What version of BIG-IP do you use?
You can use L7 policy for this purpose "Local Traffic ›› Policies : Policy List".
You need to create L7 policy with 3 rules with different ASM policy each and assign this L7 policy to your VS via "Policies" in "Resources" tab for VS.
AFAIU, in your case you need to use next rules:
Thanks, Ivan
06-Aug-2020 00:12
Aaah, sorry, looks like I misunderstood you... you want to create 3 virtual servers for one backend. Right?
Why you don't want to create one VS for this backend?
06-Aug-2020 00:21
I want create 3 VS for 3 apps. Normally, i will setup 3 VS and 3 nodes. But now i dont know how to setup nodes when these 3 application running on 1 IP. The difference is only uri. App1 backend is on appserver/app1. App2 backend is on appserver/app2. Only URI has change, but in node i can put fqdn or ip address. I cant setup node like appserver/app1. I hope now its more clear:)
Thanks for answering.
06-Aug-2020 00:27
Yes, node is related to IP or FQDN. So, you need to have different IP or FQDN, or create one node and assign it to 3 VS.
In second case, after assigning the same node to each VS, you can create appropriate L7 policy for each VS to allow only traffic with appropriate appserver/app* (is it URL?) pass to backend through appropriate VS.