Block traffic to node during specific time period
Hello all. I have a situation where we need to recycle our AppPools for two servers, that are in the same LTM Pool, during two different times, so I need to create an irule that will block traffic to each specific node for a time period of about 30 minutes.
So for example Web1's AppPool will recycle at 2am and Web2's AppPool will recycle at 3am. I need to be able to keep traffic from getting to those servers during that specific time period, and both Web Servers. I've seen a few examples on setting up maintenance windows based on time, but didn't notice anything that addressed stopping traffic to just one node within specific pool.
Any suggestion or if anyone can point me in the right direction I'd appreciate it.
Just a side note, we can't set a different time within IIS for the AppPool recycles because the AppPools settings are being replicated and the replication software doesn't allow that granularity of changing those settings. Plus I want to make sure I'm reducing the load on the server that the AppPool is being recycled on during that period.
I'm running 10.2.4 with HF5 on LTM 3400
Thanks, Bob