Stop all members.
Asks all the members that have a cache to close the cache and disconnect from the system. If the --include-locators parameter is specified, the command shuts down any running locators one by one. The timeout parameter allows you to specify that the system should be shutdown forcibly after the time has exceeded.
Availability: Online. You must be connected in gfsh to a JMX Manager member to use this command.
shutdown [--time-out=value] [--include-locators=value]
|--time-out||Time to wait (in seconds) for a graceful shutdown. Should be at least 10 seconds. The default value if not specified is 10.||10|
|--include-locators||To shutdown locators, specify this option as true.||false|
shutdown shutdown --time-out=15 shutdown --include-locators=true
gfsh>shutdown "As a lot of data in memory will be lost, including possibly events in queues, do you really want to shutdown the entire distributed system? (Y/n):" Y Shutdown is triggered