Apache Geode
CHANGELOG
gfsh
gfsh (pronounced “jee-fish”) provides a single, powerful command-line interface from which you can launch, manage, and monitor Geode processes, data, and applications.
-
gfshsupports the administration, debugging, and deployment of Apache Geode processes and applications. -
Before you start
gfsh, confirm that you have set JAVA_HOME and that your PATH variable includes thegfshexecutable. Configuring the gfsh Environment
The
gfsh.batandgfshbash script automatically append the required Apache Geode and JDK .jar libraries to your existing CLASSPATH. There are user-configurable properties you can set for security, environment variables, logging, and troubleshooting.-
You can use the built-in
gfshshell variables in scripts. Basic Shell Features and Command-Line Usage
The
gfshutility provides useful features for a shell environment, including command auto-complete, preserved command history, and delimiting of multi-line commands. Context-sensitive help is available by command and by topic.Specifying JSON within Command-Line Options
Some
gfshcommands allow JSON specifications within command-line options.Tutorial—Performing Common Tasks with gfsh
This topic takes you through a typical sequence of tasks that you execute after starting
gfsh.Quick Reference of gfsh Commands by Functional Area
This quick reference sorts all commands into functional areas.
-
This section provides help and usage information on all
gfshcommands, listed alphabetically. Creating and Running gfsh Command Scripts
gfshoffers several ways to run commands in a scripting environment.Mapping of cache.xml Elements to gfsh Configuration Commands.
You can configure a Geode cluster using either cache.xml files, or you can use
gfshand the cluster configuration service to configure a cluster. This section maps cache.xml elements to thegfshcommands that configure and manage a cluster.