S
S
subvillion2016-07-25 16:37:51
linux
subvillion, 2016-07-25 16:37:51

Distributed cron with execution wait?

There are n servers running time-consuming tasks, such as backup on nas. So that nas does not choke, I use a self-written scheduler that starts a task, waits for completion / error, starts the next one on another server, and so on in a circle. The closest "analogue" found is Prun, but it has a sharpening for other tasks.
Question - is there? With statistics, manual start/stop, gui, etc. not to farm.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
subvillion, 2016-11-13
@subvillion

I found two acceptable solutions for myself: Ansible Tower and Rundeck. Not without downsides. Tower paid for over 10 hosts, rundeck is written in Java. Stopped at the last one.

Y
younghacker, 2016-08-05
@younghacker

If you need to backup then put a special backup tool for example bacula / bareos. It looks like a multi-headed hydra at first glance, but after mastering it, it is a very pleasant and completely autonomous tool.
And if you need to make a system of ropes so that in a month you won’t remember why something doesn’t work, or even better, give this “hellish” heritage to the next admin, then you need to write it yourself. Lots of options.

V
Vladimir Grabko, 2016-07-25
@VGrabko

Write and share with us.

V
Vasily Pechersky, 2016-07-25
@Vasily_Pechersky

You can make authorization by key between servers and at the end of the script on server A, write the script to run on server B.
something like:
#!/bin/bash
rsync dirA/* dirB
ssh serverB "srnbackup script"
Well, or choose from all the wealth of
www. opbyte.it/grsync
www.tecmint.com/linux-system-backup-tools
www.cyberciti.biz/open-source/awesome-backup-softw...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question