📜 ⬆️ ⬇️

SmartSAN - how to make life easier

If you had to set up zoning in medium and large SAN networks, then you will probably agree that this is quite a tedious and complicated process that takes a lot of time. And besides, when zoning is easy to make mistakes, which subsequently will not be easy to catch. Therefore, it would be reasonable to maximally automate the process of creating zones in order to reduce time costs and eliminate errors associated with the so-called "human factor".

HPE SmartSAN technology for HPE 3PAR StoreServ disk arrays is designed to automate the configuration of zones.

Peer Zoning and Target Driven Peer Zoning (TDPZ)


First of all, it must be said that to automate zoning (and SmartSAN to work) requires the support of a new type of zones - Peer Zoning and TDPZ. The traditional type of zoning “single initiator zoning” has the disadvantages already mentioned above (a large number of zones with a large number of servers and the associated difficulty of creating zones and a high probability of error when creating zones). For the “single initiator” zones, for each initiator in the SAN factory (that is, for each FC port of the server), a separate zone is created, which, in addition to the initiator itself, includes all the array ports that this initiator should see. Or a separate zone can be created for each pair of initiator - target (array port).

To overcome the shortcomings of single initiator zoning, the T11 technical committee for Fiber Channel standards developed a new type of zoning - Peer Zoning. Peer Zoning is like an “inverted” single initiator zoning, i.e. Peer-zone is built “around” the target, and not the initiators. Peer-zone includes a principal member (port of the array) and peer members (initiators - FC-ports of servers that must see this port of the array). An important feature of Peer Zoning is that peer members within one zone cannot see each other, peer members can only interact with the principal member of their zone. Peer Zoning allows you to significantly reduce the number of required zones - the number of zones will be determined by the number of FC ports of the array. In the case of single initiator zoning, the number of zones will be determined by the number of servers and with a large number of servers the number of zones single initiator will significantly exceed the number of peer-zones.
')
Target Driven Peer Zoning (TDPZ) is an expansion of Peer Zoning, also based on new Fiber Channel standards developed by the T11 committee. As the name implies, TDPZ allows devices connected to FC switches to create and manage zones themselves. That is, TDPZ zones can be created by disk array software, while all interactions between devices (FC switches, disk arrays and servers) are performed only via the Fiber Channel protocol.

HPE SmartSAN - automatic zone creation


If you do not use SmartSAN, then the process of creating zones (single initiator) is actually performed in two stages: first, zones are created at the FC switch level, then hosts and volumes are configured at the disk array level, and the same WWNs must be reused ports that were already used in the first stage.

The application of SmartSAN allows the light process of creating zones (TDPZ) to one stage - when configuring hosts at the level of the disk array, the TDPZ zones are created automatically. If you use the CLI, the process is as follows:

createhost –port 0:8:1 lincoln 1000A0B3CC1C68BE 

As a result, a TDPZ-zone will be automatically created on the switchboard, including an array port of 0: 8: 1 as a principal member and a lincoln WWN 1000A0B3CC1C68BE host port lincoln WWN 1000A0B3CC1C68BE as a peer member (here, to designate an array port, the designation N: S: P, t. e. node: slot: port).

The following command allows you to create several zones at once:

 createhost –port *:8:* lincoln 1000A0B3CC1C68BE 1000A0B3CC1C68BF 

Here, for each port of the array located in slot 8, its own TDPZ zone will be created, including 2 server ports with WWN 1000A0B3CC1C68BE and 1000A0B3CC1C68BF .

This command allows, for example, to expand existing zones:

 createhost –add –port 0:8:3,1:8:3 lincoln 1000A0B3CC1C68BD 

The server port 1000A0B3CC1C68BD will be added to each of the two zones that correspond to the two two principal members (array ports 0: 8: 3 and 1: 8: 3).

SmartSAN 1.0 now supports only the CLI interface for configuring zones. The next version of SmartSAN 2.0, which will appear this year, will also support a graphical interface.

To use SmartSAN technology, it must be supported at the level of all devices included in the SAN: FC switches, disk arrays, servers. The current list of supported devices can and should be viewed in the compatibility matrix, which can be found here .

From the disk arrays, all HPE 3PAR StoreServ arrays with microcode not lower than 3.2.2 are supported (and only on the ports of the FC 16Gb array). The FC switches support Brocade 16Gb and 8Gb switches with FOS not lower than 7.4.0a, as well as HPE FlexFabric 5900CP and 5930 switches. As for servers, the list of supported operating systems and FC-HBA can be found at the link above.

Total


Using HPE SmartSAN allows for sufficiently large SANs to significantly reduce the time required to create zones. It also avoids errors when configuring zones - which is also important for small SANs.

From a financial point of view, the purchase of one SmartSAN license per array is required and the cost of this license is extremely small.

Source: https://habr.com/ru/post/309534/


All Articles