Sun Microsystems V20Z Server User Manual


 
172 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide May, 2004
Return Codes
TABLE H-19 lists the return codes for this subcommand.
SP Set Hostname Subcommand
Description: Resets the host name or domain name of the SP to the specified name.
This name is used by many of the networking programs to identify the machine.
Format
Command format:
sp set hostname HOSTNAME
TABLE H-20 lists the argument for this subcommand.
TABLE H-19 Return Codes for Subcommand sp get hostname
Return Code ID Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting
options specified.
NWSE_NoMemory 8 Insufficient memory.
NWSE_Busy 9 Device or resource is busy.
NWSE_RPCConnected 11 RPC client already connected.
NWSE_RPCConnRefused 12 RPC connection refused.
NWSE_NoRouteToHost 13 No route to host (network down).
NWSE_HostDown 14 Host is down.
TABLE H-20 Argument for Subcommand sp set hostname
Argument Description
HOSTNAME Specifies the name of the host to set.