HP 3PAR Peer Motion Guide
NOTE: You may not need to do this step as these would typically be available for host on
the old array.
• controlport offline -f n:s:p
• controlport config host -ct point -f n:s:p
3. Configure the new array as a host and export the VV.
• createhost <new_primary_vv> <Port1_WWN> <Port2_WWN>
• showport n:s:p
• createlun <old_primary_vv> <LUN> <new_primary_vv>
4. On new array C: Import the exported VV. When showtarget is executed, two ports should
now be active. These are from the host ports created in the previous step. Two WWNs are
presented, Node_WWN and Port_WWN. Node_WWN should be the same for both ports.
When issuing admitvv, specify the new VV name, and the Lun_WWN of the device shown.
• showtarget
• showtarget -rescan
• showtarget -lun <Node_WWN>
• admitvv <new_primary_vv>:<Lun_WWN>
• importvv -tpvv -snap @vvname@.ro -snp_cpg cpg_pri cpg_pri
<new_primary_vv>
• showtask -d 1951
Once this completes, stop the RC on the old array. At this point, there is a complete replica
of the old primary on the new array and a snapshot of the data on the old array.
vv_to_import is the new name of the vlun which is being imported from the old array.
5. On old array A: When the Peer Motion completes, the following should be performed to stop
the Primary -> Secondary. The initial syncrcopy is only applicable for the periodic groups.
• syncrcopy PM_group
• stoprcopygroup PM_group
• dismissrcopyvv <old_primary_vv>PM_group
6. On secondary B: When Peer Motion completes, remove the copy group (configured from the
old array).
• removercopytarget <old_primary_vv>
7. Restart rcopy with the new host on C on two ports, with two IP addresses:
• creatercopytarget C IP n:s:p:<IP_ADDR_1> n:s:p:<IP_ADDR_2>
• showrcopy
8. On new array C: Bring up RC. When Peer Motion completes, a snapshot of the base volume
at the point of completed migration displays.
• showport -rcip
• controlport rcip addr <IP_ADDR_1> 255.255.255.0 n:s:p
• controlport rcip addr <IP_ADDR_2> 255.255.255.0 n:s:p
9. Create new RC target for B at IP_ADDR_B:
• creatercopytarget B IP n:s:p:<IP_ADDR_B>
• creatercopygroup PM_group B:periodic
• admitrcopyvv <new_primary_vv> PM_group B: <secondary_vv>
• startrcopygroup PM_group <new_primary_vv>:<new_primary_vv>.ro*
• showrcopy
86 Peer Motion in a Remote Copy Environment