Storage Administrator tasks
This section describes storage administrator tasks for configuring NPIV.
Procedure
- Log on to the switch and create separate zones for the virtual port WWNs and physical HBA port WWNs. Zone all the physical HBA port WWNs in a single zone with the storage initiator, and then individually zone the virtual HBA port WWNs of each VM to a storage array port WWN.
- On the storage subsystem, create separate hosts (SAN Volume
Controller) or host connections (DS8000®)
with separate volume groups for physical HBA ports and virtual HBA
ports. For example, in SAN Volume Controller 5.1.Create a host with physical HBA WWPNs. The result is:
Figure 1. Host with physical HBA WWPNs 
Create another host for VM with virtual HBA WWPNs. The result is:
You now have two hosts, one for the physical HBA port WWPNs, and one for the virtual port WWPNs. For example:Figure 2. Host with virtual HBA WWPNs 
- Map the LUN to both hosts so that the LUN can work through
NPIV. For example:
Figure 3. Map LUN to both hosts 
The LUN 22 is mapped to physical HBA ports.