Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Sticky Resource Not Available when setting up sticky http-cookie

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

Re: Sticky Resource Not Available when setting up sticky http-co

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

4 REPLIES

Re: Sticky Resource Not Available when setting up sticky http-co

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

New Member

Re: Sticky Resource Not Available when setting up sticky http-co

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.

Re: Sticky Resource Not Available when setting up sticky http-co

Did you assign it to the admin context?

Do you have following in your config?

context Admin

member any-available

Thanks

Syed Iftekhar Ahmed

New Member

Re: Sticky Resource Not Available when setting up sticky http-co

There was a misspelling..all better now..

Thanks again Syed!!

428
Views
0
Helpful
4
Replies
CreatePlease to create content