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.
 –adminnumber
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 reboot the metadata server, if you modified any of these settings, before changes can be applied.

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

When the administrative agent starts and notices that the tank.properties file has overriding parameters in it, the administrative agent reads these values and uses them.

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

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