netscaler

Netscaler ADC setup scheduled Clearing Persistence


Is there a way of setting up some type of CRON job on the Netscaler VPX running firmware 11.0 to automatically clear Persistence Session Records on a daily basis?

https://docs.citrix.com/en-us/netscaler/12/load-balancing/load-balancing-persistence/clearing-persistence.html


Solution

  • in the /nsconfig folder you have a rc.netscaler file. Make a entry in the rc.netscaler where you add the cron job.

    When you reboot the rc.netscaler will be executed.

    You can also put files in the /var directory (survives reboot) and use an entry in /nsconfig/rc.netscaler to copy to /etc/....