Migrating Veritas Volume Manager disk groups between servers

Never having been to Veritas Volume Manager training, I was feeling quite a bit of stress when my manager asked me to do a box upgrade on our most critical server. I remember wondering how in the world I was going to figure out the details of moving our Volume Manager configuration over the the new server. What was more, we had been taking care of ALL raid, including the boot drives with Volume Manager, and I wanted to start using Disk Suite all of our non fiber storage. Well, I figured it out, and it really is not all that hard… The most important thing is that you keep your external storage all in one disk group. Read more for details on how I did it.

The first thing to know is that you have to have at least one disk in the root disk group (rootdg). Most of our servers have four internal drives, so I mirror the first two sith Disk Suite, and let Volume Manager take care of the other two. At any rate, you have to run vxinstall on the new server, and add at least one drive to the root disk group. This will also set up Volume Manager in general. Once you’ve gone through all the hoops of vxinstall, reboot the new server.

Now, on the old server, you have to “deport” the disk group you want to attach to the new server. We’ll pretend that /u01 and /u02 are the mount points of your disk disk group. Here is how to “deport” them:

First, umount the filesystems.
umount /u01
umount /u02

Next, display the disks and disk groups just to make sure you are working with the disks you think you are, and that they are in the right disk group. both “vxprint -ht” and “vxdisk list” will do this, but I like vxdisk more because it is simpler to read the output.
vxdisk list

So long as everything is as it should be, you can now go about “deporting” the disk group.
vxdg deport diskgroup

Now unplug the fiber, and plug it into your new server. Do a “reboot — - r” or a boot -r at the “ok” prompt, and check to make sure the external storage can be seen in “format”.

So long as you can see it in format, it’s just a simple matter of importing the old disk group into the new disk group configuration.

vxdg import diskgroup

Now all you have to do is reboot your system, and the volume should be ready to go.

Discuss This Article


One Response to “Migrating Veritas Volume Manager disk groups between servers”

  1. Muthiah Lakshmanan on February 14th, 2007 2:04 am #

    Hello,

    This is a very valuble information for system admin. If you can add the bottom listed topics, it will add more value to this site. For eg unixway.com, cuddletch is also similar, but they have not covered all the topics that is listed below.

    Muthiah


Got something to say?






Post Tags (user submitted): tag/storage (494) - t (219) - veritas deport (52) - vxdg deport (51) - VERITAS Volume Manager (50) - veritas import disk group (46) - veritas import (43) - vxdg import (40) - veritas volume manager howto (38) - import disk group veritas (26) - veritas howto (23) - veritas deport disk group (23) - f (21) - import veritas disk group (16) - mount veritas volume (15) - vxprint solaris (14) - all (13) - Veritas vxdg (13) - veritas volume manager training (12) - vxvm howto (12) - Veritas import disk (11) - veritas deport import (11) - vxvm import disk group (11) - veritas move volume (10) - veritas import diskgroup (10) - "veritas disk" (10) - veritas volume manager upgrade (10) - solaris veritas volume manager (10) - vxvm deport (10) - Veritas Mirror (10) - manager (10) - veritas volume copy (9) - deport disk group + veritas (9) - veritas volume manager x86 (9) - vxdg solaris (9) - tag/Solaris (8) - import veritas diskgroup (8) - Veritas vxdg import (8) - deport veritas disk group (8) - Veritas move volume disk group (8) - mount veritas disk group (8) - deport veritas (8) - mss (8) - veritas disk group (8) - veritas volume manager scripts (8) - vxvm deport import (8) - vxdg mirror (8) - solaris (7) - solaris volume manager howto (7) - "Veritas Volume Manager" disk groups (7) - veritas volume manager deport (7) - veritas move disk group (7) - vxvm move volume (7) - veritas import disks (7) - veritas + migrate + disk (6) - veritas deport disk (6) - vxdg howto (6) - howto mirror disks :volume manager (6) - veritas volume manager for "solaris x86" (6) - migrating veritas (6) - veritas disk groups (6) - how to mount veritas volume (6) - veritas volume manager + solaris x86 (6) - veritas volume manager solaris 10 (6) - Veritas Volume Manager for solaris (6) - veritas volume manager for x86 (6) - vxvm solaris x86 (6) - Do clownfish migrate (6) - veritas deport import disk group (6) - veritas list deported disk groups (6) - Move diskgroup veritas (6) - veritas mirror disk group (6) - veritas volume manager solaris (5) - veritas disk suite (5) - vxdg (5) - mirroring boot drives with veritas volume manager (5) - Migrate from Veritas to Disksuite (5) - Veritas vxdg upgrade (5) - importing veritas disk groups (5) - Veritas Disk Group import (5) - moving volumes between disk groups (5) - veritas diskgroup import (5) - vxdg move (5) - veritas volume manager vxdg (5) - veritas volume manager for solaris 10 (5) - import disk veritas (5) - veritas move volume new disk group (5) - veritas copy volume (5) - veritas mirror disk (5) - veritas volume manager 5 (5) - Deport disk group Vxvm (5) - vxdg -c import (4) - veritas umount (4) - Disksuite howto (4) - import veritas disk groups (4) - vxdisk (4) - veritas deport rootdg (4) - move veritas volume (4) - migrate veritas (4) - upgrade veritas volume manager (4) - veritas deport disk groups (4) - Move volumes from a disk (4) - veritas move volumes (4) - veritas diskgroup (4) - migrating veritas volumes (4) - veritas move volume diskgroup (4) - import disk groups Veritas (4) - veritas importing disk groups (4) - veritas deport disks (4) - import diskgroup veritas (4) - veritas volume manager disk mirror (4) - howto upgrade veritas volume manager (4) - how to import disk group in veritas (4) - deport veritas diskgroup (4) - veritas import disk groups (4) - veritas mirror between disk groups (4) - veritas +solaris +howto (4) - how to import veritas disk group (4) - mirror root disk veritas volume manager (4) - veritas volume manager import disk (4) - veritas volume manager docs (4) - migrate rootdg (4) - vxdg list deported disk groups (4) - veritas copy disk (4) - veritas volume groups (4) - veritas move volume between disk groups (4) - how to mirror root disk veritas volume manager (4) - veritas volume manager mount (4) - veritas volume manager 4 (4) - mount veritas volume solaris (4) - upgrade veritas disk group (4) - How to import a disk group in Veritas (4) - vxdg in solaris (4) - vxdisk solaris (4) - import disk group (4) - veritas import volume group (4) - list deported disk groups (4) - veritas volume manager mirror root (4) - import disk group in veritas (4) - veritas volume manager configuration information (4) - migrating vxvm (4) - mirror root drive veritas volume manager solaris (4) - root disk mirroring in vxvm (4) - veritas volume move (4) - vxvm x86 (4) - veritas volume manager raid configuration for solaris (4) - Root disk mirror inadvertently added to Veritas volume  (4) - vxvm import (4) - storage (3) - veritas (3) -