cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
847
Views
0
Helpful
4
Replies

Sticky Resource Not Available when setting up sticky http-cookie

rlortiz
Level 1
Level 1

When I try to configure the sticky:

(config)# sticky http-cookie ACE-COOKIE COOKIE-STICKY

I get the error:

sticky resource not available

An L7 policy has not yet been set up… could that be the reason for this error? Or, is it because I have not setup a class resource for the sticky cookie?

1 Accepted Solution

Accepted Solutions

You got it right.

You need to create a resource class for sticky and apply it to the desired context to make it work.

resource-class xyz

limit-resource sticky minimum 10.00 maximum unlimited

context test

allocate-interface vlan 10

allocate-interface vlan 11

member xyz

Thanks

Syed

View solution in original post

4 Replies 4

You got it right.

You need to create a resource class for sticky and apply it to the desired context to make it work.

resource-class xyz

limit-resource sticky minimum 10.00 maximum unlimited

context test

allocate-interface vlan 10

allocate-interface vlan 11

member xyz

Thanks

Syed

Syed,

I thought it resolved it, but it really didn't.

Added the resource-class in the Admin context:

resource-class any-available

limit-resource all minimum 0.00 maximum unlimited

limit-resource sticky minimum 35.00 maximum equal-to-min

no difference.

Did you assign it to the admin context?

Do you have following in your config?

context Admin

member any-available

Thanks

Syed Iftekhar Ahmed

There was a misspelling..all better now..

Thanks again Syed!!