Shutting Down a System with Disk Stores

To shut down a system with disk stores:
  1. Have all members with persistent disk stores running, if possible
  2. Shut down all members together using the gemfire command-line tool:
    gemfire –J-DgemfirePropertyFile=mygemfire.properties shut-down-all

    This command connects to the distributed system. Therefore, it must include a gemfire.properties file that contains connection properties for the system. In the sample command, substitute mygemfire.properties with the location of the appropriate gemfire.properties file for the distributed system.

The shut-down-all command provides an ordered shutdown to your system that gives you the fastest startup times.

This is particularly useful for persistent partitioned region shutdown, as it synchronizes all of the online region data stores before shutdown. This means every disk store has the most recent data and does not require updates from other members at startup. See also How Shutdown and Startup Work in a System with Disk Stores and vFabric GemFire Command-Line Utility.