Advanced

Howto setup a glusterfs replicated cluster as webroot

Posted by relst on · Post a comment
Raymii.org; By Relst
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian, PHP

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

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

Sign up and post (it is free)  or  Log in and post