You can use the xscmd utility with the -c
teardown command 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.
Procedure
- Stop a specific list of servers.
Provide
a list of servers after the
-teardown parameter:
xscmd –c teardown -sl catalogServer1,catalogServer2,containerServer1
- Stop all the servers in a specific zone.
Use
the
-z parameter and provide the name of the
zone. The catalog server determines the servers that are running in
the zone, and the
xscmd utility prompts you with
a list of the servers in the selected zone before shutting down the
servers:
xscmd –c teardown –z zone_name
- Stop all the servers on a specific host.
Use
the
-hf parameter and provide the name of the
host. For example to shut down all the servers on
myhost.mycompany.com,
enter
-hf myhost.mycompany.com. The catalog
server determines the servers that are running on the host, and the
xscmd utility
prompts you with a list of the servers in the selected host before
shutting down the servers:
xscmd –teardown –hf <host_name>