Automatic cloud network fault diagnosis platform based on multi-CPU architecture
By designing an automated cloud network fault diagnosis platform in the cloud platform and utilizing the automated packet capture and dial test technology of the multi-CPU architecture, the time-consuming and labor-intensive problem of traditional fault diagnosis has been solved, network faults can be quickly located and discovered, and operations have been improved. Maintenance efficiency and scope of application.
Patent Information
- Application Number
- CN202410878729.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-11
AI Technical Summary
In complex cloud platform network environments, traditional network fault diagnosis methods are time-consuming and labor-intensive, cannot meet the real-time and accuracy requirements, and require a lot of manpower and time.
An automated cloud network fault diagnosis platform based on a multi-CPU architecture is designed, including the Web side, server side, controller and client. Through automatic packet capture and dial testing in the cloud data center, problems can be quickly located and discovered. The platform is independent of the cloud platform infrastructure and supports multiple chip architectures, such as Capture packets or dial test tasks, and upload the results to the server.
It achieves rapid location and discovery of network faults, reduces problem location time, improves operation and maintenance efficiency, ensures the stable operation of cloud platform services, and its applicable scope extends to a variety of chip environments.
Smart Images

Figure CN118764375A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud platform operation and maintenance monitoring, and in particular to an automated cloud network fault diagnosis platform based on a multi-CPU architecture. Background Art
[0002] With the rapid development of cloud computing, cloud platforms have become the first choice for many enterprises and institutions for business deployment and data storage. However, as the scale of cloud platforms continues to expand and the complexity increases, network failures have become one of the important issues affecting business continuity and stability. In traditional network environments, network fault diagnosis often requires a lot of manpower and time, especially in complex cloud platform network environments.
[0003] In traditional fault diagnosis methods, when the cloud data network center encounters an abnormality, the operation and maintenance personnel need to log in to each node: such as computing servers, computing virtual machines, network forwarding servers, firewalls, switches, etc., and use dial-up or packet capture tools to detect whether the business network has packet loss or interruption. The data packets left by the packet capture need to be downloaded to the local for troubleshooting. The whole process is cumbersome, time-consuming and labor-intensive, and the problem location time is long, which cannot meet the real-time and accuracy requirements required in the current complex network environment. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, the present invention provides a cloud network fault diagnosis platform that meets the needs of multiple chip architectures such as X86 and ARM, and realizes rapid location and discovery of problems through automatic packet capture and dialing of cloud data center networks.
[0005] In order to achieve the above objectives, an automated cloud network fault diagnosis platform based on a multi-CPU architecture is provided, and the platform architecture includes: a Web end, a server end, a controller and a client end;
[0006] Web client, used to set up diagnostic services, capture packets or dial test commands, and obtain key input information;
[0007] The server connects to the controller, obtains the services, packet capture or dialing instructions and key information selected on the Web side, and sends them to the controller;
[0008] The controller draws a business link traffic model diagram based on the received key information and instructions, and obtains the service equipment related to the diagnosis link path; the controller sends the packet capture or dialing instruction to the client of the service equipment related to the link path;
[0009] The client performs packet capture or dial-up testing tasks according to the received instructions, and uploads the data packets and diagnostic results to the server after completion; the Web end obtains the packet capture or dial-up testing results of the server to form a view, and the operation and maintenance personnel directly locate the network problem based on the view or download the full path data packet to analyze the problem.
[0010] Preferably, the key information includes the virtual machine IP and five-tuple information, and the five-tuple information includes the source address, source port, protocol type, target address and target port.
[0011] Preferably, the Web end, the server end and the controller are deployed separately from the cloud platform infrastructure and are connected to the cloud Underlay network and the client for communication.
[0012] Preferably, the controller aggregates the service devices related to the link path into an asset set and provides it to the client.
[0013] Preferably, the server communicates with the controller via RESTful, the controller opens a northbound API interface, the server receives the front-end request and calls the northbound API interface of the controller.
[0014] Preferably, the client determines whether the operation and maintenance personnel's action is a dialing action or a packet capturing action according to the acquired execution instruction, and executes the corresponding task according to the determination result.
[0015] Preferably, when the client performs the dial test task, the specific steps include:
[0016] S1: Determine the traffic type based on the acquired five-tuple information;
[0017] S2: Inject the simulated virtual machine message into the ply bridge of the traffic originating node and send out a message with a dye mark; track the path of the dye mark message, and determine whether the message enters the physical port of the computing node and the network element server. If it enters, record the path and the number of messages on each path node;
[0018] S3: Configure port mirroring for dyed packets in the switch to determine whether the traffic enters the switch;
[0019] S4: Output the message path of the dial test message to determine whether the dyed message reaches the target node normally. If both are normal, output the judgment result and upload it to the server. If not, the traffic is abnormal and the corresponding diagnostic suggestions are output.
[0020] Preferably, when the client performs a packet capture task, the specific steps include:
[0021] S5: judging the traffic type according to the acquired five-tuple information, and identifying the start injection point, middle point and end point of the traffic;
[0022] S6: The controller uniformly sends packet capture tasks to the clients related to the link path, and all nodes start packet capture at the same time.
[0023] S7: The client filters and captures the message according to the message content, saves it locally, and then uploads it to the server for the operation and maintenance personnel to download.
[0024] The present invention provides an automated cloud network fault diagnosis platform based on a multi-CPU architecture, which has the following beneficial effects:
[0025] 1. The platform architecture includes the Web side, server side, controller and client side. The Web side, server side and controller are deployed independently from the cloud platform infrastructure, which is conducive to the management of operation and maintenance personnel, modular development and iterative updates. The client side is deployed in various cloud physical service devices and includes computing servers with various types of chips such as X86 and ARM, integrating various chip environments and expanding the scope of application.
[0026] 2. The Web end is used to set up diagnostic services, capture packets or dial test instructions to obtain key input information, namely the virtual machine IP and five-tuple information; the instructions and information received by the Web end are sent to the controller through the server end. The controller draws a business link traffic model diagram based on the information entered by the operation and maintenance personnel, and obtains the service equipment related to the link path. The diagnostic platform uses the link path as the diagnostic direction, which speeds up the problem location.
[0027] 3. The controller sends the packet capture or dial test instruction to the client of the service device related to the link path to execute the packet capture or dial test instruction; since the paths for dial test and packet capture are different, the client reduces the resource waste of the service device by executing tasks in a targeted manner.
[0028] 4. When the client performs a dial-up test task, it tracks the dyed-marked messages and records the results. It determines the path of the dyed-marked messages to determine whether the network is abnormal and provides suggestions based on the abnormal problem. When performing a packet capture task, it captures data packets at the corresponding bridge interface (equivalent to the server port) and determines whether the network data is abnormal based on the captured data packets, thereby quickly locating and discovering the problem.
[0029] 5. The Web end obtains the client's packet capture or dial test data from the server to form a view and display the packet capture or dial test results so that operation and maintenance personnel can quickly locate the root cause of the network failure, achieve rapid response and fault recovery, and ensure the stable operation of the cloud platform business. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the architecture of an automated cloud network fault diagnosis platform based on a multi-CPU architecture provided by the present invention;
[0031] Figure 2 A flowchart of packet capture and dialing of an automated cloud network fault diagnosis platform based on a multi-CPU architecture is provided by the present invention. DETAILED DESCRIPTION
[0032] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0033] like Figures 1-2 As shown, the present invention provides an automated cloud network fault diagnosis platform based on a multi-CPU architecture, and the platform architecture includes: a Web end, a server end, a controller and a client end. The Web end is used to set diagnostic services, packet capture or dialing instructions, and obtain input key information. The server end is connected to the controller, and is used to obtain the diagnostic services, packet capture or dialing instructions and key information selected on the Web end, and send them to the controller. The controller draws a business link traffic model diagram based on the received key information and instructions, and obtains the service equipment related to the diagnostic link path; the controller sends the packet capture or dialing instructions to the client of the service equipment related to the link path. The client performs the packet capture or dialing task according to the received instructions, and uploads the data packet and diagnostic results to the server end after completion; the Web end obtains the packet capture or dialing results of the server end to form a view, and the operation and maintenance personnel directly locate the network problem according to the view or download the full path data packet to analyze the problem.
[0034] Specifically, the client is deployed in each cloud physical server and includes a computing server with multiple types of chips such as X86 and ARM. It can cover a variety of chip environments. Compared with the method of configuring a single type of chip in the prior art, it expands the scope of applicable environments and has a high degree of integration. The client software needs to develop and compile different installation packages for X86 and ARM in advance and deploy and install them in the computing server and network element server. The Web end is developed through the Spingboot framework, which mainly provides authentication, dialing, packet capture, command issuance and other functions. The authentication Token information of the operation and maintenance personnel is stored in the cache database, and the key data of the platform is stored in the relational database. The server acts as an intermediate layer, and the dialing and packet capture function instructions of the Web end are finally issued to the controller through the server.
[0035] In this embodiment, the Web end, the server end, and the controller are deployed separately from the cloud platform infrastructure and maintain communication connections with the cloud Underlay network and the client, which is conducive to management and modular development and provides convenience for data iteration and updating.
[0036] In this embodiment, the server communicates with the controller through RESTful, the controller opens the northbound API interface, the server receives the front-end request and calls the northbound API interface of the controller to implement the corresponding function. The server obtains the diagnostic services selected by the operation and maintenance personnel on the Web side, such as elastic function IP, load balancing, VPC network, NAT gateway and other services and action instructions for dialing or capturing packets, and transmits the above information to the controller through RESTful communication. Among them, when the operation and maintenance personnel select the diagnostic service on the Web side, they need to enter key information. The key information includes the virtual machine IP and five-tuple information. The five-tuple information includes the source address (source IP), source port (source port), protocol type, destination address and destination port. The server sends the diagnostic service, instructions and key information to the controller together, and the client performs the packet capture or dialing task.
[0037] After the cloud platform architecture is deployed, the controller obtains the key information input on the Web side through the server side to draw the corresponding business link traffic model diagram. According to the link path, it can quickly locate the abnormal problems on the path nodes and output the corresponding diagnostic results based on the node abnormal problems.
[0038] Specifically, after receiving the key information, the controller draws the corresponding link traffic model diagram, that is, the five-tuple information input by the controller through the Web-side operation and maintenance personnel includes: protocol, source port, source IP, destination port, and destination IP. Determine the routing forwarding path, and form a business link traffic model diagram based on the nodes passed by the forwarding path. Through the business link traffic model diagram, it can be concluded which service devices (i.e. computer servers, network element servers, network devices, etc.) are related to the diagnosis of the link path. The controller aggregates the service devices related to the link path into an asset collection and provides it to the client. And the tasks that the client needs to perform (packet capture or dialing) are sent to the client.
[0039] Among them, whether it is for packet capture or dial test, the traffic path is different, so the service equipment performs tasks in a targeted manner and does not control the work of all service equipment, thereby reducing the resource waste of service equipment. For example: when the source address is the virtual machine network card IP and the target address is the public network IP, the traffic path is virtual machine->access switch->core switch->ENAT gateway->access switch->core switch->Internet egress switch. At this time, the physical machine corresponding to the virtual machine, network element server ENAT node gateway, and other physical machines that need to perform dial test or packet capture actions are required.
[0040] The client determines whether the operation and maintenance personnel's action is a dial test action or a packet capture action based on the obtained task instructions, and executes the corresponding task based on the judgment result. If the packet capture task is executed, the client captures the data packet on the corresponding bridge interface and saves it in pcap format. If the dial test task is executed, the client tracks the dyed and marked message and records the result. The dial test result and data packet are uploaded to the server.
[0041] When the client performs a dial test task, the specific steps include:
[0042] S1: Determine the traffic type based on the acquired five-tuple information; traffic types include: intra-VPC, inter-VPC, EIP, load balancing, dedicated line, and other traffic;
[0043] S2: Inject the simulated virtual machine message into the ply bridge of the traffic originating node and send out a message with a dye mark; track the path of the dye mark message (i.e., analyze whether the data packet captured by each path node carries the dye mark message), and determine whether the message enters the physical port of the computing node and the network element server. If it enters, record the path and the number of messages of each path node;
[0044] S3: Configure port mirroring (ERSPAN) for colored packets in the switch to determine whether the traffic enters the switch;
[0045] S4: Output the message path of the dial test message to determine whether the dyed message reaches the target node normally. If both are normal, output the judgment result and upload it to the server. If not, the traffic is abnormal and the corresponding diagnostic suggestions are output.
[0046] When all the packets of the path nodes are marked with dye, it means that the network is normal. Otherwise, the network is abnormal. At this time, the target node without dye mark is judged. Whether the dyed packet exists or not, the data packet capture is successfully executed. If there is no dyed packet, it means that the packet has not passed through the node, so the operation and maintenance personnel can directly carry out the fault handling action.
[0047] When the client performs a packet capture task, the specific steps include:
[0048] S5: According to the acquired five-tuple information, the traffic type is determined, and the start injection point, the middle point and the end point of the traffic are identified; wherein each node of the identified traffic is tracked and identified by a router.
[0049] S6: The controller sends packet capture tasks to the clients related to the link path, and all nodes start packet capture at the same time. When the controller sends the packet capture task, it sends the task to the clients of all path nodes at the same time, and the clients of all nodes start packet capture at the same time. The reason is that only by starting packet capture at the same time can the forwarding of the message on the entire path be guaranteed. If there is a difference in time, the packet capture path cannot be matched, and the network data packet cannot be captured.
[0050] S7: The client filters and captures the message according to the message content, saves it locally, and then uploads it to the server for the operation and maintenance personnel to download.
[0051] Among them, the filtered captured messages refer to the protocols, ports, etc. filled in by the user on the Web side. When capturing, they will be filtered according to the filled-in protocols, ports, etc., and the corresponding data packets will be captured. The data packet pcap file will be placed in the web path corresponding to the server, and the download path will be written into the database for operation and maintenance personnel to download all data packets. The dial test results will also be written into the database. The server will draw the conclusion of the full path dial test based on the number of dye-marked messages captured by the path, and display the results to the operation and maintenance personnel through the view.
[0052] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
Claims
1. An automated cloud network fault diagnosis platform based on multi-CPU architecture, It is characterized in that The platform architecture includes: Web side, server side, controller and client side; Web client, used to set up diagnostic services, capture packets or dial test commands, and obtain key input information; The server connects to the controller, obtains the diagnostic services, packet capture or dial-up test instructions and key information selected on the Web side, and sends them to the controller; The controller draws a business link traffic model diagram based on the received key information and instructions, and obtains the service equipment related to the diagnosis link path; the controller sends the packet capture or dialing instruction to the client of the service equipment related to the link path; The client performs packet capture or dial-up testing tasks according to the received instructions, and uploads the data packets and diagnostic results to the server after completion; the Web end obtains the packet capture or dial-up testing results of the server to form a view, and the operation and maintenance personnel directly locate the network problem based on the view or download the full path data packet to analyze the problem.
2. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 1, It is characterized in that The key information includes the virtual machine IP and five-tuple information, and the five-tuple information includes the source address, source port, protocol type, destination address and destination port.
3. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 1, It is characterized in that The web end, the server end and the controller are deployed separately from the cloud platform infrastructure and are connected to the cloud underlay network and the client for communication.
4. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 3, It is characterized in that The controller aggregates the service devices related to the link path to form an asset set and provides it to the client.
5. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 3, It is characterized in that The server communicates with the controller via RESTful, the controller opens a northbound API interface, the server receives the front-end request and calls the northbound API interface of the controller.
6. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 1, It is characterized in that The client determines whether the operation of the operation and maintenance personnel is a dialing action or a packet capturing action according to the acquired execution instruction, and executes the corresponding task according to the determination result.
7. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 6, It is characterized in that When the client performs the dial test task, the specific steps include: S1: Determine the traffic type based on the acquired five-tuple information; S2: Inject the simulated virtual machine message into the ply bridge of the traffic originating node and send out a message with a dye mark; track the path of the dye mark message, and determine whether the message enters the physical port of the computing node and the network element server. If it enters, record the path and the number of messages on each path node; S3: Configure port mirroring for dyed packets in the switch to determine whether the traffic enters the switch; S4: Output the message path of the dial test message to determine whether the dyed message reaches the target node normally. If both are normal, output the judgment result and upload it to the server. If not, the traffic is abnormal and the corresponding diagnostic suggestions are output.
8. The automated cloud network fault diagnosis platform based on multi-CPU architecture according to claim 6, It is characterized in that When the client performs the packet capture task, the specific steps include: S5: judging the traffic type according to the acquired five-tuple information, and identifying the start injection point, middle point and end point of the traffic; S6: The controller uniformly sends packet capture tasks to the clients related to the link path, and all nodes start packet capture at the same time. S7: The client filters and captures the message according to the message content, saves it locally, and then uploads it to the server for the operation and maintenance personnel to download.
Citation Information
Cited By
Cloud network message tracking method and related equipment
CN119071191A
