[id='creating-infinispan-caches-{context}'] = Creating Infinispan Caches Create the Infinispan caches that {project_name} requires. We recommend that you create caches on {jdgserver_name} clusters at runtime rather than adding caches to `infinispan.xml`. This strategy ensures that your caches are automatically synchronized across the cluster and permanently stored. The following procedure uses the {jdgserver_name} Command Line Interface (CLI) to create all the required caches in a single batch command. .Prerequisites * Configure your {jdgserver_name} clusters. .Procedure . Create a batch file that contains caches, for example: + [source,bash,options="nowrap",subs=attributes+] ----- cat > /tmp/caches.batch<