beautypg.com

A.9.2 disable server, A.9.2, A.9.2 d isable server – HP StorageWorks Scalable File Share User Manual

Page 307

background image

disable commands

A–13

Example

The following example disables the

server_down

alert:

sfs> disable alert server_down

A.9.2

d

isable server

The

disable server

command is used to specify that no services are to run on a server the next time the

server is booted.

There are times when you want to bring up a server without any MDS or OST services running on the server.

To do this, you shut down the server and then enter the

disable server server_name

command.

When you start the server again, no services start on the server. The status of the server is set to

disabled

and the

Server Enabled

field in the output from the

show server

command shows a value of

no

.

If you disable one server in a server pair, the

start filesystem

command and the

stop filesystem

command work normally. If you disable both servers in a server pair, the

start filesystem

command

and the

stop filesystem

command appear to fail on those servers; however, because you rebooted

the server in the

disabled

state, the services will not be running on the servers and the file system is

effectively stopped.

On an Object Storage Server, the

disable server

command stops the clustering software (in addition

to stopping the OST services); this feature is useful when SFS20 arrays are being unconfigured. However,

when you disable the administration or MDS server, the clustering software is not stopped on these servers.

To stop the clustering software on the administration server and MDS server, after you have shut down and

disabled the two servers, log in to each of them and enter the following command:

# service cluster stop

NOTE:

You cannot use the

sfsmgr

command while the clustering software is stopped on both the

administration server and the MDS server.

To reenable the clustering software on the administration server or MDS server, enter the following command

on each of the two servers:

#

service cluster start

To disable a server while it is still powered on, specify the

force=yes

option with the disable server

command.

Syntax

disable server server_name|all [force=yes]

Arguments

server_name

|

all

Required. Specify the servers to be disabled, or

all

to disable all Object

Storage Servers. You can specify a single server, a comma-separated list of

servers, or a range of servers.

force=yes

Optional. Disables the server even if the server is still powered on.

Example

The following example disables the

south3

server:

sfs> disable server south3