Hey everyone! I'm relatively new to this and I'm trying to figure out if there's a way to create redundant Persistent Volume (PV) storage using NFS. For example, if I mount /data from 192.128.1.1 and that server goes down, I want it to seamlessly switch to /data from 192.168.1.2. Is there a reliable method to achieve this? I haven't found much information and it seems hard to believe there's no solution available. Cheers!
1 Answer
To achieve redundancy, you need to think about how you’ll replicate your data. Options like DRBD could work for replication. However, a more common practice in building reliable systems is to steer clear of persistent filesystems where possible. Instead, consider using databases for data management, blob storage for large files, or dedicated logging services. They often handle their own replication automatically, which can save you headaches in the long run.
I see your point! I was considering using hourly rsync for data syncing. But what’s a standard approach for databases in this case? I came across a tutorial that mentioned using Git.