What You Can Do with gfsh
gfsh supports the administration, debugging, and deployment of Pivotal GemFire processes and applications.
gfsh, you can:
- Start and stop Pivotal 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 Pivotal GemFire processes
- Launch Pivotal GemFire monitoring tools
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 Pivotal 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 Pivotal GemFire cluster as you create Pivotal GemFire objects using gfsh. You can export this configuration and import it into another Pivotal GemFire cluster. See Overview of the Cluster Configuration Service.