Figure 4.21 Enabling NPIV using the OneCommand Manager tool
Assuming that I have two HBA ports in my Hyper-V host, I will create two separate
virtual SANs, each connected to one of the HBA ports. This assumes that each of the
HBA ports is connected to a different Fibre Channel switch to remove single points of
failure. If you have four HBA ports, each virtual SAN would be configured with two of
the HBA ports. A single HBA port cannot be assigned to more than one virtual SAN.
My configuration is shown in Figure 4.22 with two virtual SANs, each using one of the
available ports.
Figure 4.22 A virtual SAN using one of the available HBA ports
Once the virtual SANs are created, the next step is to add virtual Fibre Channel
adapters (vFCAs) to the virtual machines that need to access the storage. Open the
settings of the virtual machine, and in the Add Hardware section, select Fibre Channel
Adapter and click Add. Each virtual machine should have two vFCAs, each connected
to a different virtual SAN, providing the virtual machine with redundant connections
and protection from a single point of failure, as highlighted in Figure 4.19 previously.
The only configuration for the vFCA is to select the virtual SAN to which it will
connect, and each vFCA is assigned two sets of World Wide Port Names (WWPNs), as
shown in Figure 4.23, which are used to zone access to storage in the switches,
effectively granting access to storage. I cover why each vFCA gets two WWPNs later.
Notice the Copy button that will take the WWPN and World Wide Node Name
(WWNN) information for the vFCA and copy it to the Clipboard; it can then be used in
your notes or in your switch configuration tool to zone storage.