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.
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.
Last edited: