<div dir="ltr">Hi all,<div>I surveyed the problem briefly and found an answer <a href="http://erlang.2086793.n4.nabble.com/Gproc-in-a-dynamic-cluster-td3705356.html">http://erlang.2086793.n4.nabble.com/Gproc-in-a-dynamic-cluster-td3705356.html</a> here and tested like.</div>
<div><br></div><div>-- from node 1 --</div><div>(node1@host)1> application:start(gproc).</div><div>(node1@host)2> gproc:reg({p,g,shell}).</div><div><br></div><div>-- from node 2 --</div><div>(node2@host)1> net_adm:ping(node1@host).</div>
<div>(node2@host)2> application:start(gproc).</div><div>(node2@host)3> gproc:reg({p,g,shell}).</div><div><div>** exception exit: {timeout,{gen_leader,leader_call,</div><div> [gproc_dist,</div>
<div> {reg,{p,g,shell},undefined,<0.49.0>}]}}</div><div> in function gen_leader:leader_call/2 (src/gen_leader.erl, line 359)</div><div> in call from gproc_dist:leader_call/1 (src/gproc_dist.erl, line 708)</div>
<div> in call from gproc:reg/1 (src/gproc.erl, line 605)</div></div><div><br></div><div>As you can find here, I couldn't register to the resource created before clustering. After several trial, I found out that I had to restart gproc application from node1. It means that when I join 10th node to a cluster this way, I have to restart the gproc applications in all 9 nodes and register all the resources again.</div>
<div><br></div><div>Have I done something wrong? Or is there any way to avoid this?</div><div><div><div><br></div>-- <br>Park, Sungjin<div>-------------------------------------------------------------------------------------------------------------------</div>
<div>Peculiar travel suggestions are dancing lessons from god.</div><div> -- The Books of Bokonon</div><div>-------------------------------------------------------------------------------------------------------------------</div>
</div></div></div>