This topic describes what you can do with gfsh
, the VMware Tanzu GemFire command-line interface.
gfsh
supports the administration, debugging, and deployment of GemFire processes and applications.
With gfsh
, you can:
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, 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 GemFire processes.
You can connect gfsh to a remote cluster using the HTTP protocol. For more information about this, see Using gfsh to Manage a Remote Cluster Over HTTP or HTTPS.
By default, the cluster configuration service saves the configuration of your GemFire cluster when you create GemFire objects using gfsh
. You can export this configuration and import it into another GemFire cluster. For more information about this, see Overview of the Cluster Configuration Service.