Hi.
I wanted to build a cluster from zotonic and my application, but I can’t figure out how to get zotonic to start with long names, now it starts with a short name and I can’t connect the nodes
You should be able to use short names, as long as they resolve. Edit /etc/hosts
to statically assign IP addresses to (short) host names. As long as something like ping host
works you should be good to go.
While I’m testing within the same machine, I don’t need to assign anything, but alas, my nodes refuse to see each other. They have the same cookies
The default setting for Zotonic 1.0 is now to completely disable erlang distribution. Epmd is bound to localhost only, and when you use default settings erlang binds to localhost only.
Most zotonic users are confused by all the default open erlang distribution ports when zotonic is started. If you really need erlang distribution, you need to configure it manually.
Here is where that is managed.
and