SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Schedule virtual servers so their not running concurrently
Author Message
Post Schedule virtual servers so their not running concurrently 
We have about 80 virtual servers running on 20 Physical servers that
need backed up.

Our Bacula implementation is now at scheduling stage and we are stuck
trying to figure out how to get the virtual servers to backup without
them all running concurrently overwhelming the physical servers that
they are on.

Our current plan is to have just one Schedule that will start at 1am
then we will give each virtual server a unique priority, We plan to give
the the first Job a priority of 5 then the next 10 and on.....This seems
a messy but I can't see any other way to stop or limit the number of
virtual servers on the same physical server from running at the same time.

There must be other people with load of virtual servers that have the
same issues. This has probably been that forth or fifth email that I
have written to this group. I've never sent the previous ones as I 've
always found a solution before sending the email, but this time I'm
stuck. It seems that the people that make Bacula what it is have though
of everything and I'm just hoping there an elegant solution to my problem.

Any help is really appreciated.

Thanks
Keith






------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Schedule virtual servers so their not running concurrently 
On Mon, Jan 30, 2012 at 11:20:15AM +0000, keith wrote:
We have about 80 virtual servers running on 20 Physical servers that
need backed up.

I tend and just ignore that problem as my virtual servers have quite
different data on it and the network is the limiting factor here, not
the disk io. Nonetheless a few thoughts...

Our current plan is to have just one Schedule that will start at 1am
then we will give each virtual server a unique priority, We plan to give
the the first Job a priority of 5 then the next 10 and on.....This seems
a messy but I can't see any other way to stop or limit the number of
virtual servers on the same physical server from running at the same time.

What about scheduling the next job on each physical server as a post-job
to the last one?
You could add the info which virtual server resides on which phyical one
to an extra table in the bacula database you have anyway, then just
write a generic job that selects the next job to be run.
e.g. a table
# Be aware, pseudo sql code, won't work, just to illustrate the idea
create table my_schedule_classes {
id int autoincrement,
physical varchar(255),
virtual varchar(255),
}

SELECT virtual FROM my_schedule_classes WHERE id>(SELECT id FROM my_schedule_classes WHERE virtual='%my-current-job') AND physical=(SELECT physical FROM my_schedule_classes WHERE virtual='%my-current-job') ORDER BY id ASC LIMIT 1
gives the job name.

Bacula has some variable for '%my-current-job'.
If you add the physical servers jobs to the table, you can just start
the schedule by scheduling the physical servers job. Instead of a
schedule for the virtual servers you need to add them to the table.

Regards,
Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
Mail: lihas < at > lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB