Testing the connected nodes

Remember how we started this section by logging into a pod and running an ElixirDrip console so we could manually connect to another Erlang node living in a different pod? This is exactly what we'll do, but this time we just need to run an ElixirDrip console in two different pods, since the nodes are already connected.

I'm running an ElixirDrip console in the n5x29 and 28vjc pods, and this time when I start the console in the 28vjc pod (IP ending in .68), we immediately see libcluster telling us that it was able to connect to three Erlang nodes:

# PORT=6666 ./bin/elixir_drip consoleErlang/OTP 20 [erts-9.3.1] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:false]00:39:34.130 [info] ...

Get Mastering Elixir now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.