VxVM breaking mirror for migrating storage


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users VxVM breaking mirror for migrating storage
# 1  
Old 04-01-2014
VxVM breaking mirror for migrating storage

We are in the process of migrating storage from one array to another. I know the commands I would use in LVM but I am not very familiar with VxVM.

The goal is to attach the new LUNs from the new array and add them to the disk group. Then mirror the data online to these new LUNs using VxVM mirroring. Once the mirroring has completed we would break the mirror from the old LUNs and be running on the new storage.

The catch here is that the customer is not 100% sure they want to be on the new array and wants the ability to failback quickly if there are problems, such as performance. There are several terabytes of data so the original sync could be quite time consuming. If, for example, it takes 12 hours and the customer complains about the performance, we want to get back on the old disks as soon as possible, not after waiting another 12 hours.

In LVM, I could do this simply with the lvsplit and lvmerge commands. The lvsplit breaks the mirror into a new lvol and keeps a bitmap of all the changes so that resyncing the mirror happens much more quickly, very similarly to a snapshot. If, after a couple of days, the customer is satisfied, we would completely remove the old LUNs and be done with the project.

Can anyone help me with the commands to do the same in VxVM? I found conflicting answers on Google. One says an exact equivalent to lvsplit/merge is the command vxassist snapshot and vxassist snapback. Antother sites suggests using vxplex detach and vxplex attach. So if anyone has suggestions on the best way to accomplish this, I'd really appreciate it.

One thing I need an answer for, is where the bitmap is stored and how to make sure we do not fill it up and lose it. This is an active database so the delta might be quite large for all we know after a few days.
# 2  
Old 04-01-2014
What type (make/model) are the old and new arrays?

Solaris/vxvm/EMC Lun configuration

Last edited by hicksd8; 04-01-2014 at 01:48 PM..
# 3  
Old 04-01-2014
I'm not sure why it matters but these are Solaris 10 servers moving from a Storagetek array (just barely more than JBOD) to an Hitachi HUS.
# 4  
Old 04-03-2014
Perhaps a silly question but I assume that you have all the Symantec (Veritas) documentation?
# 5  
Old 04-07-2014
Symantec Veritas docs

Last edited by hicksd8; 09-09-2014 at 06:13 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Migrating LUNs to new storage array

All, I have a AIX server with multiple volumes and I need to move them from a legacy storage SAN to a new SAN. We are concerned because to use mirrorvg as we would have to run on a single HBA (one on the old SAN and one on the new). Our other option is to use an appliance to do a block... (3 Replies)
Discussion started by: bkchicago
3 Replies

2. Red Hat

Migrating an Oracle database storage - REDHAT4

e have a RHEL4 server with an Oracle 10 ( RAC ) are migrating storage bank records. The copy is made by the storage they make a copy of the level of disk all blocks are copied and the file permissions. Problems we had Initially the Cluster service was not rising due to absence of OCR disks... (0 Replies)
Discussion started by: fausto.ncc1701
0 Replies

3. Solaris

Unable to boot from mirror disk on x86 server configured under VxVM

Hi, Can you help me on booting x86 server configured under VxVM. Server boots fine normally from both the disks but if I try to boot server from mirror disk without starting veritas, then it does not boot. vxplex -g rootdg dis var-02 vxplex -g rootdg dis swapvol-02 vxplex -g rootdg dis... (2 Replies)
Discussion started by: milindphanse604
2 Replies

4. Red Hat

breaking a hard drive mirror

Hey guys i have a machine running redhat enterprise 3.8 (i believe) and it has two hard drives that are mirrored. what would i have to do to get them to act as two seperate hard drives so i have 120gb capacity total as opposed to just 60? also, what would i do if i just wanted to take one of... (4 Replies)
Discussion started by: pacman529
4 Replies

5. AIX

IBM SAN Storage DS4700 - Copy Mirror Flashcopy

Hello, Does anyone know how to copy SAN Storage logical disks from IBM TotalStorage Software. I have a SAN Logical Disk of 200GB mounted on my AIX LPAR_1 via fibre channel fcs0 I would like to make an exact copy of the SAN Logical Disk from IBM totalStorage and mount it on AIX LPAR_2 ... (4 Replies)
Discussion started by: filosophizer
4 Replies

6. Filesystems, Disks and Memory

Migrating from RHEL LVM to VxVM

Hiya, Is there a known method from converting LVM data to VxVM data.. ie we have a load of local and SAN (HPDM) mounts on RHEL 4u5/5u1 servers which are now required to be clustered with SFS (VxFS,VxVM,CFS,VCS etc) I've come across the vxvmconvert, but thought that was HP-UX only? Many... (3 Replies)
Discussion started by: itsupplies
3 Replies

7. Red Hat

Migrating from RHEL LVM to VxVM

Hiya, Is there a known method from converting LVM data to VxVM data.. ie we have a load of local and SAN (HPDM) mounts on RHEL 4u5/5u1 servers which are now required to be clustered with SFS (VxFS,VxVM,CFS,VCS etc) I've come across the vxvmconvert, but thought that was HP-UX only? Many... (0 Replies)
Discussion started by: itsupplies
0 Replies

8. Solaris

Solaris 10 - breaking of mirror and change new hard disk

Hi, am a newbie at solaris. Need advice and help on this. 1) How do I break the mirror between 2 hard disks. (wish to keep 1 good hard disk as backup) 2) After remove 1 hard disk and put in new hard disk, how do I initialise or fomat the new hard disk? 3) How do I put back the backup... (3 Replies)
Discussion started by: chongkls77
3 Replies

9. Solaris

Breaking mirror for patches, sun/os 5.9

Hi, Going to be applying patches to Sun prod (dev 1st) boxes soon, I'm going to break the mirror's on 3 file systems on the root disk prior to that (/, /var, /swap),then run 9_Recommended. Then, run it for a day or 2 before re-syncing the mirrors. But, what if I want to backout of this... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

10. HP-UX

Breaking Mirror

Can some one point this UNIX newbie to a web site or directions on the steps needed to break a mirror in HP-UNIX to change a bad hard drive. (4 Replies)
Discussion started by: egress1
4 Replies
Login or Register to Ask a Question