So, I am in the process of building a hot spare setup. The client will be recording all calls and keep them for a year.
I have 6TB of space (3 2TB diks) in each server to store everything.
From some tests I run, the backup that I have configured as hot swap doesn’t copy the recording files.
Well I prefer it this way, making a backup of the configuration and moving with scp all files to the spare server.
But how you would tackle the moving of the files between the 3 disks and keeping cdr reporting happy to be able to retrieve the file through the gui.
Any recommendations are welcome.
if you have the space, set up an NFS Mount, and map that to your /var/spool/asterisk folder on both servers.
that way, all recordings are only in 1 location.
From previous installations and documentantion mounting a network share as the destination folder for MixMonitor is a bad idea that might cause recordings with unsync parts.
I would prefer first make the recordings in a local folder and then move it to a network share.
Ha, so you have some experience with recordings, you mentioned config files which is just a small file that is waiting to be served.
So you had success with this kind of solution. I though doing something like that but I don’t have a third storage server, just these two.
You don’t, period. You properly use RAID or LVM or similar to create a single 6TB store from the 3 disks, and then you properly mount that. as the recording location.
Look into glusterfs if you are limited to two machines and want the share to be bi-directional (replicated in glusterfs-speak). I used zfs as the underlying drive format.
Well I though using RAID but to use all available space I must configure it as RAID 0 which I think it is not a good idea. On the other hand LVM seems the solution to go. If I loose one of the disks what happens to the LVM. I have never used a volume spanning three physical disks.
@Dicko I have never used glusterfs, can you share any link that you have used before.