Hello, I have two machines with a file called "mybd.db". Each machine can write at this file and i need to sync it. I have tought about nfs, but if the machine that holds the file goes down them the other machine won't be able to read/write this file, right? Are there any other solutions?
Have a look at this tutorial: http://www.howtoforge.com/mirroring_with_rsync If you need the file to be synced in realtime and worry about the availability of the NFS server, take a look here: http://www.howtoforge.com/high_availability_nfs_drbd_heartbeat