On Fri, Jan 11, 2008 at 11:14:48AM +0100, Robert Wirth wrote:
> Hi!
> 
> Running Bacula 1.38.11, I want to change the MaxStartDelay of a job.
> Situation:  
> 
> - several Jobs are started at 23:10 with priority 10
> - the Catalog job is started at 23:15 with priority 13
> 
> The MaxStartDelay for the Catalog job was 1 hour.  This was to short 
> (it came from the misunderstanding of MaxStartDelay which, I now learned
> to be likely a "MaxStartDelayAfterSchedule").
> The Catalog is aborted (without an email warning/error message) because
> higher jobs are still running 1 hour after it was _scheduled_ (and still
> waiting for the higher jobs to complete).
> 
> Manually run of the Catalog job in the morning works, thus the Job is ok.
> 
> Now, I increased the MaxStartDelay in the bacula-dir.conf to 6 hours.  
> Quite long enough that all higher jobs are completed before.   After 
> reloading the configuration using bconsole, nothing has changed :-(
> 
> I wonder if the value of MaxStartDelay is buffered somewhere in the
> Bacula DB, and changes on the configuration file will not proceed
> without an update of the DB entries?  
> (I tried to find out the value of MaxStartDelay using bconsole's show, 
> but I can't find it).
> 
> Any help welcome.
> 
> Regards,
> 
>       Robert
> 
Hello Robert,

if you just want to be sure that your catalog job runs after higher
priority jobs pick a prio 10 for the higher prio and a 20 for the
lower ones. The start times are ok with 23:10 for high and 23:15 for
low prio. Now remove the MaxStartDelayAfterSchedule limit and set it
to 0.
That works for me in Bacula 2.24-7.

Regards back

-- 
Matthias Baake
- Systemadministration -
MarcanT InterNet-Services GmbH 
Ravensberger Str 10 G 
D - 33 602 Bielefeld 
Fon: +49 5 21 - 9 59 45 - 0 
Fax: +49 5 21 - 9 59 45 - 18 
E-Mail: [EMAIL PROTECTED] 
URL: http://www.marcant.net 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to