I have two servers: Srv A and Srv B They're on separate networks and they have public ip addresses How can I allow Srv A have read, write, execute rights to Srv B? Where would I start? Thanks!
Need more info. But if I were to suggest something, I would do something like NFS share or samba or just a network share.
It's ease if the servers are both linux. As darvil wrote the best way is to use NFS (Network File Sysmem). But if the network between the servers gone you will have big problem. May be it's better to synchronize the files between the servers (for example using rsync).
Well here's the scenario My web application allow users to upload images on Server A. I want to serve those images on Server B. What is the best way to allow Server A to write to Server B's image directory? Thanks!
you can use NFS. Just mount server B NFS share (for images) on server A in a directory where you are going to save the images. But are these 2 servers connected to each other? IE same datacenter? or at least on the same switch? Otherwise you're going to have delays as it needs to fetch the files from another server. I guess you can minimize by using caching software too.