I have the following process in place on one of my servers. On server ABC an application creates reports (a unique file name is generated each time) and writes them to directory /a/b. A different application creates reports (a unique file name is generated each time) and writes them to directory /a/b/c. A script runs at the top of each hour which moves the files, via scp, in directory /a/b to server DEF and moves the files in /a/b/c to server XYZ.
I would like to eliminate the script and have the applications write the reports directly to servers DEF and XYZ using NFS.
Is it possible to do this without having to modify the application that writes to a/b/c in order to write the files to a different directory? If it is possible, do I place the NFS mount in /etc/fstab for /a/b/c in front of the entry for /a/b?
Harley