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. 2017-11-07, 22:19:28

Author Topic: Master + Slave Question  (Read 1692 times)

0 Members and 1 Guest are viewing this topic.

Offline raglow

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Master + Slave Question
« on: 2013-08-22, 04:02:21 »
Hey all, I'm having a bit of trouble understanding something (and I'm apparently looking it up wrong because I can't find information on Google or elsewhere). So here's the question.

Let's say I have two servers: 199.999.999.991 and 199.999.999.992

I set up the first one as master and the second one as slave. Their stats are BOTH equal, such as:

HDD: 50 GB
CPU: 2.4 GHZ
RAM: 4 GB

Since the slave is part of the master, would that mean that the system (I'd be using *.991 to log in to Kloxo now, right?) would read it as being:

HDD: 100 GB
CPU: 2x 2.4 GHZ
RAM: 8 GB

??? And if so, when adding a new Client, how would you know what server it ended up putting them on? What if they used a lot of space (say 60GB)? Would it automatically split it so that X would go to Master and Y would go to Slave? If server 1's CPU was being bogged down would it also utilize some of server 2's?

I'm trying to better understand how the multi-server setup works here for future expansion.

Thanks in advance!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Master + Slave Question
« Reply #1 on: 2013-08-22, 04:14:03 »
No it would not read as 100.  The servers remain seperate in identity.  Meaning in Kloxo say master is localhost and slave is slavehost (this name is defined when you add slave)

When adding a domain it adds a selector for which server.  And uses correct DNS which you have already setup on slave.

I am unsure about services, like mysql and how they work when you only have one mysql server for two webservers.  I know that mustafa has said php-fpm doesn't work correctly between master/slave as of yet.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline raglow

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Master + Slave Question
« Reply #2 on: 2013-08-22, 04:16:57 »
Quote from: "chrisf"
No it would not read as 100.  The servers remain seperate in identity.  Meaning in Kloxo say master is localhost and slave is slavehost (this name is defined when you add slave)

When adding a domain it adds a selector for which server.  And uses correct DNS which you have already setup on slave.

I am unsure about services, like mysql and how they work when you only have one mysql server for two webservers.  I know that mustafa has said php-fpm doesn't work correctly between master/slave as of yet.

Thank you; that is actually really helpful!

So essentially what you're saying is that when running just one server (like I have now) there's no option, but if I add more servers it will give options when creating each client, to choose which server I want them added to? Or is there something special that needs to be done to get that option up?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Master + Slave Question
« Reply #3 on: 2013-08-22, 07:52:57 »
No you are correct.   Once you add slaves the option where you want the domain to host will appear.  Also you will be able to manage server options under the server tab for the salve.

Essentially you will have two seperate servers working together, if that makes sense. It is slightly different if you use say one server for mail and a different one for mysql - etc.

Glad I could help
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline raglow

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Master + Slave Question
« Reply #4 on: 2013-08-22, 09:52:56 »
Quote from: "chrisf"
No you are correct.   Once you add slaves the option where you want the domain to host will appear.  Also you will be able to manage server options under the server tab for the salve.

Essentially you will have two seperate servers working together, if that makes sense. It is slightly different if you use say one server for mail and a different one for mysql - etc.

Glad I could help

Thanks again for the clarification! I'm loving this script more and more as I learn more about it, :p.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Master + Slave Question
« Reply #5 on: 2013-08-22, 12:12:29 »
KloxoMR is great!  All praise goes to Mustafa for his continued improvements to Kloxo!
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

 


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

Page created in 0.048 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM