Creating a Virtual Storage Area Network

After you obtain the initiator port of the physical SCSI HBA, you must create the virtual storage area network (SAN) on the service domain. The virtual SAN manages all SCSI devices that are reachable from the specified SCSI HBA initiator port.

ldm add-vsan [-q] iport-path vSAN-name domain-name

The vSAN name is unique to the system and not to the specified domain name. The domain name identifies the domain in which the SCSI HBA initiator port is configured. You can create multiple virtual SANs that reference the same initiator port path.

You can create more than one virtual SAN from the same initiator port path. This action allows multiple guest domains to use the same initiator port.

Note:

When the Oracle Solaris 11.3 OS is running on the service domain, the ldm add-vsan command verifies that the initiator port path is a valid device path. If the specified service domain is not active when you run the ldm add-vsan command, the specified initiator port path cannot be verified by the service domain. If the initiator port path does not correspond to an installed physical SCSI HBA initiator port that is part of the service domain, a warning message is written to the service domain's system log after the service domain becomes active.

In this example, you associate the /SYS/MB/PCIE1/SUNW,emlxs@0,1/fp@0,0 initiator port on the svcdom service domain with a virtual SAN. You can choose the name of the virtual SAN. In this example, port0 is the name of the virtual SAN.

primary# ldm add-vsan /SYS/MB/PCIE1/SUNW,emlxs@0,1/fp@0,0 port0 svcdom
/SYS/MB/PCIE1/SUNW,emlxs@0,1/fp@0,0 resolved to device:
/pci@300/pci@1/pci@0/pci@4/SUNW,emlxs@0,1/fp@0,0