29.2. Configure Server Hinting (Remote Client-Server Mode)
In Red Hat JBoss Data Grid's Remote Client-Server mode, Server Hinting is configured in the JGroups subsystem on the
transport
element for the default stack, as follows:
Procedure 29.1. Configure Server Hinting in Remote Client-Server Mode
<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="${jboss.default.jgroups.stack:udp}"> <stack name="udp"> <transport type="UDP" socket-binding="jgroups-udp" site="${jboss.jgroups.transport.site:s1}" rack="${jboss.jgroups.transport.rack:r1}" machine="${jboss.jgroups.transport.machine:m1}"> <!-- Additional configuration elements here --> </transport> </stack> </subsystem>
- Find the JGroups subsystem configuration
- Enable Server Hinting via the
transport
Element- Set the site ID using the
site
parameter. - Set the rack ID using the
rack
parameter. - Set the machine ID using the
machine
parameter.