cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
484
Views
0
Helpful
2
Replies

If cache go down, how to bypass Transparent Caching in CSM ?

drazik
Level 1
Level 1

hi.

I configured transparent caching in CSM.

But cache go down, CSM dropped traffic to web server.

In this case, deed more configuration?

please me know how to bypass in cache go down .

thanks.

============== CSM configuration ==================

module ContentSwitchingModule 3

vlan 10 client

ip address 192.168.112.2 255.255.255.0

route 172.29.0.0 255.255.0.0 gateway 192.168.112.1

!

vlan 11 server

ip address 192.168.112.2 255.255.255.0

gateway 192.168.112.3

route 172.18.1.10 255.255.255.255 gateway 192.168.112.4

!

probe CACHE icmp

interval 2

retries 1

failed 2

receive 1

!

serverfarm CACHE

no nat server

no nat client

real 172.18.1.10

inservice

probe CACHE

!

serverfarm FORWARD

no nat server

no nat client

predictor forward

!

policy NOCACHE

client-group 10

serverfarm FORWARD

!

policy CACHE

serverfarm CACHE

!

vserver FROMCACHE

virtual 0.0.0.0 0.0.0.0 any

serverfarm FORWARD

persistent rebalance

inservice

!

vserver REDIRECT

virtual 0.0.0.0 0.0.0.0 tcp www

vlan 10

serverfarm CACHE

persistent rebalance

slb-policy NOCACHE

slb-policy CACHE

inservice

access-list 10 permit 172.29.1.10

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

under your vserver redirect, instead of configuring 'serverfarm cache' configure 'serverfarm cache backup forward'

If the serverfarm cache goes down, the CSM will use the backup which is a forward.

However, in this case, the response from the server will probably not come back to the CSM, so you should configure the vserver with the command 'unidirectional' as well.

Regards,

Gilles.

View solution in original post

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

under your vserver redirect, instead of configuring 'serverfarm cache' configure 'serverfarm cache backup forward'

If the serverfarm cache goes down, the CSM will use the backup which is a forward.

However, in this case, the response from the server will probably not come back to the CSM, so you should configure the vserver with the command 'unidirectional' as well.

Regards,

Gilles.

Hi. Gilles.

Thanks for your reponse.

I've solved this issue.

Sangjun.

Review Cisco Networking for a $25 gift card