Sets the port values for the metadata server.
>>-setport--+----------+--+--------------------+----------------> '- -quiet -' '- -cluster --number-' >--+---------------+--+-------------------+---------------------> '- -hb --number-' '- -client --number-' >--+------------------+--server_name--------------------------->< '- -admin --number-'
This task must be performed only by trained service technicians.
You must have Administrator privileges to use the command.
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.
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.
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