For instance, I have 3 WFE's servers. WhenIi access an url in the browser, Request should go to 1st web front end server and get response from that. How can we do that?
Well you have a load balancer that determines which WFE receives which traffic. What are you using for a load balancer? F5.. Windows Server? In what scenario do you want particular traffic going to a particular WFE? Is it IP related? You can create rules to direct load balancing traffic towards certain WFEs. If you are just trying to test a certain WFE, turn off the other two temporarily maybe at a time when traffic is low so that there is no interruption in service.
Assuming you're just needing to do some tests w/ respect to a certain WFE, you can always use your HOST file to point your requests to a specific IP. This is a quick and easy method for individual testing, but if you're needing to do more wide scale, Brian's comments regarding load balancing rules or manually restricting your available WFEs would be the go-to.
i think this will kill the purpose of Load balancer. But you can thing about couple of options.
- Simply by pass the LoadBalancer and Point your DNS directly to the WFE where you want. Unless you have some reason to use the LB.
- In Loadbalancer, when you create pool on your LB at that simply add only server which you want to use. This way Loadbalancer fwd request to server A(which is only server in pool) and if that server is down your site will be down.