Forum Discussion
APM Policy Selection Based on URI
I'm working with Outlook Web Access and ActiveSync on 2010 sp3 Exchange servers via APM. I've got OWA working using one access policy and activesync working using a different policy. The main difference being that the activesync policy has no webtop or portal access (no resources) assigned. There is a pool that is specified on the APM VS. I thought the _sys_apm irule would sort out the clientless_mode stuff and I could use the same policy that I use for OWA and ActiveSync but it doesn't work. Is there a way to choose a certain access policy via an irule based on the URI? So if it sees /Microsoft-Server-ActiveSync it will use the active sync policy? Thanks.
8 Replies
- Kevin_Stewart
Employee
First, did you create this configuration with the iApp? You may have missed some steps. The iRule should definitely support your use case.
In lieu of that, or if you're doing something different than the iApp-based deployment, you can technically switch between access policies, but you have to do so through a "layered" VIP architecture. Essentially, you have an LTM VIP in front of two internal APM VIPs that terminates the client side SSL and sports an iRule that switches between the internal APM VIPs using the virtual command.
Before taking that path though, please review your configuration and/or build a separate iApp-based config and compare the two.
- ipman_1988_5418
Nimbostratus
Well reading through the deployment guide it mentions that if you already have nodes defined with your CAS server IP addresses that you named they will have to be deleted so the iapp can create them. Well this is in production so I can't remove any of the existing CAS config on the LTM to try the iapp.
From the doc: "If you have existing, manually created Node objects on the BIG-IP system and given these nodes a name, you cannot use the IP addresses for those nodes when configuring the iApp. You must first manually delete those nodes and re-add them without a name, or delete the nodes and let the iApp automatically create them."
- Kevin_Stewart
Employee
When you created the pools and added the nodes, did you give them arbitrary names (other than their default IP:port)? If you didn't, then you shouldn't have a problem using the iApp.
worst case, run the iApp and just make up some node IPs. The whole point is to compare the two configurations.
- ipman_1988_5418
Nimbostratus
I can give this a try. One question I had when trying this previously was, in the iapp it asks for the deployment scenario. I have APM/LTM on the same box so I choose the option that says "Big-IP APM will provide secure remote access to CAS"
Then further down in the template it asks "What is the virtual IP address on the remote BIG-IP system to which you will forward traffic? "
Now this field is apparently required so I need another virtual on this same LTM referencing my CAS pool?
- ipman_1988_5418
Nimbostratus
Or should I be using the deployment option "Big-IP LTM will receive HTTP-based CAS traffic forwarded by a Big-IP APM" ?
- ipman_1988_5418
Nimbostratus
This is the template I'm using and it only has three deployment scenarios. I don't see where any of these apply to using APM and LTM on the same appliance based on the questions that I'm being prompted with for each one.
f5.microsoft_exchange_2010_2013_cas.v1.3.0
-
Big-IP will load balance and optimize CAS traffic (doesn't ask about any APM parameters)
-
Big-IP LTM will receive HTTP-based CAS traffic forwarded by a Big-IP APM (doesn't ask about any APM parameters)
-
Big-IP APM will provide secure remote access to CAS (asks for all APM parameters for AAA servers, but then asks what the remote IP is of the LTM to forward traffic to as I mentioned above)
-
- ipman_1988_5418
Nimbostratus
I think I got this working without the iapp. I just needed to create a branch rule in my policy to determine if it's an activesync client coming in and bypass the resource assign stuff. Seems to be working now for OWA and ActiveSync. I'll keep testing :)
- David_Glasgow_1
Nimbostratus
Hi, could you expand on your branch rule you used in your policy to determise if its and activesync client?
Thanks David
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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