MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: chrisf 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
-
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.
-
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. :)
-
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.
-
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...
-
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.
-
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 (http://php.net/manual/en/function.ssh2-sftp.php)
or this: http://www.php.net/manual/en/function.ssh2-scp-send.php (http://www.php.net/manual/en/function.ssh2-scp-send.php)
-
@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?
-
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.
-
Did you ever figure out a way to have multiple masters?