Hi - I simply need to load balance TCP traffic to a specific port to 2 servers in a serverfarm. There is nothing in the documentation that states how to associate a serverfarm with a policy. The only documentation I can find which explains how to associate a serverfarm with a policy is if you configure a L7 policy - Do I need to configure a L7 policy even if I just want to do L4 load balancing?
I'm sure I must be missing something simple but I've been through the docs at length and I cn't find any config examples on CCO
Many Thanks, Dom
You should only need a L7 policy if you are doing L7 inspection.
The skeleton config should be something like:
class-map match-all VIP
match virtual address 192.168.1.100 any
policy-map type loadbalance first-match LB-POLICY
policy-map multi-match VIPS
loadbalance vip inservice
loadbalance vip LB-POLICY
(assuming that FARM is defined and the service policy applied to the interfaces)
If you look at the "getting started" guide there is a simple LB config in that. Although it does refer to an L7 policy it is more like an L4.