WildFly JGroups Subsystem Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 55: Line 55:
         </subsystem>
         </subsystem>
</pre>
</pre>
=Subsystem Configuration Schema=
The subsystem configuration schema is available within the EAP source bundle. Identify the schema version (in the example above <tt><subsystem xmlns="urn:jboss:domain:jgroups:1.1" ...</tt> translates to 1.1) and then locate the xsd file in <tt>.../jboss-eap-6.4-src/build/src/main/resources/docs/schema/jboss-as-jgroups_1_1.xsd</tt>


=Default Values=
=Default Values=

Revision as of 20:48, 29 June 2016




Migrating from https://home.feodorov.com:9443/wiki/Wiki.jsp?page=JBoss7JGroups

Internal

Relevance

  • EAP 6.4

Subjects

Overview

The JGroups stacks are defined within the "jgroups" subsystem:

        <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp">
            <stack name="udp">
                <transport type="UDP" socket-binding="jgroups-udp"/>
                <protocol type="PING"/>
                <protocol type="MERGE3"/>
                <protocol type="FD_SOCK" socket-binding="jgroups-udp-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>
            <stack name="tcp">
                <transport type="TCP" socket-binding="jgroups-tcp"/>
                <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>
        </subsystem>

Subsystem Configuration Schema

The subsystem configuration schema is available within the EAP source bundle. Identify the schema version (in the example above <subsystem xmlns="urn:jboss:domain:jgroups:1.1" ... translates to 1.1) and then locate the xsd file in .../jboss-eap-6.4-src/build/src/main/resources/docs/schema/jboss-as-jgroups_1_1.xsd

Default Values

Configuring a New Protocol Attribute

TCP-based Configuration

WildFly Clustering without Multicast