[development] Cluster with drupal ?

Justin Edwards justin at telelanguage.com
Wed Nov 3 19:31:12 UTC 2010


Damian,

Most data is stored in the database.  You can 'sync' (replicate) databases
using mysql master slave, or master master configurations.   For webserver
files for things such as images or themes, you will have to use a setup like
rsync to copy files from one place to another.

You can also use configurations like a reverse proxy to allow more than one
webserver to serve files out of a central location (load balanced cluster).
 Most reverse proxies can be configured to make certain URLs or folders to
be served from just one server, and that server host the uploaded files.

You might need to do some research on clustering webservers, and clustering
databases, they are completely different concepts.  You can cluster one or
the other, or both.   No one here can tell you exactly what to do, because
we don't know what resources you have available, and ultimately you will be
responsible for the maintenance and backup plans.   We don't know the
purpose of your drupal installation, or the load, etc.


Justin Edwards
TeleLanguage Inc,
Network Administrator



On Wed, Nov 3, 2010 at 2:20 PM, Damian Adriel Perez Valdes <
damian.adriel at gmail.com> wrote:

> The principal Idea I have. The owner of one website can add information to
> his site, but i want that this sites sync with all others sites and include
> the others informations too.
>
> thanks
>
>
>
> On Sun, Oct 31, 2010 at 8:26 AM, Kevin O <nowarninglabel at gmail.com> wrote:
>
>> If you set up a cluster using ndbcluster tables then some modifications
>> are necessary. Since we use such an architecture, I have written about it
>> here:
>> http://www.coderintherye.com/drupal-mysql-cluster-ndbcluster-high-availability
>>
>> On that note, there are some issues in core a while back that could use
>> some looking at relating to get ndbcluster support out of the box with
>> Drupal (filed against 8.x): http://drupal.org/node/703916 and
>> http://drupal.org/node/391130
>>
>> Cheers,
>>
>> Kevin O'Brien
>> Drupal Developer
>> http://www.coderintherye.com
>> 415-754-0112
>>
>>
>>
>> ------------------------------
>>>
>>> Message: 2
>>> Date: Sat, 30 Oct 2010 18:17:00 -0600
>>> From: Cameron Eagans <cweagans at gmail.com>
>>> Subject: Re: [development] Cluster with drupal ?
>>> To: development at drupal.org
>>> Message-ID:
>>>        <AANLkTikHOpyUr_ps8B5Fy+BwRu8sPSecCWTYU42AHVLj at mail.gmail.com<AANLkTikHOpyUr_ps8B5Fy%2BBwRu8sPSecCWTYU42AHVLj at mail.gmail.com>
>>> >
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>>
>>> I actually just set something like this up for a client. Master-master
>>> replication works well. The only thing we had problems with is making
>>> sure
>>> that uploaded files get replicated to all of the web servers. We ended up
>>> using Dropbox (I know - there's better solutions out there, but we wanted
>>> to
>>> put something together quickly).
>>>
>>> Future plans were to implement something like the Andrews File System to
>>> replace Dropbox.
>>>
>>> Thanks,
>>> Cameron
>>>
>>>
>>>
>>> On Sat, Oct 30, 2010 at 14:13, Justin Edwards <justin at telelanguage.com
>>> >wrote:
>>>
>>> > This doesn't seem like something Drupal would need to be modified for.
>>>  Use
>>> > a master-master mysql installation, replicate the database, and use
>>> rsync to
>>> > keep your drupal front end files updated on all webservers.
>>> >
>>> > Make sure all uploaded files are pointed at the right server, you could
>>> use
>>> > a reverse proxy to make sure it is going to the right location(s).
>>> >
>>> >
>>> > Justin Edwards
>>> > TeleLanguage Inc,
>>> > Network Administrator
>>> >
>>> >
>>> >
>>> >
>>> > On Sat, Oct 30, 2010 at 1:57 PM, Blake Senftner <
>>> bsenftner at earthlink.net>wrote:
>>> >
>>> >> Take a look at the Services module, if you are not familiar with it.
>>> >> Allows one to expose APIs, which could be used for cluster node
>>> >> communications.
>>> >> I've made such a setup for a few clients, and am building one now at
>>> the
>>> >> RackSpace cloud that is planned to hook into their scaling API to
>>> >> dynamically scale.
>>> >>
>>> >> Sincerely,
>>> >> -Blake
>>> >> www.BlakeSenftner.com
>>> >>
>>> >> On Oct 30, 2010, at 5:25 AM, Damian Adriel Perez Valdes wrote:
>>> >>
>>> >> Hi:
>>> >>
>>> >> Can I make a something like a cluster with Drupal ?
>>> >>
>>> >> I need to install Drupal some servers, and that information of one
>>> drupal
>>> >> sync with a center server, and the others servers too.
>>> >>
>>> >> Exits some module to do it ?
>>> >>
>>> >> Thanks.
>>> >>
>>> >>
>>> >>
>>> >
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> http://lists.drupal.org/pipermail/development/attachments/20101030/7d618e11/attachment-0001.html
>>>
>>> ------------------------------
>>>
>>
>>
>
>
> --
> *Damián Adriel Pérez Valdés*
> Programador de Sistemas
> URL Blog: http://damianadriel.blogspot.com/
>
>
>
> - Soporte Técnico de PC (Hardware y Software).
> - Desarrollo de Software.
> - Diseño y Programacion de Sitios Web.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101103/dc62e818/attachment.html 


More information about the development mailing list