154 Alphabetical list of commands
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, left angle bracket, 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. (2011-10-12 12:17:00)
Change
Host1
’s nickname to
MyHost
and its profile to HP-UX:
# set host-name id Host1 profile hp-ux MyHost
Success: Command completed successfully. (2012-10-21 12:17:10)
Remove the nickname and profile for a discovered host:
# set host-name id MyHost
Success: Command completed successfully. (2011-10-12 12:17:22)
Remove a manually created host:
# set host-name id MyHost
Success: Command completed successfully. (2012-01-21 12:19:16)
See also
•
create host
•
delete host
•
show hosts
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...