The present invention relates to data processing, and more specifically, to an integrated switch for dynamic orchestration of traffic.
Data centers are generally centralized facilities that provide Internet and intranet services needed to support businesses and organizations. A typical data center can house various types of electronic equipment, such as computers, servers (e.g., email servers, proxy servers, and DNS servers), switches, routers, data storage devices, and other associated components. In addition, data centers typically deploy network security components, such as firewalls, VPN (virtual private network) gateways, and intrusion detection systems.
In traditional networking, routers and switch devices usually refer to a MAC (Media Access Control) address, to a VLAN (Virtual Local Area Network) identifier, or to zoning information within a given packet to forward that packet. The source and destination of a data packet are typically coded onto the packet. The packet may be received through an ingress switch that reads the embedded destination information and routes the packet to a server. The server may process the packet according to whatever application the packet is associated with and forward the packet to an egress switch and ultimately to its pre-coded destination.
According to one embodiment of the present invention, a switch comprises one or more externally facing ports configured to receive a data packet; one or more server-facing ports configured to communicate with a server; a switching engine, in the switch, configured to include policy header information in the data packet, the policy header information including instructions directing the packet through one of the server-facing ports to the server and instructions to the server to modify a destination of the packet.
According to another embodiment of the present invention, a network element comprises a master switch in active mode; a slave switch in standby mode; a plurality of servers in communication with the master and slave switches; and a first switching engine in the master switch; and a second switching engine in the slave switch, wherein the first and second switching engines are configured to direct data packets received from client systems, or from other network elements, to one or more of the servers, and wherein the plurality of servers are configured to modify policy header information in the data packets to: return one of the data packets back to the master switch if said one of the data packets was received by the master switch, or return one of the data packets back to the slave switch if said one of the data packets was received by the slave switch.
According to yet another embodiment of the present invention, a method of orchestrating traffic through a data center comprises receiving, at a server of a network element within the data center, a packet from a switch, the packet including instructions from a table in the switch including routing direction policy information into a header policy of the packet; processing the packet at the server according to application logic; modifying at the server, a destination of the packet in the routing direction policy information; and sending the packet from the server back to said switch from where it was received, based on the header policy of the packet.
According to still yet another embodiment of the present invention, a computer program product for orchestrating traffic in a data center, the computer program product comprising: a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising: computer readable program code configured to identify an ingress switch of a network element within the data center; identify an egress switch of a network element within the data center; designate the ingress switch as a master switch; designate the egress switch as a slave switch; operate the master switch in an active mode; operate the slave switch in a stand-by mode; receive at the master switch, a packet from a source; modify, while in the master switch, a destination of the packet to a server in the network element; receive, at the server the packet from the master switch; process the packet at the server according to application logic; modify, while in the server, the destination of the packet to a client system or another network element; and send the packet from the server, back through said switch from where it was received, to a client system or network element.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code 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).
Aspects of the present invention are described below 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 program instructions. These computer 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 program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
As generally described herein, the network elements of a data center employ traffic orchestration mechanisms for dynamically controlling the distribution of packet traffic into and from a server of a network element within the data center.
Referring now to
Referring now to
In general, the networking element 14 provides switching and server services for packet traffic from the client systems. Through an external management agent (not shown), an administrator of the data center 10 may communicate with one or more of the network elements 14 in order to manage the packet direction of the network elements 14, as described in more detail below. A management station (not shown) may connect directly (point-to-point) or indirectly to a given network element 14 of the data center 10 over one of a variety of connections, such as standard telephone lines, digital subscriber line (DSL), asynchronous DSL, LAN or WAN links (e.g., T1, T3), broadband connections (Frame Relay, ATM), and wireless connections (e.g., 802.11(a), 802.11(b), 802.11(g), 802.11(n)). Using a network protocol, such as Telnet or SNMP (Simple Network Management Protocol), the management station (not shown) may access a command-line interface (CLI) of the given network element 14.
Each switch 20-1, 20-2 (generally, 20) may include at least one externally facing port 24 and a plurality of server-facing ports 28. In an exemplary embodiment, the switch 20 may be an Ethernet switch and the ports 24, 28 of the switch may support 10 GB line rates. For a network element 14 at an ingress location of the data center 10, the externally facing port 24 of the ingress switch 20-1 may be in communication with the client systems. For network elements not at an ingress location, the externally facing port 24 of the ingress switch 20-1 may be in communication with another network element 14. The externally facing port 24 of the egress switch 20-2 may be in communication with another network element 14 or with client systems. The ingress and egress switches 20 may have more than one externally facing port 24. Each of the server-facing ports 28 of the ingress and egress switches 20 may be connected to a port 32 of a server 26. In addition, the ingress switch 20-1 and egress switch 20-2 may be in communication with each other over an inter-switch network link 30. The network link 30, for example, may provide server state information from the master switch 20-1 to the slave switch 20-2. The server state information of master switch 20-1 may include which servers 26 may correspond with a source of incoming data packet traffic. If an active-standby mode of operation is desirable, the slave switch 20-2 may handle processing of packet traffic incoming to the data center 10 when the master switch 20-1 fails. The slave switch 20-2 may orchestrate traffic to the servers 26 based on the server state information of master switch 20-1.
Each server 26 may be a computer that provides one or more services to the data center 10, examples of which include email servers, proxy servers, DNS servers, proxy appliances, real servers. Examples of services that may be provided by the servers 26 include firewall services, Intrusion Prevention/Intrusion Detection (IPS/IDS) services, Server Load Balancing (SLB), and Application Delivery Centers (ADC) services. All of the servers 26 in the network element 14 may or may not perform the same function.
Referring now to
For example, the ingress switch 20-1 may receive a packet over the externally facing port 24 and route the packet to one of the servers 26. The server 26 may perform its designated service or services. When processed within the server 26, the packet may be analyzed for its destination. Where some packet processing and routing may typically forward the packet to an egress switch, for example the egress switch 20-2, exemplary embodiments of the present invention may apply directional information to the packet to return it back to the ingress switch 20-1 so that the packet may be forwarded out of the network element 14 through one or more of its externally facing ports 24 and further sent to its destination outside of the data center 10.
Similarly, the egress switch 20-2 may receive a packet over the externally facing port 24 and route the packet to one of the servers 26. The server 26 may perform its designated service or services. When processed within the server 26, the packet may be analyzed for its destination. Where some packet processing and routing may typically forward the packet to an ingress switch, for example the ingress switch 20-1, exemplary embodiments of the present invention may apply directional information to the packet to return it back to the egress switch 20-2 so that the packet may be forwarded out of the network element 14 through one or more of its externally facing ports 24 and further sent to its destination outside of the data center 10.
Referring to
The switch 20 may also include a switching engine 38 comprising a management processor 40, a packet-forwarding table 42, a frame processor/forwarder 44, and a special-purpose table 46. Examples of the packet-forwarding table 42 may include an L2 forwarding table, L3 routing table, link aggregation (i.e. static or LACP trunk) table, Equal Cost Multi Path (ECMP) table, frame/field processor (i.e. access control list) table, etc. The switch 20 may be implemented with an ASIC (Application Specific Integrated Circuit) technology on one or more semiconductor chips. In general, the switching engine 38 may bi-directionally forward packets between externally facing ports 24 and server-facing ports 28. In some embodiments, the switching engine 38 may modify the information in a packet received at the switch 20 to direct the packet to one of the servers 26 so that the server 26 may return the packet back to the same switch.
The management processor 40 may dynamically add, remove, or modify entries in the packet-forwarding table 42. The management processor 40 may constantly monitor the health of the servers 26 (
The packet-forwarding table 42 may contain entries that determine the source and destination of packet traffic arriving at the switch 20 through one of its externally facing ports 24. In either instance of the ingress switch 20-1 or egress switch 20-2, each entry of the packet-forwarding table 42 may map a unique value to one of the server-facing ports 28 of the switch 20, each of such ports 28 being connected to a port 32 of one of the servers 26. In general, the table entries of the packet-forwarding table 42 may direct incoming packet traffic across the servers 26 in accordance with a traffic management policy that, in some exemplary embodiments, tries to maintain server state. In maintaining server state, packets from a source may be sent to the same server 26 to provide continuity in the processing of an application. In some embodiments, the entries of the packet-forwarding table 42 may be configured such that incoming packet traffic arriving at the switch 20 through one of its externally facing ports 24 is load balanced across the servers 26 through one of the server-facing ports 28.
In either instance of the ingress switch 20-1 or egress switch 20-2, a special-purpose table 46 may be employed to uniquely map each entry to one of the externally facing ports 24 of the switch (20-1; 20-2), each of such ports 24 being connected to a client system. In general, the special-purpose table 46 may establish the routing of the packet traffic in accordance with a traffic management policy. In one aspect, the special-purpose table 46 may change the destination information of the received packet from its original destination to one corresponding to its intended server 26. In some embodiments, the entries of the special-purpose table 46 my be configured such that the incoming packet traffic arriving at the switch 20 through one of its externally facing ports 24 is provided with directional information to associate a server-facing port 28 with one of the servers 26 and the switch 20. The special-purpose table 46 may provide policy header information with the packet that the server 26 may use to process the destination of the packet. For example, the special-purpose table 46 may change an original destination MAC address for the packet to a server MAC address corresponding to the server 26 the packet is directed to. The special-purpose table 46 may also include in the policy header information instructions for the server 26 to change the destination MAC address and/or a VLAN identifier tag encoding additional traffic forwarding rules for the received packet once the packet is processed by the server 26.
The frame processor/forwarder 44 may include logic 48 for executing the packet transfer process. The logic 48 may be implemented as hardware, software, or a combination of hardware and software. In general, the logic 48 may examine content in the policy header of a received packet, generate a value based on header content of the frame, use the generated value as an index into the packet-forwarding table 42 and, based on the server port 28 identified in the accessed table entry, redirect the packet to that server-facing port 28 of the switch 20. The content examined by the logic 48 may be based on a user-specified function or algorithm and may be part of the traffic management policy used by the switch 20 to direct packet traffic.
The server 26 may provide an active role in determining the routing of the packet. For example, the packet received by the server 26 may be processed for its intended application. The server 26 may also modify the destination MAC address and/or the VLAN identifier tag encoding additional traffic forwarding rules for the packet again corresponding to a client system or network element 14. The server 26 may change the destination MAC address and/or VLAN identifier tag directly in the packet specifying a new MAC address or any one of the configured next hop destinations and/or VLAN tags. The packet may be embedded with return information designating the switch 20 (that originally supplied the packet to the server 26, e.g. ingress switch 20-1) as a destination along the packet's path to a client system or other network elements 14. The server 26 may change the destination MAC address in the packet itself prior to sending the packet to the switch 20. Forwarding information in addition to the destination MAC address may be embedded in the packet such as changing, adding, or removing a VLAN tag used to convey application specific information pertaining to traffic manipulation rules prior to sending the packet to the switch 20. The packet, instead of being sent through the egress switch 20-2, may be sent back through the ingress switch 20-1 on to its next destination.
Referring now to
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 code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block 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 combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form 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 invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
The present continuation application claims the benefit of priority of U.S. application Ser. No. 13/494,397, filed Jun. 12, 2012, which application is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 13494397 | Jun 2012 | US |
Child | 14071164 | US |