server_name
415
The server Commands
server_name
Manages the hostname <movername> for the specified Data
Mover(s).
SYNOPSIS
server_name { <movername> | ALL }
[<new_name>]
DESCRIPTION server_name displays and renames the current hostname for the
specified Data Mover.
The ALL option executes the command for all of the Data Movers.
OPTIONS No arguments
Displays hostnames for all Data Movers.
<new_name>
Changes the current movername to the newly specified movername.
The movername is case-sensitive and supports the following
characters: a thru z, A thru Z, 0 thru 9, _(underscore), - (hyphen),
though names may not start with a hyphen.
The ALL option is not available when renaming Data Movers.
SEE ALSO nas_server.
EXAMPLE #1 To change the current hostname for a Data Mover, type:
$ server_name server_2 my_srv2
server_2 : my_srv2
EXAMPLE #2 To view all hostnames, type:
$ server_name ALL
server_2 : my_srv2
server_3 : my_srv3
server_4 : my_srv4
server_5 : my_srv5