CN115766432A - Equipment deployment method - Google Patents

Equipment deployment method Download PDF

Info

Publication number
CN115766432A
CN115766432A CN202211546248.9A CN202211546248A CN115766432A CN 115766432 A CN115766432 A CN 115766432A CN 202211546248 A CN202211546248 A CN 202211546248A CN 115766432 A CN115766432 A CN 115766432A
Authority
CN
China
Prior art keywords
node
deployment
information
switch
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211546248.9A
Other languages
Chinese (zh)
Inventor
薛迎春
黄钟辉
陈凉威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanyuan Information Technology Co ltd
Original Assignee
Shanghai Chuanyuan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanyuan Information Technology Co ltd filed Critical Shanghai Chuanyuan Information Technology Co ltd
Priority to CN202211546248.9A priority Critical patent/CN115766432A/en
Publication of CN115766432A publication Critical patent/CN115766432A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of communication, and discloses a device deployment method, which is suitable for a switch supporting an iNof specification, wherein the switch is connected with deployment nodes, the deployment nodes comprise a first node and a second node, and the first node and the second node communicate through the switch, and the method comprises the following steps: the switch receives LLDP advertisements of 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 announcement set by the second node on a new network; and pushing the updated information of the first node to the second node. The invention provides a network rapid sensing deployment multi-node scheme by utilizing the switch supporting the iNof-ODCC specification, and in the deployment process, the control node can rapidly sense the change of the network configuration of the deployment node through the switch so as to control the deployment process.

Description

Equipment deployment method
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a device deployment method.
Background
The multicast mode communication refers to one-to-many communication, and by adopting the multicast communication technology, the function of communication between one sender and a plurality of receivers can be realized, the burden of network communication can be effectively reduced, and the unnecessary waste of resources is avoided. When a plurality of devices are deployed in a system, a multicast mode is usually used for discovering the devices needing to participate in deployment, and based on multicast mode communication, one mode is to develop a private protocol, but because of a private customized private protocol, the workload is very large, and the cost is high; the second is to continue to extend the standard Protocol, for example, SSDP (Simple Service Discovery Protocol), mDNS (Multicast Domain Name System), and other protocols, but the standard Protocol only provides a device Discovery function, cannot quickly sense a failure of a deployed node, and needs to assist other means for detection. When the cross-switch secure transmission is performed, all relevant switches in the network need to be configured, and the workload of network configuration is very large.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an equipment deployment method to solve the problems that the workload of network configuration is large and the failure of a deployment node cannot be quickly perceived when a plurality of pieces of equipment perform system deployment.
First, explanation is made on technical terms involved in the embodiments of the present invention: the Intelligent NVMe-oF specification defined by the Open Data Center Committee refers to a technology for applying an Intelligent lossless network to a storage system through rapid management and control oF an access host to realize the integration oF a computing network and a storage network; 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.
In order to realize the technical purpose, the invention adopts the following technical scheme:
an apparatus deployment method, the method being applied to a switch supporting an iNof-ODCC specification, the switch connecting deployment nodes, the deployment nodes including a first node and a second node, the first node and the second node communicating through the switch, the method comprising:
the switch receives LLDP advertisements of the first node and the second node;
pushing network node information to the first node and the second node;
pushing updated network node information to the first node;
receiving an LLDP advertisement set by the second node on the new network;
and pushing the updated information of the first node to the second node.
Preferably, the first node is a control node, and the LLDP advertisement sent by the control node includes a node IP address, an identifier of the node, and a subscription network information change message.
Preferably, the second node is an executing node, and the LLDP advertisement sent by the executing node includes a node IP address and a node identifier.
The invention also provides an equipment deployment method, which is suitable for the first node supporting the iNof-ODCC specification, wherein the first node is a control node, the control node traverses and analyzes the information of the second node after receiving the information of the second node, and screens out the nodes needing to participate in deployment, and the second node is an execution node.
Preferably, after receiving the second node information, the first node includes the following processing:
if the information content is of a node offline type and the second node is within the deployment node list, removing the second node from the deployment node list;
if the information content is of a node offline type and the second node is not in the deployment node list, ignoring the second node;
if the information content is the node on-line type, extracting an identifier from the information content, analyzing key information, and if the key information is matched, adding the second node to a deployment node list
Preferably, the first node receives a node list that needs to participate in deployment, and establishes a connection with the deployment agent of the second node according to the IP address information recorded in the node list.
Preferably, the first node configures a new IP address to the second node, the deployment agent on the second node reconfigures the IP address, and after successful configuration, sends a new LLDP notification to the switch to update the IP address information registered in the switch.
Preferably, the first node receives updated information of the first node sent by the switch, acquires the network identifier, compares the network identifier with the deployment node in the cache, and updates the deployment node information if the deployment node is the deployment node.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the device deployment method.
The invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the above-described device deployment method.
The invention has the following technical effects:
1. the invention provides a network rapid perception deployment multi-node scheme by utilizing the switch supporting the iNof-ODCC specification;
2. the method is realized by utilizing a mature standard, so that the workload of customizing the private protocol is reduced;
3. in the whole deployment process, the control node can quickly sense the change of the network configuration of the deployment node through the switch, so that the deployment process is controlled.
Drawings
Fig. 1 is a schematic diagram of a communication method in a node discovery phase according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a communication method in a network configuration phase according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a communication method in a software deployment phase according to an embodiment of the present invention.
Detailed Description
The technical contents of the invention are described in detail below with reference to the accompanying drawings and specific embodiments.
The invention provides a device deployment method, which is suitable for a switch and a deployment node which support iNof specification, wherein the deployment node comprises a first node and a second node, and the first node and the second node communicate through the switch, and the method comprises the following steps:
the switch receives LLDP advertisements of the first node and the second node;
pushing node information to the first node and the second node;
pushing the updated network node information on line to the first node;
receiving an LLDP advertisement set by the second node on the new network;
and pushing the updated information of the first node to the second node.
The deployment node supporting the iNof-ODCC specification registers the node information to a switch supporting the iNof specification in an LLDP (link layer discovery protocol) notification mode, wherein the node information comprises but is not limited to a node IP (Internet protocol) address and an identifier of a node; while the deployment node may obtain the full amount of registration information from the switch. The deployment node subscribes to state notification to the switch, and the switch notifies the deployment node when subsequent network topology changes (access and exit of the network node).
Based on the fast awareness function of the network topology provided by the infrastructure of the iNof-ODCC specification, multiple nodes participating in deployment are discovered. After the node discovery phase is completed, further node configuration may be implemented, thereby completing deployment of the entire system.
In a preferred embodiment of the present invention, the device deployment method may be divided into four stages:
a preparation stage: connecting a network and setting a DHCP server;
a node discovery phase: discovering the nodes participating in deployment through a switch supporting iNof-ODCC specifications;
a network configuration stage: setting a network participating in deployment of nodes;
a software configuration stage: installing and configuring software on the deployment node;
wherein, the detailed operation steps of each stage are as follows:
1. preparation phase
A DHCP server exists on the network;
all the participating deployment nodes are accessed to a switch network supporting the iNof-ODCC specification (the switching network can be composed of one or more interconnected switches supporting the specification);
the network port of the deployment node is set to obtain an IP address through DHCP;
2. node discovery phase
The deployment node comprises a first node and a second node, and the first node is a control node and the second node is an execution node from function classification. The control node is responsible for deployment flow control; the executing node is responsible for executing the deployment action. The processing procedure is shown in figure 1:
and after acquiring the IP address from the DHCP server, the deployment node sends an LLDP (link layer discovery protocol) notice to the switch for registration.
a) The LLDP advertisement sent by the control node comprises a node IP address, a node identifier and a subscription network information change message.
b) The LLDP advertisement sent by the execution node comprises the IP address of the node and the identifier of the node.
The identifier of the node has a specific rule, and in a preferred embodiment of the invention, the node ID is encoded by using vendor information, product information and a node ID, and the node ID has global uniqueness.
And after receiving the LLDP announcement of the deployment node, the switch pushes the full-amount node information of the full network to the deployment node through a state notification message.
The control node receives a state notification message of the deployment node sent by the switch for the first time, traverses and analyzes the registration information of all the deployment nodes, tries to analyze the information including but not limited to manufacturer information, product information and node ID according to a specific composition rule by using identifiers of the deployment nodes, and utilizes the analyzed key information of the deployment nodes, including but not limited to manufacturer information and product information. Through the key information, the control node can screen out the nodes needing to participate in deployment to form a deployment node list.
The aging time of the switch LLDP is defined as 120 seconds, and the period for the deployment node to send the LLDP advertisement is 30 seconds. If the switch does not receive the LLDP advertisement of the deployment node for more than 120 seconds, the switch considers the deployment node to be offline. The switch sends an offline status notification message to the control node.
After the control node is started, the control node receives a deployment node state notification message sent by the switch, and three situations exist. The control node analyzes the second node information carried in the notification message, and performs the following processing:
a) If the second node information content is a node offline type and the second node is in a deployment node list, removing the node from the deployment node list;
b) If the second node information content is of a node offline type and the second node is not in the deployment node list, ignoring the node;
c) And if the second node information content is the node online type, extracting an identifier from the second node information content, and trying to analyze the manufacturer information and the product information. Adding the second node to the deployment node list if the vendor information and the product information match.
The control node can quickly refresh the deployment list by utilizing a mechanism of quickly discovering the node state by the switch, so that the availability of the nodes participating in the deployment before the next stage is ensured as much as possible, and the problem of failure in deployment caused by offline of the nodes in the subsequent deployment process is avoided.
3. Network configuration phase
The deployment operator can query all nodes found to be eligible from the control node. When the nodes needing to participate in the deployment are discovered, the deployment operator implements the network configuration. The processing procedure refers to fig. 2:
and the deployment operator acquires a deployable node list from the control node, configures a network of the deployment node and sends the configuration to the control node, and the control node establishes connection with a deployment agent program of the execution node according to the IP address information recorded in the deployment node list.
The control node configures a new IP address to the executing node. And the deployment agent program on the execution node reconfigures the IP address, and sends a new LLDP notice to the switch after the configuration is successful, so as to update the IP address information registered in the switch.
The switch pushes the registration information after updating the execution node to the control node, the control node receives the network node information sent by the switch, firstly obtains the network identifier, then compares the network identifier with the deployment node in the cache, and if the network identifier is the deployment node, the deployment node information is updated, such as a new IP and the like. And after the deployment nodes of the control node cache are updated, the network configuration stage is completed.
4. Software configuration phase
When the network configuration of all nodes is completed, the software configuration phase can be entered. The processing procedure is as shown in FIG. 3:
and the control node uses the IP address updated by the execution node to reestablish connection with the deployment agent program on the execution node, the control node performs software installation configuration on the execution node and checks the software installation state of the execution node, and after the configuration of all the execution nodes is completed, all the deployment nodes (including the execution node and the control node) stop sending LLDP (link layer discovery protocol) notifications to the switch, and the deployment process is finished.
The present invention has been described in detail. It will be apparent to those skilled in the art that any obvious modifications thereof can be made without departing from the spirit of the invention, which infringes the patent right of the invention and bears the corresponding legal responsibility.

Claims (11)

1. An apparatus deployment method applicable to a switch supporting an iNof-ODCC specification, the switch connecting deployment nodes, the deployment nodes including a first node and a second node, the first node and the second node communicating through the switch, the method comprising:
the switch receives LLDP advertisements of the first node and the second node;
pushing network node information to the first node and the second node;
pushing updated network node information to the first node;
receiving an LLDP advertisement set by the second node on the new network;
and pushing the updated information of the first node to the second node.
2. The device deployment method of claim 1, wherein the first node is a control node, and wherein the LLDP advertisement sent by the control node comprises a node IP address, an identifier of the node, and a subscription network information change message.
3. The device deployment method of claim 1 wherein the second node is an executing node, and wherein the LLDP advertisement sent by the executing node comprises a node IP address, an identifier of the node.
4. The device deployment method of claim 2 or 3, wherein the identifier of the node comprises vendor information, product information and a node ID.
5. The equipment deployment method is characterized by being applicable to a first node supporting an iNof specification, wherein the first node is a control node, the control node traverses and analyzes second node information after receiving deployment node information, and screens out nodes needing to participate in deployment, and the second node is an execution node.
6. The device deployment method of claim 5, wherein after receiving the second node information, the first node comprises:
removing the second node from the deployment node list if the information content is of a node offline type and the second node is in the deployment node list;
if the information content is of a node offline type and the second node is not in the deployment node list, ignoring the second node;
and if the information content is the node online type, extracting an identifier from the information content, analyzing key information, and if the key information is matched, adding the second node to a deployment node list.
7. The device deployment method of claim 6, wherein the first node receives a list of nodes that need to participate in deployment, and establishes a connection with the deployment agent of the second node according to IP address information recorded in the list of nodes.
8. The device deployment method of claim 7, wherein the first node configures a new IP address to the second node, the deployment agent on the second node reconfigures the IP address, and after the configuration is successful, sends a new LLDP advertisement to the switch to update the IP address information registered in the switch.
9. The device deployment method of claim 5, wherein the first node receives the updated information of the first node sent by the switch, acquires the network identifier, compares the network identifier with the deployment node in the cache, and updates the deployment node information if the deployment node is the first node.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the device deployment method according to any of claims 1 to 9.
11. A non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the device deployment method according to any one of claims 1 to 9.
CN202211546248.9A 2022-12-05 2022-12-05 Equipment deployment method Pending CN115766432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211546248.9A CN115766432A (en) 2022-12-05 2022-12-05 Equipment deployment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211546248.9A CN115766432A (en) 2022-12-05 2022-12-05 Equipment deployment method

Publications (1)

Publication Number Publication Date
CN115766432A true CN115766432A (en) 2023-03-07

Family

ID=85343137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211546248.9A Pending CN115766432A (en) 2022-12-05 2022-12-05 Equipment deployment method

Country Status (1)

Country Link
CN (1) CN115766432A (en)

Similar Documents

Publication Publication Date Title
DE112013002674B4 (en) Advertise, discover and consume services through virtual access point interfaces
WO2016155394A1 (en) Method and device for establishing link between virtual network functions
US20070260721A1 (en) Physical server discovery and correlation
JP2008519477A (en) Method and system for monitoring server events in a node configuration by using direct communication between servers
US20200288302A1 (en) Service Notification Method For Mobile Edge Host And Apparatus
US20070115818A1 (en) Triggered notification
CN110719311B (en) Distributed coordination service method, system and computer readable storage medium
KR101139836B1 (en) Method and system for two-phase mechanism for discovering web services based management service
WO2016115896A1 (en) Method and device for management of virtual network function (vnf)
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN111064626A (en) Configuration updating method, device, server and readable storage medium
EP2041926B1 (en) Method and system for providing universal plug and play resource surrogates
TW202103475A (en) Method for terminal device management, server and terminal device
US11128558B2 (en) Automatic routing configuration between hosts and network layer devices
CN115766432A (en) Equipment deployment method
EP1530320B1 (en) System and method for avoiding duplication of proxy functions in a home network
CN106357744A (en) Cluster reconnection method and system for SMB (server message block) client and SMB client
US9949046B2 (en) Automating repairs to audio systems
CN109327529B (en) Distributed scanning method and system
CN112187542A (en) Data communication clustering method and system
CN102118409B (en) Network service locating method based on role switching
CN105577433A (en) ACS cluster management method, apparatus and system
CN115550316B (en) Containerized network system, containerized IPV6 communication method and device, medium and equipment
CN113271326A (en) Network protocol address scheduling method and device and electronic equipment
CN111857761A (en) Method and equipment for upgrading container cluster service application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination