Koozali.org: home of the SME Server

Mirroring SME 7.1 Servers - DRBD - Cluster

Offline organetic

  • *
  • 5
  • +0/-0
Mirroring SME 7.1 Servers - DRBD - Cluster
« on: July 15, 2009, 02:45:04 PM »
Hello everyone,

Looking for a way to Cluster 2 SMEserver machines, I've found a post with more than 2 years, from a person nicknamed boblefeu, that states that 2 machines are synchronized and fault tolerante and runs "perfectly well on 2 servers of production with approximately 60 users". This is great! I can't imagine why this doesn't made to final releases.

So, looking for a guide on how to make the cluster on Centos5, I've found this http://wiki.centos.org/HowTos/Ha-Drbd

Well, it seems that what's lacking now are the compiled drbd modules for SMEserver.

My point is that SMEserver is a great and one of the most usefull linux distributions out there, I've tried smoothwall and other solutions, but I keep reverting to SMEserver.

Now, just imagine Cluster as a feature. It would win every other distribution for all enterprise/SME purposes, hands down.

Please make a tutorial on how to do that, with compiled packages. I'm really willing to contribute for that with a nice donation, since I'm in a hurry for getting that done.

Regards,
organetic

The post I've found on SME contribs forum is bellow:

Mirroring SME 7.1 Servers
« Reply #3 on: March 28, 2007, 09:31:22 AM »

    * Reply with quoteQuote

Hi everyone,

I am register on the foum especially to be able to divide with you this howto on which I worked already much, because I am the author of this howto. That made already a moment that I hesitate to post over contribs my Howto and well, it is done thanks to Gaston.

Like that was already said, this howto is to be used only on machines of test.

At the hour current, the system functions perfectly well on 2 servers of production with approximately 60 users.

The service managed by drbd and Heartbeat are as follows:
- Apache
- Samba
- Imap / Imaps
- Pop3 / Pop3s
- Qmail
- Proftpd
- MySQL
I also integrated Cyrus/Imap.

   
For all questions, I remain at your disposal .

   
I make a point of excusing me for my horrible English…and I hope all the same to be understood .

regards,
« Last Edit: July 15, 2009, 09:05:37 PM by organetic »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mirroring SME 7.1 Servers - DRBD - URGENT
« Reply #1 on: July 15, 2009, 03:16:19 PM »
hi..

you can find a copy (in pdf, from google cache) of the SME-HA here

the necessary modules can be found in centos' repo.

about clustering feature, if you want it, you have 3 way to achieve it:
1) do it yourself (and, please, document it)
2) pay someone to do (and, of course, document it)
3) make a BIG donation (I say BIG, ok? :) )

Ciao
Stefano

P.S. SME 7.1 is outdated.. please update asap
« Last Edit: July 15, 2009, 03:18:08 PM by Stefano a.k.a. nenonano »

Offline organetic

  • *
  • 5
  • +0/-0
Re: Mirroring SME 7.1 Servers - DRBD - URGENT
« Reply #2 on: July 15, 2009, 03:42:15 PM »
Thank you vey much for your help

I will try to integrate this solution with the most up to date 7.4 version and post results to this forum.
I just hope that things haven't changed too much since 7.1...

Regards,

organetic

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mirroring SME 7.1 Servers - DRBD - URGENT
« Reply #3 on: July 15, 2009, 04:52:30 PM »
I find your use of "URGENT" in the subject confusing. Clustering is a complex topic, and you need to implement it very carefully, not at short notice and very quickly.

Offline organetic

  • *
  • 5
  • +0/-0
Re: Mirroring SME 7.1 Servers - DRBD - URGENT
« Reply #4 on: July 15, 2009, 08:59:42 PM »
Hi,

With "URGENT" I meant the need of help.
I'm lucky that SMEserver community support always shines.
Anyway, I'm just finishing the setp of the second server and I'll begin with DRBD configuration soon.

I'll post my results here.

Regards,
Nuno

Offline torsten

  • *
  • 14
  • +0/-0
    • http://www.deep-sea.net
Re: Mirroring SME 7.1 Servers - DRBD - Cluster
« Reply #5 on: December 09, 2009, 03:08:25 AM »
Hi Nuno,

just wandering if you ever finished the setup and if it was successful?

Cheers T

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Mirroring SME 7.1 Servers - DRBD - Cluster
« Reply #6 on: December 09, 2009, 05:35:23 PM »
Moving to General Discussion where it s more appropriate.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.