VxVM data migration

 
SOLVED
Go to solution
scoooot
Frequent Advisor

VxVM data migration

I need some assistance with VxVM. I've been working with HPUX for 20 years but have not had the pleasure of working all that extensively with Veritas.

I have a SG cluster, RAC, 2 nodes. And I am moving all the data to a different EVA. The shared disk is all VxVM which is where my uses is. The LVM volumes I have mirrored across and is all good.

Rather than mirroring the VxVM volumes, which I should do except I’m not that adventurous, I have decided to just CA the data across.

If it was LVM I would vgexport and then import and done. Simple stuff. But....

The majority of my MCSG cluster is Veritas and I'm not as savvy with this stuff. I'm sure it's a few commands, very similar to LVM, but I'm a little reluctant.

If someone could point me in the right direction and help me to minimize my downtime, that would be very much appreciated.

Thank you.
That which doesn't kill us makes us stronger.
7 REPLIES 7
Mel Burslan
Honored Contributor

Re: VxVM data migration

I could not quite understand what you are asking. Your question mentions a data migration to VxVM environment, whereas, the content of your post does not give any details about it ? Are you trying to move your data, from an LVM structured set of disks onto a VxVM data structure ? Or what exactly are you after ? Also, are you allowed a down time or not ? What is the amount of data you need to migrate ?
________________________________
UNIX because I majored in cryptology...
scoooot
Frequent Advisor

Re: VxVM data migration

I am moving data from one EVA to another. I need to point to the new destination. The LVM stuff I've completed with mirror UX.

For VxVM stuff I am going to CA over and then repoint. I just don't know the Veritas commands to do this.

I can afford a couple hours of down time.

That which doesn't kill us makes us stronger.
Sagar Sirdesai
Trusted Contributor

Re: VxVM data migration

Hi
Once you have completed the data migration to the new list of disks.Present the disks to the server and then Use the below commands

1)isocan -fnCdisk;insg -evd sdisk
2) vxdiskctl enable.
3)vxdg deport
4)vxdg export
5)vxrecover -g -sb

Please let us know how it goes

Sagar
scoooot
Frequent Advisor

Re: VxVM data migration

This is awesome thank you very much. The only question I have is:
the disk is shared, 2 nodes, Oracle RAC, is it as simple as doing this on both nodes or do I have have to do something different because it is shared disk?
That which doesn't kill us makes us stronger.
scoooot
Frequent Advisor

Re: VxVM data migration

Well the mystery is over. Once I reboot the 2 nodes the cluster comes up and Veritas is pointing to the new disk. Very nice. I think I like VxVM now. (-:

Cheers
That which doesn't kill us makes us stronger.
Sagar Sirdesai
Trusted Contributor
Solution

Re: VxVM data migration

Hi
Good to know that all is fine.

Please assign any points if you're happy with the answers.

Sagar
scoooot
Frequent Advisor

Re: VxVM data migration

It turns out VxVM is smarter than I thought it was. If I have time I'd spend more learning this stuff.

Thanks for the reply's it's nice to know there's help for these types of things.
That which doesn't kill us makes us stronger.