[ejabberd] Setting up cluster at Amazon environment

Maxim sevmax at gmail.com
Tue Feb 17 00:12:49 MSK 2009

Hello, community.
I have run 2-node cluster in Amazon Web Service environment. This is
Computing Cloud, which give access to virtual servers hosted on XEN. Each
server have unique internal DNS name, like these:
*node1 is node1 at domU-12-31-39-00-68-A1.compute-1.internal
node2 is node2 at domU-12-31-39-00-85-26.compute-1.internal
both of nodes have external IPs, which configured for site: *
DNS provide give us roundrobin balancing, but all xmpp client are connected
to first node (as its IP less then for second one). There is why I need in
interconnection of nodes and balancing by ejabberd tools.

When I try to make interconnection I receive next error:

*#erl -sname node1 -remsh node2 at domU-12-31-39-00-85-26.compute-1.internal*

Erlang (BEAM) emulator version 5.6.3 [source] [async-threads:0] [hipe]
{error_logger,{{2009,2,16},{15,1,59}},"** System NOT running to use fully
qualified hostnames **~n**
Hostname ~s is illegal **~n",["domU-12-31-39-00-85-26.compute-1.internal"]}
*** ERROR: Shell process terminated! (^G to start new job) ***
=ERROR REPORT==== 16-Feb-2009::15:01:59 ===
** System NOT running to use fully qualified hostnames **
** Hostname domU-12-31-39-00-85-26.compute-1.internal is illegal **

How can I run interconnection for cluster nodes?
I think the reason of failed is in naming of instances.
What do community think about this situation?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20090216/c8b03802/attachment.htm>

More information about the ejabberd mailing list