[ejabberd] How to activate ejabberd nodes ?

tumikosha at gmail.com tumikosha at gmail.com
Thu Mar 12 17:28:02 MSK 2009


Hello ejabberd-request,

  I have  problem in clusterization of ejabberd. I add new nodes, but
  can not activate its.
  How to activate ejabberd nodes ?
  My environment:   Debian 5 Lenny,   Erlang 5.6.3,    (from repository)   ejabberd 2.0.1-6 (from repository)
  I modify script under name /usr/sbin/ejabberd
  by adding one string
   -mnesia extra_db_nodes "['ejabberd at second','ejabberd at debian']" -s mnesia
   and now it looks like this ...
---------/usr/sbin/ejabberd---------
...
exec $ERL $SNAME $ERLANG_NODE \
    -pa $EBIN_DIR \
    -s ejabberd \
    -kernel inetrc \"$INETRC\" \
    -ejabberd config \"$CONFIG\" log_path \"$LOG\" \
    -sasl sasl_error_logger \{file,\"$SASL_LOG\"\} \
    -mnesia dir \"$SPOOL\" \
    $ERLANG_OPTS $ERL_OPTIONS $ARGS "$@"
    -mnesia extra_db_nodes "['ejabberd at second','ejabberd at debian']" -s mnesia
-------------------------------------
when i start ejebberd and  look
>mnesia:info().
> i see the follow
===> System info in version "4.4.3", debug level = none <===
opt_disc. Directory "/var/lib/ejabberd" is used.
use fallback at restart = false
running db nodes   = [ejabberd at debiserv]
stopped db nodes   = [ejabberd at second,ejabberd@
debian] 
master node tables = []
remote             = []
---------jabber web interface-------------
Running Nodes
°       ejabberd at debiserv

Stopped Nodes
°       ejabberd at debian
°       ejabberd at second
--------------------------------------

-- 
Best regards,
 tumikosha                          mailto:tumikosha at gmail.com



More information about the ejabberd mailing list