startautorestart

Enables the metadata server to restart automatically if it is down.

Read syntax diagramSkip visual syntax diagram
                                   .-------------.
                                   V             |
>>-startautorestart--+--------+--+---server_name-+-+-----------><
                     +- -?----+  '- - -------------'
                     +- -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.
server_name
Specifies the names of one or more metadata servers to enable them to restart automatically.
Specifies that you want to read the names of one or more metadata servers to enable to restart automatically from stdin (for example, – << /work/server_list.txt).

Prerequisites

You must have Administrator privileges to use the command.

Description

Note: If you run this command from an engine hosting a subordinate metadata server, you can enable the metadata server restart service on only the local metadata server. If you run this command from the engine hosting the master metadata server, you can enable the metadata server restart service on any metadata server.

The metadata server restart service is enabled by default.

When a metadata server is enabled to restart automatically, an SNMP trap is not sent when the metadata server is restarted.

Manually stopping a metadata server or cluster disables the metadata server restart service for that metadata server or cluster. Manually starting the metadata server or cluster reenables the metadata server restart service for that metadata server or cluster.

If the metadata server restart service attempts to restart a metadata server and fails, the metadata server restart service tries again to restart the metadata server, up to the retry limit. After the retry limit, the metadata server restart service is disabled.

Example

Enable the metadata server restart service The following example enables the metadata server restart service for metadata server ST1:
sfscli> startautorestart ST1
The automatic restart service for server ST1 successfully enabled.

Parent topic: Administrative commands

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

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