30 4 * * * root /usr/local/bin/ha_daemon -c takeover
30 4 * * * root /usr/local/bin/reboot
ha_utils ssh
cron jobs are possible. The UTM rebuilds its /etc/crontab from /etc/crontab.* - other forum posts give more details/instruction.
What are the problems that cause the clusters to benefit from a switch over or reboot?
You may laugh, but I think the firewalls start dragging (throughput-wise) after being up for more than 24 hours. I started doing this out of desperation, because I'd come in, in the morning, and people would yell about the Internet dragging. I'd reboot the master, and everything would be good for a while. I spoke to a Sophos tech, and he says it could be related to releasing resources or something like that. I have noticed that the swap space usage creeps up gradually but inexorably the longer these firewalls are up.
Owner: Emmanuel Technology Consulting
Former Sophos SG(Astaro) advocate/researcher/Silver Partner
PfSense w/Suricata, ntopng,
Other addons to follow
Alright I have to chime in here because every time there is a thread like this (I've been searching) William and others jump all over the OP with irrelevant statements about Windows instead of answering the question. This is a perfectly valid need, and one we share for a number of reasons, many of which having to do with the sorry state of MANY things in 9.x that are still broken...
A big one for us is that:
1) by design (for some strange reason) static routes for a particular interface do not get invalidated if that interface goes down, which leads us to
2) using multipath instead of static routes to handle sending certain traffic over certain WAN connections, which would be fine but unfortunately
3) multipath rules, once invalidated due to a failover, never fail back into the desired state even when the failed interface comes back... like ever. weeks after a failover event (even one that just lasts moments) the multipath rule will still be completely ignored and the traffic will continue to flow over the wrong interface
Sophos support has been completely useless as far as solutions to this go, so our only option for our hundreds of SGs is to turn to scheduling some kind of periodic reboot so that the multipath rules reset to the way they should be.
Honestly it's completely absurd that this kind of thing can't be done and done easily via SUM.
Did my crontab-static suggestion in the other thread resolve these issues for you, pesos?
Cheers - Bob
Hi Bob! I read that as "cron-tastic" suggestion lol. We were super busy this week coordinating a move of one of our datacenters, so haven't yet had a chance to try that out - but it sounds good and we are hopeful it will do the trick.
Will report back once we have a chance to check it out - thanks again!
Wes