Report this

What is the reason for this report?

Shared storage between centos servers

Posted on March 20, 2016

I have opencart installed into 2 server , so what is the best way to share a storage between 2 or more servers regarding to performance i have tried glusterfs but am not sure if that the best way to do it .

I can write script to do sync between the 2 server . so what is the benefit using glusterfs other than redundancy and high availability .



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

GlusterFS is not a bad choice at all for 2 servers. While it is possible to sync files between two servers in a more manual process doing this would make it more likely that files could become out of sync (if a change is made on one server and a request is sent to the other before the sync has happened). This is much less likely to be a problem with a shared distributed filesystem like GlusterFS.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.