[erlang-questions] Global names initialisation

Kirill Zaborski qrilka@REDACTED
Mon Jun 18 06:21:35 CEST 2007


For my application I need to register "central" service with a global name.
I do this using {gobal, server_name} in gen_server:start_link/4
Registration goes OK but when I start other node on the same host using
different -sname parameter I get an empty list from
global:registered_names/0. If I connect to the "main" node with net_adm/ping
then I see the desired global name.
I there any way to get this right from the start?

Regards,
Kirill.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070618/be5e729b/attachment.htm>


More information about the erlang-questions mailing list