Maria McKinley wrote: > Since Phil couldn't tell me what does happen when there are two jobs at > the same time with the same priority, I haven't changed added that, but > would be glad to if someone else knows.
I remember scouring the manual for this, and couldn't find a definitive answer. There's a bit just above here: http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000144000000000000000 which states: "If you have several jobs of different priority, it is best not to start them at exactly the same time, because Bacula must examine them one at a time. If by chance Bacula treats a lower priority first, then it will run before your high priority jobs. To avoid this, start any higher priority a few seconds before lower ones. This insures that Bacula will examine the jobs in the correct order, and that your priority scheme will be respected." I take the "by chance" to mean that "the order of execution for jobs started simultaneously is not guaranteed" The documentation for the "Run" directive in the "Schedule" resource states "If you have two Run directives that start at the same time, two Jobs will start at the same time (well, within one second of each other).", but gives no indication of ordering. Documentation for the "Priority" directive in the "Client" resource states that "The clients are ordered such that the smaller number priorities are performed first (not currently implemented)." So, going by the documentation (which isn't the same as going by the code, by any stretch..), it appears that the execution order of jobs started simultaneously is non-deterministic and as such, if you want to be sure that jobs are executed in a specific sequence, you should have multiple schedules staggering their start times. Then you can use job priorities to control which jobs run concurrently. This is what I do, anyway. -- Russell Howe [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users