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

    This entry was posted on Wednesday, July 14th, 2004 at 11:17 am and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 1 Comment

    Take a look at some of the responses we've had to this article.

    1. Muthiah Lakshmanan
      Feb 14th
      Reply

      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

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

Visitors have tagged this post: tag/storage (494) - t (219) - veritas deport (96) - veritas import disk group (90) - VERITAS Volume Manager (74) - vxdg deport (62) - veritas import (58) - import veritas disk group (53) - veritas volume manager howto (43) - veritas deport disk group (43) - vxdg import (42) - import disk group veritas (37) - Veritas import disk (34) - vxvm deport (31) - vxvm import disk group (29) - veritas howto (27) - veritas deport import (23) - vxvm import (23) - veritas volume manager training (21) - Veritas Mirror (21) - f (21) - Veritas vxdg (19) - veritas deport disk (19) - mount veritas volume (19) - veritas volume manager upgrade (18) - veritas import diskgroup (16) - veritas volume copy (16) - manager (16) - veritas move volume (15) - deport veritas (15) - veritas move disk group (15) - vxvm howto (15) - vxprint solaris (14) - deport veritas disk group (14) - solaris veritas volume manager (14) - veritas volume manager for solaris 10 (14) - vxvm deport import (14) - veritas mirror disk (14) - all (13) - veritas volume manager solaris (13) - veritas volume manager solaris 10 (13) - vxdg mirror (13) - vxdg solaris (13) - veritas volume manager deport (12) - veritas volume manager x86 (12) - veritas volume manager scripts (11) - import disk veritas (11) - "veritas disk" (10) - how to import veritas disk group (10) - veritas volume manager import disk (10) - veritas disk group (10) - Veritas Volume Manager for solaris (10) - veritas copy volume (10) - veritas import disks (10) - upgrade veritas volume manager (9) - importing veritas disk groups (9) - veritas deport diskgroup (9) - importing veritas disk group (9) - how to mount veritas volume (9) - deport disk group + veritas (9) - veritas deport import disk group (9) - veritas list deported disk groups (9) - mirror disk veritas (9) - vxvm deport disk group (9) - tag/Solaris (8) - import veritas diskgroup (8) - Veritas vxdg import (8) - Veritas move volume disk group (8) - Veritas Disk Group import (8) - mount veritas disk group (8) - veritas import disk groups (8) - mss (8) - vxvm move volume (8) - vxvm deport diskgroup (8) - Veritas copy (8) - solaris (7) - volume manager disk group (7) - move veritas volume (7) - solaris volume manager howto (7) - migrate veritas (7) - veritas disk suite (7) - import disk groups Veritas (7) - migrating veritas (7) - deport veritas diskgroup (7) - "Veritas Volume Manager" disk groups (7) - vxdg move (7) - veritas volume manager configuration (7) - Do clownfish migrate (7) - veritas volume manager 5 (7) - import disk group vxvm (7) - veritas disk mirroring (7) - veritas import group (7) - vxvm x86 (7) - veritas mirror volume (7) - veritas volume manager 4.0 (7) - veritas + migrate + disk (6) - vxdg howto (6) - veritas migrate volume (6) - howto mirror disks :volume manager (6) - veritas volume manager for "solaris x86" (6) - veritas move volumes (6) - veritas deport disks (6) - Veritas vxdg upgrade (6) - howto veritas volume manager (6) - moving volumes between disk groups (6) - veritas mirror between disk groups (6) - Veritas Mirroring disks (6) - deport veritas volume (6) - veritas disk groups (6) - move disk group veritas (6) - veritas volume manager + solaris x86 (6) - veritas volume manager mount (6) - import vxvm disk group (6) - veritas volume manager for x86 (6) - vxvm solaris x86 (6) - vxdisk solaris (6) - import disk group in veritas (6) - import veritas volume group (6) - Move diskgroup veritas (6) - veritas mirror disk group (6) - vxvm import diskgroup (6) - vxvm import disk (6) - import veritas volume (6) - Deport disk group Vxvm (6) - veritas volume manager root mirroring (6) - root mirroring in veritas volume manager (6) - veritas disk import (6) - import disks veritas (6) - import veritas disk (6) - veritas migrate diskgroup (5) - import veritas disk groups (5) - veritas deport rootdg (5) - Move volumes from a disk (5) - vxdg (5) - mirroring boot drives with veritas volume manager (5) - migrating veritas volumes (5) - veritas move volume diskgroup (5) - Migrate from Veritas to Disksuite (5) - import diskgroup veritas (5) - veritas volume manager disk mirror (5) - how to import disk group in veritas (5) - veritas diskgroup import (5) - veritas disk group deport (5) - veritas volume manager vxdg (5) - veritas move volume new disk group (5) - veritas volume manager and disksuite (5) - upgrade veritas disk group (5) - deport disk group in Veritas (5) - import disk group (5) - solaris veritas volume manager upgrade (5) -