This topic provides information about zoning a switch.
The number of virtual paths to each virtual disk is limited. Implementation of the following rules will help you achieve the correct number of virtual paths.
IBM recommends that you manually set the domain IDs prior to building the multiswitch fabric and prior to zoning for the following reasons:
The maximum number of paths from the SAN Volume Controller nodes to a host is eight. The maximum number of host bus adapter (HBA) ports is four (for example, no more than two two-port HBAs or four one-port HBAs).
In the following example, consider the following SAN environment:
| P | Q | R | S |
| C0 | D0 | E0 | F0 |
| C1 | D1 | E1 | F1 |
| C2 | D2 | E2 | F2 |
| C3 | D3 | E3 | F3 |
An example configuration would be the following:
1. Attach ports 1 (A0, B0, C0, D0, E0, and F0) and 2 (A1, B1, C1, D1, E1, and F1)
of each node and host to switch X.
2. Attach ports 3 (A2, B2, C2, D2, E2, and F2) and 4 (A3, B3, C3, D3, E3, and F3)
of each node and host to switch Y.
3. Attach ports 1 and 2 (I0 and I1) of the storage controller to switch X.
4. Attach ports 3 and 4 (I2 and I3) of the storage controller to switch Y.
On switch X we would create the following host zones:
5. Create a host zone containing ports 1 (A0, B0, C0, D0, E0, and F0)
of each node and host.
6. Create a host zone containing ports 2 (A1, B1, C1, D1, E1, and F1)
of each node and host.
Similarly, on switch Y we would create the following host zones:
7. Create a host zone on switch Y containing ports 3
(A2, B2, C2, D2, E2, and F2) of each node and host.
8. Create a host zone on switch Y containing ports 4
(A3, B3, C3, D3, E3, and F3) of each node and host.
Last, we would create the following storage zone:
9. Create a storage zone that is configured on each switch. Each storage zone contains all the SAN Volume Controller and storage ports on that switch.
In the following example, the SAN environment is similar to the first example, with two additional hosts with two ports each.
| P | Q | R | S | T | U |
| C0 | D0 | E0 | F0 | G0 | H0 |
| C1 | D1 | E1 | F1 | G1 | H1 |
| C2 | D2 | E2 | F2 | -- | -- |
| C3 | D3 | E3 | F3 | -- | -- |
An example configuration would be the following:
1. Attach ports 1 (A0, B0, C0, D0, E0, F0 and G0) and 2
(A1, B1, C1, D1, E1, F1 and H0) of each node and host to switch X.
2. Attach ports 3 (A2, B2, C2, D2, E2, F2 and G1) and 4
(A3, B3, C3, D3, E3, F3 and H1) of each node and host to switch Y.
3. Attach ports 1 and 2 (I0 and I1) of the storage controller to switch X.
4. Attach ports 3 and 4 (I2 and I3) of the storage controller to switch Y.
| Attention: Hosts T and U (G0 and H0) and (G1 and H1) are zoned to different SAN Volume Controller ports so that each SAN Volume Controller port is zoned to the same number of host ports. |
On switch X we would create the following host zones:
5. Create a host zone containing ports 1 (A0, B0, C0, D0, E0, F0 and G0) of each
node and host.
6. Create a host zone containing ports 2 (A1, B1, C1, D1, E1, F1 and H0) of each
node and host.
Similarly, on switch Y we would create the following host zones:
7. Create a host zone on switch Y containing ports 3
(A2, B2, C2, D2, E2, F2 and G1) of each node and host.
8. Create a host zone on switch Y containing ports 4
(A3, B3, C3, D3, E3, F3 and H1) of each node and host.
Last, we would create the following storage zone:
9. Create a storage zone configured on each switch. Each storage zone contains all the SAN Volume Controller and storage ports on that switch.