using global_shared_dirs for network shares
|
|
Hello, I expected it to actually create a network share, not use a local shared dir. Seeing the comments and exmaple for set :global_shared_path, “/srv/share/myapp”, If yes, should I do it as instructed by ubuntu ? Regards, Adrian |
|
|
Hi Adrian, our gem does have the concept of a globally shared directory (as you say, something like NFS so multiple boxes have access to the same files) but it does not provide the sharing it self, it only sets up the symlinks. It defaults to the same behavior as local_shared_dirs. The reason it has support for both types is that some files, like logs, we don’t recommend storing on global storage but you still want them shared between releases of the app on the same box. Yes, you’d need to setup something like NFS – though using NFS would mean you’d have a central point of failure in your cluster. We provide a managed shared filesystem product using a clustered filesystem called GlusterFS. This allows, amongst other things, mirroring of files to multiple boxes for high availability. If you’d like more info on this service, just open a support ticket about it. I just had a quick look at the Ubuntu instructions on NFS – they look ok, but it’s not something we can officially support. Thanks, John. |