I am running ejabberd 15-10 on linux (FreeBSD). I am trying to set up cluster of two ejabberd. My trouble : when i want to update ejabberd to new version, i have to build ejabberd on twice time on two server, if i have 100 ejabberd server , will i have to build 100 time. How can i build one time for multi server on same cluster? I would like some help. Thank you!
*.beam files are dependent of
*.beam files are dependent of the erlang version, not on the machine, not on the operating system.
If you have the same Erlang version in two machines, you can compile ejabberd in one of them, and then copy the *.beam files to the other machine.
For example, you compiled ejabberd 15.10 with Erlang 18.3 in FreeBSD. In another machine that runs Debian, you can install Erlang 18.3, compile ejabberd 15.10 and install it. The next time you compile ejabberd in one machine with only some changes in some *.beam files, you can copy those *.beam files to the other machine.