This disclosure relates generally to data processing and, more particularly, to service networks with separate high availability processing for client service sessions and server service sessions.
The approaches described in this section could be pursued but are not necessarily approaches that have previously been conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.
Network servicing nodes such as server load balancers, application delivery controllers, or traffic managers can facilitate service sessions between a plurality of client devices and a plurality of servers. These servicing nodes can typically balance loads among servers servicing Web documents, voice calls, advertisements, enterprise applications, video streaming services, file transfers, gaming, or any broadband services. In a typical deployment scenario, a client service session terminates in a servicing node that can relay the client service session data to an intended service using a server service session. The servicing node can usually provide additional processing based on service and security policies while relaying the data between the client and the server.
Additionally, in a typical service deployment scenario, the servicing node can choose an Internet Protocol (IP) address to establish the server service session as different from the client network IP address. Thus, the servicing node can use network address translation (NAT) between the client session and the server session. The servicing node can typically be associated with a dedicated NAT address such that a network operator can configure a server side communication channel between the servicing node and the server to forward server session packets to the servicing node efficiently.
The number of clients, servers, services, and active service sessions has been continuously increasing. With the ever increasing demand, networks are expected to keep services available and active service session uninterrupted even when partial network failures are occurring. In order to provide high availability, deployment of dedicated standby servicing nodes has been utilized. However, deployment of idling dedicated standby servicing nodes is not very efficient use of resources. It can be more efficient to provide high availability by distributing service session functionality among a plurality of non-dedicated servicing nodes.
This summary is provided to introduce a selection of concepts in a simplified form that are further described in the Detailed Description below. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
The present disclosure is related to approaches for distributing service sessions in services data networks. Specifically, a method for processing a data packet associated with a service session can comprise receiving, by a forwarding node, the data packet directed to a first servicing node. The method can further include determining, by the forwarding node, that the first servicing node is unavailable. The method can include selecting, based on the determining, a second servicing node from a plurality of servicing nodes. The selecting can be based on a high availability (HA) policy. The method can further include sending the data packet to the second servicing node.
According to another approach of the present disclosure, there is provided a system for processing a data packet associated with a service session. The system can comprise a forwarding node and a plurality of servicing nodes. The forwarding node can be operable to receive the data packet directed to a first servicing node. The forwarding node can be further operable to determine that the first servicing node is unavailable. Based on the determining, the forwarding node can be operable to select a second servicing node from a plurality of servicing nodes. The selection can be based on a HA policy. The forwarding node can be further operable to send the data packet to the second servicing node. The system can further comprise a plurality of servicing nodes. In some embodiments, the plurality of servicing nodes can include the first servicing node and the second servicing node.
In further example embodiments of the present disclosure, the method steps are stored on a machine-readable medium comprising instructions, which when implemented by one or more processors perform the recited steps. In yet further example embodiments, hardware systems or devices can be adapted to perform the recited steps. Other features, examples, and embodiments are described below.
Embodiments are illustrated by way of example, and not by limitation, in the figures of the accompanying drawings, in which like references indicate similar elements.
The following detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show illustrations in accordance with example embodiments. These example embodiments, which are also referred to herein as “examples,” are described in enough detail to enable those skilled in the art to practice the present subject matter. The embodiments can be combined, other embodiments can be utilized, or structural, logical, and electrical changes can be made without departing from the scope of what is claimed. The following detailed description is therefore not to be taken in a limiting sense, and the scope is defined by the appended claims and their equivalents. In this document, the terms “a” and “an” are used, as is common in patent documents, to include one or more than one. In this document, the term “or” is used to refer to a nonexclusive “or,” such that “A or B” includes “A but not B,” “B but not A,” and “A and B,” unless otherwise indicated.
The techniques of the embodiments disclosed herein can be implemented using a variety of technologies. For example, the methods described herein can be implemented in software executing on a computer system or in hardware utilizing either a combination of microprocessors or other specially designed application-specific integrated circuits (ASICs), programmable logic devices, or various combinations thereof. In particular, the methods described herein can be implemented by a series of computer-executable instructions residing on a storage medium such as a disk drive, or computer-readable medium. It should be noted that methods disclosed herein can be implemented by a computer (e.g., a desktop computer, a tablet computer, a laptop computer, and a server), game console, handheld gaming device, cellular phone, smart phone, smart television system, and so forth.
The present disclosure relates to methods and systems for providing high availability processing of service sessions by distribution the service sessions among multiple servicing nodes. The processing can include decoupling of client service sessions and server service sessions. The methods and systems can allow a more efficient use of servicing node resources within a network while providing a more effective availability of services to the clients.
According to some methods of the current disclosure, a client can conduct a data service session with a server through a servicing node. More specifically, the client can send data packets associated with a client service session to the servicing node. A forwarding node associated with the client can receive the data packets of the client service session and forward the data packets to the servicing node. When the servicing node receives the data packets of the client service session, the servicing node can process and modify the data packets of the client service session and send the modified data packets to the server.
Additionally, the server can send data packets of a server service session to the servicing node. A forwarding node associated with the server can receive the data packets of the server service session and send the data packets to the servicing node. The servicing node can be operable to receive, process, and modify the data packets of the server service session and send the modified data packets to the client.
If the servicing node becomes unavailable, a first standby servicing node and a second standby servicing node can begin servicing the client service session and the server service session and providing high availability services to the client and the server. According to an example method, a network controller can send a client HA policy to the servicing node and the first standby servicing node. When the servicing node becomes unavailable, the first standby servicing node can take over the processing of the data packets of the client service session, as well as the processing of the data packets of the server service session received from the second standby servicing node associated with the server. In particular, the forwarding node associated with the client can send the data packets of the client service session to the first standby servicing node. The first standby servicing node can receive the data packets of the client service session and redirect the data packets of the client service session to the second standby servicing node associated with the server.
Furthermore, the network controller can send a server HA policy to the servicing node and the second standby servicing node. After the servicing node becomes unavailable, the second standby servicing node can take over processing the data packets of the server service session, as well as processing of the data packets of the client service session received from the first standby servicing node. In particular, the forwarding node associated with the server can send the data packets of the server service session to the second standby servicing node. The second standby servicing node can receive the data packets of the server service session and redirect the data packets of the server service session to the first standby servicing node.
Referring now to the drawings,
In one embodiment, client device shown as client 101 can include a personal computer, a laptop, a smartphone, a cell phone, a tablet, a personal digital assistant (PDA), a desktop, a notebook, a set top box, a network connected device, a computer, a network connecting computing device, a network element such as an Ethernet switch, a router, or any network computing device seeking a service from a server.
In one embodiment, service network 600 connects to one server 201. Server 201 may be a Web server, a video server, a music server, an e-commerce server, an enterprise application server, a news server, a mobile broadband service server, a messaging server, an email server, a game server, an app server, an Internet radio server, a storage server, a social network services server, or a network computing device providing services to a service session from client 101. The service session may be a Web page access session, an e-commerce transaction session, a video playing session, a music playing session, a file transfer session, an image downloading session, a message chat session, a session to send a message, a picture, a video, a file, a game playing session, or any data communication session between client 101 and server 201.
In one embodiment, service network 600 includes an Ethernet network, an Asynchronous Transfer Mode (ATM) network, a cellular network, a wireless network, a Frame Relay network, an optical network, an IP network, or data network utilizing other physical layer, link layer capability or network layer to carry data packets. In one embodiment, service network 600 connects to network controller 701, which communicates to one or more network nodes in service network 600.
In one embodiment, forwarding node 661 or forwarding node 662 may include an Ethernet switch, a network switch, a router, a link aggregator, or a network device forwarding data packets from a network interface to another network interface included in the network device.
In one embodiment, server 201 sends the data packets of server service session 122 to servicing node 601 through service network 600. In one embodiment, forwarding node 662 of service network 600 receives the data packets of server service session 122 and sends the data packets to servicing node 601. Servicing node 601 can receive, process, and modify the data packets of server service session 122 and send the modified data packets to client 101. The processing and modification of the data packets of server service session 122 are described in detail with reference to
In one embodiment, servicing node 601 becomes unavailable. Servicing node 601 may be unavailable due to failure, maintenance shutdown, or disconnection from forwarding node 661 or forwarding node 662. Servicing node 602 and servicing node 603 participate to service client service session 112 and server service session 122 to provide high availability services to client 101 and server 201. In one embodiment, network controller 701 sends client HA policy 714 to servicing node 601 and servicing node 602. When servicing node 601 fails, servicing node 602 takes over processing of the data packets of client service session 112 and the data packets of server service session 122. In one embodiment, forwarding node 661 recognizes failure of servicing node 601 and sends the data packets of client service session 112 to servicing node 602. Servicing node 602 receives the data packets of client service session 112, processes and modifies the received data packets, and sends the modified data packets to server 201.
In one embodiment, network controller 701 sends server HA policy 724 to servicing node 601 and servicing node 603. After servicing node 601 fails, forwarding node 662 sends the data packets of server service session 122 to servicing node 603. Servicing node 603 receives the data packets of server service session 122 and redirects the data packets of server service session 122 to servicing node 602. In one embodiment, servicing node 603 receives an indication from network controller 701 about servicing node 602, or an indication from servicing node 602 so as to redirect the data packets of server service session 122 to servicing node 602. In one embodiment, servicing node 603 receives client HA policy 714 to determine servicing node 602 for the data packet redirect.
In one embodiment, servicing node 602 receives the data packets of server service session 122 from servicing node 603, processes and modifies the data packets of server service session 122, and sends the modified data packets to client 101.
In one embodiment, network module 630 includes a network interface such as Ethernet, optical network interface, a wireless network interface, T1/T3 interface, or a WAN or LAN interface. In one embodiment, network module 630 includes a network processor. In one embodiment, storage module 640 includes RAM, DRAM, SRAM, SDRAM, or memory utilized by processor module 620 or network module 630.
In one embodiment, storage module 640 stores data utilized by processor module 620. In one embodiment, storage module 640 includes a hard disk drive, a solid state drive, an external disk, a DVD, a CD, or a readable external disk. Storage module 640 stores one or more computer programming instructions which when executed by processor module 620 or network module 630 implement one or more of the functionalities of the present disclosure.
In one embodiment, network node 610 further includes an input/output (I/O) module 670, which may include a keyboard, a keypad, a mouse, a gesture based input sensor, a microphone, a physical or sensory input peripheral, a display, a speaker, or a physical or sensual output peripheral.
In one embodiment, data packet 812 is a service data packet that client 101 sends to server 201 through servicing node 601. Upon receiving data packet 812, servicing node 601 processes data packet 812 according to a network application in servicing node 601. In one embodiment, servicing node 601 generates data packet 822 based on data packet 812 and sends data packet 822 to server 201. In one embodiment, servicing node 601 uses NAT address 936 as the source network address for data packet 822, and server address 938 as the destination network address for data packet 822.
Embodiments of a network application in servicing node 601 include one or more of security detection, content inspection, deep packet inspection, application proxy, legal interception, accounting and billing, content caching, virus detection, intrusion detection and prevention, bandwidth management, traffic management, service policy processing based on company policy, government policy, or service provider policy, server load balancing, network optimization, data de-duplication, access control, or any third party network application requested by a network computer. In one embodiment, the network application is processed by the processor module of servicing node 601.
In one embodiment, servicing node 601 extracts client address 932 from data packet 812 and service address 934 from data packet 812, and stores client address 932 and service address 934 in session entry 913. In one embodiment, client address 932 is a network address of client 101, and servicing node 601 extracts client address 932 from the source network address of data packet 812. In one embodiment, service address 934 is obtained from the destination network address of data packet 812. In one embodiment, service address 934 is obtained from a service policy stored in servicing node 601.
In one embodiment, a network address illustrated in
In one embodiment, servicing node 601 becomes unavailable. Servicing node 601 may be unavailable due to failure, maintenance shutdown, or disconnection from forwarding node 661. Servicing node 602 takes over the processing of client service session 112. In one embodiment, forwarding node 661 recognizes unavailability of servicing node 601 and forwards a received data packet 814 of client service session 112 to servicing node 602. In one embodiment, network controller 701 informs forwarding node 661 of the unavailability of servicing node 601, or that forwarding of client service session 112 to servicing node 602 is necessary. In one embodiment, servicing node 602 informs forwarding node 661 to send client the data packets of service session 112 to servicing node 602. In one embodiment, servicing node 601 informs forwarding node 661 that it is becoming unavailable. In one embodiment, forwarding node 661 monitors availability of servicing node 601 and detects servicing node 601 becoming unavailable.
In one embodiment, servicing node 602 receives data packet 814, matches and retrieves session entry 923, processes data packet 814, creates a new data packet 824 based on data packet 814 and session entry 923, and sends data packet 824 to server 201. In one embodiment, the processing of servicing node 602 applicable to data packet 814 is similar to what servicing node 601 would apply to data packet 814 if servicing node 601 was available.
In one embodiment, servicing node 601 receives from network controller 701 server HA policy 724. Servicing node 601 matches the server HA policy 724 classification against session entry 913 and determines that session entry 913 matches either the NAT IP address or the server IP address of classification of server HA policy 724. In one embodiment, servicing node 601 sends information of session entry 913 to servicing node 603. Servicing node 603 creates session entry 933 based on session entry 913. In one embodiment, servicing node 601 further sends an indication of servicing node 602 associated to session entry 913 to servicing node 603. Servicing node 603 associates session entry 933 with servicing node 602. In one embodiment, session entry 913 includes an indication to servicing node 602, and servicing node 603 associates session entry 933 with servicing node 602. In one embodiment, session entry 933 includes a NAT address or server address of session entry 913 as illustrated in
In one embodiment, servicing node 603 receives server HA policy 724, either from network controller 701 or from servicing node 601. Servicing node 603 creates session entry 933 and stores the classification of server HA policy 724 in session entry 933. In one embodiment, server HA policy 724 includes an indication to servicing node 602. Service node 603 associates session entry 933 with servicing node 602.
In one embodiment, servicing node 601 becomes unavailable. Forwarding node 662 forwards a subsequent data packet 825 of server service session 122 to servicing node 603. In one embodiment, forwarding node 662 determines servicing node 601 is unavailable and changes a forwarding decision to forward data packets of server service session 122 to servicing node 603. In one embodiment, forwarding node 662 is informed, for example, by servicing node 603 or by network controller 701, to change the forwarding decision. In one embodiment, forwarding node 662 is informed by servicing node 601 to change the forwarding decision.
In one embodiment, servicing node 603 receives data packet 825 of server service session 122. Servicing node 603 extracts one or more network addresses of data packet 825 and matches the extracted network addresses against session entry 933. In one embodiment, servicing node 603 matches the destination network address of data packet 825 against the NAT IP address of session entry 933. In one embodiment, servicing node 603 matches the source network address of data packet 825 against the server address of session entry 933. In one embodiment, servicing node 603 determines there is a match between session entry 933 and data packet 825, and servicing node 603 selects session entry 933 to forward data packet 825 to servicing node 602. In one embodiment, servicing node 603 forwards data packet 825 using forwarding node 662, an IP tunnel between servicing node 603 and servicing node 602, a communication session, a circuit or a direct link between servicing node 603 and servicing node 602.
In one embodiment, servicing node 602 acts as a standing servicing node to client service session 112 for servicing node 601 as illustrated in
In one embodiment, servicing node 601 serves two or more client service sessions corresponding to two or more server service sessions. Servicing node 601 may use a same NAT IP address for the server service sessions.
In one embodiment, servicing node 601 has two or more standby servicing nodes corresponding to the two or more client service sessions. In one embodiment, servicing node 601 has a same standby servicing node for the corresponding two or more server service sessions. When servicing node 601 becomes unavailable, the same standby servicing node forwards data packets of the two or more server service sessions to the corresponding two or more standby servicing nodes, which in turn processes received data packets according to the corresponding two or more client service sessions.
In one embodiment, servicing node 601 has a same standby servicing node for the two or more client service sessions but two or more standby servicing nodes corresponding to the two or more server service sessions. When servicing node 601 becomes unavailable, the two or more standby servicing nodes forward data packets for the corresponding to the two or more server service sessions to the same standby servicing node for corresponding two or more client service sessions. The same standby servicing node processes the received data packets according to the corresponding two or more client service sessions.
In one embodiment, servicing node 601 becomes available after being unavailable, and standby servicing node 602 for client service session 112 sends session entry 923 updates or information to servicing node 601 such that servicing node 601 updates its corresponding session entry 913. Forwarding node 661 subsequently forwards data packets of client service session 112 to servicing node 601. Servicing node 601 processes these data packets according to the updated session entry 913. In one embodiment, forwarding node 662 subsequently forwards data packets of server service session 122 to servicing node 601. Servicing node 601 processes the data packets of server service session 122 according to the updated session entry 913. In one embodiment, servicing node 603 removes session entry 933 after servicing node 601 becomes available again.
Referencing now to
The method 700 can commence with receiving, by a forwarding node, the data packet directed to a first servicing node at operation 702. At operation 704, the forwarding node can determine that the first servicing node is unavailable. In an example embodiment, the determining can be based on a notification from a network controller. The notification can be associated with the unavailability of the first servicing node.
Based on the determining, the forwarding node can select a second servicing node from a plurality of servicing nodes at operation 706. The selecting can be based on a HA policy. In an example embodiment, the HA policy can include one or more of a client HA policy and a server HA policy. In a further example embodiment, the forwarding node can optionally receive an availability indication from the second servicing node. Upon selection of the second servicing node, the data packet can be sent to the second servicing node at operation 708.
In an example embodiment, the method 700 may further comprise receiving the data packet by the second servicing node. Upon receiving the data packet, the second servicing node can determine that the data packet includes a service request. Responsive to the determination, the second servicing node can select a server operable to serve the service session. In an example embodiment, the server can be selected based on a service policy. The service policy may comprise a criterion for selecting the server based, for example, on service address, an address of a client service where the packets of the service session are sent from, and so forth.
Upon selection of the server, the second servicing node can send the data packet to the server. The server can be associated with a server network address. In an example embodiment, sending of the data packet to the server includes sending the data packet to a third servicing node. The third servicing node can be associated with the server.
In a further example embodiment, the second servicing node can create a session entry. The session entry can be associated with the service session. The service session can include a client service session. Upon creation of the service session, the second servicing node can associate the session entry with a NAT address. Based on the NAT address, the second servicing node can establish a further service session. The further service session can include a server service session.
In a further example embodiment, the second servicing node can extract at least one of a client network address and a service address from the data packet. The second servicing node can store the extracted client network address and the service address in the session entry.
In an example embodiment, the method 700 further comprises receiving, by the second servicing node, the data packet from the server. The second servicing node can process the data packet. Thus, a processed data packet can be obtained. The second servicing node can retrieve the client network address from the session entry and send the processed data packet to the client device. The client device can be associated with the client network address.
In a further example embodiment, the first servicing node can receive the HA policy. The HA policy can include an indication to the second servicing node. Based on the received HA policy, the first servicing node can update a session entry. Therefore, an updated session entry can be obtained. The first servicing node can send the updated session entry to the second servicing node.
The plurality of servicing nodes 820 can include the first servicing node and the second servicing node. In an example embodiment, the second servicing node can be operable to receive the data and determine that the data packet includes a service request. Based on the determining, the second servicing node can be operable to select a server operable to serve the service session. The server can be selected by the second servicing node based on a service policy. The second servicing node can be further operable to send the data packet to the server. The server can be associated with a server network address. In an example embodiment, sending the data packet to the server includes sending the data packet to a third servicing node. The third servicing node can be associated with the server.
In a further example embodiment, the second servicing node can be operable to create a session entry. The session entry can be associated with the service session. The service session can include a client service session. The second servicing node can be operable to associate the session entry with a NAT address. Based on the NAT address, the second servicing node can be operable to establish a further service session. The further service session can include a server service session.
In a further example embodiment, the second servicing node can be operable to extract at least one of a client network address and a service address from the data packet. The second servicing node can store the client network address and the service address in the session entry.
In a further example embodiment, the second servicing node can be operable to receive the data packet from the server. The second servicing node can process the data packet to obtain a processed data packet. The second servicing node can be further operable to retrieve the client network address from the session entry. The second servicing node can send the processed data packet to the client device. The client device can be associated with the client network address.
In a further example embodiment, the first servicing node can be operable to receive the HA policy. The HA policy can include an indication to the second servicing node. The first servicing node can be operable to update a session entry to obtain the updated session entry. Furthermore, the first servicing node can be operable to send the updated session entry to the second servicing node.
The components shown in
Mass data storage 930, which can be implemented with a magnetic disk drive, solid state drive, or an optical disk drive, is a non-volatile storage device for storing data and instructions for use by processor unit 910. Mass data storage 930 stores the system software for implementing embodiments of the present disclosure for purposes of loading that software into main memory 920.
Portable storage device 940 operates in conjunction with a portable non-volatile storage medium, such as a floppy disk, CD, DVD, or Universal Serial Bus (USB) storage device, to input and output data and code to and from the computer system 900 of
User input devices 960 provide a portion of a user interface. User input devices 960 include one or more microphones; an alphanumeric keypad, such as a keyboard, for inputting alphanumeric and other information; or a pointing device, such as a mouse, a trackball, stylus, or cursor direction keys. User input devices 960 can also include a touchscreen. Additionally, the computer system 900 as shown in
Graphics display system 970 includes a liquid crystal display (LCD) or other suitable display device. Graphics display system 970 receives textual and graphical information and processes the information for output to the display device.
Peripheral devices 980 may include any type of computer support device to add additional functionality to the computer system.
The components provided in the computer system 900 of
It is noteworthy that any hardware platform suitable for performing the processing described herein is suitable for use with the embodiments provided herein. Computer-readable storage media refer to any medium or media that participate in providing instructions to a central processing unit (CPU), a processor, a microcontroller, or the like. Such media may take forms including, but not limited to, non-volatile and volatile media such as optical or magnetic disks and dynamic memory, respectively. Common forms of computer-readable storage media include a floppy disk, a flexible disk, a hard disk, magnetic tape, any other magnetic storage medium, a Compact Disk Read Only Memory (CD-ROM) disk, DVD, BLU-RAY DISC (BD), any other optical storage medium, RAM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electronically Erasable Programmable Read Only Memory (EEPROM), flash memory, and/or any other memory chip, module, or cartridge.
In some embodiments, the computer system 900 may be implemented as a cloud-based computing environment, such as a virtual machine operating within a computing cloud. In other embodiments, the computer system 900 may itself include a cloud-based computing environment, where the functionalities of the computer system 900 are executed in a distributed fashion. Thus, the computer system 900, when configured as a computing cloud, may include pluralities of computing devices in various forms, as will be described in greater detail below.
In general, a cloud-based computing environment is a resource that typically combines the computational power of a large grouping of processors (such as within web servers) and/or that combines the storage capacity of a large grouping of computer memories or storage devices. Systems that provide cloud-based resources may be utilized exclusively by their owners or such systems may be accessible to outside users who deploy applications within the computing infrastructure to obtain the benefit of large computational or storage resources.
The cloud may be formed, for example, by a network of web servers that comprise a plurality of computing devices, such as the computer system 800, with each server (or at least a plurality thereof) providing processor and/or storage resources. These servers may manage workloads provided by multiple users (e.g., cloud resource customers or other users). Typically, each user places workload demands upon the cloud that vary in real-time, sometimes dramatically. The nature and extent of these variations typically depends on the type of business associated with the user.
Thus, methods and systems for processing a data packet associated with a service session are disclosed. While the present embodiments have been described in connection with a series of embodiments, these descriptions are not intended to limit the scope of the subject matter to the particular forms set forth herein. It will be further understood that the methods are not necessarily limited to the discrete components described. To the contrary, the present descriptions are intended to cover such alternatives, modifications, and equivalents as may be included within the spirit and scope of the subject matter as disclosed herein and defined by the appended claims and otherwise appreciated by one of ordinary skill in the art.