How to cluster the ejabberd between ubuntu and window xp?

I setup two ejabberd server, one on unbuntu 6.0.6 lts with mysql, the other on window xp. I want to cluster these two server, but I can not find the .erlang.cookie neither in ubuntu nor in windows xp. Are there anybody who can help me?
For my writting english is a little bit poor, I hope you can understand me.

Erlang cookie on ejabberd installers

To cluster two ejabberd nodes, both must run a similar version of ejabberd. On Ubuntu 6.06 LTS (Dapper Drake) there is only ejabberd 1.0.0.

You have several alternatives:

  • install ejabberd 1.0.0 on both machines: using apt on ubuntu and an old binary installer on windows.
  • install ejabberd 1.1.2 on both machines: install the Feisty package manually on ejabberd, and the 1.1.2 installer on windows
  • install ejabberd 1.1.3 on both machines: using the binary installer for linux, and for windows

Once you have installed ejabberd on both machines, you must make sure they use the same cookie:

  • The ubuntu packages probably create the file /var/lib/ejabberd/.erlang.cookie which contains the cookie. The cookie may seem a password, for example: IQZPINAFINQLEJAPXZAR
  • The binary installers for linux and windows do not create a file, they set the cookie on the file ejabberd-1.1.3/bin/ejabberd , and is always the same cookie: ejabberd

how to cluster with mysql

Thx a lot.
I used the same bin file to install the ejabberd 1.1.3 on ubuntu and window xp, but I have not find the .erlang.cookie file, I also found the cookie had been set as ejabberd in ejabberdctl file as you said. For the guide doc takes mnesia for example, as for mysql, what can i do.

'ejabberd' cookie

badlop wrote:

and is always the same cookie: ejabberd

If it's true then I would call it a security hole.

Hello, You can change it as

Hello,

You can change it as you want but moreover, you do not want in any case to open the epmd port on the Internet.
I have never seen a system administrator doing so.

--
Mickaël Rémond
Process-one

Syndicate content