Forum Discussion
virtual server/pool to reject first request from clients but accept subsequent requests
Hi,
You are getting this error beacuse it seems you have a LTM policy configured on the virtual server. You need a HTTP profile on the virtual server if you configure a LTM policy on the virtual server.
By selecting the Reject type, the HTTP profile is removed from the virtual server, but the LTM policy is still configured. So remove the LTM policy before changing the type to reject.
Becasue you do not have HTTP profile on a Reject virtual server, the virtual server has no knowledge of the HTTP protocol, so an iRule based on (HTTP) requests cannot be configured on the virtual server.
And the help states the following:
Reject: Specifies that the BIG-IP system rejects any traffic destined for the virtual server IP address.
So all traffic is rejected. It does not matter if it is the first or second request.
Maybe you can explain why you want this kind of configuration.
Regards, Martijn
Hey Martijn. Thank you for the explanation. Reject type is not for me then I'm guessing.
I guess I can give you an example of what I want.
I have 2 different f5 machines on two different servers (f5_a and f5_b). There will probably be some DNS server that routes requests to either f5_a or f5_b. The routing should switch to the other f5 if something goes wrong with the current f5. So if I close connections to f5_b the DNS server should start routing (switch) to f5_a. Let's say client xyz is connected to f5_b for now. Now, I'm gonna close connections to f5_b so that the DNS server routes client xyz over to f5_a. But if the DNS server decides to route it back to f5_b instead I want f5_b to accept that connection. I hope this helps. I don't even have a starting point so any help is appreciated.
To close connections -- I've tried disabling the entire VS. This closes the connections but it also does not accept any subsequent connections. I started looking at other options and I found reject on my hunt.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com