Chapter 5. Host configuration 235
4. Include the primary host attach ports (virtual WWPNs) to your host zones.
5. Enable transitional mode for NPIV on IBM Spectrum Virtualize system (Example 5-15).
Example 5-15 NPIV in transitional mode
IBM_2145:ITSO:superuser>chiogrp -fctargetportmode transitional 0
6. Ensure that the primary host attach WWPNs (virtual WWPNs) now allows host traffic, as
shown in bold in Example 5-16.
Example 5-16 Host attach WWPNs (virtual WWPNs) permitting host traffic
IBM_2145:ITSO:superuser>lstargetportfc
id WWPN WWNN port_id owning_node_id current_node_id nportid host_io_permitted
virtualized
1 50050768021000EF 50050768020000EF 1 1 1 010200 yes no
2 50050768029900EF 50050768020000EF 1 1 1 010201 yes yes
3 50050768022000EF 50050768020000EF 2 1 1 020200 yes no
4 5005076802A900EF 50050768020000EF 2 1 1 020201 yes yes
5 50050768023000EF 50050768020000EF 3 1 1 0A83C0 yes no
6 5005076802B900EF 50050768020000EF 3 1 1 0A83C1 yes yes
7 50050768024000EF 50050768020000EF 4 1 1 011400 yes no
8 5005076802C900EF 50050768020000EF 4 1 1 011401 yes yes
33 50050768021000F0 50050768020000F0 1 2 2 010300 yes no
34 50050768029900F0 50050768020000F0 1 2 2 010301 yes yes
35 50050768022000F0 50050768020000F0 2 2 2 020300 yes no
36 5005076802A900F0 50050768020000F0 2 2 2 020301 yes yes
37 50050768023000F0 50050768020000F0 3 2 2 011500 yes no
38 5005076802B900F0 50050768020000F0 3 2 2 011501 yes yes
39 50050768024000F0 50050768020000F0 4 2 2 0A82C0 yes no
40 5005076802C900F0 50050768020000F0 4 2 2 0A82C1 yes yes
7. Ensure that the hosts are using the NPIV ports for host I/O.
8. After a minimum of 15 minutes has passed since entering transitional mode, change
the system to enabled mode by entering the command, as shown in Example 5-17.
Example 5-17 Enabling the NPIV
IBM_2145:ITSO:superuser>chiogrp -fctargetportmode enabled 0
Remember:
The following information can be useful:
You can verify that you are logged in to them by entering the lsfabric -host
host_id_or_name command. If I/O activity is occurring, each host has at least one
line in the command output that corresponds to a host port and shows active in the
activity field:
– Hosts where no I/O was issued in the past 5 minutes do not show active for any
login.
– Hosts that do not adhere to preferred paths might still be processing I/O to
primary ports.
Depending on the host operating system, rescanning of the SAN might be required
on some hosts to recognize additional paths now provided via primary host attach
ports (virtual WWPNs).