02-06-2012 01:57 AM
Hi,
I have configured some redirection on our Ace Loadbalancers but it does not seem to work. Can anyone look at the key config pasted below and let me know where I am going wrong?
Thanks in Advance
Adrian
02-06-2012 02:08 AM
Hi Adrian,
For a start, the "LB-QW" load-balance policy is not associated to any class in the multi-match policy.
Also, it may be that the "MATCH-QW" class is not properly configured to match on the traffic you are testing. As it is now, it will only redirect those requests with a "Host" header matching "123.abc.site.com"
Daniel
02-06-2012 04:30 AM
Hi Daniel,
So if I change for the following:
policy-map type loadbalance first-match LB-QW
class MATCH-QW
serverfarm REDIRECT-QW
class class-default
sticky-serverfarm STK_WEB443_FRN
policy-map type loadbalance first-match PML_WEB443_FRN
class class-default
sticky-serverfarm STK_WEB443_FRN
policy-map multi-match MMP1911
class VIP_WEB443_FRN
loadbalance vip inservice
loadbalance policy LB-QW
Would this be expected to work, where LB-QW uses the Redirect and STK classes?
The intention is to ensure anyone who uses the 123.abc.site.com is redirected to 123.site.com.
Regards
Adrian
02-06-2012 05:14 AM
Hi Adrian,
This should work, as long as the traffic arriving on the "VIP_WEB443_FRN" class is not encrypted (but seeing it's listening on port 443, I assume it's SSL).
What you need is two different VIPs, one for the SSL traffic, and the other one for the HTTP one (in which you will configure the redirection).
Please, be aware that if you access the "123.abc.site.com" over SSL, the ACE will not be able to do the redirection (because traffic is encrypted) unless you configure the ACE for SSL termination.
Regards
Daniel
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: