Remote copy status and troubleshooting
before starting remote copy steps:
Setup remotecopy ip interface and licenses
DataCenter1 remote copy port and IP
2:6:1 - 19.162.27.7
3:6:1 - 19.162.27.8
3par2 cli% showport -rcip
N:S:P State ---HwAddr--- IPAddr Netmask Gateway MTU Rate Duplex AutoNeg
2:6:1 ready 0002AC69249B 19.162.27.7 255.255.255.240 19.162.27.14 1500 1Gbps Full Yes
3:6:1 ready 0002AC6A2867 19.162.27.8 255.255.255.240 19.162.27.14 1500 1Gbps Full Yes
DataCenter2 remote copy port and IP
2:6:1 - 19.220.33.145
3:6:1 - 19.220.33.146
3par1 cli% showport -rcip
N:S:P State ---HwAddr--- IPAddr Netmask Gateway MTU Rate Duplex AutoNeg
0:6:1 offline 0002AC5410C7 - - - - n/a n/a n/a
1:6:1 offline 0002AC540DFC - - - - n/a n/a n/a
2:6:1 ready 0002AC540CE6 19.220.33.145 255.255.255.240 19.220.33.158 1500 1Gbps Full Yes
3:6:1 ready 0002AC540C23 19.220.33.146 255.255.255.240 19.220.33.158 1500
1Gbps Full Yes
7 steps to setup 3PAR remote copy
Step #1. Starting remotecopy
Step #2. Setting up copy target
Step #3. Checking the links
Step #4. Creating Volume Groups for Synchronous Long Distance Remote Copy
Step #5. Add luns to the remote volume group
Step #6. Status
Step #7. Start replication
Please review 3PAR Remote Copy Software User's Guide 3.1.2 under attachment for more details.
Step #1. Starting remotecopy
Starting rcopy on source
3par1 cli% startrcopy
Starting rcopy on target
3par2 cli% startrcopy
Step #2. Setting up copy target
Setting Up the Primary System
creatercopytarget IP : :
3par1 cli% creatercopytarget 3par2 IP 2:6:1:19.220.33.145 3:6:1:19.220.33.146
Setting Up the Backup Systems
creatercopytarget IP : :
3par2 cli% creatercopytarget 3par1 IP 2:6:1:19.162.27.7 3:6:1:19.162.27.8
Step #3. Checking the links
Checking the Links between Systems
3par1 cli% showrcopy
Remote Copy System Information
Status: Started, Normal
Target Information
Name; ID Type Status Options Policy
3par2 1 IP; ready; mirror_config
Link Information
Target Node Address Status Options
3par2 2:6:1 19.220.33.145 Up
3par2 3:6:1 19.220.33.146 Up
receive 2:6:1 receive Up
receive 3:6:1 receive Up
3par2 cli% showrcopyRemote Copy System Information
Status: Started, Normal
Target Information
Name ID Type Status Options Policy
3par1 1 IP ready mirror_config
Link Information
Target Node Address Status Options
3par1 2:6:1 19.162.27.7 Up
3par1 3:6:1 19.162.27.8 Up
receive 2:6:1 receive Up
receive 3:6:1 receive Up
Step #4. Creating Volume Groups for Synchronous Long Distance Remote Copy
creatercopygroup :
automatic synchronization.sync command
3par1 cli% creatercopygroup group-remotecopy1 3par2:sync
3par1 cli% creatercopygroup group-bcom-nearline 3par2:periodicsync| periodic
(for synchrouns and async mode)
(Optional).
If you are creating a volume group that uses periodic modeperiod commands
setrcopygroup period s|m|h|d
or
setrcopygroup period s|m|h|d -pat setrcopygroup period 1h 3par2 group-remotecopy1
setrcopygroup period 1h 3par2 -pat
Auto recover setting:
setrcopygroup pol auto_recover
setrcopygroup pol auto_recover -pat
Step #5. Add luns to the remote volume group
On the source, add the pre-existing virtual volume(s) to the volume group
admitrcopyvv
admitrcopyvv -pat
admitrcopyvv VV-NL-RCOPYTEST4-R5 group-remotecopy1 3par2:VV-NL-RCOPYTEST1-R5
admitrcopyvv -pat VV-NL-RCOPYTEST1-R5 group-remotecopy1 3par2:VV-NL-RCOPYTEST1-R5
3par1 cli% admitrcopyvv VV-NL-RCOPYTEST4-R5 group-remotecopy1 3par2:VV-NL-RCOPYTEST1-R5
3par1 cli% admitrcopyvv VV-NL-RCOPYTEST5-R5 group-remotecopy1 3par2:VV-NL-RCOPYTEST2-R5
3par1 cli% admitrcopyvv VV-NL-RCOPYTEST6-R5 group-remotecopy1 3par2:VV-NL-RCOPYTEST3-R5
Step #6. Status
3par1 cli% showrcopy
Remote Copy System Information
Status: Started, Normal
Target Information
Name ID Type Status Options Policy
3par2 1 IP ready mirror_config
Link Information
Target Node Address Status Options
3par2 2:6:1 19.220.33.145 Up
3par2 3:6:1 19.220.33.146 Up
receive 2:6:1 receive Up
receive 3:6:1 receive Up
Group Information
Name Target Status Role Mode Options
group-remotecopy1 3par2 New Primary Sync
LocalVV ID RemoteVV ID SyncStatus LastSyncTime
VV-NL-RCOPYTEST4-R5 29 VV-NL-RCOPYTEST1-R5 125 New NA
VV-NL-RCOPYTEST5-R5 30 VV-NL-RCOPYTEST2-R5 167 New NA
VV-NL-RCOPYTEST6-R5 31 VV-NL-RCOPYTEST3-R5 168 New NA
3par1 cli% showrcopy
Remote Copy System Information
Status: Started, Normal
Target Information
Name ID Type Status Options Policy
3par2 1 IP ready mirror_config
Link Information
Target Node Address Status Options
3par2 2:6:1 19.220.33.145 Up
3par2 3:6:1 19.220.33.146 Up
receive 2:6:1 receive Up
receive 3:6:1 receive Up
Group Information
Name Target Status Role Mode Options
group-remotecopy1 3par2 Started Primary Sync
LocalVV ID RemoteVV ID SyncStatus LastSyncTime
VV-NL-RCOPYTEST4-R5 29 VV-NL-RCOPYTEST1-R5 125 Syncing (0%) NA
VV-NL-RCOPYTEST5-R5 30 VV-NL-RCOPYTEST2-R5 167 Syncing (0%) NA
VV-NL-RCOPYTEST6-R5 31 VV-NL-RCOPYTEST3-R5 168 Syncing (0%) NA
3par1 cli% showtask
Id Type Name Status Phase Step ----StartTime------ -FinishTime- -Priority-
9404 remote_copy_sync VV-NL-RCOPYTEST6-R5 active 2/3 0/1024 2012-09-27 19:24:15 EDT - n/a
9405 remote_copy_sync VV-NL-RCOPYTEST5-R5 active 2/3 0/1024 2012-09-27 19:24:15 EDT - n/a
9406 remote_copy_sync VV-NL-RCOPYTEST4-R5 active 2/3 0/1024 2012-09-27 19:24:15 EDT - n/a
3par1 cli% showtask
Id Type Name Status Phase Step ----StartTime---- ---FinishTime------ -Priority-
9404 remote_copy_sync VV-NL-RCOPYTEST6-R5 done -- -- 2012-09-27 19:24:15 EDT 2012-09-27 19:27:37 EDT n/a
9405 remote_copy_sync VV-NL-RCOPYTEST5-R5 done -- -- 2012-09-27 19:24:15 EDT 2012-09-27 19:27:43 EDT n/a
9406 remote_copy_sync VV-NL-RCOPYTEST4-R5 done -- -- 2012-09-27 19:24:15 EDT 2012-09-27 19:27:43 EDT n/a
Step #7. Start replication
Starting Initial Replication: Copying Data Directly from Primary Volume Groups
startrcopygroup
startrcopygroup group-remotecopy1