epmd listener port

Christopher Meiklejohn christopher.meiklejohn at gmail.com
Tue Feb 16 21:29:24 EST 2016


On Tue, Feb 16, 2016 at 3:24 PM, David Byron <dbyron at dbyron.com> wrote:
> http://docs.basho.com/riak/latest/community/faqs/operations/#is-it-possible-to-change-the-port-on-which-the-erl
> says to add
>
> -env ERL_EPMD_PORT <port number>
>
> to vm.args, but I get the sense from
> http://docs.basho.com/riak/latest/ops/advanced/configs/configuration-files/
> that the goal is to avoid vm.args in preference to riak.conf.
>
> My struggle is that I don't see a way to set the epmd port listener via
> riak.conf.  Is there a way?  If not, are the new/latest docs missing a
> mention of the correct location for vm.args?
>

riak.conf is generated by the cuttlefish extension, which apparently
does not have control for environment variables [1], so, I don't
believe there is a way to do this out of the box.  However, you could
modify the schema files to add this cuttlefish transformation [2], if
you want to, or you could call the Riak initialization commands with
the EPMD environment variable set.

[1] https://github.com/basho/cuttlefish/issues/135
[2] https://github.com/basho/riak/blob/develop/rel/files/riak.schema




More information about the riak-users mailing list