initial_hosts
에 클러스터링할 대상 목록 서버들을 입력.
num_initial_members
는 전체 클러스터 멤버수 + 1 값을 입력.
<stack name="tcp"> <transport type="TCP" socket-binding="jgroups-tcp"/> <protocol type="TCPPING"> <property name="initial_hosts"> HostA[7600],HostB[7600] </property> <property name="port_range"> 0 </property> <property name="timeout"> 3000 </property> <property name="num_initial_members"> 3 </property> </protocol> <protocol type="MERGE2"/> <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/> <protocol type="FD"/> <protocol type="VERIFY_SUSPECT"/> <protocol type="BARRIER"/> <protocol type="pbcast.NAKACK"/> <protocol type="UNICAST2"/> <protocol type="pbcast.STABLE"/> <protocol type="pbcast.GMS"/> <protocol type="UFC"/> <protocol type="MFC"/> <protocol type="FRAG2"/> <protocol type="RSVP"/> </stack>