Cache Server Configuration
You configure the cache server in two files:
gemfire.properties for server system-level configuration and
cache.xml for cache-level configuration.
The configuration of the caches is part of the application development process. See Cache Initialization File. (The cache-level configuration file is generally referred to as
cache.xml, but you can use any name.)
For the GemFire cache server, the
gemfire.properties file is usually stored in the current working directory. For more information, see the User’s Guide.
cache.xml cache configuration file, a native client looks for the path specified by the
cache-xml-file attribute in
gfcpp.properties (see Attributes in gfcpp.properties). If the
cache.xml is not found, the process starts with an unconfigured cache.
In addition to the
gemfire.properties file, you can pass attributes to the cache server on the gfsh command line. These override any settings found in the
gemfire.properties file when starting the cache server.
For more information, see Configuring a Cluster in the User’s Guide.