You can modify it on the command linegemfire.properties文件中的所有规范。
Note: Geode applications can use APIs to java.lang.System属性传用到分布式系统连接。
这种文件规范更改是
在命令行中或是gemfire.properties完成的。你可以在应用启动记录的配置信息中校验应用的属性设置。当
gemfire.properties
log-level被设为
config
configure or lower, the configuration list is as follows:
The call of this application,testApplication.TestApp1为
cache.xml
和 gemfire.properties
供了非默认规范
java -Dgemfire.cache-xml-file= /gemfireSamples/examples/dist/cacheRunner/queryPortfolios.xml -DgemfirePropertyFile=defaultConfigs/gemfire.properties testApplication.TestApp1
The same specification can be used with this gfsh start server command:
gfsh>start server -J-Dgemfire.cache-xml-file=/gemfireSamples/examples/dist/cacheRunner/queryPortfolios.xml -J-DgemfirePropertyFile=defaultConfigs/gemfire.properties
You can also specify changes in the gemfire.properties
file .cache.xml
Notice: gemfire.properties里面的规范不能使用系统参数。例如带着非默认
cache.xml的
gemfire.properties文件:
#Tue May 09 17:53:54 PDT 2006 mcast-address=192.0.2.0 mcast-port=10333 locators= cache-xml-file=/gemfireSamples/examples/dist/cacheRunner/queryPortfolios.xml