Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
In this tutorial were going to set up a glusterfs cluster with a replicated folder for use as webroot (/var/www/html) for our webservers. This means that all the servers we run have the same files in the webroot.
I’ve run this set-up on Raymii.org in combination with a Round-Robin DNS on 8 OpenVZ servers. I’ve now switched to something different because GlusterFS consumed more ram than available on my low-end servers.
Note that this only covers file-replication, not database replication.
This for example can work good for static media files (images, video) or websites that run without a database (like mine, or static html).
In combination with a round-robin DNS it provides a semi-HA setup.
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help