|GemFire XD Reference / gfxd Launcher Commands|
Instructs all GemFire XD accessor and data store members to disconnect from the distributed system and shut down.
gfxd shut-down-all [-bind-address=<address>] [-locators=<addresses>] [-mcast-port=<port>] [-mcast-address=<address>] [-skip-accessors] [-<prop-name>=<prop-value>]*
The table shows arguments and options for gfxd shut-down-all.
|-bind-address||The address to which this peer binds for receiving peer-to-peer messages. By default gfxd uses the hostname, or localhost if the hostname points to a local loopback address.|
List of locators used to discover members of the distributed system. Supply all locators as comma-separated host:port values.
Multicast address used to discover other members of the distributed system. This value is used only if the -locators option is not specified.
The default multicast address is 220.127.116.11.
Multicast port used to communicate with other members of the distributed system. If zero, multicast is not used for member discovery (specify -locators instead).
Valid values are in the range 0–65535, with a default value of 10334.
|-skip-accessors||Include this option to leave GemFire XD accessor members (members that were started with host-data=false) running after executing the shut-down-all command.|
Any other GemFire XD distributed system property.
If no multicast or locator options are specified on the command-line, then the command uses the gemfirexd.properties file (if available) to determine the distributed system to which it should connect.
This command provides an orderly shutdown for all GemFire XD data store and accessor members. Locators are left running to ensure an orderly shut down of the system; shut down locators only after data stores have stopped. On the next startup, data store members will still need to wait until the member with the most recent copy of persisted data joins the distributed system.
This command shuts down data store and accessor members in a system that uses multicast for discovery:
gfxd shut-down-all -mcast-port=3000 Connecting to distributed system: mcast=/18.104.22.168:3000 Successfully shut down 2 members