Forum Discussion
Use a table instead of a cron job
I have source address persistence configured on a virtual server with a 15 minute timeout for a few caching servers. I'm using a cron job, "b persist pool www.abc.com delete", to force a new load balancing decision every 15 minutes to ensure traffic is distributed to all servers in case a server goes down temporarily. Is there a way to use the table commands to perform this same action? It looks like there should be, I'm just having a problem understanding how to delete the connections every 15 minutes using the table commands.
2 Replies
- nitass
Employee
i never tried session/table command to delete persistence record. anyway, i think you may create a new virtual server with session/table command irule, create a pool with virtual server as a member and then assign health monitor with 15 minutes interval to the pool. so, health monitor packet will trigger the session/table command irule.
by the way, since you are load balancing cache servers, don't you want to use carp instead of source address persistence?
sol11362: Overview of the CARP hash algorithm
http://support.f5.com/kb/en-us/solutions/public/11000/300/sol11362.html - milo
Nimbostratus
Using CARP sounds like a great idea. Thanks for the information!!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
