embed-server --server-config=clustered.xml # 2) cd /subsystem=datagrid-jgroups # 2.a) ./channel=xsite:add(stack=tcp-private) # 2.b) ./stack=udp/relay=RELAY:add(site="%LOCAL_SITE%") ./stack=udp/relay=RELAY/remote-site=%REMOTE_SITE%:add(channel=xsite) # 3) cd /subsystem=datagrid-infinispan/cache-container=clustered/configurations=CONFIGURATIONS ./replicated-cache-configuration=sessions-cfg:add(mode=SYNC, start=EAGER, batching=false) cd replicated-cache-configuration=sessions-cfg ./transaction=TRANSACTION:add(mode=NON_DURABLE_XA, locking=PESSIMISTIC) ./locking=LOCKING:add(acquire-timeout=0) ./backup=%REMOTE_SITE%:add(failure-policy=FAIL, strategy=SYNC, enabled=true, min-wait=60000, after-failures=3) cd /subsystem=datagrid-infinispan/cache-container=clustered ./replicated-cache=work:add(configuration=sessions-cfg) ./replicated-cache=sessions:add(configuration=sessions-cfg) ./replicated-cache=clientSessions:add(configuration=sessions-cfg) ./replicated-cache=offlineSessions:add(configuration=sessions-cfg) ./replicated-cache=offlineClientSessions:add(configuration=sessions-cfg) ./replicated-cache=actionTokens:add(configuration=sessions-cfg) ./replicated-cache=loginFailures:add(configuration=sessions-cfg)