Same parameter-map used on 2 different classes

Answered Question
Apr 4th, 2007

Greetings,

If the same parameter-map (type connection or http) is used on two different policy-map classes, will that create a conflict in how traffic for each of serverfarms uses persistence or inactivity timeout (script 1)?

Should we create a different instance of parameter-maps for each policy-map class (script 2)?

----------------------------------------------

Script 1

-------------------------

parameter-map type connection inactivity_2000

set timeout inactivity 2000

!

parameter-map type http persistence-rebalance

persistence-rebalance

!

!

policy-map multi-match L4_POLICY

class L3-4_VIP_A

connection advanced-options inactivity_2000

appl-parameter http advanced-options persistence-rebalance

loadbalance policy L7_Serverfarm_A_Policy

loadbalance vip inservice

loadbalance vip icmp-reply active

class L3-4_VIP_B

connection advanced-options inactivity_2000

appl-parameter http advanced-options persistence-rebalance

loadbalance policy L7_Serverfarm_B_Policy

loadbalance vip inservice

loadbalance vip icmp-reply active

----------------------------------------------

Script 2

-------------------------

parameter-map type connection L3-4_VIP_A_connection

set timeout inactivity 2000

!

parameter-map type connection L3-4_VIP_B_connection

set timeout inactivity 2000

!

parameter-map type http L3-4_VIP_A_http

persistence-rebalance

!

parameter-map type http L3-4_VIP_B_http

persistence-rebalance

!

!

policy-map multi-match L4_POLICY

class L3-4_VIP_A

connection advanced-options L3-4_VIP_A_connection

appl-parameter http advanced-options L3-4_VIP_A_http

loadbalance policy L7_Serverfarm_A_Policy

loadbalance vip inservice

loadbalance vip icmp-reply active

class L3-4_VIP_B

connection advanced-options L3-4_VIP_B_connection

appl-parameter http advanced-options L3-4_VIP_B_http

loadbalance policy L7_Serverfarm_B_Policy

loadbalance vip inservice

loadbalance vip icmp-reply active

----------------------------------------------

Thanks

I have this problem too.
0 votes
Correct Answer by Gilles Dufour about 9 years 8 months ago

you can reuse the same parameter map.

Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.

Actions

This Discussion