HP P2000 G3 MSA System CLI Reference Guide 103
host
hosts
Optional. For FC and SAS, the nickname or 16-hex-digit WWPN of each host to map the volumes to.
For iSCSI, the node name (typically the IQN) or nickname of each initiator to map the volumes to.
For nickname syntax, see
Command syntax
on page 22. If the host parameter is specified, either the
mapping
parameter or both the
lun
and
ports
parameters must be specified. If the
host
parameter is omitted, the mapping applies to all hosts that are not explicitly mapped.
volumes
Names or serial numbers of the volumes to map. For volume syntax, see
Command syntax
on
page 22.
Example
Map volume
v2
with read-only access for
Host1
, using port A1 and LUN 100:
# map volume access ro ports a1 lun 100 host Host1 v2
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v2 with LUN
100. (v2) (2012-01-18 13:58:06)
Success: Command completed successfully. (2012-01-18 13:58:06)
Map volumes
v2
and
v3
with read-write access for
Host2
, using ports A1 and B1 and LUN 101:
# map volume access rw ports a1,b1 lun 101 host Host2 v2,v3
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v2 with LUN
101. (v2) (2012-01-18 13:58:41)
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v3 with LUN
102. (v3) (2012-01-18 13:58:41)
Success: Command completed successfully. (2011-09-28 13:58:41)
Mask volume
v4
from
Host1
and
Host3
:
# map volume v4 access no-access host Host1,Host3
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v4 with LUN
0. (v4) (2012-01-18 13:59:50)
Info: Mapping succeeded. Host 207000c0ff001123 was mapped for volume v4 with LUN
0. (v4) (2012-01-18 13:59:50)
Success: Command completed successfully. (2012-01-18 13:59:50)
Map volumes
v1
and
v2
to hosts
Host1
and
Host2
, using ports A1 and B1 starting with LUN 6,
and view the results:
# map volume ports a1,b1 lun 6 host Host1,Host2 v1,v2
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v1 with LUN
6. (v1) (2012-01-18 14:01:03)
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v1 with LUN
6. (v1) (2012-01-18 14:01:03)
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v2 with LUN
7. (v2) (2012-01-18 14:01:03)
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v2 with LUN
7. (v2) (2012-01-18 14:01:03)
Success: Command completed successfully. (2012-01-18 14:01:03)
Содержание 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 ...