ROOTVG

AIX => Administration => Topic started by: smokingranger on May 13, 2008, 05:10:53 PM



Title: Moving data from symmetrix to clariion
Post by: smokingranger on May 13, 2008, 05:10:53 PM
Hi

We are having data ( 2 VGs) on symm and would like to move that over to the clariion which will be connected through the 2nd hba. So at some point both symm and clariion will be be seen and after the data is moved the symm will be disconnected. Any ideas on how to move the two VGs ?

OS AIX 5.2 - 05

Appreciate the answers.

Thanks


Title: Re: Moving data from symmetrix to clariion
Post by: kondoor on May 13, 2008, 08:12:31 PM
You should be able to use migratepv to do this.  map your luns to the server from the clarion, cfgmgr to see the luns, add the hdisks to that VG then do your migratepv from the old luns to the new luns.  Do this 1 VG at a time, I just did this last month as a mater of fact.  From one IBM DS system to another, no problems doing it while under 60% load.  Copy and paste below of my notes.


Volume Group Migration Process
1.   Identify the hdisk(s) in the volume group you want to migrate.
a.   Use command lspv and make note of the hdisk number(s) in the volume group you want to migrate.
2.   Identify the logical volumes on each hdisk and make note of the mount points.
a.   lspv –l hdiskX
3.   Determine how much disk space the new volume group will need to contain to move existing hdisk(s) to it.
a.   df –m and add all MB blocks of mount points you made note of earlier.
4.   Create your LUN in Storage Manager and assign it to the server.
5.   cfgmgr to detect the new LUN on the server.
6.   chdev –l hdisk<n> -a pv=yes to classify the drive as a physical volume.
7.   Add that new physical volume into your existing volume group.
a.   extendvg –f vgname hdiskX
8.   Migrate old physical volumes(s) to new physical volumes.
a.   migratepv oldpv newpv
9.   Check to make sure everything has moved to new physical volume and old physical volume is empty.
a.   lspv –l hdiskX for all physical volumes affected.
10.   Remove old physical volume(s) from volume group.
a.   reducevg volumegroup hdiskX
11.   Remove old physical volume from AIX
a.   rmdev –l hdiskX –d
12.   Remove LUN from SAN with Storage Manager


Title: Re: Moving data from symmetrix to clariion
Post by: smokingranger on May 15, 2008, 02:08:57 PM
Thanks man. This is due next week and I will let you know how it goes.