View Source NodeActivator (NodeActivator v0.2.0)
A module to activate VM nodes.
Link to this section Summary
Functions
Checks if the epmd
process is running.
Turns a non-distributed node into a distributed node after ensuring
that the epmd
operation system process is running. Returns the name of the
started distributed node. The node name will be generated by appending
a random string to the provided node_name_prefix
string.
Link to this section Functions
@spec epmd_running?() :: boolean()
Checks if the epmd
process is running.
Turns a non-distributed node into a distributed node after ensuring
that the epmd
operation system process is running. Returns the name of the
started distributed node. The node name will be generated by appending
a random string to the provided node_name_prefix
string.
This function does nothing when the distribution has already been started.
For more info, see Node
.
examples
Examples
{:ok, node_name} = NodeActivator.run("foo")