Operating System - HP-UX
1833275 Members
2879 Online
110051 Solutions
New Discussion

Re: Migration from VA7100 to EVA5000

 
SOLVED
Go to solution
shreejesh
Advisor

Migration from VA7100 to EVA5000

Hi,
I am having HP rp 5470 server connected to VA7100. Now the storage is getting replaced with EVA5000. The server is running ERP application and $ORACLE_HOME is in the storage. I have mounted the new storage with new mount points. But when I copy the data from old mount point to new using "cp -rp" command, I am not able to retain the owner and group. The oracle owners are getting converted to root owners. Is there any way to retain this (along with permissions) using cp command or with other command ?

Thanks & Regards,
Shreejesh.
8 REPLIES 8
Ming.Dynasty
Advisor

Re: Migration from VA7100 to EVA5000

Hi

I always use dd to do the environment Migration, it always worked well.

su to oracle account if you use cp to migrate oracle database
Rajeev  Shukla
Honored Contributor
Solution

Re: Migration from VA7100 to EVA5000

Instead of copying the data manually why dont you adopt another way of storage migration if you have mirror-UX installed.
If you have 2 controllers on rp5470 connected to va7100 then vgreduce all the VG from second controller and connect the second controller to EVA5000;then create the LUNS of your requirements and then do a pvmove to move the data off va7100 to EVA5000
Arunkumar.B
Trusted Contributor

Re: Migration from VA7100 to EVA5000

Hi Shreejesh,

I will suggest one thing Connect the EVA 5k to existing SAN.Create the Lun of same size like in the VA7100.Do the Mirroring with the new luns once it thru then reduce the VA7100 Mirror.This will be better option for Migration from VA to EVA.


Best Regds
Arunkumar.B
Necessity breaks iron
Gurumanickam
Frequent Advisor

Re: Migration from VA7100 to EVA5000

hi,

you can use dd command to migrate the data, other wise if you have Mirror-UX installed in your system, create the new lun with the same size, extend the vg and mirror it, once it is you can remove the va7100 lun.

Thanks
Be an expert
shreejesh
Advisor

Re: Migration from VA7100 to EVA5000

Hi Rajeev,

I stick to the copying using pvmove command. But can you please give me the procedure for the successful copy of the data.

Thanks & Regards,
Shreejesh.
Luk Vandenbussche
Honored Contributor

Re: Migration from VA7100 to EVA5000

Hi,

I have migrated a va7100 to an eva3000 once

The easiest way with no downtime is doing the migration with mirroring.
shreejesh
Advisor

Re: Migration from VA7100 to EVA5000

Hi,

Pls give me the procedure of migration of LUNs through mirroring.

Thanks & Regards,
Shreejesh.
Rajeev  Shukla
Honored Contributor

Re: Migration from VA7100 to EVA5000

Ok Shreejesh,

Here is what i was trying to trying to explain.
take a printout of ioscan -fnCdisk and strings /etc/lvmtab
Identify all the disks belonging to primary controller.
Take one VG at a time, say VG1
if you have any alternate links to the disk in VG1 through secondary controller then vgreduce them. This way you would have moved all the links to the disks (VG) through secondary controller. Once you have removed all the VG from all the systems from the secondary link to VA7100 you can test by turning off the switch connected to secondary HBA and VA7100.
You can now disconnect the cable of secondary controller from VA and connect to EVA. Use the LUN management software to create the LUNS of desired (or same ) size on EVA and then pvcreate and vgextend the VG1 to EVA disk.
You can now use pvmove command to move all LV of that VG1 from VA to EVA and confirm by running vgdisplay.
Using this for all VG you can freeup the primary controller as well. Once its done you can disconnect and second fibre cable from VA and connect it to EVA and then create the alternate path for all VG to EVA
have a look at the man pages of all command for more info or let me know if you need detailed procedure.