Re: Connecting cluster with different cookies

James Aimonetti <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Raimo Niskanen writes:

> Would it be sufficient to be able to set the default cookie
> for a node with e.g a new API function erlang:set_cookie(Cookie)?

The setup would be two+ Erlang nodes connect to N FreeSWITCH C-nodes.

Each FreeSWITCH C-node can set an independent cookie value; this value
is stored in a config database that the Erlang nodes use when connecting
to the C-nodes.

The Erlang nodes have their own unique cookie as well, set at startup.

But this feature is not used, according to my brief survey of our
community that might even know about it (most did not). Most everyone
matches the Erlang nodes' cookie to their C-node configuration's cookie,
so no extra database configuration is required.

So more just a datapoint that set_cookie/2 was known and thought to be
useful 8ish years ago :) But is not relevant for our usecase anymore.

--
James Aimonetti

Lead Systems Architect
2600Hz | http://2600hz.com | UCaaS CPaaS CCaaS
tel:415.886.7905
irc:mc_ @ libera.chat #2600hz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.