Set Host-Name - HP P2000 Reference Manual

Msa system
Hide thumbs Also See for P2000:
Table of Contents

Advertisement

set host-name

Description Changes the nickname and optionally the profile of a host entry.
This command can also be used to remove a manually created host. If the host is unmapped it is
immediately removed; if the host is mapped, it will be removed after you unmap it.
Syntax
set host-name
id host
[profile standard|openvms|hp-ux]
[new-nickname]
Parameters id host
The ID or nickname of the host.
profile standard|openvms|hp-ux
Optional. Changes the profile of a host that has a nickname.
standard: The host allows LUN 0 to be assigned to a mapping. This is the default.
openvms: The host does not allow LUN 0 to be assigned to a mapping.
hp-ux: The host allows LUN 0 to be assigned to a mapping and uses Flat Space Addressing.
new-nickname
Optional. Changes the host's nickname to the specified name. The name is case sensitive; cannot
include a comma, double quote, or backslash; and can have a maximum of 15 bytes. A name that
includes a space must be enclosed in double quotes. If this parameter is omitted for a manually
created host, the host will be removed.
Example Initially set the nickname for a discovered host:
# set host-name id 257000c0ffd74c07 Host1
Success: Command completed successfully. (Host1) - The host nickname has been
changed.
Change a host's nickname to MyHost and its profile to HP-UX:
# set host-name id Host1 profile hp-ux MyHost
Success: Command completed successfully. (MyHost) - The host nickname and
profile has been changed.
Remove the nickname and profile for a discovered host:
# set host-name id MyHost
Success: Command completed successfully. (257000c0ffd74c07) - The host nickname
and profile were deleted.
Remove a manually created host:
# set host-name id MyHost
Success: Command completed successfully. (MyHost) - The host entry was deleted.
See also
• create host
• delete host
• show hosts
HP P2000 G3 MSA System CLI Reference Guide 137

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2000 g3

Table of Contents