Migrating a Veritas Volume Manager diskgroup from a physical environment to a virtual environment (P2V)

You can migrate the Veritas Volume Manager disk group from the physical environment to the virtual environment (P2V).

Warning:

If you use a Cross Platform Data Sharing (CDS) disk group on the physical server, you must migrate the data to a non-CDS disk group.

To execute the P2V migration:

  1. Stop all the applications on the physical server.
  2. Unmount any file systems which belong to the disk group that is being migrated.
  3. Deport the disk group from the VMHost using the vxdg deport command:
    # vxdg deport dgname
  4. Export all the disks which are a part of the disk group to the VMGuest.
  5. Rescan the devices on the VMGuest using the following command
    # ioscan -fnC disk
  6. Rescan the devices under Volume Manager using the following command
    # vxdisk scandisks
  7. Import the disk group on the VMGuest using the vxdg import command:
    # vxdg import dgname
  8. Mount the file systems which are part of the volumes in the diskgroup.
  9. Start the applications on the VMGuest.