[erlang-questions] Gproc in a dynamic cluster

Mihai Balea mihai@REDACTED
Fri Jul 29 23:19:04 CEST 2011


Hi all,

Here's a scenario:
- start Node1
- start gproc in global mode on node 1 (via {gproc, [{gproc_dist, all}]} in app.config)
- start Node2
- start gproc in global mode on node 2 (same way)
- connect the two nodes in a cluster, via net_adm:ping/1

The two nodes see each other, as expected, but the two instances of gproc don't seem to be aware of each other's presence - global registrations done on one node are not visible on the other side.

Am I missing something? Is there a way to make gproc aware of new nodes in a cluster, either automatically or manually?

Thanks in advance,
Mihai




More information about the erlang-questions mailing list