What You Can Do with gfsh

gfsh supports the administration, debugging, and deployment of VMware Tanzu GemFire processes and applications.

With gfsh, you can:

  • Start and stop VMware Tanzu GemFire processes, such as locators and cache servers
  • Start and stop gateway sender and gateway receiver processes
  • Deploy applications
  • Create and destroy regions
  • Execute functions
  • Manage disk stores
  • Import and export data
  • Monitor VMware Tanzu GemFire processes
  • Launch VMware Tanzu GemFire monitoring tools

The gfsh command line interface lets developers spend less time configuring cache instance XML, properties, logs, and statistics. gfsh commands generate reports; capture cluster-wide statistics; and support the export of statistics, logs, and configurations. Like Spring Roo, gfsh features command completion (so you do not have to know the syntax), context-sensitive help, scripting, and the ability to invoke any commands from within an application by using a simple API. The gfsh interface uses JMX/RMI to communicate with VMware Tanzu GemFire processes.

You can connect gfsh to a remote cluster using the HTTP protocol. See Using gfsh to Manage a Remote Cluster Over HTTP or HTTPS.

By default, the cluster configuration service saves the configuration of your VMware Tanzu GemFire cluster as you create VMware Tanzu GemFire objects using gfsh. You can export this configuration and import it into another VMware Tanzu GemFire cluster. See Overview of the Cluster Configuration Service.