Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

Moving date from one EVA to another

SOLVED
Go to solution
Igor Sovin
Super Advisor

Moving date from one EVA to another

Hi!
We need to move data from several LUNs on EVA5k to newely purchased EVA8k.
Can I do that? And how?
17 REPLIES
jpmartin
Regular Advisor

Re: Moving date from one EVA to another

Hi Igor,

if you use or upgrade Command View to V7, you will have a Continuous Access for a 180 days grace priod.

The only thing is to update your licenses before this grace period.

Jean-Pierre
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Thanks a lot, Martin!
Rob Leadbeater
Honored Contributor

Re: Moving date from one EVA to another

Hi Igor,

What OS are you running ?

Some, Tru64 Unix for example, could do this just by adding the new volume (LUN) into the existing file domain, then removing the old LUN.

Cheers,

Rob
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Martin, but where to get version 7.0? There is only 6.0.2 available for download from HP site.
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Hi Rob!
I am running HP-UX 11.23
LUN from EVA5k are presented to servers running HP-UX 11.23.
I need to copy data from these LUNs to new EVA8k.
Torsten.
Acclaimed Contributor
Solution

Re: Moving date from one EVA to another

For HP-UX you may consider to use LVM mirroring to "copy" the data from one EVA to another.

Add the new vdisk to the volume group and lvextend a mirror copy to the new vdisk.

Once this is done, lvreduce the copy from the old vdisk and finally vgreduce this vdisk.

You can do this online.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

I've thought over the LVM mirroring, but now I dont exactly ho to do that.
What commands to I need to perform?
jpmartin
Regular Advisor

Re: Moving date from one EVA to another

The CV V7 media must be purchased, or may be obtained from HP with maintenance.
Rob Leadbeater
Honored Contributor

Re: Moving date from one EVA to another

Hi Igor,

Yes, you need to purchase CV EVA 7, although as you've got a new EVA8000, you may have bought it as part of that...

Part number if you need it is T3724E.

The versions of Command View available online are just patches. So the 6.0.2 version you mentioned will only install on top of 6.0.0 or 6.0.1.

Cheers,

Rob
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

The steps at a glance:

- review the currently setting of this VG
# vgdisplay -v vgxx

- adjust values if needed
(man vgmodify)

- create a new vdisk on the new EVA (probably same size preferred)

- adjust zoning and presentation

- run "ioscan" and "insf" on the new device

- create a physical volume on the new vdisk
(man pvcreate)

- extend the VG
(man vgextend)

- extend the logical volume
(man lvextend)
# lvextend -m 1 /dev/vgxx/lvol1 /dev/dsk/...

- reduce the mirror copy from the old disk
# lvreduce -m 0 /dev/vgxx/lvol1 /dev/dsk/...

- once all lvols are "moved", reduce the old vdisk from the VG

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Torsten,

I have the following configuration:
Volume Group - vgSLT
The Logcal Volumes:
/dev/vgSLT/sapmntSLT
/dev/vgSLT/usrsapSLT
/dev/vgSLT/oracleSLT
/dev/vgSLT/oracle

VG resides on phisycal disk /dev/dsk/c13t0d0

Now I need to present new vdisk to secure path?
For example let it be /dev/dsk/c14t0d0
Then I need to perform

vgextend /dev/vgSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/sapmntSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/usrsapSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/oracleSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/oracle /dev/dsk/c14t0d0

then
lvreduce -m 0 -k /dev/vgSLT/usrsapSLT /dev/dsk/c13t0d0/
etc..

and
vgreduce /dev/vgSLT /dev/dsk/c13t0d0

Am I on the right way?
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

"Am I on the right way?"

Yes.
Also be aware of the other steps I mentioned (checking limits/pvcreate etc.).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Thanx guys!
And the points go to you !
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

By the way can I use simple dd to copy data from one disk to another?
Like this:
dd if=/dev/dsk/c13t0d0 of=/dev/dsk/c14t0d0 bs=1024k
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

I would not do this, because this may mess your configuration.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

I've just noticed that we dont have Mirror-UX on few hosts and so we dont have licenses.. hmm
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

For these systems consider to take a backup (to tape or tar archive), create a new VG on the new EVA and restore the backup.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!