HP P2000 G3 MSA System CLI Reference Guide
53
IMPORTANT:
To replicate between an HP P2000 G3 MSA System and an HP MSA 2040 SAN
system, the secondary volume must be exactly the same size as the primary volume. This can be
complicated because the P2000 G3 MSA creates volumes that are 64-KB aligned while the MSA
2040 SAN creates volumes that are 4-MB aligned. When the volume is created or expanded the
size will be decreased to the nearest alignment boundary. Allowing the system to create the
secondary volume automatically when creating the replication set ensures the size will be correct. To
ensure the size is exactly the same when creating the secondary volume manually, use the CLI and
perform the following steps:
•
In the primary system, run
set cli-parameters units MB precision 4 base 2
and
then run
show volumes
. Multiply the size of the source volume by 2048 to get the number of
512-byte blocks to use to create the secondary volume.
•
In the secondary system, create the secondary volume using the
create volume
command
with the prepare-replication-volume parameter, and use the number of 512-byte blocks for the size
without appending a unit indicator.
For example, in a P2000 G3 MSA System as a user with a base preference of 10 you create a
50-GB primary volume:
# create volume vdisk vd-1 size 50GB PrimaryVol
# set cli-parameters units MB precision 4 base 2
# show volumes PrimaryVol
Vdisk Name Size Serial Number ...
--------------------------------------------------
vd-1 PrimaryVol 47683.6875MiB
SN
...
--------------------------------------------------
The number of 512-byte blocks would be
47683.6875(MiB) * 2048 = 97656192
. In the MSA
2040 SAN system, to create the secondary volume you would run:
create volume vdisk vd-1 size 97656192 prepare-replication-volume RepVol
Syntax
create replication-set
[link-type FC|iSCSI]
[max-queue
#
]
[noprompt]
[nowait]
[primary-address ip=
IPs
|wwnn=
WWNNs
|wwpn=
WWPNs
]
[priority low|medium|high]
[remote-system
system
]
[remote-vdisk
vdisk
]
[remote-volume
volume
]
[reserve
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]]
[secondary-address ip=
IPs
|wwnn=
WWNNs
|wwpn=
WWPNs
]
[set
name
]
[snapshot
snapshot
]
primary-volume
Parameters
link-type FC|iSCSI
Optional; required if the
primary-address
parameter is
not
specified. Specifies the type of ports
being used for the inter-system link:
•
FC
: FC ports.
•
iSCSI
: iSCSI ports.
max-queue
#
Optional. Number of replication images to consider when determining the next image to replicate:
1–64. Used only if the
on-collision
parameter is set to
oldest
.
Содержание 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 ...