This post is more than 5 years old
1 Rookie
•
20.4K Posts
0
4251
Is there a way to re-create clone session after restore
I have looked at timefinder docs and have not been able to find a way to re-create clone session that has been restored without first terminating it and recreating it from scratch ..which requires full sync again. For example i have DEV001 that has been restored from CLN001 ..so when i run symclone query devices state is "Restored". Now i want to re-create my clone session where DEV001 is copied back to CLN001 ..but i don't want to do a full sync again. If i try to do symclone create and activate it says that device state is in the wrong state. I tried to split the two devices but still no luck.
Thanks
Thanks
jyCG1
13 Posts
0
August 3rd, 2007 15:00
1. symclone -g devgrp restore -tgt
2. symclone -g devgrp split -tgt
3. symclone -g devgrp establish
leave out -full on the establish command so it defaults to incremental.
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
June 14th, 2007 16:00
jyCG1
13 Posts
1
August 3rd, 2007 15:00
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 3rd, 2007 15:00
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 3rd, 2007 16:00
jyCG1
13 Posts
1
August 3rd, 2007 16:00
abbott# symclone -g test_dg restore -tgt
Execute 'Incremental Restore' operation for device group
'test_dg' (y/ ) ? y
'Incremental Restore' operation execution is in progress for
device group 'test_dg'. Please wait...
'Incremental Restore' operation successfully initiated for device group
'test_dg'.
abbott# symclone query -g test_dg -multi
Device Group (DG) Name: test_dg
DG's Type : RDF2
DG's Symmetrix ID : 000187910271
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV027 0027 0 0 TGT03B 003B 0 XXX. Restored 100
0 0 N/A 003C 0 X.X. Copied 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
abbott# symclone -g test_dg split -tgt
Execute 'Clone Split' operation for device group
'test_dg' (y/ ) ? y
'Clone Split' operation execution is in progress for
device group 'test_dg'. Please wait...
'Clone Split' operation successfully initiated for device group
'test_dg'.
abbott# symclone query -g test_dg -multi
Device Group (DG) Name: test_dg
DG's Type : RDF2
DG's Symmetrix ID : 000187910271
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV027 0027 0 0 TGT03B 003B 0 XXX. Split 0
0 0 N/A 003C 0 X.X. Copied 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
abbott# symclone -g test_dg establish -tgt
Execute 'Clone Incremental Establish' operation for device group
'test_dg' (y/ ) ? y
'Clone Incremental Establish' operation execution is in progress for
device group 'test_dg'. Please wait...
'Clone Incremental Establish' operation successfully initiated for device group
'test_dg'.
abbott# symclone query -g test_dg -multi
Device Group (DG) Name: test_dg
DG's Type : RDF2
DG's Symmetrix ID : 000187910271
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV027 0027 0 0 TGT03B 003B 0 XXX. Copied 100
0 0 N/A 003C 0 X.X. Copied 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 3rd, 2007 17:00
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 4th, 2007 14:00
thank you very much for posting your examples. So i decided to try using establish without activate and it worked exactly how i wanted it to. First of all i nevered used -tgt option when adding STD devices to device group, this is very helpfull as now i don't have to specify each device when i operate on device group. Ok .. so first i added my target device like this:
next i had to run establish (where before i had to use two separate commands ..i used to first do: symclone -g testvg create -copy -diff DEV001 sym ld CLN001 and then symclone -g testvg activate DEV001 sym ld CLN001. Now all i had to do was this:
when this completed the state was :
at this point i decided to do a re-create (incremental establish)..before i had to run symclone -g testvg recreate DEV001 sym ld CLN001, but this time i just ran:
Now i decided to try incremental restore:
after that completed the status was:
Next thing i had to split:
and then establish, which performed an incremental establish (exactly was i was looking for)
a few seconds later the state was back to Copied. This is working exactly like i wanted, so how is this process different from using create/activate instead of establish ?
Thanks jyCG ..hopefully this will help somebody else.
xe2sdc
2.8K Posts
0
August 6th, 2007 00:00
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 6th, 2007 03:00
1) create session by using symclone -g testdg create -copy -diff DEV001 sym ld DEV002
2)activate session by using symclone -g testdg activate DEV001 sym ld DEV002
3) restore from DEV002 by using symclone -g testdg restore DEV001 sym ld DEV002
4) split session by using symclone -g testdg split DEV001 sym ld DEV002
and now the part that's been bugging me for a month now ..try to do a recreate .
5) symld -g testdg recreate DEV001 sym ld DEV002
I am curious if you get the same error message i get "Device is not in correct state"
xe2sdc
2.8K Posts
0
August 6th, 2007 05:00
star2_bc/root> symdg -type regular create testdg
star2_bc/root> symld -sid 142 -g testdg add dev 1086
star2_bc/root> symld -sid 142 -g testdg add dev 1085
star2_bc/root> symclone -g testdg -diff -copy create DEV001 sym ld DEV002
Execute 'Create' operation for device 'DEV001'
in device group 'testdg' (y/ ) ? y
'Create' operation execution is in progress for device 'DEV001'
paired with target device 'DEV002' in
device group 'testdg'. Please wait...
'Create' operation successfully executed for device 'DEV001'
in group 'testdg' paired with target device 'DEV002'.
star2_bc/root> symclone -g testdg activate DEV001 sym ld DEV002
Execute 'Activate' operation for device 'DEV001'
in device group 'testdg' (y/ ) ? y
'Activate' operation execution is in progress for device 'DEV001'
paired with target device 'DEV002' in
device group 'testdg'. Please wait...
'Activate' operation successfully executed for device 'DEV001'
in group 'testdg' paired with target device 'DEV002'.
star2_bc/root> symclone -g testdg query DEV001 sym ld DEV002 -i 30
Device Group (DG) Name: testdg
DG's Type : REGULAR
DG's Symmetrix ID : xxxxxxxxxxxx
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 1086 247433 0 DEV002 1085 0 XXX. CopyInProg 17
Total -------- -------- --------
Track(s) 247433 0 0
MB(s) 7732.3 0.0 0.0
Legend:
(C): X = The background copy setting is active for this pair.
. = The background copy setting is not active for this pair.
(G): X = The Target device is associated with this group.
. = The Target device is not associated with this group.
(D): X = The Clone session is a differential copy session.
. = The Clone session is not a differential copy session.
(P): X = The pre-copy operation has completed one cycle
. = The pre-copy operation has not completed one cycle
......
Device Group (DG) Name: testdg
DG's Type : REGULAR
DG's Symmetrix ID : xxxxxxxxxxxx
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 1086 0 0 DEV002 1085 0 XXX. Copied 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
Legend:
(C): X = The background copy setting is active for this pair.
. = The background copy setting is not active for this pair.
(G): X = The Target device is associated with this group.
. = The Target device is not associated with this group.
(D): X = The Clone session is a differential copy session.
. = The Clone session is not a differential copy session.
(P): X = The pre-copy operation has completed one cycle
. = The pre-copy operation has not completed one cycle
^C
star2_bc/root> symclone -g testdg restore DEV001 sym ld DEV002
Execute 'Incremental Restore' operation for device 'DEV001'
in device group 'testdg' (y/ ) ? y
'Incremental Restore' operation execution is in progress for device 'DEV001'
paired with target device 'DEV002' in
device group 'testdg'. Please wait...
'Incremental Restore' operation successfully initiated for device 'DEV001'
in group 'testdg' paired with target device 'DEV002'.
star2_bc/root> symclone -g testdg query DEV001 sym ld DEV002 -i 30
Device Group (DG) Name: testdg
DG's Type : REGULAR
DG's Symmetrix ID : xxxxxxxxxxxx
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 1086 0 0 DEV002 1085 0 XXX. Restored 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
Legend:
(C): X = The background copy setting is active for this pair.
. = The background copy setting is not active for this pair.
(G): X = The Target device is associated with this group.
. = The Target device is not associated with this group.
(D): X = The Clone session is a differential copy session.
. = The Clone session is not a differential copy session.
(P): X = The pre-copy operation has completed one cycle
. = The pre-copy operation has not completed one cycle
^C
star2_bc/root> symclone -g testdg split DEV001 sym ld DEV002
Execute 'Clone Split' operation for device 'DEV001'
in device group 'testdg' (y/ ) ? y
'Clone Split' operation execution is in progress for device 'DEV001'
paired with target device 'DEV002' in
device group 'testdg'. Please wait...
'Clone Split' operation successfully initiated for device 'DEV001'
in group 'testdg' paired with target device 'DEV002'.
star2_bc/root> symclone -g testdg recreate DEV001 sym ld DEV002
Execute 'Recreate' operation for device 'DEV001'
in device group 'testdg' (y/ ) ? y
'Recreate' operation execution is in progress for device 'DEV001'
paired with target device 'DEV002' in
device group 'testdg'. Please wait...
'Recreate' operation successfully initiated for device 'DEV001'
in group 'testdg' paired with target device 'DEV002'.
star2_bc/root> symclone -g testdg query DEV001 sym ld DEV002
Device Group (DG) Name: testdg
DG's Type : REGULAR
DG's Symmetrix ID : xxxxxxxxxxxx
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 1086 0 0 DEV002 1085 0 XXX. Recreated 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
Legend:
(C): X = The background copy setting is active for this pair.
. = The background copy setting is not active for this pair.
(G): X = The Target device is associated with this group.
. = The Target device is not associated with this group.
(D): X = The Clone session is a differential copy session.
. = The Clone session is not a differential copy session.
(P): X = The pre-copy operation has completed one cycle
. = The pre-copy operation has not completed one cycle
star2_bc/root> symclone -g testdg activate DEV001 sym ld DEV002
Execute 'Activate' operation for device 'DEV001'
in device group 'testdg' (y/ ) ? y
'Activate' operation execution is in progress for device 'DEV001'
paired with target device 'DEV002' in
device group 'testdg'. Please wait...
'Activate' operation successfully executed for device 'DEV001'
in group 'testdg' paired with target device 'DEV002'.
star2_bc/root> symclone -g testdg query DEV001 sym ld DEV002
Device Group (DG) Name: testdg
DG's Type : REGULAR
DG's Symmetrix ID : xxxxxxxxxxxx
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym Tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 1086 0 0 DEV002 1085 0 XXX. Copied 100
Total -------- -------- --------
Track(s) 0 0 0
MB(s) 0.0 0.0 0.0
Legend:
(C): X = The background copy setting is active for this pair.
. = The background copy setting is not active for this pair.
(G): X = The Target device is associated with this group.
. = The Target device is not associated with this group.
(D): X = The Clone session is a differential copy session.
. = The Clone session is not a differential copy session.
(P): X = The pre-copy operation has completed one cycle
. = The pre-copy operation has not completed one cycle
star2_bc/root>
star2_bc/root> symcli
Symmetrix Command Line Interface (SYMCLI) Version V6.4.1.0 (Edit Level: 827)
built with SYMAPI Version V6.4.1.0 (Edit Level: 827)
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 6th, 2007 05:00
thank you for doing this ..let me go through this process again ..i must be doing something stupid
DineshPunyani
54 Posts
0
February 6th, 2013 15:00
I have cloned Dev001 to TGT001 and now i want to restore data from TGT001 to a new device. how can i acheive it ?
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
February 6th, 2013 15:00
yes, you can restore to alternate device.
DineshPunyani
54 Posts
0
February 7th, 2013 14:00
How ?
Do I need to add new device to same group and then start restore ?