Creating a Virtual SCSI Host Bus Adapter

After the virtual SAN has been defined, you can use the ldm add-vhba command to create a virtual SCSI HBA in a guest domain. The virtual SCSI HBA sends I/O requests to the physical SCSI devices in the virtual SAN.

ldm add-vhba [id=vHBA-ID] vHBA-name vSAN-name domain-name

In this example, you create the port0_vhba virtual SCSI HBA on the gdom guest domain that communicates with the port0 virtual SAN.

primary# ldm add-vhba port0_vhba port0 gdom