The present invention generally relates to computer networks, and more specifically to inter-switch link (ISL) identification and monitoring in a computer network.
Fibre channel (FC) switches are used to connect servers to storage services and resources for creating a storage area network (SAN). In computing, a SAN may be a network designed to attach computer storage devices, such as disk array controllers and tape libraries, to servers. The SAN fabric is an active intelligent interconnection scheme that utilizes the Fibre Channel Architecture. Servers and storage devices connect to FC SAN switches as an N_Port (node port), while the switch provides an F_Port (fabric port). When two or more FC SAN switches are connected together to enlarge the switch fabric, they may utilize an E_Port (expansion port) on each end. E_Ports implement a mechanism to exchange configuration and topology information between the switches.
When the E_Ports of two switches support the same configuration and protocol parameters, the E_Ports may establish an inter-switch link (ISL) between the two switches. The industry standard for ISLs is defined in the T11 FC-SW-2 (and later versions) standard. ISLs established through E_Ports, as described above, have additional properties related to maintaining a consistent view of the fabric and the various devices among all the interconnected SAN switches. Any device with an E_Port connection to the SAN is a peer with all the switches, which are collectively managing and controlling the SAN itself. An alteration of an E_Port link may disrupt the SAN fabric management structure, and consequently may cause a momentary disruption across the entire SAN, while the interconnected switches re-establish the management hierarchy and restore the switch to switch communications. Accordingly, ISLs may expose the SAN to disruptions from events that would be trivial if occurring on a normal device link (e.g., an N_Port). For example, the routing tables may be changed in all switches within the fabric when any E_Port connection is altered.
According to an embodiment described herein, a system can include a processor to send a query fabric path command to a switch, the query fabric path command including an origin address and a destination address. The processor can also receive a query fabric path response from the switch based on the query fabric path command, the query fabric path response including a plurality of port identifiers. The processor can also monitor a plurality of ports, each of the plurality of ports corresponding to a respective port identifier of the plurality of port identifiers in the query fabric path response.
According to another embodiment described herein, a method can include sending a query fabric path command to a switch, the query fabric path command including an origin address and a destination address. The method can also include receiving a query fabric path response from the switch based on the query fabric path command, the query fabric path response including a plurality of port identifiers. The method can also include monitoring a plurality of ports, each of the plurality of ports corresponding to a respective port identifier of the plurality of port identifiers in the query fabric path response.
According to another embodiment described herein, a computer program product can include a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing device to cause the processing device to perform a method including sending a query fabric path command to a switch, the query fabric path command including an origin address and a destination address. The method can also include receiving a query fabric path response from the switch based on the query fabric path command, the query fabric path response including a plurality of port identifiers. The method can also include monitoring a plurality of ports, each of the plurality of ports corresponding to a respective port identifier of the plurality of port identifiers in the query fabric path response.
One or more embodiments of the present invention provide inter-switch link (ISL) identification and monitoring. Endpoints, including but not limited to servers or disks, that are connected by a storage area network (SAN) fabric may not be aware of the path (e.g., specific ISLs) taken through the SAN fabric between any two endpoints. Link failures on one or more ISLs of a fabric may cause connectivity failures at the endpoints. Read diagnostic parameters (RDP) requests may be issued by an endpoint to query a switch for information on any port of the SAN fabric. However, an endpoint may only have knowledge of the N-Port between the endpoint and a switch, and the N-Port between a destination endpoint and another switch. Any intermediate E-Ports may not be known. Embodiments of ISL identification and monitoring described herein allow an origin endpoint to query a switch for information regarding the path through the SAN fabric to a destination endpoint. With this knowledge, the origin endpoint may monitor the ports in the path(s) between the origin and destination endpoints by periodically requesting RDP information from the various ports. The RDP information allows the origin endpoint to identify any potentially failing ports, so that problems in any ISLs between the origin and destination endpoints may be identified and isolated before failure occurs.
Turning now to
As shown in
The computer system 100 comprises an input/output (I/O) adapter 106 and a communications adapter 107 coupled to the system bus 102. The I/O adapter 106 may be a small computer system interface (SCSI) adapter that communicates with a hard disk 108 and/or any other similar component. The I/O adapter 106 and the hard disk 108 are collectively referred to herein as a mass storage 110.
Software 111 for execution on the computer system 100 may be stored in the mass storage 110. The mass storage 110 is an example of a tangible storage medium readable by the processors 101, where the software 111 is stored as instructions for execution by the processors 101 to cause the computer system 100 to operate, such as is described herein below with respect to the various Figures. Examples of computer program product and the execution of such instruction is discussed herein in more detail. The communications adapter 107 interconnects the system bus 102 with a network 112, which may be an outside network, enabling the computer system 100 to communicate with other such systems. In one embodiment, a portion of the system memory 103 and the mass storage 110 collectively store an operating system, which may be any appropriate operating system, such as the z/OS or AIX operating system from IBM Corporation, to coordinate the functions of the various components shown in
Additional input/output devices are shown as connected to the system bus 102 via a display adapter 115 and an interface adapter 116 and. In one embodiment, the adapters 106, 107, 115, and 116 may be connected to one or more I/O buses that are connected to the system bus 102 via an intermediate bus bridge (not shown). A display 119 (e.g., a screen or a display monitor) is connected to the system bus 102 by a display adapter 115, which may include a graphics controller to improve the performance of graphics intensive applications and a video controller. A keyboard 121, a mouse 122, a speaker 123, etc. can be interconnected to the system bus 102 via the interface adapter 116, which may include, for example, a Super I/O chip integrating multiple device adapters into a single integrated circuit. Suitable I/O buses for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include common protocols, such as the Peripheral Component Interconnect (PCI). Thus, as configured in
In some embodiments, the communications adapter 107 can transmit data using any suitable interface or protocol, such as the internet small computer system interface, among others. The network 112 may be a cellular network, a radio network, a wide area network (WAN), a local area network (LAN), or the Internet, among others. An external computing device may connect to the computer system 100 through the network 112. In some examples, an external computing device may be an external webserver or a cloud computing node.
It is to be understood that the block diagram of
Various embodiments of system 200A may implement a static routing mode or a dynamic routing mode between server 201 and disk 205. In the static routing mode, the switches 202 and 204 may use a defined ISL for each direction of traffic between two endpoints. For example, for outbound traffic from server 201 to disk 205, the switch 202 may use ISL 203B, and for inbound traffic from disk 205 to server 201, switch 204 may use ISL 203D. In the dynamic routing mode, any of the ISLs 203A-E may be used for traffic in any direction between the server 201 and disk 205. Any switches, such as switches 202 and 204 in the SAN fabric of system 200A, may include a routing table that specifies the routing modes and ISLs for the various connections between endpoints of the SAN fabric; a SAN fabric may include any appropriate number of endpoints.
Failures may occur in any of ISLs 203A-E. For example, in the static routing mode described above between server 201 and disk 205, ISL 203B may exhibit problems before a failure occurs in the ISL 203B. Identification of a potential future failure may allow remedial measures to be taken before the failure occurs (e.g., in static routing mode, selecting a different ISL, e.g., ISL 203C, for outbound traffic between server 201 and disk 205, and updating the routing tables based on the selected ISL). A failure in ISL 203B may impact frames sent from the server 201 to the disk 205, as well frames sent between any other endpoints that use ISL 203B. In dynamic routing mode, a failure in a single ISL such as ISL 203B may impact traffic on other ISLs such as ISL 203A, 203C, and 203D.
System 200B of
If it is determined that a port is exhibiting signs of failure based on the RDP responses 209 that were sent by the port to the monitoring endpoint, an ISL (e.g., ISL 203B) associated with the failing port may be preemptively taken offline before the failure occurs. In some embodiments, a monitoring endpoint (e.g., server 201) may issue control unit port (CUP) commands to decommission an ISL associated with a failing port, and may also notify the SAN administrator of the failing port. While in system 200B of
System 200C of
The query fabric path response 207 includes a list of outbound path ports 220, a list of inbound path ports 221, and a routing mode 222. The list of outbound path ports 220 includes port identifiers for any switch ports (e.g., E_Ports) included in the outbound data path from the origin endpoint (e.g., server 201) to the destination endpoint (e.g., disk 205). The list of inbound ports includes port identifiers for any switch ports (e.g., E_Ports) included in the inbound data path from the destination endpoint (e.g., disk 205) to the origin endpoint (e.g., server 201). The routing mode 222 indicates whether the routing between the origin endpoint and the destination endpoint is static or dynamic. If the routing mode 222 is static, the ports listed in outbound path ports 220 and inbound path ports 221 correspond to the static paths that are used (e.g., ISL 203B for outbound path ports, and ISL 203D for inbound path ports). If the routing mode 222 is dynamic, the ports listed in outbound path ports 220 and inbound path ports 221 correspond to the members of the Nth shortest path (which may be determined by FSPF or any other appropriate algorithm) between the origin endpoint and destination endpoint, as specified by the path number 212 in query fabric path command 206. A query fabric path response such as query fabric path response 207 may be sent from a switch, such as switch 202 or switch 204, to any endpoint (e.g., server 201 or disk 205) in a SAN fabric such as is illustrated by system 200A in response to a query fabric path command 206. In some embodiments, the query fabric path response 207 may also include an indication of whether there is any link aggregation in use between the origin and destination endpoints, and if there is link aggregation, which link is the master and which link(s) are members (e.g., of ISLs 203A-E).
Any endpoint (e.g., a server or a disk) in a SAN fabric, such as is shown in system 200A of
In an example SAN fabric corresponding to systems 200A-C of
It is to be understood that the block diagrams of
In block 302, the switch sends a query fabric path response 207 to the origin endpoint in response to the query fabric path command 206 of block 301. The query fabric path response 207 includes a list of outbound path ports 220, a list of inbound path ports 221, and a routing mode 222. The routing mode 222 may be either static or dynamic in some embodiments. The port identifiers included in the list of outbound path ports 220 and list of inbound path ports 221 may be determined based on the path number 212. For example, for a dynamic routing mode connection between the origin endpoint and destination endpoint, there may be a plurality of ISLs in use. In an embodiment in which the path number 212 is two, only port identifiers for ports that are included in the second shortest path (as determined by FSPF or any other appropriate algorithm) between the origin endpoint and the destination endpoint may be included in the list of outbound path ports 220 and list of inbound path ports 221 in query fabric path response 207. In some embodiments, the query fabric path response 207 that is sent in block 302 may include an indication of whether there is any link aggregation in use between the origin and destination endpoints, and if there is link aggregation, which ISL is the master and which ISL(s) are members.
In block 303, the origin endpoint sends periodic RDP requests 208 to each of the ports listed in both the list of outbound path ports 220 and the list of inbound path ports 221 in the query fabric path response 207. RDP responses 209 are received in block 303 in response to each of the RDP requests 208. An RDP response 209 may include any appropriate information regarding the sending port, including but not limited to voltage, current, and temperature information. In block 304, based on the RDP responses 209 that are received in response to the periodic RDP requests 208, the origin endpoint may identify a failing port, and may perform remedial action, such as taking an ISL (e.g., any of ISLs 203A-E) that is associated with the failing port offline before failure occurs. The origin endpoint may notify the switch that includes the failing port that was identified in block 304. In some embodiments, the origin endpoint may issue control unit protocol (CUP) commands to decommission an ISL associated with a failing port, and may also notify the SAN administrator of the failing port in block 304. Routing tables in the switches of the SAN fabric may be updated based on the remedial action of block 304.
The process flow diagram of
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the āCā programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instruction by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments described herein.
Number | Name | Date | Kind |
---|---|---|---|
7243160 | Brahmaroutu | Jul 2007 | B2 |
7430164 | Bare | Sep 2008 | B2 |
7944812 | Carlson et al. | May 2011 | B2 |
9473408 | Kabbani | Oct 2016 | B1 |
9667476 | Benner et al. | May 2017 | B2 |
9727501 | Gowravaram et al. | Aug 2017 | B2 |
20050108444 | Flauaus | May 2005 | A1 |
20080089336 | Mercier | Apr 2008 | A1 |
20080244282 | Hansalia | Oct 2008 | A1 |
20150071287 | Berman | Mar 2015 | A1 |
20160197784 | Gandhi | Jul 2016 | A1 |
20180219755 | Agarwal et al. | Aug 2018 | A1 |
Number | Date | Country | |
---|---|---|---|
20200396182 A1 | Dec 2020 | US |