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. 2018-05-25, 22:08:50

Author Topic: master/slave kloxo-mr questions  (Read 5732 times)

0 Members and 1 Guest are viewing this topic.

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
master/slave kloxo-mr questions
« on: 2013-07-07, 23:11:00 »
I would appreciate some clarification on a few things concerning kloxo-mr in master slave cluster.  Please when answering my questions add the # so I know which part you are answering :)

#1:
do I have to update all custom. tpl files on slave or will the master custom templates be used? (for domain, php-fpm, etc)

#2:
If I am only using mysql on master, and on server roles for slave I have deleted mysql - can I uninstall mysql on slave?

I have more questions but start here :)

Thank you
« 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 MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,382
  • Karma: +115/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: master/slave kloxo-mr questions
« Reply #1 on: 2013-07-08, 17:17:46 »
Slave may not work for php-fpm_event on apache/nginx/lighttpd but if you choose other then php-fpm_event/_worker, it's work without problem.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

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 kloxo-mr questions
« Reply #2 on: 2013-07-08, 18:38:31 »
mustafa - please answer my questions from original post :)

I have the two configured in master/slave and have been working on it.

I use php-fpm event - why not work?  the master is working fine, going to add sites to slave to test.  why not work on slave?

please answer questions 1 and 2 from first post and:

#3:
If I use the master as mmail - will all qmail traffic go through master?  If a php script on the slave sends mail it will be piped and sent from the master?

I can not find any good tutorials/information concerning kloxo master/slave.

Please advise. :)
« 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 MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,382
  • Karma: +115/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: master/slave kloxo-mr questions
« Reply #3 on: 2013-07-09, 02:42:19 »
Why php-fpm not work in slave?. Because php-fpm need list of users for their config and I still didn't found how to send 'user-list' to slave from master.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,962
  • Karma: +1/-0
    • View Profile
Re: master/slave kloxo-mr questions
« Reply #4 on: 2013-07-09, 04:41:07 »
Quote from: "MRatWork"
Why php-fpm not work in slave?. Because php-fpm need list of users for their config and I still didn't found how to send 'user-list' to slave from master.

You can generate SSH key and transfer files via scp. It's easy as hell...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,382
  • Karma: +115/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: master/slave kloxo-mr questions
« Reply #5 on: 2013-07-09, 18:26:23 »
Quote from: "Spacedust"
Quote from: "MRatWork"
Why php-fpm not work in slave?. Because php-fpm need list of users for their config and I still didn't found how to send 'user-list' to slave from master.

You can generate SSH key and transfer files via scp. It's easy as hell...
It's not related how to send 'user-list' physicallly but via php-remote.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,962
  • Karma: +1/-0
    • View Profile
Re: master/slave kloxo-mr questions
« Reply #6 on: 2013-07-10, 03:06:39 »
Quote from: "MRatWork"
Quote from: "Spacedust"
Quote from: "MRatWork"
Why php-fpm not work in slave?. Because php-fpm need list of users for their config and I still didn't found how to send 'user-list' to slave from master.

You can generate SSH key and transfer files via scp. It's easy as hell...
It's not related how to send 'user-list' physicallly but via php-remote.

Just use this: http://php.net/manual/en/function.ssh2-sftp.php

or this: http://www.php.net/manual/en/function.ssh2-scp-send.php
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: master/slave kloxo-mr questions
« Reply #7 on: 2016-04-28, 10:13:46 »
@Mustafa, i use PHP-FPM and now i need to setup a slave too.
Does this work now?
Also, how does the Kloxo-MR slave work?   Do i need to use different IPs for slave DNS (say ns3 and ns4.example.com). Master has ns1 and ns2.example.com.
 
Will slave take over when master fails?
« Last Edit: 2016-04-28, 10:16:56 by fossxplorer (formerly 'Mella') »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,382
  • Karma: +115/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: master/slave kloxo-mr questions
« Reply #8 on: 2016-04-29, 03:22:10 »
I don't like current 'master-slave' approach.

I have an idea where 'master-slave' as manage for multiple master. So, if master down, every slave can act as master.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: master/slave kloxo-mr questions
« Reply #9 on: 2017-12-23, 19:11:22 »
Did you ever figure out a way to have multiple masters?

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.035 seconds with 18 queries.

web stats analysis