Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-19, 03:21:22

Author Topic: High Availability for Kloxo-MR  (Read 3596 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
High Availability for Kloxo-MR
« on: 2016-07-12, 12:10:05 »
Hi,
i have a customer wondering if we can offer HA for Kloxo-MR.
What about fail-over, or DNS Round-robin, or any type of loadbalancing with Kloxo-MR?

Can we achieve this for any other means even support for it isn't in Kloxo-MR?

What about using Nginx reverse proxy with upstream to multiple backends? I know that this means we need a way of keeping multiple Kloxo-MR backends in sync.

Also Nginx now supports load balancing DNS, i.e UDP.  It would be great if we could support this in Kloxo-MR.


What if we use a shared storage (NFS, Ceph and  likes) for /home and then somehow sync /opt/ both ways?
Assuming DB is clustered somehow between all the Kloxo-MR nodes. That's easy to achieve i think.

Then comes the mail server (Qmail), i have no clue how to achieve HA for that :(


@Mustafa @Spacedust, any ideas, views/thoughts on this?


« Last Edit: 2016-07-12, 12:27:55 by fossxplorer (formerly 'Mella') »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Availability for Kloxo-MR
« Reply #1 on: 2016-07-12, 12:32:41 »
1. Just modified custom php-fpm and proxy conf in globals for nginx to support load balancing
2. No need dns load balancing but add ns for dns with different 'dns server'
3. No comment for others.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: High Availability for Kloxo-MR
« Reply #2 on: 2016-07-12, 13:18:21 »
Modify custom php for what purpose?
Nginx load balancing is pretty easy to achieve, but the backends to use in upstream {..}  need to be synced somehow.
How do we sync all the web  (Apache) and PHP-FPM config files between multiple servers?
When there is a change done in the Kloxo-MR web GUI by admin or a customers, all these changes must be replicated between all the servers. Only DB replication is kind off easy to achieve, the rest isn't!


>2. No need dns load balancing but add ns for dns with different 'dns server'"
This is not load balancing, but just adding more name servers that are separate DNS servers?


What about using Redis for PHP session so one user can be sent to random backend servers?

Also, can i assign a customer to a dedicated Kloxo-MR server if i have , say, 2 Kloxo-MR servers?



1. Just modified custom php-fpm and proxy conf in globals for nginx to support load balancing
2. No need dns load balancing but add ns for dns with different 'dns server'
3. No comment for others.
« Last Edit: 2016-07-12, 13:28:32 by fossxplorer (formerly 'Mella') »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Availability for Kloxo-MR
« Reply #3 on: 2016-07-12, 13:46:29 »
1. By default, nginx in Kloxo-MR not setting up in 'load balancing' mode. So, need modified relate files (in this context are php-fpm and proxy conf files).

2. You can setting up more ns in 'dns setting' (or dns panel). If using Kloxo-MR use 'secondary dns' for slave dns.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.029 seconds with 21 queries.

web stats analysis