CN109951325B - Network cable connection checking method and device - Google Patents

Network cable connection checking method and device Download PDF

Info

Publication number
CN109951325B
CN109951325B CN201910152203.5A CN201910152203A CN109951325B CN 109951325 B CN109951325 B CN 109951325B CN 201910152203 A CN201910152203 A CN 201910152203A CN 109951325 B CN109951325 B CN 109951325B
Authority
CN
China
Prior art keywords
inspected
server
temporary
checked
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.)
Active
Application number
CN201910152203.5A
Other languages
Chinese (zh)
Other versions
CN109951325A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910152203.5A priority Critical patent/CN109951325B/en
Publication of CN109951325A publication Critical patent/CN109951325A/en
Application granted granted Critical
Publication of CN109951325B publication Critical patent/CN109951325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application discloses a method and a device for checking network cable connection, relates to the technical field of communication, and solves the problems that in the prior art, when the network scale is large, the workload of network cable connection checking is large, the efficiency is low, errors are easy to occur and the like. The specific scheme is as follows: configuring a Baseboard Management Controller (BMC) of the node equipment to be inspected, wherein the BMC is used for starting the node equipment to be inspected; acquiring actual connection information of a cable of the node equipment to be inspected from the node equipment to be inspected according to the IP address of the node equipment to be inspected; comparing the design connection information with the actual connection information to determine error connection information; the design connection information includes design connection information of a cable of the node apparatus to be inspected.

Description

Network cable connection checking method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a network cable connection checking method and device.
Background
In the project construction delivery process of public cloud, private cloud, telecommunication cloud (Network Function Virtualization (NFV)), and the like, the installation and deployment of infrastructure hardware (including servers, storage devices, switches, routers, firewalls, and the like) are important foundations, a large number of Network cables (e.g., ethernet cables, optical fibers) are required to be connected according to engineering planning in specific construction, but problems of cable connection errors (e.g., inconsistency between actual connection and planning, physical cable faults, and the like) often occur due to insufficient skills or manual errors and the like, which will cause the automatic installation and regulation and measurement of subsequent software to be blocked, and affect the overall delivery schedule and cost of the project.
The existing network cable connection detection method is to adopt a method of manually plugging cables to match opposite ends to check the state of a connection indicator lamp under the condition that the number of cables is small, and determine whether cable connection is wrong. However, depending on manual inspection, it is equivalent to reconnecting all physical cables once, which is inefficient, prone to error, and is not suitable for remote operation, and it consumes a lot of workload for large-scale networks (hundreds of cables).
Disclosure of Invention
The embodiment of the application provides a network cable connection checking method and device, manual intervention is not needed, the efficiency of network cable connection checking is improved, and the reliability and the accuracy are higher.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect of the embodiments of the present application, a network cable connection checking method is provided, which is applied to a network cable connection checking apparatus, where the network cable connection checking apparatus is in network communication with a plurality of node devices to be checked, and the network cable checking apparatus is configured to allocate a network protocol IP address to each node device to be checked, and provide a temporary OS kernel and a temporary OS initrd file system for the node device to be checked when the node device to be checked is started, where the method includes: configuring a baseboard management controller BMC of the node equipment to be inspected for starting the node equipment to be inspected; acquiring actual connection information of a cable of the node equipment to be inspected from the node equipment to be inspected according to the IP address of the node equipment to be inspected; comparing the design connection information with the actual connection information to determine error connection information; the design connection information includes design connection information of the cable of the node device to be inspected. Based on the scheme, the temporary OS can be remotely loaded to the node equipment to be inspected in a scene with large-scale network equipment, manual intervention is not needed, the efficiency of network cable connection inspection is greatly improved, and the reliability and accuracy of manual inspection in the prior art are higher.
With reference to the first aspect, in a possible implementation manner, the configuring a BMC of the node device to be inspected includes: and configuring the baseboard management controller BMC of the node device to be checked to start in a pre-boot execution environment PXE mode or in an optical disk ISO mode. Based on the scheme, the starting mode of the node device to be checked can be configured, for example, the node device is started in a PXE or optical disc ISO mode.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, before configuring the BMC of the node device to be checked, the method further includes: acquiring network planning design information of the node equipment to be inspected; the network planning design information comprises the design connection information of the cable of the node equipment to be checked, the BMC IP and the login verification information of the BMC; correspondingly, the configuring of the BMC of the node device to be inspected includes: and logging in the BMC of the node device to be checked according to the BMC IP and the login verification information, and configuring the BMC of the node device to be checked. Based on the scheme, the BMC of the node device to be checked can be logged in and configured.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the acquiring, from the node device to be inspected, actual connection information of a cable of the node device to be inspected includes: and acquiring the actual connection information of the cable of the node equipment to be inspected from the temporary OS open interface operated by the node equipment to be inspected. Based on the scheme, the actual connection information of the cable of the node equipment to be checked can be obtained from the node equipment to be checked by calling the temporary OS open interface.
In a second aspect of the embodiments of the present application, a network cable connection checking method is provided, which is applied to a node device to be checked, where the node device to be checked is connected to a network of a network cable connection checking apparatus, and the network cable checking apparatus is configured to allocate a network protocol IP address to the node device to be checked, and provide a temporary OS kernel and a temporary OS initrd file system for the node device to be checked when the node device to be checked is started, where the method includes: the node equipment to be checked acquires the temporary OS kernel and the temporary OS initrd file system; the node equipment to be checked loads the temporary OS kernel and the temporary OS initrd file system, and starts a temporary OS; the node equipment to be checked acquires a network protocol IP address; and acquiring the actual connection information of the cable of the node device to be checked based on the temporary OS running link layer discovery protocol LLDP. Based on this scheme, the node equipment of examining can long-rangely load interim OS to make the LLDP agreement of enabling gather actual cable connection information, need not artificial intervention, promoted the efficiency of network cable connection inspection greatly, and compare in the manual inspection reliability among the prior art and the accuracy is higher.
With reference to the second aspect, in a possible implementation manner, the acquiring, by the node device to be checked, the temporary OS kernel and the temporary OS initrd file system includes: and the node device to be checked is started in a pre-starting execution environment PXE mode or an optical disc ISO mode to obtain the temporary OS kernel and the temporary OS initrd file system. Based on the scheme, the node device to be checked can be started in a PXE or optical disk ISO mode, and a temporary OS is loaded.
In a third aspect of the embodiments of the present application, a network cable connection checking apparatus is provided, where the network cable connection checking apparatus is in network communication with a plurality of node devices to be checked, and the network cable checking apparatus is configured to allocate a network protocol IP address to each node device to be checked, and provide a temporary OS kernel and a temporary OS initrd file system for the node device to be checked when the node device to be checked is started, where the network cable connection checking apparatus includes: the processing unit is used for configuring a baseboard management controller BMC of the node device to be inspected so as to start the node device to be inspected; an obtaining unit, configured to obtain, from the node device to be checked, actual connection information of a cable of the node device to be checked according to the IP address of the node device to be checked; the processing unit is further configured to compare the design connection information with the actual connection information, and determine error connection information; the design connection information is the design connection information of the cable of the node device to be checked.
With reference to the third aspect, in a possible implementation manner, the processing unit is specifically configured to configure the BMC of the node device to be inspected to start in a pre-boot execution environment PXE manner or start in a disc ISO manner.
With reference to the third aspect and the foregoing possible implementation manners, in another possible implementation manner, the obtaining unit is further configured to obtain network planning design information of the node device to be inspected; the network planning and designing information comprises the design connection information of the cable of the node equipment to be checked, the BMC IP and the login verification information of the BMC; the processing unit is specifically configured to log in the BMC of the node device to be checked according to the BMC IP and the login authentication information, and configure the BMC of the node device to be checked.
With reference to the third aspect and the foregoing possible implementation manners, in another possible implementation manner, the obtaining unit is specifically configured to obtain actual connection information of a cable of the node device to be inspected from an interface opened by a temporary OS run by the node device to be inspected.
In a fourth aspect of the embodiments of the present application, a node device to be inspected is provided, where the node device to be inspected is connected to a network of a network cable connection inspection apparatus, and the network cable inspection apparatus is configured to allocate a network protocol IP address for the node device to be inspected, and when the node device to be inspected is started, provide a temporary OS kernel and a temporary OS initrd file system for the node device to be inspected, where the node device to be inspected includes: an obtaining unit, configured to obtain the temporary OS kernel and the temporary OS initrd file system; the processing unit is used for loading the temporary OS kernel and the temporary OS initrd file system and starting a temporary OS; the acquiring unit is further configured to acquire a network protocol IP address; the processing unit is further configured to run a link layer discovery protocol LLDP based on the temporary OS, and acquire actual connection information of a cable of the node device to be checked.
With reference to the fourth aspect, in a possible implementation manner, the obtaining unit is specifically configured to start in a pre-boot execution environment PXE manner or an optical disc ISO manner, and obtain the temporary OS kernel and the temporary OS initrd file system.
In a fifth aspect of the embodiments of the present application, there is provided a network cable connection checking apparatus, the network cable connection checking apparatus being in network communication with a plurality of node devices to be checked, the network cable connection checking apparatus comprising a processor, a memory, and an automated checking system running on the processor, the memory being configured to store a temporary OS kernel and a temporary OS initrd file system, the automated checking system comprising: the system comprises a server control module, an information analysis and comparison module and a DHCP server module; the server control module is used for configuring a baseboard management controller BMC of the node equipment to be inspected so as to start the node equipment to be inspected; the DHCP server module is used for allocating a network protocol IP address for the node equipment to be checked; the information analyzing and comparing module is used for acquiring the actual connection information of the cable of the node equipment to be inspected from the node equipment to be inspected according to the IP address of the node equipment to be inspected; the information analyzing and comparing module is also used for comparing the design connection information with the actual connection information and determining error connection information; the design connection information is the design connection information of the cable of the node device to be checked.
With reference to the fifth aspect, in a possible implementation manner, the server control module is specifically configured to configure the BMC of the node device to be inspected to start in a pre-boot execution environment PXE manner or in an optical disc ISO manner.
With reference to the fifth aspect and the possible implementation manners, in another possible implementation manner, the information analyzing and comparing module is further configured to obtain network planning and designing information of the node device to be inspected; the network planning design information comprises design connection information of a cable of the node equipment to be checked, a BMC IP and login verification information of the BMC; the server control module is specifically configured to log in the BMC of the node device to be checked according to the BMC IP and the login authentication information, and configure the BMC of the node device to be checked.
With reference to the fifth aspect and the foregoing possible implementation manners, in another possible implementation manner, the information analyzing and comparing module is specifically configured to obtain actual connection information of a cable of the node device to be inspected from an interface opened by the temporary OS in which the node device to be inspected operates.
In a sixth aspect of the embodiments of the present application, a node device to be inspected is provided, where the node device to be inspected is connected to a network of a network cable connection inspection apparatus, and the network cable inspection apparatus is configured to allocate a network protocol IP address for the node device to be inspected, and when the node device to be inspected is started, provide a temporary OS kernel and a temporary OS initrd file system for the node device to be inspected, where the node device to be inspected includes: a processor, the processor to: acquiring the temporary OS kernel and the temporary OS initrd file system; loading the temporary OS kernel and the temporary OS initrd file system, and starting a temporary OS; acquiring a network protocol IP address; and acquiring the actual connection information of the cable of the node device to be checked based on the temporary OS running link layer discovery protocol LLDP.
With reference to the sixth aspect, in a possible implementation manner, the processor is specifically configured to start in a pre-boot execution environment PXE mode or an optical disc ISO mode, and acquire the temporary OS kernel and the temporary OS initrd file system.
The description of the effects of the third aspect and various implementations of the third aspect and the fifth aspect and various implementations of the fifth aspect may refer to the description of the corresponding effects of the first aspect and various implementations of the first aspect, and the description of the effects of the fourth aspect and various implementations of the sixth aspect may refer to the description of the corresponding effects of the second aspect and various implementations of the second aspect, and will not be described herein again.
A seventh aspect of the embodiments of the present application provides a computer storage medium, in which computer program code is stored, and when the computer program code runs on a processor, the processor is caused to execute the network cable connection checking method according to the first aspect or any one of the possible implementations of the first aspect, or the network cable connection checking method according to the second aspect or any one of the possible implementations of the second aspect.
In an eighth aspect of the embodiments of the present application, there is provided a computer program product, which stores computer software instructions executed by the processor, and the computer software instructions include a program for executing the solution of the above aspect.
In a ninth aspect of the embodiments of the present application, there is provided an apparatus in the form of a chip, the apparatus includes a processor and a memory, the memory is configured to be coupled to the processor and stores necessary program instructions and data of the apparatus, and the processor is configured to execute the program instructions stored in the memory, so that the apparatus performs the functions of the apparatus in the method.
Drawings
Fig. 1 is a schematic diagram of a network planning topology structure of a cloud data center according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a network cable connection checking apparatus according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of another network cable connection checking apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another network cable connection checking apparatus according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a network cable connection checking method according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a network cable connection checking apparatus according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating a node device to be inspected according to an embodiment of the present disclosure;
fig. 8 is a schematic composition diagram of another network cable connection checking apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c or a-b-c, wherein a, b and c can be single or multiple.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Here, some terms referred to in the embodiments of the present application are explained as follows:
dynamic Host Configuration Protocol (DHCP): the network protocol is an application layer network protocol, works based on a UDP protocol, and has two main purposes: the automatic assignment of IP addresses to internal networks or network service providers, and the provision of users or internal network administrators as a means of central administration of all computers is described in detail in RFC 2131.
Simple File Transfer Protocol (TFTP): a protocol for simple file transfer between a client and a server provides a file transfer service that is less complex and less expensive.
Hypertext transfer protocol (HTTP): is a standard for client-side and server-side requests and responses, and may provide information in the form of "Hypertext" (Hypertext) or "Hypermedia" (Hypermedia).
Link Layer Discovery Protocol (LLDP): is a proximity discovery protocol, the second layer discovery protocol defined in IEEE 802.1ab, which defines a standard method for ethernet network devices, such as switches, routers, and wlan access points, to advertise their presence to other nodes in the network and to maintain discovery information for each proximity device. For example, detailed information such as device configuration and device identification may be advertised using the protocol.
Initial RAM Disk (Initial RAM Disk, Initrd):
Figure BDA0001981801030000051
the initial RAM disk (initrd) is a temporary root file system mounted during the system boot process to support the two-phase boot process. The initrd file occupies a part of memory space as a temporary state after being loaded into the memory by the kernelThe magnetic disk includes various executable programs and drivers, which can be used to mount an actual root file System, and initrd can also be used as a final root file System of a temporary Operating System (OS) to complete tasks such as real System installation and hardware initial configuration.
ISO: the standard is ISO9660, which is an international standard of optical disc file system, and the optical disc image file conforming to the standard generally has ISO as an extension name, and the file can be simply understood as an image file formed by copying all information on an optical disc.
The embodiment of the application provides a network cable connection checking method, which is applied to scenes of implementing new construction or capacity expansion of cloud data center projects such as public clouds, private clouds and telecommunication clouds, and can realize automatic checking of physical cable connection of basic hardware equipment on the premise that the basic hardware equipment is installed on a shelf, connected with cables and subjected to necessary initial configuration. For example, the node device to be checked in this embodiment may be a basic hardware device such as a server, a storage device, a switch, a router, or a firewall, which is not limited in this embodiment of the present application. In the following embodiments, only the node device to be checked is taken as a server node as an example for explanation.
Illustratively, a network planning topology of a cloud data center as shown in fig. 1 includes: m server nodes 101, n Top of Rack access Switches (TORs) 102, and 2 inter-cabinet aggregation switches (End of Rack, EOR)103, where m and n are integers greater than or equal to 1. The server node 101 and the TOR switch 102 are connected by a cable 104 in fig. 1, where the cable may be an ethernet cable or a fiber cable. Taking the node device to be inspected as the server node 101 as an example, the cable 104 connected to the server node 101 is a network cable to be inspected.
The server node 101 is a device that provides a computing service. The server node 101 may include one or more ports as shown in fig. 1, and is connected to the TOR switch 102 of the cabinet through the one or more ports. The m server nodes 101 may be placed in the same or different cabinets, and the ports of multiple server nodes 101 in one cabinet may access the TOR switch 102 of the cabinet.
The TOR switch 102 is an access switch installed on the top of the server rack. The portal of the server node 101 may be accessible to the TOR switch 102 of the cabinet. TOR switches 102 may be accessible to EORs 103 via copper cables or optical fibers.
The EOR switch 103 is configured to aggregate the TOR switches 102 of the multiple cabinets, and may be connected to the TOR switches 102 of the multiple cabinets through cables.
It is understood that fig. 1 is only an exemplary illustration, and in practical applications, the network planning topology of the cloud data center may be designed as needed. The structure shown in fig. 1 does not set any limit to the network planning topology applied in the embodiments of the present application.
An embodiment of the present application provides a network cable connection checking device, as shown in fig. 2, the network cable connection checking device 200 includes: a hardware layer including a processor 201, a memory 202, a bus 203, an interface 204, and the like, and a software layer including an automated inspection system 205. The processor 201 is a core component of the network cable connection checking apparatus 200, and is used for running a software program in the network cable connection checking apparatus 200, such as the automated checking system 205, or a computer program stored in the memory 202.
In this embodiment, the processor 201 may specifically be a Central Processing Unit (CPU), which may implement or execute various exemplary logic blocks and processes described in conjunction with the disclosure of the embodiment of the present application, and may specifically include different modules and circuits. Each processor may also be a combination that performs a computational function, including, for example, one or more of a combination of microprocessors, a combination of Digital Signal Processors (DSPs) and microprocessors, and the like, and may also be embodied as a particular processor, such as a microprocessor. The embodiments of the present application are described only by way of example with processors comprising CPUs, but each processor may actually comprise a digital signal processor, a microprocessor, a microcontroller, or a neural network processor. The number of processors 201 included in the network cable connection checking apparatus 200 and the number of physical cores included in each processor are not limited in the embodiment of the present application.
The memory 202 may be used for storing software programs and software modules, and the processor 201 executes various functional applications and data processing of the network cable connection checking apparatus 200 by operating the software programs and modules stored in the memory 202. Memory 202 may include one or more computer-readable storage media. The memory 202 includes a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like, for example, a program implementing the method of scheduling software tasks among a plurality of processors provided by the embodiments of the present application. The storage data area may store data created by the network cable connection checking apparatus 200, and the like. For example, network planning design information, design connection information of the node device to be inspected, actual connection information of the node device to be inspected, error information, and the like. In this embodiment, the memory 202 may specifically include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above.
The bus 203 is a common communication trunk for transmitting information among various functional components of the computer, and according to the type of information transmitted by the computer, the bus of the computer may be divided into a data bus, an address bus and a control bus, which are used for transmitting data, data addresses and control signals, respectively, and the bus may also have the functions of the above buses, which is not limited in this embodiment.
The interface 204 includes a communication interface and a user interface. A communication interface for supporting communication between the network cable connection checking device 200 and other terminals, servers, networks. A user interface for supporting interaction and information exchange between the network cable connection checking device 200 and a user.
The automated inspection system 205 is used to check whether the network cable connection of the basic hardware device is consistent with the cable connection mode designed by the network plan. For example, when the automated inspection system 205 inspects the connection relationship of the network cable, it may remotely configure a start mode of the server node 101 (such as a preboot execution environment (PXE) mode start or an optical disc ISO mode start), and provide the server node 101 with a temporary OS and an Initial RAM Disk (Initial RAM Disk) file system of the temporary OS when the server node is started. The following describes functional modules in the automatic check system 205 when the server node 101 is started in the PXE mode and the optical disc ISO mode, respectively.
In one implementation, when the automated inspection system 205 configures a node device to be inspected (server node 101) to start in the PXE mode, functional modules of the automated inspection system 205 are as shown in fig. 3, and the automated inspection system 205 includes: an information parsing and comparing module 301, a server control module 302, a temporary OS kernel file 303, a temporary OS initrd file system 304, a DHCP server 305, a TFTP server 306, and an HTTP server 307.
The information analyzing and comparing module 301: the network planning and designing information is used for analyzing the network planning and designing information imported into the network cable connection inspection device 200, obtaining the design connection information of the cable of the node equipment to be inspected, comparing the design connection information with the actual connection information of the cable of the node equipment to be inspected, which is obtained by the automatic inspection system 205, and determining the wrong cable connection information.
The server control module 302: for controlling power-up and power-down and start-up mode settings of the node device to be inspected (server node 101). For example, the server control module 302 may configure a Baseboard Management Controller (BMC) of the server node 101 to enable the server node 101 to boot up in the PXE mode.
Temporary OS kernel file 303: is a core part of the operating system, including those parts of the operating system that manage memory, files, peripherals, and system resources. The operating system kernel typically runs processes and provides inter-process communication. For example, the operating system kernel may be a linux kernel, and when the server node 101 is started in the PXE manner, the linux kernel may be loaded from the temporary OS kernel file 303. Here, only the operating system kernel is taken as the linux kernel, and the embodiment of the present application does not limit that the temporary OS kernel file 303 may be another operating system kernel.
Temporary OS initrd file system 304: the server node 101 may load the initial RAM disk file when it is started over PXE.
DHCP server 305: the function of providing the DHCP server may be to allocate an IP address to the server node 101 when the server node 101 is started up in the PXE mode.
TFTP server 306: for providing TFTP server functions, the server node 101 may be provided with boot file loading capability when the server node 101 is booted in PXE.
The HTTP server 307: for providing the HTTP download server function, the OS kernel and initrd file may be provided for the server node 101 when the server node 101 is started up in the PXE mode.
In one implementation, when the automated inspection system 205 configures a node device to be inspected (server node 101) to start up in the optical disc image file format ISO mode, the functional modules of the automated inspection system 205 are as shown in fig. 4, and the automated inspection system 205 includes: an information analysis and comparison module 401, a server control module 402, a temporary OS ISO file 403, and a DHCP server 404. The information analyzing and comparing module 401 has the same function as the information analyzing and comparing module 301 in fig. 3, and is not described herein again.
The server control module 402: for controlling power-up and power-down and start-up mode settings of the node device to be inspected (server node 101). For example, the server control module 302 may configure a Baseboard Management Controller (BMC) of the server node 101 to enable the server node 101 to be started in the optical disc ISO mode.
Temporary OS ISO file 403: including temporary OS kernel files and temporary OS initrd file systems. When the server node 101 is started in the optical disc ISO mode, the temporary OS is loaded from the temporary OS ISO file 403 to the memory for operation.
The DHCP server 404: for allocating a network protocol IP address to the server node 101 after the server node 101 runs the temporary OS.
It should be noted that, in the embodiment of the present application, when the network cable connection checking apparatus 200 checks the network cable connection of the basic hardware device, the basic hardware device has already completed the necessary initial configuration (for example, VLAN partition, TOR switch 102 enables LLDP protocol, etc.), and the network cable connection checking apparatus 200 is connected to the network between the node device to be checked (for example, server node 101). Illustratively, the network cable connection checking device 200 may be connected to the commissioning port of the EOR103 or TOR switch 102, such that the network cable connection checking device 200 is switchably reachable with the server node 101 at L2.
It is understood that fig. 2 is merely exemplary, and in practice, the network cable connection checking device 200 may include more or fewer components than those shown in fig. 2. The structure shown in fig. 2 does not set any limit to the network cable connection checking apparatus provided in the embodiment of the present application.
In order to solve the problems of large workload, low efficiency, high possibility of errors and the like of network cable detection in the prior art when the network scale is large, the embodiment of the application provides a network cable connection detection method, the method automatically collects cable connection information between each server node and opposite terminal network equipment, the efficiency is high, and meanwhile, the reliability and the accuracy of the network cable connection detection are improved.
As shown in fig. 5, a network cable connection checking method provided for an embodiment of the present application is applied to the network cable connection checking apparatus 200 shown in any one of fig. 2 to fig. 4, the network cable connection checking apparatus 200 is in network communication with a plurality of node devices to be checked, the network cable checking apparatus 200 is configured to allocate a network protocol IP address to each node device to be checked, and provide a temporary operating system OS kernel and a temporary OS initrd file system for the node device to be checked when the node device to be checked is started. The network cable connection checking method includes steps S501 to S508.
S501, the network cable connection checking device obtains network planning design information of the node equipment to be checked.
The network planning design information includes design connection information of a cable of the node device to be inspected, a BMC IP of the node device to be inspected, login verification information of the BMC of the node device to be inspected, and the like. For example, the network planning and designing information may be network Level Design (LLD) information.
For example, the network planning and designing information in step S501 may be the network planning and designing information imported into the network cable connection checking apparatus 200 through the interface 204. The network planning design information may be formatted data such as an excel table, xml, Json, or the like, and the network cable connection inspection apparatus 200 may acquire the design connection information of the cable of the node device to be inspected, the BMC IP of the node device to be inspected, and the login verification information of the BMC of the node device to be inspected by analyzing the formatted data.
For example, the design connection information of the cable of the node device to be checked may include a Media Access Control (MAC) address or a device Serial Number (SN) of the node device to be checked, a MAC address (or a device Serial Number (SN)) of a link-to-end network device of the node device to be checked, a connection relationship between a port of the node device to be checked and a port of a link-to-end network device thereof, and the like.
S502, configuring a baseboard management controller BMC of the node equipment to be inspected by the network cable connection inspection device, and starting the node equipment to be inspected.
For example, taking the node device to be checked as a server node, the BMC of the server node is used for remotely controlling the server node. For example, when the server node is not powered on, the power-on and power-off of the server node and the operation of a configuration starting mode and the like can be realized by configuring the BMC of the server node.
For example, the configuring the BMC of the node device to be inspected in step S502 includes: and logging in the BMC of the node equipment to be checked according to the BMC IP of the node equipment to be checked and the login verification information of the BMC, and configuring the BMC of the node equipment to be checked. For example, after the network cable connection checking apparatus 200 logs in the BMC of the server node 101, the server node 101 is controlled to be powered on, and the server node 101 is configured to start up in the PXE mode or the optical disc ISO mode.
S503, the node device to be checked acquires the temporary OS kernel and the temporary OS initrd file system.
In one implementation, the node device to be checked (server node 101) starts in a PXE mode, and the step S503 may include: the server node 101 obtains the temporary OS and the temporary OS initrd file system from the automated inspection system 205.
In this implementation, the server node 101 may load the boot file to the memory through the network, and the boot process is a chained boot process. For example, the process of starting the server node 101 in the PXE mode may include: when the server node 101 is started up in the PXE mode, a DHCP broadcast packet is sent to search for a DHCP server, and after acquiring the broadcast packet, the DHCP server 305 in the automatic inspection system 205 sends a response packet to the server node 101, where the response packet includes an IP address allocated to the server node 101, an IP address of a TFTP server, and a file name. The server node 101 parses the IP address of the TFTP server, downloads a boot load file according to the IP address and the file name of the TFTP server, and loads the boot load file to the memory of the server node 101. The server node 101 executes the boot loader file to acquire the temporary OS kernel file 303 and the temporary OS initrd file system 304 from the HTTP server 307.
In another implementation, the node device to be checked (server node 101) is started in the optical disc ISO mode, and the step S503 includes: the BMC of the node device to be inspected remotely mounts the temporary OS ISO file in the automatic inspection system 205, acquires the temporary OS and the temporary OS initrd file from the temporary OS ISO file, and starts to load the temporary OS and the temporary OS initrd file to the memory for operation.
It can be understood that, compared with the PXE mode, when the optical disc is started, the network connection between the network cable connection checking apparatus 200 and the server node 101 can be reached by L3 (layer 3) exchange, which is more applicable than the PXE mode, and meanwhile, the automatic checking system 205 in the network cable connection checking apparatus 200 only needs to embed the DHCP server, and does not need to provide a PXE starting environment.
And S504, loading the temporary OS kernel and the temporary OS initrd file system by the node equipment to be checked.
Illustratively, the node device to be checked loads the temporary OS kernel and the temporary OS initrd file system obtained from the automated checking system 205 into the memory to run the temporary OS.
And S505, the node equipment to be checked acquires the IP address.
For example, after the server node runs the temporary OS, the IP address of the server node 101 may be obtained from a DHCP server (DHCP server 305 or DHCP server 404) in the automated inspection system 205 based on a DHCP protocol.
Optionally, after the DHCP server allocates an IP address to the node device to be checked, the automatic checking system 205 may obtain a mapping relationship between the MAC address (or the device serial number SN) and the IP address of the node device to be checked. Because the node device to be checked corresponding to the MAC address (or device serial number SN) is unique, the physical location of the node device to be checked corresponding to the IP address can be known through the mapping relationship between the MAC address (or device serial number SN) and the IP address.
S506, the node device to be detected runs a link layer discovery protocol LLDP based on the temporary OS, and actual connection information of a cable of the node device to be detected is acquired.
The actual connection information of the cable of the node device to be inspected refers to actual connection information of the cable between the network device connected with the node device to be inspected and the node device to be inspected. For example, as shown in fig. 1, the actual connection information of the cable of the node device to be inspected may be the actual connection information of the cable 104 between the server node 101 and the TOR switch 102.
For example, the actual connection information of the cable of the node device to be checked may include a MAC address (or a device serial number SN) of the node device to be checked (server node 101), a MAC address (or a device serial number SN) of a link-to-end network device (TOR switch 102) of the node device to be checked, an actual connection relationship between a port of the node device to be checked and a port of a link-to-end network device thereof, and the like.
Illustratively, the LLDP protocol is a proximity discovery protocol, which is a layer two discovery protocol defined in IEEE 802.1ab and defines a standard method for ethernet network devices, such as switches, routers, and wlan access points, to advertise their presence to other nodes in the network and to maintain discovery information for each proximity device.
Illustratively, as shown in fig. 1, the node device to be checked is a server node 101, the network device at the link opposite end of the server node 101 is a TOR switch 102, and the TOR switch 102 has completed the necessary initial configuration (starting the LLDP protocol), so that after the server node 101 runs the LLDP protocol based on the temporary OS, the server node 101 exchanges information based on the LLDP protocol run by the server node 101 and the TOR switch 102, and collects actual connection information of the cable of the server node 101.
And S507, the network cable connection checking device acquires the actual connection information of the cable of the node equipment to be checked from the node equipment to be checked according to the IP address of the node equipment to be checked.
Illustratively, the network cable connection checking apparatus 200 obtains, from the node device to be checked, actual connection information of a cable of the node device to be checked corresponding to the IP address, based on the IP address of the node device to be checked.
For example, the acquiring of the actual connection information of the cable of the node device to be inspected from the node device to be inspected in step S506 may include: and acquiring the actual connection information of the cable of the node equipment to be checked from the interface opened by the temporary OS operated by the node equipment to be checked. For example, the Interface opened by the temporary OS run by the node device to be checked may be an Application Program Interface (API), where the API is a call Interface opened by an Application Program run by the operating system to other external Application programs, and the external Application Program may make the operating system and the Application Program running thereon execute corresponding commands by calling the API.
It can be understood that, the network cable connection checking apparatus 200 may obtain, according to the actual connection information corresponding to the IP address of the node device to be checked, the actual connection information of the cable of the node device to be checked corresponding to the MAC address (or the device serial number SN) by combining the mapping relationship between the IP address of the node device to be checked and the MAC address (or the device serial number SN), that is, may obtain the actual connection relationship of the cable between the node device to be checked at a certain physical location corresponding to the MAC address (or the device serial number SN) and the link-to-end network thereof.
S508, the network cable connection checking device compares the designed connection information with the actual connection information to determine error connection information.
The design connection information is design connection information of a cable of the node device to be inspected.
Illustratively, if the node device to be inspected includes a plurality of network ports and is connected to the link-peer network device through the plurality of network ports, that is, the node device to be inspected is connected to the link-peer network device through a plurality of cables, it may be determined whether the cable connection on each network port of each node device to be inspected is correct by comparing the design connection information and the actual connection information of the cable on each network port of each node device to be inspected. For example, the network cable connection checking device 200 may compare the designed connection information of the cable of each portal of the server node 101 with the actually detected actual connection information, determine whether the designed connection information and the actual connection information of the cable of each portal of the server node 101 are consistent, and if the designed connection information and the actual connection information of the cable of each portal of all the server nodes 101 in the network are completely consistent, determine that the actual cable connection information is accurate; and if the designed connection information of the cable of at least one network port of at least one server node 101 is inconsistent with the actual connection information, determining that the actual cable is connected incorrectly, and outputting incorrect connection information.
Optionally, when the wrong cable connection information is output, the design connection information (correct connection information) corresponding to the wrong cable connection information may also be output, so that an engineer can adjust the correct cable connection relationship in time to ensure that the actual connection relationship of the cable of the node device to be checked is consistent with the design connection relationship.
According to the network cable connection checking method provided by the embodiment of the application, the node equipment to be checked is remotely started in a PXE mode or an optical disk ISO mode through configuration; loading a temporary OS from an automatic inspection system in the starting process of the node equipment to be inspected, running an LLDP protocol based on the temporary OS, and acquiring the actual connection information of a cable of the node equipment to be inspected; and comparing the actual connection information acquired from the node equipment to be inspected with the design connection information to determine the detection result of the network cable connection. According to the scheme, the temporary OS can be remotely loaded on the node equipment to be inspected in a plurality of modes under the scene with large-scale network equipment, the actual cable connection information can be collected through the LLDP protocol, manual intervention is not needed, the efficiency of network cable connection inspection is greatly improved, and the reliability and accuracy of manual inspection in the prior art are higher.
The above description has mainly introduced the scheme provided in the embodiments of the present application from the perspective of method steps. It will be appreciated that the computer, in order to carry out the above-described functions, may comprise corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present application is capable of implementing the exemplary modules and algorithm steps described in connection with the embodiments disclosed herein in a combination of hardware and computer software. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, functional modules may be divided according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 6 shows a schematic diagram of a possible structure of the network cable connection check device according to the above embodiment, and the network cable connection check device 600 includes: an acquisition unit 601 and a processing unit 602. The acquisition unit 601 may be configured to support the network cable connection checking apparatus 600 to perform steps S501 and S507 in fig. 5; the processing unit 602 may be used to support the network cable connection checking apparatus 600 to perform steps S502 and S508 in fig. 5. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the case of adopting a functional module divided for each function, fig. 7 shows a possible structural diagram of the node device to be inspected related to the above embodiment, and the node device to be inspected 700 includes: an acquisition unit 701 and a processing unit 702. The acquisition unit 701 may be configured to support the node apparatus to be inspected 700 to perform steps S503 and S505 in fig. 5; the processing unit 702 may be adapted to support the node device 700 to be examined to perform steps S504 and S506 in fig. 5. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the case of an integrated unit, fig. 8 shows a schematic diagram of a possible configuration of the network cable connection checking apparatus 800 involved in the above-described embodiment. The network cable connection checking device 800 includes: a processor 801 for controlling and managing actions of the network cable connection check device 800, for example, the processor 801 is for supporting the network cable connection check device 800 to perform S501-S502, S507-S508 in FIG. 5, and/or other processes for the techniques described herein. The processor 801 may be the processor 201 described in any of fig. 2-4. Optionally, the network cable connection checking apparatus 800 may further include a memory 802, where the memory 802 is used to store program codes and data corresponding to the network cable connection checking apparatus 800 executing any one of the network cable connection checking methods provided above. The memory 802 may correspond to the memory 202 described in any of fig. 2-4. The network cable connection checking device 800 may be the network cable connection checking device 200 shown in any one of fig. 2 to 4, and the description of all relevant contents of the above-mentioned components related to fig. 2 may be referred to the functional description of the corresponding components in fig. 8, and will not be described herein again. In another implementation, the structure of the network cable connection checking apparatus according to the foregoing embodiment may further include a processor and an interface, where the processor is in communication with the interface, and the processor is configured to execute the embodiment of the present invention. The processor may be at least one of a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Microcontroller (MCU), or a microprocessor.
The present invention also provides an apparatus in the form of at least one chip, such as a chip set, the apparatus includes a processor and a corresponding interface circuit, the processor can receive user operations through the interface circuit, and optionally, the apparatus can further include a memory, the memory is coupled to the processor and stores necessary program instructions and data of the apparatus, and the processor is configured to execute the program instructions stored in the memory, so that the apparatus performs the functions of the network cable connection checking apparatus in the above method. Alternatively, the memory may be a storage module in the chip, such as a register, a cache, and the like, and the storage module may also be a storage module located outside the chip, such as a ROM or other types of static storage devices that can store static information and instructions, a RAM, and the like.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in Random Access Memory (RAM), flash Memory, Erasable Programmable read-only Memory (EPROM), Electrically Erasable Programmable read-only Memory (EEPROM), registers, a hard disk, a removable disk, a compact disc read-only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a core network interface device. Of course, the processor and the storage medium may reside as discrete components in a core network interface device.
Those skilled in the art will recognize that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present application are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present application, and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present application should be included in the scope of the present application.

Claims (19)

1. A network cable connection checking method is applied to a network cable connection checking device, the network cable connection checking device is connected with a plurality of networks between server equipment to be checked, the network cable connection checking device is used for distributing a network protocol IP address for each server equipment to be checked and providing a temporary Operating System (OS) kernel and a temporary OSinitrd file system for the server equipment to be checked when the server equipment to be checked is started, and the method comprises the following steps:
configuring a Baseboard Management Controller (BMC) of the server equipment to be inspected for starting the server equipment to be inspected;
acquiring actual connection information of a cable of the server equipment to be inspected from the server equipment to be inspected according to the IP address of the server equipment to be inspected;
comparing the design connection information with the actual connection information to determine error connection information; the design connection information includes design connection information of a cable of the server device to be inspected.
2. The method of claim 1, wherein the configuring the baseboard management controller, BMC, of the server device to be inspected comprises:
and configuring a baseboard management controller BMC of the server device to be checked to start in a pre-boot execution environment PXE mode or in an optical disk ISO mode.
3. The method according to claim 1 or 2, characterized in that before configuring the baseboard management controller, BMC, of the server device to be inspected, the method further comprises:
acquiring network planning design information of the server equipment to be inspected; the network planning and designing information comprises design connection information of a cable of the server equipment to be checked, a BMC IP and login verification information of the BMC;
correspondingly, the configuring the BMC of the server device to be inspected includes: logging in the BMC of the server equipment to be checked according to the BMC IP and the login verification information, and configuring the BMC of the server equipment to be checked.
4. The method according to any of claims 1-2, wherein said obtaining actual connection information of the cable of the server device to be inspected from the server device to be inspected comprises:
and acquiring the actual connection information of the cable of the server equipment to be checked from the open interface of the temporary OS operated by the server equipment to be checked.
5. A network cable connection checking method is applied to a server device to be checked, the server device to be checked is communicated with a network of a network cable connection checking device, the network cable connection checking device is used for distributing a network protocol IP address for the server device to be checked and providing a temporary Operating System (OS) kernel and a temporary OSinitrd file system for the server device to be checked when the server device to be checked is started, and the method comprises the following steps:
the server equipment to be checked acquires the temporary OS kernel and the temporary OS initrd file system;
the server equipment to be checked loads the temporary OS kernel and the temporary OS initrd file system, and starts a temporary OS;
the server equipment to be checked acquires a network protocol IP address;
and acquiring the actual connection information of the cable of the server device to be inspected based on the temporary OS running link layer discovery protocol LLDP.
6. The method according to claim 5, wherein the obtaining of the temporary OS kernel and the temporary OSinitrd file system by the server device to be checked comprises:
and the server equipment to be checked is started in a pre-starting execution environment PXE mode or an optical disc ISO mode, and the temporary OS kernel and the temporary OSInitrd file system are obtained.
7. The utility model provides a network cable connection inspection device, its characterized in that, network connection between network cable connection inspection device and a plurality of server equipment that await the inspection, network cable connection inspection device is used for every server equipment that awaits the inspection distribution network protocol IP address, and when the server equipment that awaits the inspection starts, for the server equipment that awaits the inspection provides interim operating system OS kernel and interim OS initrd file system, network cable connection inspection device includes:
the processing unit is used for configuring a Baseboard Management Controller (BMC) of the server equipment to be inspected so as to start the server equipment to be inspected;
the acquisition unit is used for acquiring the actual connection information of the cable of the server equipment to be inspected from the server equipment to be inspected according to the IP address of the server equipment to be inspected;
the processing unit is further configured to compare the design connection information with the actual connection information, and determine error connection information; the design connection information is the design connection information of the cable of the server device to be checked.
8. The apparatus according to claim 7, wherein the processing unit is specifically configured to configure a BMC of the server device to be inspected to boot in a pre-boot execution environment PXE manner or in a compact disc ISO manner.
9. The apparatus according to claim 7 or 8,
the acquisition unit is further configured to acquire network planning design information of the server device to be inspected; the network planning and designing information comprises design connection information of a cable of the server equipment to be checked, a BMC IP and login verification information of the BMC;
the processing unit is specifically configured to log in the BMC of the server device to be checked according to the BMC IP and the login verification information, and configure the BMC of the server device to be checked.
10. The apparatus according to any one of claims 7 to 8,
the obtaining unit is specifically configured to obtain actual connection information of a cable of the server device to be checked from an open interface of the temporary OS in which the server device to be checked operates.
11. The utility model provides a server equipment to be inspected, its characterized in that, the server equipment to be inspected communicates with the network that the inspection device was connected to the network cable, the inspection device is connected to the network cable be used for the server equipment to be inspected distributes network protocol IP address, and when the server equipment to be inspected starts, for the server equipment to be inspected provides interim operating system OS kernel and interim OSInitrd file system, the server equipment to be inspected includes:
an obtaining unit, configured to obtain the temporary OS kernel and the temporary osiritd file system;
the processing unit is used for loading the temporary OS kernel and the temporary OSInitrd file system and starting a temporary OS;
the acquiring unit is further configured to acquire a network protocol IP address;
the processing unit is further configured to acquire actual connection information of the cable of the server device to be inspected based on the temporary OS running link layer discovery protocol LLDP.
12. The server apparatus to be inspected according to claim 11, wherein the obtaining unit is specifically configured to start in a pre-boot execution environment PXE manner or an optical disc ISO manner, and obtain the temporary OS kernel and the temporary osirtd file system.
13. A network cable connection checking apparatus, wherein the network cable connection checking apparatus is in network communication with a plurality of server devices to be checked, the network cable connection checking apparatus includes a processor, a memory, and an automated checking system running on the processor, the memory being used for storing a temporary Operating System (OS) kernel and a temporary OSinitrd file system, the automated checking system comprising: the system comprises a server control module, an information analysis and comparison module and a DHCP server module;
the server control module is used for configuring a Baseboard Management Controller (BMC) of the server equipment to be inspected so as to start the server equipment to be inspected;
the DHCP server module is used for distributing a network protocol IP address for the server equipment to be checked;
the information analysis and comparison module is used for acquiring the actual connection information of the cable of the server equipment to be inspected from the server equipment to be inspected according to the IP address of the server equipment to be inspected;
the information analysis and comparison module is also used for comparing the design connection information with the actual connection information to determine error connection information; the design connection information is the design connection information of the cable of the server device to be checked.
14. The apparatus according to claim 13, wherein the server control module is specifically configured to configure a BMC of the server device to be inspected to boot in a pre-boot execution environment PXE manner or in a compact disc ISO manner.
15. The apparatus of claim 13 or 14,
the information analysis and comparison module is also used for acquiring the network planning design information of the server equipment to be inspected; the network planning and designing information comprises design connection information of a cable of the server equipment to be checked, a BMC IP and login verification information of the BMC;
the server control module is specifically configured to log in the BMC of the server device to be checked according to the BMC IP and the login verification information, and configure the BMC of the server device to be checked.
16. The apparatus according to any one of claims 13-14,
the information analyzing and comparing module is specifically used for acquiring actual connection information of a cable of the server equipment to be checked from an open interface of the temporary OS in which the server equipment to be checked operates.
17. The utility model provides a server equipment to be inspected, its characterized in that, the server equipment to be inspected communicates with the network that the inspection device was connected to the network cable, the inspection device is connected to the network cable be used for the server equipment to be inspected distributes network protocol IP address, and when the server equipment to be inspected starts, for the server equipment to be inspected provides interim operating system OS kernel and interim OSInitrd file system, the server equipment to be inspected includes: a processor for processing the received data, wherein the processor is used for processing the received data,
the processor is configured to:
acquiring the temporary OS kernel and the temporary OSinitrd file system;
loading the temporary OS kernel and the temporary OSInitrd file system, and starting a temporary OS;
acquiring a network protocol IP address;
and acquiring the actual connection information of the cable of the server device to be inspected based on the temporary OS running link layer discovery protocol LLDP.
18. The server device to be inspected according to claim 17, wherein the processor is specifically configured to start in a pre-boot execution environment PXE manner or an optical disc ISO manner, and obtain the temporary OS kernel and the temporary osirtd file system.
19. A computer storage medium having computer program code stored therein, which when run on a processor causes the processor to perform a network cable connection checking method according to any one of claims 1-6.
CN201910152203.5A 2019-02-28 2019-02-28 Network cable connection checking method and device Active CN109951325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910152203.5A CN109951325B (en) 2019-02-28 2019-02-28 Network cable connection checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152203.5A CN109951325B (en) 2019-02-28 2019-02-28 Network cable connection checking method and device

Publications (2)

Publication Number Publication Date
CN109951325A CN109951325A (en) 2019-06-28
CN109951325B true CN109951325B (en) 2020-11-27

Family

ID=67008224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152203.5A Active CN109951325B (en) 2019-02-28 2019-02-28 Network cable connection checking method and device

Country Status (1)

Country Link
CN (1) CN109951325B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110752946B (en) * 2019-10-16 2021-10-29 苏州浪潮智能科技有限公司 Method, system and device for recovering BMC (baseboard management controller) network
CN111245681A (en) * 2020-01-10 2020-06-05 华云数据有限公司 Method for obtaining interconnection information of server ports
CN111698343B (en) * 2020-04-30 2022-07-12 新华三技术有限公司 PXE equipment positioning method and device
CN111740877B (en) 2020-05-29 2021-08-10 苏州浪潮智能科技有限公司 Link detection method and system
CN114268536B (en) * 2020-09-16 2024-01-05 中盈优创资讯科技有限公司 Method and device for describing equipment port in full-automatic standard telecommunication network
CN112272112A (en) * 2020-10-22 2021-01-26 浪潮商用机器有限公司 Automatic testing method and system for network configuration of BMC (baseboard management controller) management interface
CN113645067A (en) * 2021-08-03 2021-11-12 加弘科技咨询(上海)有限公司 Network management system and method of multi-node substrate management controller
CN113849354A (en) * 2021-08-26 2021-12-28 中兴通讯股份有限公司 Connection checking method, connection checking device, server and storage medium
CN115185759B (en) * 2022-09-05 2023-09-29 平安银行股份有限公司 Method, device and system for checking server wiring based on LLDP
CN117075817A (en) * 2023-08-31 2023-11-17 上海合芯数字科技有限公司 Data center virtualized storage optimization method, system, equipment and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345655A (en) * 2008-08-15 2009-01-14 中兴通讯股份有限公司 Method for discovering protocol and acquiring network connection information by utilization of link layer
CN101369933A (en) * 2008-09-26 2009-02-18 中兴通讯股份有限公司 Automatic test method and system
CN102468992A (en) * 2010-11-16 2012-05-23 鸿富锦精密工业(深圳)有限公司 PXE function test system and method
CN105450432A (en) * 2014-07-31 2016-03-30 华为技术有限公司 Method for positioning port connection error and associated equipment
US10536535B2 (en) * 2016-12-01 2020-01-14 Hongfujin Precision Electronics(Tianjin)Co.,Ltd. Management system for internet protocol address of baseboard management controller, management terminal, and management method
CN108173701B (en) * 2018-02-11 2020-12-08 国电南瑞科技股份有限公司 Intelligent substation network parameter configuration verification method
CN108989123A (en) * 2018-08-08 2018-12-11 郑州云海信息技术有限公司 A kind of server configuration method and device

Also Published As

Publication number Publication date
CN109951325A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109951325B (en) Network cable connection checking method and device
US10986174B1 (en) Automatic discovery and configuration of server nodes
RU2759011C2 (en) AUTOMATIC INITIALIZATION OF IoT DEVICES
CN108509210B (en) System and method for automatically updating basic input output system
CN111756574B (en) Method, device and computer readable storage medium for remote batch updating firmware
US9619243B2 (en) Synchronous BMC configuration and operation within cluster of BMC
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
CN112866017B (en) Method, system, medium and device for configuring BMC IP address of bare metal server
JP6463814B2 (en) System and method for dynamically optimizing boot hardware frequency
US20120124242A1 (en) Server and method for testing pxe function of network interface card
CN110879712A (en) Cloud data center physical host installation method and related device
CN109587005A (en) Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN114070723A (en) Virtual network configuration method and system of bare metal server and intelligent network card
US10282346B1 (en) Scalable network device self-configuration in large networks
US11044148B2 (en) Optimistic and failsafe network configuration
US20230229481A1 (en) Provisioning dpu management operating systems
TW201828651A (en) System recovery using wol
CN106992885B (en) Method for identifying equipment in server system and server system
US20140229602A1 (en) Management of node membership in a distributed system
US11792152B1 (en) Automatic detection-based IP allocation
CN111277463B (en) Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC
US10904088B2 (en) Reconfiguring network settings for operating configuration installation
TW201328246A (en) Method and system for managing cloud server system
US11924293B2 (en) Network beacon for hypervisor installations
CN111061503A (en) Cluster system configuration method and cluster system

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
GR01 Patent grant
GR01 Patent grant