반응형

#env.sh

#export JAVA_OPTS=" $JAVA_OPTS -Djboss.bind_addr=$MULTICAST_ADDR"

export JAVA_OPTS=" $JAVA_OPTS -Djboss.default.jgroups.stack=tcp"

#export JAVA_OPTS=" $JAVA_OPTS -Djboss.default.multicast.address=$MULTICAST_ADDR"

#export JAVA_OPTS=" $JAVA_OPTS -Djboss.messaging.group.address=$JMS_MULTICAST_ADDR"

#export JAVA_OPTS=" $JAVA_OPTS -Djboss.modcluster.multicast.address=$MODCLUSTER_MULTICAST_ADDR"

-Djgroups.bind_addr=x.x.x.x

 

#standalone-ha.xml

<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="tcp">

            <stack name="tcp">

                <transport type="TCP" socket-binding="jgroups-tcp"/>

                <protocol type="TCPPING">

                    <property name="initial_hosts">

                        ${jgroups.tcpping.initial_hosts:192.168.56.101[8180],192.168.56.101[8280]}

                    </property>

                    <property name="port_range">0</property>

                    <property name="timeout">3000</property>

                    <property name="num_initial_members">2</property>

                </protocol>

                <protocol type="MPING" socket-binding="jgroups-mping"/>

                <protocol type="MERGE2"/>

                <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>

                <protocol type="FD"/>

                <protocol type="VERIFY_SUSPECT"/>

                <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>

 

반응형

' > WAS' 카테고리의 다른 글

JBoss EAP Datasource  (0) 2019.11.28
JBoss CLI Monitoring  (0) 2019.11.28
JBoss EAP 6 제이보스 개발모드  (0) 2019.11.28
JBoss JBAS010153  (0) 2019.11.28
JBoss Timeout/ 제이보스관련 타임아웃  (0) 2019.11.28

+ Recent posts