= Update the infinispan Subsystem

The JBoss Server Migration Tool makes the following updates to the *infinispan* subsystem configuration to better match the {server-target-productName} default configurations.

* Adds the `ejb` cache, which is present in the {server-target-productName} default configuration.
* Adds the `server` cache, which is present in the {server-target-productName} default configuration.
* Fixes the module name in the `hibernate` cache configuration.

By default, the tool automatically updates any *infinispan* subsystem configuration to include these changes.
If you prefer, you can configure the environment properties to customize the process of updating the *infinispan* subsystem configuration.

|===
| Property Name |Property Description

| `subsystem.infinispan.update.skip` | If set to `true`, the tool skips the update of the *infinispan* subsystem.
| `subsystem.infinispan.update.add-infinispan-ejb-cache.skip` | If set to `true`, the tool does not add the `ejb` cache.
| `subsystem.infinispan.update.add-infinispan-server-cache.skip` | If set to `true`, the tool does not add the `server` cache.
| `subsystem.infinispan.update.fix-hibernate-cache-module-name.skip` | If set to `true`, the tool does not fix the module name in the `hibernate` cache configuration.
|===

Upon successful migration of a *infinispan* subsystem configuration, you should see messages in the console such as:

[source,options="nowrap"]
----
INFO  [ServerMigrationTask#44] Server cache added to Infinispan subsystem configuration.
INFO  [ServerMigrationTask#45] Ejb cache added to Infinispan subsystem configuration.
INFO  [ServerMigrationTask#46] Infinispan subsystem's cache hibernate 'module' attribute updated to org.hibernate.infinispan.
----