Administration guide > Operate the deployment environment > Start and stop stand-alone servers > Stop stand-alone servers
Stop servers gracefully with the xsadmin tool
Use the xsadmin tool with the -teardown parameter to stop a list or group of catalog and container servers. This command simplifies shutting down all or portions of a data grid, avoiding unnecessary placement and recovery actions by the catalog service that normally occur when processes are stopped or killed.
- Stop a specific list of servers.
Provide a list of servers after the -teardown parameter:
xsadmin –teardown <server_name>[,<server_name>]
- Stop all the servers in a specific zone.
Use the -fz parameter and provide the name of the zone. The catalog server determines the servers that are running in the zone, and the xsadmin tool prompts you with a list of the servers in the selected zone before shutting down the servers:
xsadmin –teardown –fz <zone_name>
- Stop all the servers on a specific host.
Use the -fh parameter and provide the name of the host. For example to shut down all the servers on myhost.mycompany.com, enter -fh myhost.mycompany.com. The catalog server determines the servers that are running on the host, and the xsadmin tool prompts you with a list of the servers in the selected host before shutting down the servers:
xsadmin –teardown –fh <host_name>
Parent topic:Stop stand-alone servers