ejabberd - Comments for "[SOLVED] master vs slave (clustering)" https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering en As discussed further, the new https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66117 <p>As discussed further, the new command <code>ejabberdctl join_cluster</code> is now the way to go for setting up a cluster.</p> Thu, 24 Sep 2015 08:53:25 +0000 mremond comment 66117 at https://www.ejabberd.im THANK YOU FOR HELPING. https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66106 <p>THANK YOU FOR HELPING.</p> Tue, 15 Sep 2015 08:26:22 +0000 taranis comment 66106 at https://www.ejabberd.im Well, it is your platform. https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66101 <p>Well, it is your platform. You can use whatever version that fit your needs, no problem.</p> Mon, 14 Sep 2015 15:14:04 +0000 mremond comment 66101 at https://www.ejabberd.im hello and thank you for https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66095 <p>hello and thank you for answer. do ejabber 15.06 to clusteing in 15.06 easy_cluster.erl file??<br /> <noindex><a href="https://github.com/chadillac/ejabberd-easy_cluster/raw/master/easy_cluster.erl" title="https://github.com/chadillac/ejabberd-easy_cluster/raw/master/easy_cluster.erl" rel="nofollow" >https://github.com/chadillac/ejabberd-easy_cluster/raw/master/easy_clust...</a></noindex><br /> join_as_cluster not working. my ejabberd server work well, but join_as_cluster command not working. and I use this </p> <p>erlc easy_cluster.erl<br /> /opt/ejabberd-15.03/bin/ejabberdctl debug<br /> talk)1&gt; l('easy_cluster').<br /> I use which one join (for slave) or join_as_master (for master)? you say we have multi master and no have slave.<br /> you means i have to use join_as_master.for all nodes.<br /> talk)&gt;join_as_master('ejabberd@ MasterHostname').<br /> Ok</p> <p>easy_cluster:join('ejabberd@ slaveHostname').<br /> Ok</p> <p>thanks for helping</p> Sun, 13 Sep 2015 10:55:23 +0000 taranis comment 66095 at https://www.ejabberd.im thanks to your kind help. I https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66090 <p>thanks to your kind help. I have 1.000.000 users and I scared use that.are using ejabberd 15.07? it's ok? do you have no problem with that?. Thank you very much for your helping!</p> Sat, 12 Sep 2015 04:29:05 +0000 taranis comment 66090 at https://www.ejabberd.im The full command is described https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66080 <p>The full command is described here: <a href="https://blog.process-one.net/ejabberd-15-03/">ejabberd 15.03</a>.</p> <p>If you have issues with command not found it may be an install issue.</p> <p>However, I recommend you to try with ejabberd 15.07, which is latest release. There is no reason to start today by installing an old version. I was saying the command is available since ejabberd 15.03, but it means it is available in all releases since then.</p> Thu, 10 Sep 2015 08:20:00 +0000 mremond comment 66080 at https://www.ejabberd.im Well, if you mean in general, https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66079 <p>Well, if you mean in general, the concept of master and slave exist, then, well yes. In ejabberd however, the clustering is multi-master and there is no slave.</p> Thu, 10 Sep 2015 08:18:13 +0000 mremond comment 66079 at https://www.ejabberd.im I install ejabberd 15.03 and https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66076 <p>I install ejabberd 15.03 and join_cluster is not working? I get this error<br /> Error: command "join_cluster" not known.</p> Wed, 09 Sep 2015 11:18:51 +0000 taranis comment 66076 at https://www.ejabberd.im thanks but I see in https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66075 <p>thanks but I see in <noindex><a href="http://www.erlang.org/" title="http://www.erlang.org/" rel="nofollow" >http://www.erlang.org/</a></noindex><br /> where we have a process (the master) which supervises other processes (the slaves). In a real example the slave could, for example, be controlling different hardware units. The master's job is to ensure that all the slave processes are alive. If a slave crashes (maybe because of a software fault), the master is to recreate the failed slave.</p> <p>I use ejabberd 14.07 and port 5296 not working.in in my config when master is down nothing happened and slaves woking.<br /> how to see which one of nodes are master or slave?<br /> I use mnesia:info(). this command shows which one of nodes are in one cluster.I use easy_cluster.erl module . does not need 15.03 to module easy_cluster.erl?</p> Wed, 09 Sep 2015 05:08:41 +0000 taranis comment 66075 at https://www.ejabberd.im The concept of master and https://www.ejabberd.im/forum/25084/solved-master-vs-slave-clustering#comment-66068 <p>The concept of master and slave does not mean anything in ejabberd. All nodes are equals.</p> <p>Moreover, since ejabberd 15.03, there is a command called ejabberdctl join_cluster that handle all the steps described in the document you link (it is now obsolete).</p> <p>You will find the details in ejabberd documentation: <a href="https://docs.ejabberd.im/admin/guide/clustering/">ejabberd clustering</a></p> Tue, 08 Sep 2015 07:26:13 +0000 mremond comment 66068 at https://www.ejabberd.im