wrap cPanel/DA background tasks (daily backup, updates, stats etc) in LVE
We've had great results wrapping some common cPanel background crons (like daily backups, system updates, stats processing etc) inside an LVE.
Assigning limits to these kinds of processes keeps more resources available for hosting accounts, resulting in more uniform performance and happier clients.
A way for setting this up from WHM or a special command-line tool would be very nice.
Suggestion for processes that could run in an LVE:
- daily backups
- system and OS updates
- stats processing
- spam/virus filter
- many other system crons
The current way to do this is by adapting cPanel scripts and crons using the lvesuwrapper and lvewrapper commands (which needs wheel group configuration). This has some disadvantages:
- cPanel updates may/will break the changes
- lots of manual work
- unclear where all the crons are located
- limits can only be changed through the command line (do not show up in WHM LVE Manger)
- manually setting up wheel groups
Probably this feature would be useful for DirectAdmin users as well
-
Ebridge commented
example of how this can work out for daily backups:
https://forums.cpanel.net/threads/reducing-load-and-disk-i-o-for-cpbackup-with-cloudlinux.344912/