A device deployment method

Through the switch and LLDP announcement mechanism that supports the iNof-ODCC specification, the problem of large network configuration workload and inability to quickly sense failures when deploying multiple devices is solved, and a multi-node deployment solution for fast network perception is realized, reducing the workload of customized private protocols.

CN115766432BActive Publication Date: 2025-05-27ACCELSTOR TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211546248.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2025-05-27
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

When multiple devices are deployed in a system, the network configuration is laborious and it is impossible to quickly sense deployment node failures.

Method used

Using switches that support iNof-ODCC specifications, the registration and status notification of node information are realized through the LLDP notification mechanism. The control node can quickly sense the network configuration changes of the deployment node and control the deployment process.

Benefits of technology

It realizes a multi-node deployment solution that is fast-aware network, reduces the workload of customized private protocols, and quickly senses the network configuration changes of deployment nodes through switches to control the deployment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766432B_ABST
    Figure CN115766432B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication technologies, and discloses a device deployment method. The method is applicable to a switch supporting the iNof specification. The switch is connected to deployment nodes, and the deployment nodes include a first node and a second node. The first node and the second node communicate through the switch. The method includes: the switch receiving LLDP advertisements from the first node and the second node; pushing network node information to the first node and the second node; pushing online network node information to the first node; receiving an LLDP advertisement of a new network setting of the second node; and pushing updated information of the first node to the second node. The present invention provides a multi-node deployment scheme with fast network awareness by using a switch supporting the iNof-ODCC specification. During the deployment process, the control node can quickly sense changes in the network configuration of the deployment nodes through the switch, thereby controlling the deployment process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technologies, and particularly relates to a device deployment method. Background Art

[0002] Multicast communication refers to one-to-many communication. By using multicast communication technology, the function of communicating between one sender and multiple receivers can be realized, and the burden of network communication can be effectively reduced, avoiding unnecessary waste of resources. When deploying systems for multiple devices, multicast is usually used to discover devices that need to participate in the deployment. Based on multicast communication, one approach is to develop a private protocol. However, because of the private customization of the private protocol, the workload is very large and the cost is high. The second approach is to use standard protocols, such as SSDP (Simple Service Discovery Protocol), mDNS (Multicast Domain Name System), etc. for further extension. However, standard protocols only provide device discovery functions and cannot quickly detect deployment node failures, and other means need to be assisted for detection. When securely propagating across switches, configurations need to be made for all relevant switches in the network, and the workload of network configuration is very large. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a device deployment method to solve the problems of large workload of network configuration and inability to quickly detect deployment node failures when deploying systems for multiple devices.

[0004] First, the technical terms involved in the embodiments of the present invention are explained: iNof-ODCC (Intelligent NVMe over Fabrics - Open Data Center Committee), an intelligent NVMe-oF specification defined by the Open Data Center Committee, refers to the technology of applying an intelligent lossless network to a storage system through rapid control of access hosts to achieve the integration of computing and storage networks; DHCP (Dynamic Host Configuration Protocol), Dynamic Host Configuration Protocol; LLDP (Link Layer Discovery Protocol), Link Layer Discovery Protocol; SSDP (Simple Service Discovery Protocol), Simple Service Discovery Protocol.

[0005] To achieve the above technical objectives, the present invention adopts the following technical solutions:

[0006] A device deployment method, which is applicable to a switch supporting the iNof-ODCC specification. The switch is connected to deployment nodes, and the deployment nodes include a first node and a second node. The first node and the second node communicate through the switch. The method includes:

[0007] The switch receives LLDP advertisements from the first node and the second node;

[0008] Push network node information to the first node and the second node;

[0009] Push updated network node information to the first node;

[0010] Receive the LLDP advertisement of the new network settings of the second node;

[0011] Push the updated information of the first node to the second node.

[0012] Preferably, the first node is a control node. The LLDP advertisement sent by the control node includes the node IP address, the identifier of the node, and a message subscribing to network information changes.

[0013] Preferably, the second node is an execution node. The LLDP advertisement sent by the execution node includes the node IP address and the identifier of the node.

[0014] The present invention also provides a device deployment method, which is applicable to a first node supporting the iNof-ODCC specification. The first node is a control node. After receiving the information of the second node, the control node traverses and parses the information of the second node, and filters out the nodes that need to participate in the deployment. The second node is an execution node.

[0015] Preferably, after the first node receives the information of the second node, the following processing is included:

[0016] If the information content is the node offline type and the second node is in the deployment node list, then remove the second node from the deployment node list;

[0017] If the information content is the node offline type and the second node is not in the deployment node list, then ignore the second node;

[0018] If the information content is the node online type, then extract the identifier from the information content and parse the key information. If the key information matches, then add the second node to the deployment node list

[0019] Preferably, the first node receives a list of nodes that need to participate in the deployment, and establishes a connection with the deployment agent of the second node according to the IP address information recorded in the node list.

[0020] Preferably, the first node configures a new IP address for the second node, and the deployment agent on the second node reconfigures the IP address. After successful configuration, a new LLDP advertisement is sent to the switch to update the IP address information registered in the switch.

[0021] Preferably, when the first node receives the updated information of the first node sent by the switch, it first obtains the network identifier, and then compares it with the deployed nodes in the cache. If it is a deployed node, the deployed node information is updated.

[0022] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the steps of the above device deployment method are implemented.

[0023] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the above device deployment method are implemented.

[0024] The present invention has the following technical effects:

[0025] 1. The present invention provides a multi-node deployment solution with fast network perception by using a switch that supports the iNof-ODCC specification;

[0026] 2. It is implemented using a mature specification, reducing the workload of customizing private protocols;

[0027] 3. During the entire deployment process, the control node can quickly perceive changes in the network configuration of the deployed nodes through the switch, thereby controlling the deployment process. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the communication method in the node discovery stage in an embodiment of the present invention;

[0029] Figure 2 It is a schematic diagram of the communication method in the network configuration stage in an embodiment of the present invention;

[0030] Figure 3 It is a schematic diagram of the communication method in the software deployment stage in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The technical content of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0032] The present invention provides a device deployment method, which is applicable to switches and deployment nodes supporting the iNof specification. The deployment nodes include a first node and a second node, and the first node and the second node communicate through the switch. The method includes:

[0033] The switch receives LLDP advertisements from the first node and the second node;

[0034] Push node information to the first node and the second node;

[0035] Push updated network node information for online to the first node;

[0036] Receive the LLDP advertisement of the new network settings of the second node;

[0037] Push the updated information of the first node to the second node.

[0038] The deployment nodes supporting the iNof-ODCC specification register the node information to the switch supporting the iNof specification in the form of LLDP advertisements. The node information includes, but is not limited to, the node IP address and the identifier of the node. At the same time, the deployment nodes can obtain the full amount of registration information from the switch. The deployment nodes subscribe to status notifications from the switch. When the subsequent network topology changes (access and exit of network nodes), the switch will notify the deployment nodes.

[0039] Based on the fast topology sensing function of the network topology provided by the infrastructure based on the iNof-ODCC specification, multiple nodes participating in the deployment are discovered. After the node discovery phase ends, further node configuration can be implemented to complete the deployment of the entire system.

[0040] In a preferred embodiment of the present invention, the device deployment method can be divided into four stages:

[0041] Preparation stage: Network connection and setting up the DHCP server;

[0042] Node discovery stage: Discover the nodes participating in the deployment through the switch supporting the iNof-ODCC specification;

[0043] Network configuration stage: Set up the network of the nodes participating in the deployment;

[0044] Software configuration stage: Install and configure software on the deployment nodes;

[0045] Among them, the detailed operation steps of each stage are as follows:

[0046] I. Preparation stage

[0047] There is a DHCP server on the network;

[0048] All participating deployment nodes are connected to a switch network that supports the iNof-ODCC specification (this switching network can be composed of one or more interconnected switches that support this specification);

[0049] The network interface of the deployment node is set to obtain an IP address through DHCP;

[0050] II. Node discovery phase

[0051] The deployment nodes include a first node and a second node. Classified by function, the first node is a control node, and the second node is an execution node. The control node is responsible for deployment process control; the execution node is responsible for executing deployment actions. The processing process is as Figure 1 shown:

[0052] After the deployment node obtains an IP address from the DHCP server, it sends an LLDP advertisement to the switch for registration.

[0053] a) The LLDP advertisement sent by the control node, the advertisement content includes the node IP address, the identifier of the node, and subscribing to network information change messages.

[0054] b) The LLDP advertisement sent by the execution node, the advertisement content includes the node IP address, the identifier of the node.

[0055] The identifier of the node has specific rules. In a preferred embodiment of the present invention, it is encoded using vendor information, product information, and node ID, and the node ID has global uniqueness.

[0056] After the switch receives the LLDP advertisement of the deployment node, it pushes the full network node information of the entire network to the deployment node through a status notification message.

[0057] When the control node first receives the deployment node status notification message sent by the switch, it traverses and parses the registration information of all deployment nodes, and attempts to use the identifier of the deployment node to parse out, according to specific composition rules, including but not limited to vendor information, product information, and node ID. The control node uses the key information of the parsed deployment node, including but not limited to vendor information and product information, etc. Through these key information, the control node can screen out the nodes that need to participate in the deployment and form a deployment node list.

[0058] The aging time of the switch's LLDP is defined as 120 seconds, and the deployment node sends LLDP announcements every 30 seconds. If the switch does not receive an LLDP announcement from the deployment node for more than 120 seconds, the switch will consider the deployment node offline. The switch sends a status notification message of offline to the control node.

[0059] After the control node is started and then receives the deployment node status notification message sent by the switch, there are three cases. The control node parses the second node information carried in the notification message and makes the following processing:

[0060] a) If the content of the second node information is the node offline type and the second node is in the deployment node list, then remove the node from the deployment node list;

[0061] b) If the content of the second node information is the node offline type and the second node is not in the deployment node list, then ignore the node;

[0062] c) If the content of the second node information is the node online type, then extract the identifier from the content of the second node information and try to parse the vendor information and product information. If the vendor information and product information match, then add the second node to the deployment node list.

[0063] The control node uses the mechanism of the switch to quickly discover the node status, which can quickly refresh the deployment list, and try to ensure the availability of the deployment nodes before the next stage, avoiding the problem of deployment failure caused by the offline of the deployment nodes during the subsequent deployment process.

[0064] III. Network Configuration Stage

[0065] The deployment operator can query all the discovered nodes that meet the conditions from the control node. When the nodes to be involved in the deployment are discovered, the deployment operator implements network configuration. The processing process refers to Figure 2 :

[0066] The deployment operator obtains the list of deployable nodes from the control node, configures the network of the deployment nodes, and sends the configuration to the control node. The control node establishes a connection with the deployment agent program of the execution node according to the IP address information recorded in the deployment node list.

[0067] The control node configures a new IP address for the execution node. The deployment agent program on the execution node reconfigures the IP address. After the configuration is successful, it sends a new LLDP announcement to the switch to update the IP address information registered in the switch.

[0068] The switch pushes the updated registration information of the execution node to the control node. After receiving the network node information sent by the switch, the control node first obtains the network identifier, and then compares it with the deployed nodes in the cache according to the network identifier. If it is a deployed node, the information of the deployed node is updated, such as the new IP address, etc. After all the deployed nodes cached by the control node are updated, the network configuration phase is completed.

[0069] IV. Software Configuration Phase

[0070] When the networks of all nodes are configured, the software configuration phase can be entered. The processing process is as follows Figure 3 :

[0071] The control node uses the updated IP address of the execution node to re - establish a connection with the deployment agent program on the execution node. The control node performs software installation and configuration on the execution node and checks the software installation status of the execution node. When all the execution nodes are configured, all the deployed nodes (including the execution nodes and the control node) stop sending LLDP announcements to the switch, and the deployment process ends.

[0072] The above has described the present invention in detail. For those of ordinary skill in the art, any obvious changes made without departing from the essence of the present invention will constitute an infringement of the patent right of the present invention and will bear corresponding legal responsibilities.

Claims

1. A device deployment method, characterized in that, the method is applicable to a switch supporting the iNof-ODCC specification. The switch is connected to deployment nodes, and the deployment nodes include a first node and a second node. The first node and the second node communicate through the switch. The method includes: the switch receives LLDP advertisements from the first node and the second node; the switch pushes network node information to the first node and the second node; the switch pushes updated network node information to the first node; the switch receives an LLDP advertisement of the new network settings of the second node; the switch pushes the updated information of the first node to the second node; the first node receives a list of nodes that need to participate in the deployment, establishes a connection with the deployment agent of the second node in the node list, installs and configures software for the second node by the first node, and checks the software installation status of the execution nodes until all the cached deployment node lists are updated; wherein, after the deployment agent on each second node is successfully configured, it sends a new LLDP advertisement to the switch; when all the deployment nodes stop sending LLDP advertisements to the switch, the deployment process ends.

2. The device deployment method according to claim 1, characterized in that, the first node is a control node, and the LLDP advertisement sent by the control node includes the node IP address, the identifier of the node, and a subscription network information change message.

3. The device deployment method according to claim 1, characterized in that, the second node is an execution node, and the LLDP advertisement sent by the execution node includes the node IP address and the identifier of the node.

4. The device deployment method according to claim 2 or 3, characterized in that, the identifier of the node includes the manufacturer information, the product information, and the node ID.

5. The device deployment method according to claim 1, characterized in that, pushing network node information to the first node and the second node includes: the switch pushes the full network's full amount of node information to the first node and the second node through a status notification message.

6. The device deployment method according to claim 1, characterized in that, the device deployment method further includes: setting the LLDP aging time of the switch to a first time, and setting the LLDP advertisement period of the deployment node to a second time, where the second time is less than the first time; if the switch does not receive the LLDP advertisement from the deployment node after exceeding the first time, the switch determines that the deployment node is offline.

7. The device deployment method according to claim 6, characterized in that, when the switch determines that the second node is offline, it sends a status notification message of the second node being offline to the first node through a status notification message.

8. The device deployment method according to claim 6, characterized in that, when the switch determines that the second node is offline within the second time and there is no update to the second node information, the switch deletes the information of the second node and synchronizes the deletion information to other switches.

9. The device deployment method according to claim 6, characterized in that, The first time is set to 120 seconds, and the second time is set to 30 seconds.

10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, when the processor executes the program, the steps of the device deployment method according to any one of claims 1 to 9 are implemented.

11. A non-volatile computer-readable storage medium, having a computer program stored thereon, wherein, when the computer program is executed by a processor, the steps of the device deployment method according to any one of claims 1 to 9 are implemented.