Submitted by gnilebein on Thu, 10/06/2011 - 06:57
The status.pl cronjob runs every 5 minutes by default.
If you configure a Host downtime before automatic failover smaller then 5 minutes, it will never work.
Please add a feature to adjust the cronjob depending on the configured wait time or create a cronjob for the failover.
It can lead to further problems:
The wait time is 5 Minutes:
13:52: Xen host goes down 13:55: Run Cronjob, but the 5 minute wait time is not over. The failover won't start 13:57: Wait time is over... But no cronjob at this time 14:02: Cronjob will start the failover.
In this time you have to wait 10 Minutes befor the automatic failover is done...
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 10/06/2011 - 12:34 Comment #1
Yes, that is sort-of expected .. the 5 minute timer starts when Cloudmin first detects the VM is down, which can only happens on 5-minutely run of status.pl.
One work-around is to adjust the
/etc/webmin/server-manager/status.pl
job to run every minute, at Webmin -> System -> Scheduled Cron Jobs. This will increase the load on your master system due to more frequent status checks though..Submitted by gnilebein on Fri, 10/07/2011 - 02:53 Comment #2
Okay, thanks :)