This procedure describes how to create the virtual SCSI HBA multipathing configuration that is shown in Figure 9. This example is just one of many possible multipathing configurations.
ldm add-vsan vSAN-path1 vSAN-name domain-name
vSAN-path1 is the first initiator port path to the SAN.
For example, the following command exports the vsan-mpxio1 virtual SAN from the svcdom1 domain:
primary# ldm add-vsan /SYS/MB/RISER0/PCIE1/HBA0/PORT0 vsan-mpxio1 svcdom1
ldm add-vsan vSAN-path2 vSAN-name domain-name
vSAN-path2 is the second initiator port path to the SAN.
For example, the following command exports the vsan-mpxio2 virtual SAN from the svcdom2 domain:
primary# ldm add-vsan /SYS/MB/RISER0/PCIE3/HBA0/PORT0 vsan-mpxio2 svcdom2
ldm add-vhba vHBA-name vSAN-name domain-name
For example, the following commands export the vhba-mpxio1 and vhba-mpxio2 virtual SCSI HBAs to the gdom domain:
primary# ldm add-vhba vhba-mpxio1 vsan-mpxio1 gdom primary# ldm add-vhba vhba-mpxio2 vsan-mpxio2 gdom
ldm set-vhba timeout=seconds vHBA-name domain-name
For example, the following commands set the timeout property value to 30 for the vsan-mpxio1 and vsan-mpxio2 virtual SCSI HBAs on the gdom domain:
primary# ldm set-vhba timeout=30 vhba-mpxio1 gdom primary# ldm set-vhba timeout=30 vhba-mpxio2 gdom