stopserver

Shuts down a subordinate metadata server gracefully.

Read syntax diagramSkip visual syntax diagram
>>-stopserver--+----------+--+-----------+--server_name--------><
               +- –?----+  '- –quiet-'
               +- –h----+
               '- –help-'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–quiet
Turns off confirmation messages for this command.
server_name
Specifies the name of the subordinate metadata server to shut down. This metadata server must be part of the cluster.

Prerequisites

You must have Operator or Administrator privileges to use the command.

You must be logged in to the operating system on the engine hosting the master metadata server to run this command.

Description

To use this command, you must be logged into the master metadata server and the master metadata server must be running.

This command does not shut down the engine on which the specified metadata server runs and does not remove the metadata server from the cluster.

When you stop the master metadata server using the stopserver command, the subordinate metadata servers are abruptly moved to the JOINING state. When you stop all of the metadata server in the cluster using the stopcluster command, all of metadata servers are brought down gracefully.

When you stop a metadata server using the stopserver command, the metadata server restart service on that metadata server is changed to the STANDBY state only if metadata server restart service was previously in the ON state.

Example

Stop a metadata server The following example stops the metadata server ST1:
sfscli> stopserver ST1
Are you sure you want to stop the server and distribute its workload to
the remaining servers? [y/n] Y
Server ST1 shutdown successfully.

Parent topic: Administrative commands

Related reference
addserver
chserverconfig
dropserver
lsautorestart
lsserver
setautorestart
setport
startautorestart
startserver
statserver
stopautorestart

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.