I have a 4 node cluster currently running ceph for storage. Each node is presenting discs to the ceph pool and all is great with the 20 something VM's currently running.
Now I want to focus on getting rotating backups done. For this, I would like to have a couple of USB external harddrives that are rotated off site on a schedule. The plan is to plug a USB drive in for a week while backups run against the USB drive, then rotate it with a new USB drive for the following week.
I currently have usbmount installed to automount the USB drive to /media/usb0 on node #1. I then mapped a directory for VZDump to the /media/usb0 path and created a backup schedule for my VM's. Now the problem is the USB drive is only mapped on node #1. When nodes #2, #3, and #4 attempt to perform backups, like node #1, they perform backups to /media/usb0. Unfortunately, they don't have the USB drive mapped to this location so they begin to write to the local storage and not the external USB drive. I only caught this error once the local drives were almost full and started to become a huge problem.
How to I set this up the correct way so that all 4 nodes can write to the external USB drive as the backup location?
Now I want to focus on getting rotating backups done. For this, I would like to have a couple of USB external harddrives that are rotated off site on a schedule. The plan is to plug a USB drive in for a week while backups run against the USB drive, then rotate it with a new USB drive for the following week.
I currently have usbmount installed to automount the USB drive to /media/usb0 on node #1. I then mapped a directory for VZDump to the /media/usb0 path and created a backup schedule for my VM's. Now the problem is the USB drive is only mapped on node #1. When nodes #2, #3, and #4 attempt to perform backups, like node #1, they perform backups to /media/usb0. Unfortunately, they don't have the USB drive mapped to this location so they begin to write to the local storage and not the external USB drive. I only caught this error once the local drives were almost full and started to become a huge problem.
How to I set this up the correct way so that all 4 nodes can write to the external USB drive as the backup location?