Ce contenu n'est pas disponible dans la langue sélectionnée.
7.4.2. Run the Clustered Cache with Replication Mode
Procedure 7.1. Run the Clustered Cache with Replication Mode
- Use the following command to launch the first node:
java -cp target/classes/:target/dependency/* org.infinispan.quickstart.clusteredcache.replication.Node0
$ java -cp target/classes/:target/dependency/* org.infinispan.quickstart.clusteredcache.replication.Node0Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Use the following command to launch the second node:
java -cp target/classes/:target/dependency/* org.infinispan.quickstart.clusteredcache.replication.Node1
$ java -cp target/classes/:target/dependency/* org.infinispan.quickstart.clusteredcache.replication.Node1Copy to Clipboard Copied! Toggle word wrap Toggle overflow
JGroups and JBoss Data Grid initialized on both nodes. After approximately fifteen seconds, the cache entry log message appears on the console of the first node.