Go to main content

Oracle® VM Server for SPARC 3.5 Administration Guide

Exit Print View

Updated: November 2017
 
 

How to Configure Virtual SCSI HBA Multipathing

This procedure describes how to create the virtual SCSI HBA multipathing configuration that is shown in Configuring Virtual SCSI HBA Multipathing in a Guest Domain. This example is just one of many possible multipathing configurations.

  1. Create an I/O domain with the physical SCSI HBA assigned to it.

    See Configuring I/O Domains.

  2. Export the virtual SAN for the first initiator port path from the first service domain.
    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
  3. Export the virtual SAN for the second initiator port path from the second service domain.
    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
  4. Export the virtual SCSI HBAs to the guest domain.
    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
  5. Specify the timeout property value for the virtual SCSI HBAs on the guest domain.
    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
  6. Reboot the guest domain.