Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170645

Cluster wide cron?

$
0
0
Hi,

I'd like to run a cron entry on all nodes in my cluster. Is there a cron file that gets replicated across all nodes in the cluster like vzdump.cron?

Gerald


edit: I might as well tell you what I'm doing. I generate offsite backups every weekend. The VM's get dumped to an NFS mount. So, on Friday, the NFS servers gets a USB drive hooked up at an NFS export point. Proxmox already has the NFS point mounted, so doesn't see the USB drive. If I umount the NFS mount on Proxmox, it gets remounted automagically, and Proxmox now sees the USB drive.

On Monday, the USB drive is unmounted on the NFS server, so I Proxmox needs to umount it as well.

Right now, my crontab contains:

# unmount the offsite disk, forcing a remount with the actual mounted one on backuppc.norscan.com
45 12 * * 6 /bin/umount /mnt/pve/offsite
50 11 * * 1 /bin/umount /mnt/pve/offsite

But I need to maintain this on all nodes in the cluster. It would be easier if I only had to do it once.

Viewing all articles
Browse latest Browse all 170645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>