Connecting cluster with different cookies

Raimo Niskanen raimo+erlang-questions@REDACTED
Tue Aug 10 10:57:22 CEST 2021


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)?

/ Raimo Niskanen


On Mon, Aug 09, 2021 at 06:07:51PM +0100, Peter-Henry Mander wrote:
> Hi Raimo,
> 
> Thanks for asking (-:
> 
> We've found this erlang:set_cookie/2 function to be very handy in
> Operations, to be able to launch a remote shell connecting to nodes in a
> collection of clusters, each with different cookies. E.g. someone has
> opened a quote in the to_erl shell, leaving the shell "broken" (please,
> don't snigger...) in the heat of an incident.
> 
> The use case is hardly critical, but the ability to swap cookies will be
> missed.
> 
> Pete.

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list