• 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 (93) - VERITAS Volume Manager (72) - veritas import disk group (67) - vxdg deport (62) - veritas import (53) - veritas volume manager howto (43) - import veritas disk group (43) - vxdg import (42) - veritas deport disk group (34) - import disk group veritas (30) - veritas howto (27) - Veritas import disk (27) - vxvm deport (24) - vxvm import disk group (22) - f (21) - Veritas Mirror (20) - Veritas vxdg (19) - veritas deport import (19) - veritas volume manager training (18) - mount veritas volume (18) - manager (16) - veritas volume manager upgrade (15) - vxvm howto (15) - vxprint solaris (14) - veritas import diskgroup (14) - solaris veritas volume manager (14) - veritas volume manager for solaris 10 (14) - veritas volume copy (14) - all (13) - veritas move volume (13) - vxvm deport import (13) - deport veritas disk group (12) - deport veritas (12) - veritas volume manager solaris 10 (12) - veritas volume manager x86 (12) - vxdg solaris (12) - veritas volume manager solaris (11) - veritas volume manager deport (11) - veritas move disk group (11) - vxdg mirror (11) - veritas mirror disk (11) - vxvm import (11) - veritas deport disk (10) - "veritas disk" (10) - veritas volume manager scripts (10) - Veritas Volume Manager for solaris (10) - veritas copy volume (10) - veritas import disks (10) - veritas volume manager import disk (9) - veritas disk group (9) - how to mount veritas volume (9) - deport disk group + veritas (9) - tag/Solaris (8) - import veritas diskgroup (8) - Veritas vxdg import (8) - Veritas move volume disk group (8) - veritas deport diskgroup (8) - mount veritas disk group (8) - veritas import disk groups (8) - mss (8) - vxvm move volume (8) - veritas deport import disk group (8) - vxvm deport disk group (8) - solaris (7) - volume manager disk group (7) - solaris volume manager howto (7) - upgrade veritas volume manager (7) - veritas disk suite (7) - importing veritas disk groups (7) - migrating veritas (7) - "Veritas Volume Manager" disk groups (7) - vxdg move (7) - importing veritas disk group (7) - import disk veritas (7) - Do clownfish migrate (7) - veritas volume manager 5 (7) - vxvm x86 (7) - veritas mirror volume (7) - vxvm deport diskgroup (7) - Veritas copy (7) - veritas volume manager 4.0 (7) - veritas + migrate + disk (6) - vxdg howto (6) - move veritas volume (6) - migrate veritas (6) - howto mirror disks :volume manager (6) - veritas volume manager for "solaris x86" (6) - veritas move volumes (6) - Veritas vxdg upgrade (6) - howto veritas volume manager (6) - Veritas Disk Group import (6) - moving volumes between disk groups (6) - deport veritas diskgroup (6) - how to import veritas disk group (6) - Veritas Mirroring disks (6) - veritas disk groups (6) - move disk group veritas (6) - veritas volume manager + solaris x86 (6) - veritas volume manager for x86 (6) - vxvm solaris x86 (6) - veritas list deported disk groups (6) - Move diskgroup veritas (6) - veritas mirror disk group (6) - vxvm import diskgroup (6) - import disk group vxvm (6) - import disks veritas (6) - veritas migrate diskgroup (5) - import veritas disk groups (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) - veritas deport disks (5) - Migrate from Veritas to Disksuite (5) - veritas volume manager disk mirror (5) - how to import disk group in veritas (5) - veritas mirror between disk groups (5) - veritas diskgroup import (5) - veritas volume manager vxdg (5) - veritas volume manager mount (5) - import vxvm disk group (5) - veritas move volume new disk group (5) - veritas volume manager and disksuite (5) - upgrade veritas disk group (5) - vxdisk solaris (5) - import disk group (5) - veritas volume manager configuration (5) - import disk group in veritas (5) - import veritas volume group (5) - how to import a veritas disk group (5) - Veritas Deport volume group (5) - veritas disk mirroring (5) - vxvm import disk (5) - veritas import group (5) - import a veritas disk group (5) - Deport disk group Vxvm (5) - deport veritas disk (5) - veritas volume 9 (5) - vxdg -c import (4) - veritas umount (4) - Disksuite howto (4) - veritas migrate volume (4) - vxdisk (4) - howto veritas (4) - veritas deport rootdg (4) - veritas volume manager vxprint (4) - veritas deport disk groups (4) -