Skip to main content

Mapping cache.xml Elements to gfsh Configuration Commands

You can configure a Geode cluster using either cache.xml files, or you can use gfsh and the cluster configuration service to configure a cluster. This table maps cache.xml elements to the gfsh commands that configure and manage a cluster.

​

cache.xml Elementgfsh Command
<cache>, <cache-server>• start server
• status server
• stop server
• alter runtime
<async-event-queue>• alter async-event-queue
• create async-event-queue
• destroy async-event-queue
• list async-event-queues
• resume async-event-queue-dispatching
<pdx>• configure pdx
<region>• create region
• alter region
• destroy region
• describe region
• list regions
• rebalance
<index>• create index
• destroy index
• list indexes
<disk-store>• create disk-store
• alter disk-store
• backup disk-store
• compact disk-store
• compact offline-disk-store
• describe disk-store
• describe offline-disk-store
• destroy disk-store
• list disk-stores
• revoke missing-disk-store
• show missing-disk-stores
• validate offline-disk-store
<query-config-service>• alter query-service
Table 1. Migrating cache.xml elements to gfsh commands