Configuring zoning for vSCSI
Before using virtual SCSI (vSCSI) connected storage, you must configure all zoning between the Virtual I/O Server and the storage device ports.
The fabric switch used in this example is a Brocade switch.
Before you begin
- In PowerVC, go to . There is a table of all managed host Fibre Channel ports, including which VIOS owns them, their WWPNs, and which fabric they are connected to. Make a note of which WWPNs you will need to zone for each fabric.
On the SAN switch for each fabric, you can optionally create an alias for every
WWPN on a host by using the alicreate command.
For example, if a host has two Fibre Channel ports, one for each VIOS, you might run the following commands to make human-readable aliases for each one:
alicreate "host1_vio1_fcs0", "20:00:00:e0:69:41:54:02" alicreate "host1_vio2_fcs1", "20:00:00:e0:69:41:54:03"
To determine the corresponding storage controller ports in PowerVC, navigate to and click on the storage provider that you want to zone with the VIOS Fibre Channel
ports. In the storage provider details page, scroll down to Storage Ports.
You will find a similar table with WWPN and connected fabric information. Note: For pre-zoning to pluggable storage providers, you will need to obtain the pluggable array's target WWPN information from your storage administrator.
Still on the SAN switch, create an alias for every connected WWPN from the storage controller
by using the alicreate command. Using a V7000 example, you might create aliases
for ports on IO Group 0 and nodes 1 and 2, each with two ports, like the following:
alicreate "v7000_node1_p1", "50:05:07:68:02:15:B7:41" alicreate "v7000_node1_p2", "50:05:07:68:02:25:B7:41" alicreate "v7000_node2_p1", "50:05:07:68:02:15:B7:42" alicreate "v7000_node2_p2", "50:05:07:68:02:25:B7:42"
For a VMAX storage array, the aliases instead might look like the following:
alicreate "vmax_FA2D_24", "50:00:09:73:58:08:f4:4b" alicreate "vmax_FA1D_12", "50:00:09:73:58:08:f4:5b"
On the SAN switch, create a zone for paths that you want between the host and the storage
controller by using the zonecreate command.
For example, make a separate zone for each VIOS on the host. In the following example, we choose one port from each storage node to zone with each VIOS.
zonecreate "host1_vio1_fcs0_to_v7000_p1", "host1_vio1_fcs0;v7000_node1_p1;v7000_node2_p1" zonecreate "host1_vio2_fcs1_to_v7000_p2", "host1_vio2_fcs1;v7000_node1_p2;v7000_node2_p2"Note: Create at most four paths between a host and a storage controller. In the example, there are four paths since there are two paths in each zone.
On the SAN switch, add the zones to the current configuration by using the
cfgadd command. Example commands:
cfgadd "powervc","host1_vio1_fcs0_to_v7000_p1" cfgadd "powervc","host1_vio2_fcs1_to_v7000_p2"
On the SAN switch, save and enable the configuration by using the following commands:
cfgsave "powervc" cfgenable "powervc"