This post is more than 5 years old
207 Posts
0
3395
March 10th, 2008 16:00
time finder clone on AIX
Hello, I am trying to clone an AIX volume group for the first time. The volume group is made out of 3 devices (DEV001, DEV002, DEV003). I'm trying to clone them to the target devices DEV004, DEV005, DEV006 on the secondary host. I have created the device group below -
root@wfscr04:/prod/oe/b/db#symclone -g oebdg query
Device Group (DG) Name: oebdg
DG's Type : REGULAR
DG's Symmetrix ID : 000187461303
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 0101 2883599 0 DEV004 06DD 0 .X.. CopyOnAccess 0
DEV002 0227 2883598 0 DEV005 06ED 0 .X.. CopyOnAccess 0
DEV003 0237 2883598 0 DEV006 06FD 0 .X.. CopyOnAccess 0
Total --------
Track(s) 8650795
MB(s) 270337
I have run the following commands on the primary host -
symclone create DEV001 sym ld DEV004
symclone create DEV002 sym ld DEV005
symclone create DEV003 sym ld DEV006
symclone activate DEV001 sym ld DEV004
symclone activate DEV002 sym ld DEV005
symclone activate DEV003 sym ld DEV006
I then went to the secondary host and ran -
cfgmgr
importvg -y b_db10vg hdiskpower10
The import fails with the following message -
root@wfscr12:/#importvg -y b_db10vg hdiskpower10
0516-002 lqueryvg: The volume group version is incompatible with this level
of the operating system and cannot be activated.
I'm not sure why the error. Should I have run an exportvg on the source server before trying to importvg on the target server? Both servers are running AIX 5.2 ml 3.
root@wfscr04:/prod/oe/b/db#symclone -g oebdg query
Device Group (DG) Name: oebdg
DG's Type : REGULAR
DG's Symmetrix ID : 000187461303
Source Device Target Device State Copy
--------------------------------- ---------------------------- ------------ ----
Protected Modified Modified
Logical Sym Tracks Tracks Logical Sym tracks CGDP SRC <=> TGT (%)
--------------------------------- ---------------------------- ------------ ----
DEV001 0101 2883599 0 DEV004 06DD 0 .X.. CopyOnAccess 0
DEV002 0227 2883598 0 DEV005 06ED 0 .X.. CopyOnAccess 0
DEV003 0237 2883598 0 DEV006 06FD 0 .X.. CopyOnAccess 0
Total --------
Track(s) 8650795
MB(s) 270337
I have run the following commands on the primary host -
symclone create DEV001 sym ld DEV004
symclone create DEV002 sym ld DEV005
symclone create DEV003 sym ld DEV006
symclone activate DEV001 sym ld DEV004
symclone activate DEV002 sym ld DEV005
symclone activate DEV003 sym ld DEV006
I then went to the secondary host and ran -
cfgmgr
importvg -y b_db10vg hdiskpower10
The import fails with the following message -
root@wfscr12:/#importvg -y b_db10vg hdiskpower10
0516-002 lqueryvg: The volume group version is incompatible with this level
of the operating system and cannot be activated.
I'm not sure why the error. Should I have run an exportvg on the source server before trying to importvg on the target server? Both servers are running AIX 5.2 ml 3.
No Events found!


MarcT2
2 Intern
•
131 Posts
0
March 11th, 2008 07:00
The best bet is to put the Symmetrix volume numbers in into a file, with the source in the left column and the target on the right and use:
# symclone activate -f -consistent
...to activate them all in one hit. The consistent flag causes the Symmetrix to briefly hold IO to the affected devices whilst the activate occurs.
If you still have problems, then export the vg at the source and re-try the activate and see if the vg imports. That guarantees a clean copy - but "hot splits" should work ok.
Best Regards,
Marc
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
March 10th, 2008 16:00
xe2sdc
6 Operator
•
2.8K Posts
0
March 11th, 2008 03:00
http://www-1.ibm.com/support/docview.wss?uid=isg3T1010285
-s-
SKT2
2 Intern
•
1.3K Posts
0
March 11th, 2008 03:00
bodnarg
2 Intern
•
385 Posts
0
March 11th, 2008 06:00
Seems odd that you'd get an error like you are if this is the issue - but I've seen odder matchings of error messages and their resolution.
rawstorage
4 Apprentice
•
423 Posts
1
March 11th, 2008 08:00
e.g. symld -g group add dev 123 -tgt
when creating etc you just need to append -tgt to the command and all devices will get acted on at the same time. Just remember that if you are writing to your source as stefano has said to use -consistent.
symclone -g group activate -tgt -consistent
Message was edited by:
Paul Martin
xe2sdc
6 Operator
•
2.8K Posts
0
March 11th, 2008 09:00
I think that you can read my mind ..
I wanted to explain that you can activate all the clones at the same time with a single command line ...
symclone activate DEV001 sym ld DEV004 DEV002 sym ld DEV005 DEV003 sym ld DEV006
But as you said, it's suggested to upgrade to a recent (and decent) S.E. and use -tgt
SKT2
2 Intern
•
1.3K Posts
0
March 11th, 2008 10:00
SYMAPI Feature: TF/CG / Symmetrix or SYMAPI Feature: TimeFinder
brad12341
207 Posts
0
March 11th, 2008 10:00
symclone -sid 1303 create -f file1
symclone -sid 1303 activate -f file1 -consistent
The activate failed saying I did not have the correct license. I'm guessing I need a special license to use -consistent?
I went back and ran the activate without conistent. I then went to the target server and ran cfgmgr and importvg. I got the same error -
root@wfscr12:/#importvg -y b_db10vg hdiskpower42
0516-082 lqueryvg: Unable to access a special device file.
Execute redefinevg and synclvodm to build correct environment.
0516-082 lqueryvg: Unable to access a special device file.
Execute redefinevg and synclvodm to build correct environment.
0516-1140 importvg: Unable to read the volume group descriptor area
on specified physical volume.
Both AIX servers are running 5.2 ml3.
xe2sdc
6 Operator
•
2.8K Posts
0
March 11th, 2008 12:00
of these striped metas as a group with -file.
You have options .. you can use files, you can use a single symclone command putting all the pairs in a single command, you can use a recent (and decent) version of symcli, use -tgt option and live happy.
The activate failed saying I did not have the correct
license. I'm guessing I need a special license to use
-consistent?
Exactly .. Santhosh is right. Try without -consistent option. Hope it works..
I'm pretty sure you know your environment. I simply googled a little and the first thing I've found is that the same error you are getting usually pops up when you move disks between different versions of AIX .. If you follow the link I posted you can also easily find commands to verify and/or fix it.
brad12341
207 Posts
0
March 11th, 2008 13:00
I'm still not using -consistient and I will follow up with our EMC rep to see if we own that license.
Thanks - Brad
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
March 11th, 2008 15:00
did you have to re-install ODM and PowerPath ..or just ODM sets. Other then that you used the same LVM commands ?
MarcT2
2 Intern
•
131 Posts
0
March 12th, 2008 03:00
There is an alternative to the "-consistent" option, which can only be used if the clone is activated from the source machine running EMC PowerPath. Use "-ppath SRCDEVS" in place of the "-consistent".
-consistent creates a consistent split by holding IO for the affected devices at the Symmetrix FA, using a feature called ECA (Enginuity Consistency Assist).
-ppath SRCDEVS creates a consistent split by using a PowerPath feature to hold IO at the host.
I think the ppath option was there first, and we've had great success in using it at a big AIX site in the UK. Without this option the VG would import, but occasionally the journaled filesystem would refuse to mount, and could not be repaired with fsck.
BR, Marc
DA
117 Posts
0
March 12th, 2008 09:00
xe2sdc
6 Operator
•
2.8K Posts
0
March 14th, 2008 07:00