setautorestart

Modifies the metadata server restart service settings.

Read syntax diagramSkip visual syntax diagram
>>-setautorestart--+----------+--------------------------------->
                   '- -quiet -'

>--+---------------------------+-------------------------------->
   '- -probeinterval --seconds-'

>--+-----------------------------+--+----------------------+---->
   '- -livenesstimeout --seconds-'  '- -retrylimit --count-'

>--+----------------------------+------------------------------><
   '- -restarttimeout --seconds-'

Parameters

–quiet
Turns off confirmation messages for this command.
–probeinterval seconds
Specifies the time, in seconds, between metadata server restart service probes. You can specify a value from 10 to 60. The initial value is 10.
–livenesstimeout seconds
Specifies the time, in seconds, to wait for the metadata server to respond to a metadata server restart service probe. You can specify a value from 1 to 10. The initial value is 1.
–retrylimit count
Specifies number of times the metadata server restart service probe can fail before considering that metadata server down. You can specify a value from 1 to 10. The initial value is 3.

If the retry limit is exceeded, the metadata server restart service is disabled.

–restarttimeout seconds
Specifies the amount of time, in seconds, that the administrative agent will wait for the metadata server to restart before returning a timed-out error and disabling the metadata server restart service. For example, the master metadata server must become operational, before the subordinate metadata servers can be started.

You can specify a value from 1 to 600. The initial value is 600 seconds. If the restart timeout is exceeded, the metadata server restart service is disabled.

Tip: This value should typically be set high to avoid false failures.

Prerequisites

This task must be performed only by trained service personnel.

You must have 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.

Attention: You must reboot the metadata server, if you modified any of these settings, before changes can be applied.

Example

Modify metadata server restart service settings The following example modifies the probe interval setting for metadata server ST0:
sfscli> setautorestart -probeinterval 60 ST0
Are you sure you want to change the automatic restart service configuration settings
[y/n] Y
The automatic restart service configuration was successfully modified on all 
of the servers in the cluster.

Parent topic: Administrative commands

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

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