Hi, in production I have 2 debian servers to which my app is deployed: the first has a public IP and serves as webserver and the second has a private IP and is used for database and other scripts running. The scripts that are running saves some files on the second server that should be accessed from the first server. Is there an easy way to mount/link (?) the directories I need to be accessed from both servers? Thanks, Andrea --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
An wrote:> Hi, > in production I have 2 debian servers to which my app is deployed: > the first has a public IP and serves as webserver and the second has a > private IP and is used for database and other scripts running. > > The scripts that are running saves some files on the second server > that should be accessed from the first server. > Is there an easy way to mount/link (?) the directories I need to be > accessed from both servers? > > Thanks, > Andreamount that second server directory into you web server machine (in public) use "sshfs" tool for file mounting , it is very fast sshfs remote-user-evScllzyGZNPgaqwA9I5TQ@public.gmane.org:/remote/directory /local/machine/remote_directory/ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
That is what I was looking for! Thank you very much! Andrea On 16 Ott, 13:04, Sniper Abandon <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> An wrote: > > Hi, > > in production I have 2 debian servers to which my app is deployed: > > the first has a public IP and serves as webserver and the second has a > > private IP and is used for database and other scripts running. > > > The scripts that are running saves some files on the second server > > that should be accessed from the first server. > > Is there an easy way to mount/link (?) the directories I need to be > > accessed from both servers? > > > Thanks, > > Andrea > > mount that second server directory into you web server machine (in > public) > use "sshfs" tool for file mounting , it is very fast > > sshfs remote-u...-evScllzyGZNPgaqwA9I5TQ@public.gmane.org:/remote/directory > /local/machine/remote_directory/ > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---