DMP supports disks backed by DMP as virtual SCSI disks. Export the DMP device as a vSCSI disk to the VIO client.
To export a DMP device as a vSCSI disk
$ oem_setup_env
dmpvios1$ lsdev -t dmpdisk
ibm_ds8000_0287 Available Veritas DMP Device ibm_ds8000_0288 Available Veritas DMP Device ibm_ds8000_0292 Available Veritas DMP Device ibm_ds8000_0293 Available Veritas DMP Device ibm_ds8000_029a Available Veritas DMP Device ibm_ds8000_02c1 Available Veritas DMP Device ibm_ds8000_0337 Available Veritas DMP Device
dmpvios1$ exit
$ mkvdev -vdev ibm_ds8000_0288 -vadapter vhost0 vtscsi3 Available
$ lsmap -all
SVSA Physloc Client Partition ID -------------- -------------------------- ------------------- vhost0 U9117.MMA.0686502-V2-C11 0x00000000 VTD vtscsi0 Status Available LUN 0x8100000000000000 Backing device ibm_ds8000_0337 Physloc VTD vtscsi1 Status Available LUN 0x8200000000000000 Backing device ibm_ds8000_02c1 Physloc VTD vtscsi2 Status Available LUN 0x8300000000000000 Backing device ibm_ds8000_029a Physloc V TD vtscsi3 Status Available LUN 0x8400000000000000 Backing device ibm_ds8000_0288 Physloc
If the array supports the AVID attribute, the DMP device name is the same as the DMP device name on the VIO Server1.
Otherwise, use the UDID value of the DMP device on the VIO Server1 to correlate the DMP device name with same UDID on the VIO Server2.
On VIO Server1:
$ oem_setup_env
dmpvios1$ lsattr -El ibm_ds8000_0288
attribute value description user_settable dmpname ibm_ds8x000_0288 DMP Device name True pvid none Physical volume identifier True unique_id IBM%5F2107%5F75MA641%5F6005076308FFC61A000000000 0000288 Unique device identifier True
On VIO Server2:
$ oem_setup_env
dmpvios2$ odmget -q "attribute = unique_id and value = 'IBM%5F2107%5F75MA641%5F6005076308FFC61A000000000 0000288'" CuAt
CuAt: name = "ibm_ds8000_0288" attribute = "unique_id" value = "IBM%5F2107%5F75MA641%5F6005076308FFC61A00 00000000000288" type = "R" generic = "DU" rep = "s" nls_index = 4
dmpvios1$ exit
$ mkvdev -vdev ibm_ds8000_0288 -vadapter vhost0 vtscsi3 Available
$ lsmap -all
SVSA Physloc Client Partition ID -------------- ------------------------- ------------------- vhost0 U9117.MMA.0686502-V2-C11 0x00000000 VTD vtscsi0 Status Available LUN 0x8100000000000000 Backing device ibm_ds8000_0337 Physloc VTD vtscsi1 Status Available LUN 0x8200000000000000 Backing device ibm_ds8000_02c1 Physloc VTD vtscsi2 Status Available LUN 0x8300000000000000 Backing device ibm_ds8000_029a Physloc V TD vtscsi3 Status Available LUN 0x8400000000000000 Backing device ibm_ds8000_0288 Physloc