ejabberd - Comments for "Cluster in Windows - how to?" https://www.ejabberd.im/node/517 en Please create a new thread on the forum https://www.ejabberd.im/node/517#comment-1118 <p>Since this question is not about 'Cluster in Windows - how to?', but general for ejabberd clustering, you should start a new thread on that forum.</p> <p>Your question seems interesting not only to Windows users, but to anyone considering or using clustering.</p> Wed, 30 Nov 2005 08:57:38 +0000 mfoss comment 1118 at https://www.ejabberd.im Ok, next question :) https://www.ejabberd.im/node/517#comment-1117 <p>I have a cluster with two nodes, they are: node1 and node2. User1 has been connected to node1, user2 connected to node2. There is a channel between two nodes which often fails. After the channel failure the user1 has access to user2 and is able to send him messages. After re-connection, the user2 don't receive any messages from user1 sent while channel disconnected. Besides, on re-connection nodes have no access to each other until reset one of it (restart service ejabber). What should be done for the messages to be received after channel re-connection/failure and the nodes to have access without reset function?</p> Wed, 30 Nov 2005 08:15:28 +0000 defensys comment 1117 at https://www.ejabberd.im Yesss! https://www.ejabberd.im/node/517#comment-1116 <p>All working fine! Thanks.</p> Tue, 29 Nov 2005 14:23:39 +0000 defensys comment 1116 at https://www.ejabberd.im Cluster Setup on Windows https://www.ejabberd.im/node/517#comment-1114 <p>If you start ejabber from the console, the ".erlang.cookie" file will be in the user directory of that user, i.e. "C:\Documents and Settings\username" If you start it as a service, it will be in "C:\WINDOWS".</p> <p>• I suggest setting up the first node, and starting it as a service, remember setting the SName registry key to "ejabberd@first", where first is the name of the node.<br /> • Copy ".erlang.cookie" from "C:\WINDOWS" on the first node to "C:\Documents and Settings\username" on the second node.<br /> • Start ejabber as per the installation document, erl -sname ejabberd -mnesia extra_db_nodes "['ejabberd@first']" -s mnesia<br /> • Check that both nodes is running in “mnesia:info().”, if not look for errors in “ejabberd.log” on the first node<br /> • Continue with steps in the installation document.<br /> • Set SName registry key to "ejabberd@second" on the second node.<br /> • Copy ".erlang.cookie" from "C:\Documents and Settings\username" to "C:\WINDOWS".<br /> • Start ejabberd as a service</p> <p>I typed this as I remembered it from when I did the setup initially, hope I remembered everything. I should probably write it down next time I do this :)</p> Mon, 28 Nov 2005 13:01:50 +0000 tiaan comment 1114 at https://www.ejabberd.im Ok, thanks. But... https://www.ejabberd.im/node/517#comment-1113 <p>I am beginner in ejabber, this is my first installation. My english is poor, sorry, and i don`t understand some things in guide.</p> <p>Help me step by step, ok?<br /> Reading guide:<br /> 1. Copy ~ejabberd/.erlang.cookie file from first to second.<br /> Where is that file?</p> Mon, 28 Nov 2005 11:21:45 +0000 defensys comment 1113 at https://www.ejabberd.im Installation Document https://www.ejabberd.im/node/517#comment-1112 <p>The section to setup a cluster from the installation document works fine when done on Windows.</p> <p>When starting the nodes as Windows services, make sure that -sname parameter is not in the "Args" key, but in "SName". Also ensure you don't have "-mnesia dir \"spool\"" in "Args".</p> <p>These keys are in:<br /> HKLM\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\ejabberd</p> Mon, 28 Nov 2005 09:24:46 +0000 tiaan comment 1112 at https://www.ejabberd.im Like on other operating https://www.ejabberd.im/node/517#comment-1111 <p>Like on other operating systems. Probably yes.</p> Mon, 28 Nov 2005 08:45:18 +0000 mfoss comment 1111 at https://www.ejabberd.im