|Setting System Properties / Configuring the Native Client and Cache Server|
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 GemFire User's Guide.
For the 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 command line. These override any settings found in the gemfire.properties file for starting the cache server.
For example, the attributes are passed in as attName=attValue pairs, such as log-file=newLogFileName. For more information, see the GemFire User's Guide.