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