30.3. Configure Server Hinting (Library Mode)
Procedure 30.2. Configure Server Hinting for Library Mode
<transport clusterName = "MyCluster" machineId = "LinuxServer01" rackId = "Rack01" siteId = "US-WestCoast" />
clusterNameattribute specifies the name assigned to the cluster.
machineIdattribute specifies the JVM instance that contains the original data. This is particularly useful for nodes with multiple JVMs and physical hosts with multiple virtual hosts.
rackIdparameter specifies the rack that contains the original data, so that other racks are used for backups.
siteIdparameter differentiates between nodes in different data centers replicating to each other.
siteIdare included in the configuration,
TopologyAwareConsistentHashFactoryis selected automatically, enabling Server Hinting. However, if Server Hinting is not configured, JBoss Data Grid's distribution algorithms are allowed to store replications in the same physical machine/rack/data center as the original data.