Summary of Contents for HP AA979A - StorageWorks SAN Switch 2/8V
Page 1
user guide hp StorageWorks zoning version 2.6.1 Product Version: 2.6.1 First Edition (July 2003) Part Number: AA–RUQ1A–TE This document provides information and instructions for using the switch zoning feature that is available with the 1 Gb HP StorageWorks SAN switches.
about this guide About this Guide This guide provides information and instructions for using the switch zoning feature that is available with the 1 Gb HP StorageWorks SAN switches. Zoning is About this Guide supported by the Fabric Operating System, version 2.6. It is an optionally licensed product and requires a valid license key to function.
About this Guide — Click the appropriate product name. The product overview page displays. Go to the product information section. — Click technical documents. For information about Fibre Channel standards, visit the Fibre Channel Industry Association website, located at http://www.fibrechannel.org. Conventions Conventions consist of the following: Document Conventions...
About this Guide WARNING: Text set off in this manner indicates that failure to follow directions in the warning could result in bodily harm or death. Caution: Text set off in this manner indicates that failure to follow directions could result in damage to equipment or data. Note: Text set off in this manner presents commentary, sidelights, or interesting points of information.
About this Guide HP Storage Website The HP website has the latest information on this product, as well as the latest http://www.hp.com/country/us/eng/prodserv/ drivers. Access storage at: storage.html. From this website, select the appropriate product or solution. HP Authorized Reseller For the name of your nearest HP authorized reseller: In the United States, call 1-800-345-1518 In Canada, call 1-800-263-5868 Elsewhere, see the HP website for locations and telephone numbers:...
Introduction to Zoning Zoning allows you to partition your Storage Area Network (SAN) into logical groupings of devices that can access one another. By the use of zoning, you can arrange fabric-connected devices into logical groups (or zones) over the physical configuration of the fabric.
Introduction to Zoning accept the result of the zone merge and then wait for the fabric’s primary FCS server to download the remainder of the zoning policy sets to each switch in the fabric. If there is a view conflict, the E-ports are segmented as incompatible security data.
Page 13
Introduction to Zoning Figure 1: Fabric with three zones HP StorageWorks Zoning Version 2.6.1 User Guide...
Introduction to Zoning Implementing Zoning Implementing zoning simplifies the zoning process in the following ways: Zoning can be administered from any switch in the fabric. Changes made to one switch are applied automatically to all switches in the fabric. If a new switch is added to an existing fabric, all zone characteristics are automatically applied to the new switch.
Installing Zoning A zoning license can be installed with either of the two procedures in this chapter. Installing Zoning with Telnet Commands To install zoning using telnet commands, execute the following procedure: 1. Log on to the switch by telnet using an account that has administrator privileges.
Installing Zoning Installing Zoning from Web Tools Execute the following procedure to install zoning using Web Tools: 1. Launch your browser. 2. Enter the switch name or IP address in the Location/Address field. 3. When the Fabric View appears, click the appropriate icon. 4.
Using Zoning This chapter explains the concept of zoning and how to use zoning to partition a fabric into logical groupings of devices. Understanding Zoning A zone is a set of fabric-connected devices arranged into a specified grouping. Any device connected to a fabric can be included in one or more zones. Devices within a zone possess an awareness of other devices within the same zone;...
Using Zoning Hard zones are position-dependent; that is, a device is identified by the physical port to which it is connected. Switch hardware ensures that there is no data transfer between unauthorized zone members. Devices can, however, transfer data between ports within the same zone. Consequently, hard zoning provides the greatest security possible.
Using Zoning Zone configurations can be any of the following: Defined This is the complete set of all zone objects that have been defined in the fabric. When zone objects are defined, the information initially resides in RAM; it must be saved to ensure that it is saved to flash memory and is not lost during power down or when a new zone configuration is enabled.
Using Zoning Figure 2: Saving a zone configuration Enabling a Zone Configuration When a zone configuration is enabled, all zones within the configuration are enabled. All devices within an enabled zone are visible to each other; they cannot, however, communicate outside their zone. Zones can overlap within a zone configuration.
Using Zoning Implementing Zoning Zoning can be implemented and administered from any switch in the fabric. Changes made to one switch are automatically distributed to all switches in the fabric. For that reason, zoning requires that all switches in the fabric have an active zoning license.
Page 22
Using Zoning Aliases can greatly simplify the administrative process, but they are not required to define zones. 2. A zone is a group of devices that can communicate with each other. Zone membership can include ports, WWNs, aliases, and any combination of these. A device can be included in more than one zone.
Using Zoning To define a zone configuration, specify the list of zones to be included and assign a zone configuration name. The zone configuration name must be a unique alphanumeric string beginning with an alphabetical character. The underscore (_) is allowed; zone names are case sensitive. 4.
Using Zoning Configuration mismatch Zoning is enabled in both fabrics and the zone configurations that are enabled are different in each fabric. Type mismatch The name of a zone object in one fabric is used for a different type of zone object in the other fabric Content mismatch The definition of a zone object in one fabric is...
Page 25
Using Zoning zoneRemove Issue the following commands to end a transaction: cfgSave cfgEnable cfgDisable When a transaction is opened, all new zoning information is placed in a transactional buffer. Unless the transaction is closed, the new changes are not applied to the fabric. A transaction is aborted by the cfgTransAbort command, or when another switch closes its transaction.
Page 26
Using Zoning HP StorageWorks Zoning Version 2.6.1 User Guide...
Using QuickLoop Zones In addition to zoning fabrics, covered in Chapter 3, zoning also allows you to zone QuickLoops. By partitioning selected devices within a QuickLoop into a QuickLoop zone, you can enhance management of a Fibre Channel Arbitrated Loop (FC-AL) in a legacy environment. In QuickLoop zoning, devices within a QuickLoop can be partitioned off within that QuickLoop to form QuickLoop zones.
Using QuickLoop Zones QuickLoop zone members are designated by looplet (port number) or by Arbitrated Loop Physical Address (AL_PA). There are 126 unique AL_PAs per QuickLoop; a QuickLoop zone can contain no more than 126 addresses. Configuring QuickLoop Zones To configure QuickLoop zoning, follow these steps: 1.
Page 29
Using QuickLoop Zones To specify a combination of looplet and AL_PA, for example: “QLZoneName”, “0,2; 0,3; qloop1[ca, cb, e1, e2]” 3. Define the QuickLoop zone configuration. A QuickLoop zone configuration is a group of QuickLoop zones that are enforced whenever that zone configuration is enabled. To define a QuickLoop zone configuration, assign a zone configuration name and specify the QuickLoop zones to be included, by zone name.
Page 30
Using QuickLoop Zones HP StorageWorks Zoning Version 2.6.1 User Guide...
Zoning Sample Configurations The following samples illustrate how to set up a zone configuration. Note that we save changes periodically and that we issue the cfgshow command to display current status and verify that the changes have been processed. Set Up QuickLoop and Fabric Zones on Dual Switch Configuration (Mixed-Mode Environment) The following sample configuration shows how to set up QuickLoop and Fabric zones in a mixed-mode environment.
Page 32
Zoning Sample Configurations On switch 1... <Set QuickLoop partner and enable QuickLoop ports on switch 1> test180_Jr:admin> qlPartner “10:00:00:60:69:00:00:22” Setting Quick Loop to dual-switch mode, Committing configuration...done. test180_Jr:admin> test180_Jr:admin> qlPortEnable 1 Setting port to Quick Loop mode, Committing configuration...done. Activate looplet 1 test180_Jr:admin>...
Zoning Sample Configurations zone: q1_zone2 test180_Jr:admin> <END> Set Up Zones in a Dual-Switch QuickLoop The following sample configuration shows how to set up zones in a dual-switch QuickLoop. In this configuration, all ports on the switches, except for E-ports, are enabled for QuickLoop and participate in a logical PLDA (Private Loop Direct Attach).
Page 36
Zoning Sample Configurations <Create aliases for switch 1 and switch 2 using switch WWNs> switch1:admin> aliCreate “switch1_WWN” “10:00:00:60:69:10:1c:19” switch1:admin> aliCreate “switch2_WWN” “10:00:00:60:69:10:1b:a9” <Create a dual-switch QuickLoop> switch1:admin> qLoopCreate “qloop1”, “switch1_WWN; switch2_WWN” Note: The above steps are equivalent to the following: On switch 1...
Page 37
Zoning Sample Configurations <Create QuickLoop zones using ports> switch1:admin> zoneCreate “q1_zone1”, “Private_ServerA; Private_StorageA” switch1:admin> zoneCreate “q1_zone2”, “Private_ServerB; Private_StorageB” switch1:admin> zoneCreate “q1_zone3”, “Private_ServerC; Private_StorageC” <Create a configuration for QuickLoop zones> switch1:admin> cfgCreate “cfg1”, “qloop1; q1_zone1; q1_zone2; q1_zone3” <Save and enable the zone configuration> switch1:admin>...
Zoning Telnet Commands Overview To use a telnet command, log in with administrative privileges to any switch in the fabric, enter the command with required operands, if any, and then press the Enter key. Changes made to the zoning configuration on one switch are replicated to all switches in the fabric.
Page 40
Zoning Telnet Commands Table 2: Zoning Telnet Commands (Continued) Command Description zoneDelete Delete a zone. zoneRemove Remove a member from a zone. zoneShow Show zone information. QuickLoop Zoning qloopAdd Add a member to a QuickLoop. qloopCreate Create a QuickLoop. qloopDelete Delete a QuickLoop.
aliAdd aliAdd Function Add one or more members to an existing zone alias. Synopsis aliAdd aliName, aliMemberList Availability Administrator Description The alias member list cannot contain another zone alias. Operands The following operands are required: aliName Name for the zone alias, in quotes. aliMemberList List of members to be added to the alias, in quotes, separated by semicolons.
Zoning Telnet Commands aliRemove aliShow aliCreate Function Create a zone alias. Synopsis aliCreate aliName, aliMemberList Availability Administrator Description A zone alias name is a C-style name beginning with a letter and followed by any number of letters, numerals, and underscores. Names are case sensitive; for example, Ali_1 and ali_1 are different zone aliases.
aliDelete Example Create three zone aliases using World Wide Names: sw5:admin> aliCreate "array1", "21:00:00:20:37:0c:72:8c" sw5:admin> aliCreate "array2", "21:00:00:20:37:0c:66:23" sw5:admin> aliCreate "loop1", "21:00:00:20:37:0c:67:e3" See Also aliAdd aliDelete aliRemove aliShow aliDelete Function Delete a zone alias. Synopsis aliDelete aliName Availability Administrator Operand The following operand is required: aliName Name of zone alias to be deleted, in quotes.
Zoning Telnet Commands See Also aliAdd aliCreate aliRemove aliShow aliRemove Function Remove one or more members from a zone alias. Synopsis aliRemove aliName, aliMemberList Availability Administrator Description The member list is located by an exact string match. It is important, therefore, to maintain the order when removing multiple members.
aliShow Example Remove a World Wide Name from array1: sw5:admin> aliRemove "array1", "21:00:00:20:37:0c:71:d2" See Also aliAdd aliCreate aliDelete aliShow aliShow Function Display zone alias information. Synopsis aliShow [pattern] Availability All users Description If no parameters are specified, all zone configuration information (both defined cfgShow and enabled) is displayed.
Zoning Telnet Commands Operands The following operand is optional: pattern A POSIX style regular expression used to match zone alias names. Patterns may contain: – Question mark “?” that matches any single character – Asterisk “*” that matches any string of characters –...
cfgClear cfgName Name for the zone configuration, in quotes. cfgMemberList List of members to be added to zone configuration, in quotes, separated by semicolons. Can be one or more of the following: – Zone names – QuickLoop names Example Add a new zone to the configuration USA_cfg: sw5:admin>...
Zoning Telnet Commands Note: cfgClear does not affect the zone configuration information in nonvolatile memory. Operands None Example Clear all zones, then clear nonvolatile memory: sw5:admin> cfgClear sw5:admin> cfgSave See Also cfgDisable cfgEnable cfgSave cfgCreate Function Create a new zone configuration. Synopsis cfgCreate cfgName, cfgMemberList Availability...
Page 49
cfgCreate Operands The following operands are required: cfgName Name for the zone configuration to be created, in quotes. This name cannot be used for another zone object. cfgMemberList List of members to be included, in quotes, separated by semicolons. Can be one or more of the following: –...
Zoning Telnet Commands cfgDelete Function Delete a zone configuration. Synopsis cfgDelete cfgName Availability Administrator Description The name cfgName is the name of an existing zone configuration. Operands The following operand is required: cfgName Name of the zone configuration to be deleted, in quotes. Example Delete the zone configuration USA_cfg: sw5:admin>...
cfgDisable cfgDisable Function Disable a zone configuration. Synopsis cfgDisable Availability Administrator Description After the zone configuration is disabled, the fabric returns to non-zoning mode. Operands None Example Disable the current zone configuration: sw5:admin> cfgDisable See Also cfgClear cfgEnable cfgSave HP StorageWorks Zoning Version 2.6.1 User Guide...
Zoning Telnet Commands cfgEnable Function Enable a zone configuration. Synopsis cfgEnable cfgName Availability Administrator Description The configuration to be enabled is built when a specified zone configuration is enabled. It is built by checking for undefined zone names, zone alias names, or other inconsistencies and then expanding zone aliases, removing duplicate entries, and installing the enabled configuration.
cfgRemove cfgRemove Function Remove a member from a zone configuration. Synopsis cfgRemove cfgName, cfgMemberList Availability Administrator Description The member list is located by an exact string match. It is important, therefore, to maintain the order when removing multiple members. For example, if a zone configuration contains cfg2;...
Zoning Telnet Commands See Also cfgAdd cfgClear cfgCreate cfgDelete cfgDisable cfgEnable cfgSave cfgShow cfgSave Function Save the current zone configuration to nonvolatile memory. Synopsis cfgSave Availability Administrator Description The defined configuration and the name of the enabled configuration are written to nonvolatile memory in all switches in the fabric.
cfgShow Example Enable a zone configuration and then save it: sw5:admin> cfgEnable "USA_cfg" zone config "USA_cfg" is in effect sw5:admin> cfgSave Updating flash... See Also cfgClear cfgDisable cfgEnable cfgShow cfgShow Function Display zone configuration information. Synopsis cfgShow [pattern] Availability All users Description If no parameters are specified, all zone configuration information (both defined and enabled) is displayed.
Page 56
Zoning Telnet Commands The enabled configuration is the zone configuration that is currently enabled. The devices that an initiator sees are based on this configuration. The enabled configuration is built when a specified zone configuration is enabled. Operands The following operand is optional: pattern A POSIX style regular expression used to match zone configuration names.
Zoning Telnet Commands cfgRemove cfgSave cfgSize Function Display the size details of the zone database. If you are running a 2.6.1 switch (1 Gb) and have a mixed fabric (switches Note: running 3.1.x and/or 4.1.x), the cfgSize (maximum) from the 2.6.1, 1 Gb switches should be the maxumum for the mixed fabric.
Page 59
cfgSize cfgShow for a description of Defined and Effective configurations. Note: When security is enabled, this command can only be used on all of the switches in the fabric. Operands The following operand is optional: integer Examples Display size details of the Defined configuration: sw5:user>...
Zoning Telnet Commands cfgTransAbort Function Abort the current zoning transaction. Synopsis cfgTransAbort Availability Administrator Description Changes made since the transaction began are removed; the zone configuration database is restored to its state before the transaction started. Operands None. Example Abort the current transaction: sw5:admin>...
qloopCreate Description When a configuration is enabled, all QuickLoops defined in the configuration must resolve to one or two switch World Wide Names. Operands The following operands are required: qloopName Name of QuickLoop, in quotes. qloopMemberList List of QuickLoop members, in quotes, separated by semicolons.
Page 62
Zoning Telnet Commands Description A QuickLoop name is a C-style name beginning with a letter and followed by any number of letters, numerals, and underscores. Names are case sensitive; for example, Qloop_1 indicates a different QuickLoop than qloop_1. Blank spaces are ignored.
qloopDelete qloopDelete Function Delete a QuickLoop. Synopsis qloopDelete qloopName Availability Administrator Description When a configuration is enabled, all QuickLoops defined in the configuration must resolve to a maximum of two switch World Wide Names. Operand The following operand is required: qloopName Name of QuickLoop, in quotes.
Zoning Telnet Commands qloopRemove Function Remove one or more members from a QuickLoop. Synopsis qloopRemove qloopName, qloopMemberList Availability Administrator Description The member list is identified through an exact string match; therefore, when removing multiple members, order is important. For example, if a QuickLoop contains wwn2;...
qloopShow See Also qloopAdd qloopCreate qloopDelete qloopShow qloopShow Function Display QuickLoop configuration information. Synopsis qloopShow [pattern] Availability All users Description If no parameters are specified, all zone configuration information (defined and cfgShow enabled) is displayed. See for a description of this display. If a parameter is specified, it is used as a pattern to match QuickLoop names;...
Zoning Telnet Commands Example Display all QuickLoops beginning with the letter q: sw5:admin> qloopShow "q*" qloop: qlp1 10:00:00:60:69:00:60:11 10:00:00:60:69:00:30:02 qloop: qlp2 10:00:00:60:69:00:60:13 See Also qloopAdd qloopCreate qloopDelete qloopRemove zoneAdd Function Add one or more members to an existing zone. Synopsis zoneAdd zoneName, zoneMemberList Availability Administrator...
zoneCreate Example Add aliases for three disk arrays to Blue_zone: sw5:admin> zoneAdd "Blue_Zone", "array3; array4; array5" See Also zoneCreate zoneDelete zoneRemove zoneShow zoneCreate Function Create a zone. Synopsis zoneCreate zoneName, zoneMemberList Availability Administrator Description A zone name is a C-style name beginning with a letter and followed by any number of letters, numerals, and underscores.
Page 68
Zoning Telnet Commands Specify a World Wide Name as eight hexadecimal characters separated by colons, for example, 10:00:00:60:69:00:00:8a. Zoning has no knowledge of the fields within a World Wide Name; the eight bytes are simply compared with the node and port names presented by a device in a login frame (FLOGI or PLOGI). When a zone member is specified by node name, then all ports on that device are in the zone.
zoneDelete Example Create three zones using a combination of port numbers and zone aliases: sw5:admin> zoneCreate "Red_zone", "1,0; loop1" sw5:admin> zoneCreate "Blue_zone", "1,1; array1; 1,2; array2 sw5:admin> zoneCreate "Green_zone", "1,0; loop1; 1,2; array2 See Also zoneAdd zoneDelete zoneRemove zoneShow zoneDelete Function Delete a zone.
Zoning Telnet Commands See Also zoneAdd zoneCreate zoneRemove zoneShow zoneRemove Function Remove one or more members from an existing zone. Synopsis zoneRemove zoneName, zoneMemberList Availability Administrator Description The member list is located by an exact string match; it is important, therefore, to maintain the order when removing multiple members.
zoneShow Example Remove array2 from Blue_zone: sw5:admin> zoneRemove "Blue_zone", "array2" See Also zoneAdd zoneCreate zoneDelete zoneShow zoneShow Function Display zone configuration information. Synopsis zoneShow [pattern] Availability All users Description If no parameters are specified, all zone configuration information (both defined cfgShow and enabled) is displayed.
Page 72
Zoning Telnet Commands – Ranges “[0–9 and a–f]” that match any character within the range Example Show all zones beginning with the letters A through C: sw5:admin> zoneShow "[A-C]*" zone: Blue_zone 1,1; array1; 1,2; array2 See Also zoneAdd zoneCreate zoneDelete zoneRemove HP StorageWorks Zoning Version 2.6.1 User Guide...
index aliShow cfgAdd aliAdd command cfgClear aliases cfgCreate as zone members cfgDelete defined cfgDisable 19, naming cfgEnable aliCreate command cfgRemove aliDelete command cfgSave 19, aliRemove command cfgShow 55, aliShow command cfgTransAbort audience qloopAdd authorized reseller, HP qloopCreate qloopDelete qloopRemove broadcast zone qloopShow zoneAdd zoneCreate...
Page 74
Index physical port number port efgEnable command as zone member E-port 11, 12, 23, name 22, number 22, setting to QuickLoop mode fabric configuration switch (FCS) fabrics zone adding a switch to prerequisites merging setting up a fabric zone fibre channel arbitrated loop (FC-AL) qloopAdd command FL_ports qloopCreate command...
Page 75
Index zoneRemove command zones technical support, HP adding a new switch telnet commands 11, 15, 21, broadcast text symbols configuration changes transactional model for zoning commands configuration defined configuring 11, configuring QuickLoops warning defined rack stability enforcement web tools 11, 14, 21, hard installing zoning with maximum number of...
Page 76
Index HP StorageWorks Zoning Version 2.6.1 User Guide...