Infinispan cache-container debugging
jmar Jul 10, 2017 9:42 AMHi Everyone,
I have a system(JBoss 6.1) that use infinispan cache container to store information about application for HA services.
How do I debug,analyze and monitor this cache-container( check the information and number of message that are stored, heap usage,performance,robustness.....)?
Is it possible to use jboss-cli.sh or jboss gui console or what tool should I be use for this reason??
In the xml the configuration is:
<subsystem xmlns="urn:jboss:domain:infinispan:1.4">
<cache-container name="singleton" aliases="cluster ha-partition" default-cache="default">
<transport lock-timeout="60000"/>
<replicated-cache name="default" mode="SYNC" batching="true">
<locking isolation="REPEATABLE_READ"/>
</replicated-cache>
</cache-container>
<cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan">
<transport lock-timeout="60000"/>
<replicated-cache name="repl" mode="ASYNC" batching="true">
<file-store/>
</replicated-cache>
<replicated-cache name="sso" mode="SYNC" batching="true"/>
<distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
<file-store/>
</distributed-cache>
</cache-container>
<cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl" module="org.jboss.as.clustering.ejb3.infinispan">
<transport lock-timeout="60000"/>
<replicated-cache name="repl" mode="ASYNC" batching="true">
<eviction strategy="LRU" max-entries="10000"/>
<file-store/>
</replicated-cache>
<replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
<distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
<eviction strategy="LRU" max-entries="10000"/>
<file-store/>
</distributed-cache>
</cache-container>
<cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
<transport lock-timeout="60000"/>
<local-cache name="local-query">
<transaction mode="NONE"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<invalidation-cache name="entity" mode="SYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</invalidation-cache>
<replicated-cache name="timestamps" mode="ASYNC">
<transaction mode="NONE"/>
<eviction strategy="NONE"/>
</replicated-cache>
</cache-container>
<cache-container name="switchyard" default-cache="default" start="EAGER">
<transport lock-timeout="60000"/>
<replicated-cache name="default" mode="SYNC" start="EAGER" batching="true">
<locking isolation="REPEATABLE_READ"/>
</replicated-cache>
</cache-container>
<cache-container name="modeshape">
<local-cache name="sramp">
<locking isolation="NONE"/>
<transaction mode="NON_XA"/>
<string-keyed-jdbc-store datasource="java:jboss/datasources/srampDS" passivation="false" purge="false">
<string-keyed-table prefix="ispn_bucket">
<id-column name="id" type="VARCHAR(500)"/>
<data-column name="datum" type="VARBINARY(60000)"/>
<timestamp-column name="version" type="BIGINT"/>
</string-keyed-table>
</string-keyed-jdbc-store>
</local-cache>
</cache-container>
<cache-container name="X_1" jndi-name="java:jboss/infinispan/X_1" start="EAGER">
<transport lock-timeout="60000"/>
<replicated-cache name="x1-cache" mode="ASYNC" start="EAGER" batching="true"/>
</cache-container>
<cache-container name="X_2" jndi-name="java:jboss/infinispan/X_2" start="EAGER">
<transport lock-timeout="60000"/>
<replicated-cache name="x2-cache" mode="ASYNC" start="EAGER" batching="true"/>
</cache-container>
<cache-container name="X_3" default-cache="marshalling-cache" jndi-name="java:jboss/infinispan/X_3" start="EAGER">
<transport lock-timeout="60000"/>
<replicated-cache name="x3-ListCache" mode="ASYNC" start="EAGER" batching="true" >
</replicated-cache>
<replicated-cache name="x3-Cache" mode="ASYNC" start="EAGER" batching="true"/>
</cache-container>
<cache-container name="X_4" default-cache="marshalling-cache" jndi-name="java:jboss/infinispan/X_4" start="EAGER">
<transport lock-timeout="60000"/>
<replicated-cache name="x4-ListCache" mode="ASYNC" start="EAGER" batching="true" >
</replicated-cache>
<replicated-cache name="x4-Cache" mode="ASYNC" start="EAGER" batching="true"/>
</cache-container>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jacorb:1.3">
<orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
<initializers security="identity" transactions="spec"/>
</orb>
</subsystem>
Thanks for the help