setport

Sets the port values for the metadata server.

Read syntax diagramSkip visual syntax diagram
>>-setport--+----------+--+--------------------+---------------->
            '- -quiet -'  '- -cluster --number-'

>--+---------------+--+-------------------+--------------------->
   '- -hb --number-'  '- -client --number-'

>--+------------------+--server_name---------------------------><
   '- -admin --number-'

Parameters

 –quiet 
Turns off confirmation messages for this command
 –cluster number
Specifies a new cluster port for the metadata server. The initial cluster port is 1737.
–hb number
Specifies a new heartbeat port for the metadata server. The initial heartbeat port is 1738.
 –client number
Specifies a new client-server port for the metadata server. The initial client-server port is 1700.
 –admin number
Specifies a new administrative port for the metadata server. The initial administrative port is 1800.
server_name
Specifies the name of the metadata server for which to set the port values.

Prerequisites

This task must be performed only by trained service technicians.

You must have Administrator privileges to use the command.

Description

If you run this command from an engine hosting a subordinate metadata server, you can set the port only for the local metadata server. If you run this command from an engine hosting the master metadata server, you can set the port for any metadata server.

Requirement: You must restart the metadata server, if you modified any of these settings, before changes take effect. Also you must restart the metadata server before reissuing the setport command.

Setting incorrect port values might cause the metadata server to cease functioning.

When the administrative agent starts and notices the existence of an override file, the administrative agent reads the values in the override file and uses them. These values override those set by the setport command. An override file should be used only by trained service technicians.

Example

Set the cluster port The following example sets the cluster port number on metadata server ST0:
sfscli> setport -cluster 5669 ST0
Are you sure you want to change the server port value, which will require a
server restart for changes to apply? [y/n] Y
Cluster port settings on Metadata server ST0 successfully modified.
Restart the server for all changes to apply.

Parent topic: Administrative commands

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

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2