Sponsored Content
Top Forums UNIX for Advanced & Expert Users VxVM breaking mirror for migrating storage Post 302895551 by keelba on Tuesday 1st of April 2014 09:24:00 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
vxinstall(1M)															     vxinstall(1M)

NAME
vxinstall - menu-driven Veritas Volume Manager initial configuration procedure SYNOPSIS
vxinstall DESCRIPTION
The vxinstall utility provides a menu driven interface to configure Veritas Volume Manager (VxVM). If you install the Veritas Volume Man- ager software package using the operating system's package administration commands, you can run vxinstall to configure VxVM for initial use on your system. Note: If you use the Veritas software installation scripts, do not run this utility. OPERATIONS
Licensing vxinstall first asks if you want to view the Veritas licenses already installed on the system. Answering "yes" is equivalent to exe- cuting the vxlicrep command (see vxlicrep(1)). You are then asked if you want to add licenses for other Veritas products. Answering "yes" is equivalent to running the vxlicinst command (see vxlicinst(1)). and entering a license key. Enclosure-Based Naming You can choose whether you want to use disk access names that are based on the device names assigned by the operating system, or that are based on names that you assign to enclosures. System-Wide Default Disk Group You can enter the name for the default disk group (defaultdg). This is an alias for the disk group name that should be assumed if the -g option is not specified to a command, or if the VXVM_DEFAULTDG environment variable is undefined. By default, defaultdg is set to nodg (that is, no disk group). NOTES
From release 4.0 of VxVM, it is no longer necessary to run vxinstall to configure the rootdg disk group. Disks and disk groups may be added to VxVM by running commands such as vxdiskadm(1M) or by using the graphical user interface without first running vxinstall. The operation of VxVM does not require any disk groups to have been configured, and a disk group named rootdg does not need to be present on the system. Any disk group may be configured as the default disk group that is to be used with VxVM commands. Any disk group named rootdg has no special significance to VxVM. See the vxdg(1M) manual page for further details. SEE ALSO
vxdctl(1M), vxdg(1M), vxdiskadm(1M), vxintro(1M), vxlicinst(1), vxlicrep(1) VxVM 5.0.31.1 24 Mar 2008 vxinstall(1M)
All times are GMT -4. The time now is 08:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy