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
.
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...