CN109756585B - Method and control device for identifying position of new network access equipment - Google Patents
Method and control device for identifying position of new network access equipment Download PDFInfo
- Publication number
- CN109756585B CN109756585B CN201711088017.7A CN201711088017A CN109756585B CN 109756585 B CN109756585 B CN 109756585B CN 201711088017 A CN201711088017 A CN 201711088017A CN 109756585 B CN109756585 B CN 109756585B
- Authority
- CN
- China
- Prior art keywords
- new network
- equipment
- network access
- serial number
- installation
- 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
Links
Images
Abstract
The disclosure discloses a method and a control device for identifying the position of new network access equipment, and relates to the technical field of information. The method comprises the steps of discovering a new network access device; a bottom plate management controller connected with the new network access equipment; acquiring an equipment serial number of new network access equipment through a bottom plate management controller; and acquiring the installation position information of the new network access equipment from the installation record information by using the equipment serial number of the new network access equipment. Therefore, the installation position information of the new network access equipment is obtained by using the equipment serial number of the new network access equipment, and the installation position information of the new network access equipment can be stably obtained under the condition that the IP address of the new network access equipment is dynamically changed.
Description
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a method and a control device for identifying a location of a new network access device.
Background
Intelligent Platform Management Interface (IPMI) is an open standard hardware Management Interface protocol that uses low-level hardware intelligence Management without using an operating system for device Management. The IPMI protocol can be used to discover the powered-on new network access device, and further, a Baseboard Management Controller (BMC) module obtains the control right of the new network access device to guide the installation work of the operating system of the new network access device. And the equipment installation engineer inputs the IP address and the installation position information of the newly-networked equipment into the system.
Disclosure of Invention
The inventor finds that, since the IP address of the new network access device is dynamically allocated using a Dynamic Host Configuration Protocol (DHCP), when the installation location information is obtained by using IP address matching of the new network access device, there is a case where the installation location information cannot be obtained due to a failure in matching.
One technical problem to be solved by the present disclosure is to stably acquire installation location information of a new network-accessing device.
According to an aspect of the present disclosure, a method for identifying a location of a new network access device is provided, including: discovering new network access equipment; a baseboard management controller connected with the new network access equipment; acquiring the equipment serial number of the new network access equipment through the bottom plate management controller; and acquiring the installation position information of the new network access equipment from the installation record information by using the equipment serial number of the new network access equipment.
Optionally, a new network access device is discovered in an IP scanning manner, and the new network access device acquires an IP address through a dynamic host configuration protocol.
Optionally, the backplane management controller obtains the control right of the new network access device, and obtains the device serial number of the new network access device through an IPMI protocol.
Optionally, the device serial number of the new network access device is obtained through an Ipmitool fru list command.
Optionally, the installation record information includes an equipment serial number and installation position information of the installation equipment; and searching the matched equipment serial number of the installation equipment from the installation record information by using the equipment serial number of the new network access equipment, and acquiring installation position information corresponding to the matched equipment serial number of the installation equipment as the installation position information of the new network access equipment.
According to another aspect of the present disclosure, a control apparatus for identifying a location of a new network access device is provided, including: the discovery module is used for discovering the new network access equipment; the connecting module is used for connecting the bottom plate management controller of the new network access equipment; a serial number obtaining module, configured to obtain, through the backplane management controller, an equipment serial number of the new network access equipment; and the position acquisition module is used for acquiring the installation position information of the new network access equipment from the installation record information by using the equipment serial number of the new network access equipment.
Optionally, the discovery module is configured to discover a new network access device in an IP scanning manner, where the new network access device obtains an IP address through a dynamic host configuration protocol.
Optionally, the serial number obtaining module is configured to obtain, through the baseboard management controller, a control right of the new network access device, and obtain, through an IPMI protocol, an equipment serial number of the new network access device.
Optionally, the serial number obtaining module is configured to obtain an equipment serial number of the new network access equipment through an Ipmitool fru list command.
Optionally, the location obtaining module is configured to search the matched device serial number of the installation device from the installation record information by using the device serial number of the new network access device, and obtain installation location information corresponding to the matched device serial number of the installation device as the installation location information of the new network access device.
The installation position information of the new network access equipment is acquired by using the equipment serial number of the new network access equipment, and the installation position information of the new network access equipment can be stably acquired under the condition that the IP address of the new network access equipment is dynamically changed.
Drawings
The drawings that will be used in the description of the embodiments or the related art will be briefly described below. The present disclosure will be more clearly understood from the following detailed description, which proceeds with reference to the accompanying drawings,
it is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without undue inventive faculty.
Fig. 1 is a flowchart illustrating an embodiment of a method for identifying a location of a new network access device according to the present disclosure.
Fig. 2 is a block diagram of an embodiment of a control apparatus for identifying a location of a new network access device according to the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure.
Fig. 1 is a flowchart illustrating an embodiment of a method for identifying a location of a new network access device according to the present disclosure. As shown in fig. 1, the method 10 of this embodiment is implemented based on IPMI, and includes:
and 110, installing the equipment by an equipment installation engineer on site, connecting the equipment to a network cable of a data center, powering on the equipment, and making installation records, wherein the installation record information at least comprises an equipment serial number and installation position information of a machine room, a rack and the like where the equipment is located.
Among other things, the device Serial Number (SN), often provided by the manufacturer, is a globally unique identification for the product. The equipment serial number can be generally checked from an equipment basic information label on the outer surface of the equipment without logging in the equipment, so that the installation and recording work list is simpler and more convenient.
The device in this embodiment may be, for example, a server.
If the new network-accessing device is powered on and restarted for some reason, the DHCP Server will select the available IP address again to be re-allocated to the new network-accessing device, and the IP addresses allocated twice may be different.
As previously mentioned, IPMI is an open standard hardware management interface protocol that uses low-level hardware intelligence management without using an operating system for device management.
And step 160, the control device completes the installation work of the operating system of the newly-accessed network equipment under the coordination of the BMC.
The BMC is a remote management port, and allows a user to remotely manage a newly-networked device through a network regardless of the state (power-on, power-off, or restart) of the newly-networked device as long as the newly-networked device is connected to the network and the power is not turned off. The control device can display the display information of the new network access equipment locally, control and operate the new network access equipment by using a local keyboard and a local mouse, complete the setting of a Basic Input Output System (BIOS) and the configuration of a disk array (RAID) at the bottom layer, map and load a local optical disk mirror image and a local folder into the new network access equipment as a virtual optical drive to carry out the bottom layer work such as the installation of an operating system, and carry out remote control and management after the installation of the operating system is completed.
In step 170, the control apparatus obtains the device serial number of the newly networked device through the IPMI protocol, for example, under the coordination of BMC, the device serial number of the newly networked device is obtained through the "Ipmitool fru list" command.
And step 180, acquiring the installation position information of the new network access equipment from the installation record information by using the equipment serial number of the new network access equipment, and further updating the acquired installation position information and the equipment serial number of the new network access equipment to the resource management information.
In one embodiment, the equipment serial number of the matched installation equipment is searched from the installation record information by using the equipment serial number of the new network access equipment, and the installation position information corresponding to the equipment serial number of the matched installation equipment is obtained from the installation record information and is used as the installation position information of the new network access equipment.
The method of the embodiment can acquire the installation position information of the new network access equipment by using the equipment serial number of the new network access equipment, and can stably acquire the installation position information of the new network access equipment under the condition that the IP address of the new network access equipment dynamically changes. In addition, the compatibility is good, the IPMI protocol and the BMC do not need to be modified, and the matching rule of the position identification only needs to be modified.
Fig. 2 is a block diagram of an embodiment of a control apparatus for identifying a location of a new network access device according to the present disclosure. As shown in fig. 2, the control device 20 of this embodiment includes:
a discovery module 210, configured to discover a new network-accessing device;
a connection module 220, configured to connect a baseboard management controller of the new network access device;
a serial number obtaining module 230, configured to obtain an equipment serial number of the new network access equipment through the baseboard management controller;
and a location obtaining module 240, configured to obtain, from the installation record information, installation location information of the new network access device by using the device serial number of the new network access device.
The discovery module 210 is configured to discover a new network access device in an IP scanning manner, where the new network access device obtains an IP address through a dynamic host configuration protocol.
The serial number obtaining module 230 is configured to obtain a control right of the new network access device through the backplane management controller, and obtain an equipment serial number of the new network access device through an intelligent platform management interface IPMI protocol.
The serial number obtaining module 230 is configured to obtain an equipment serial number of the new network access equipment through an Ipmitool fru list command.
The location obtaining module 240 is configured to find the matched device serial number of the installation device from the installation record information by using the device serial number of the new network access device, and obtain installation location information corresponding to the matched device serial number of the installation device as installation location information of the new network access device.
The control apparatus of this embodiment acquires the installation location information of the newly networked device using the device serial number of the newly networked device, and can stably acquire the installation location information of the newly networked device even when the IP address of the newly networked device dynamically changes. In addition, the compatibility is good, the IPMI protocol and the BMC do not need to be modified, and the matching rule of the position identification only needs to be modified. The equipment serial number can be generally checked from an equipment basic information label on the outer surface of the equipment without logging in the equipment, so that the installation and recording work list is simpler and more convenient.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (8)
1. A method for identifying the position of a new network access device comprises the following steps:
discovering new network access equipment, wherein the new network access equipment acquires an IP address through a dynamic host configuration protocol;
a baseboard management controller connected with the new network access equipment;
acquiring an equipment serial number with a unique identification function of the new network access equipment through the bottom plate management controller;
and acquiring the installation position information of the new network access equipment from installation record information by using the equipment serial number of the new network access equipment, wherein the installation record information comprises the equipment serial number and the installation position information of the installation equipment, searching the matched equipment serial number of the installation equipment from the installation record information by using the equipment serial number of the new network access equipment, and acquiring the installation position information corresponding to the matched equipment serial number of the installation equipment as the installation position information of the new network access equipment.
2. The method of claim 1, wherein the new network-accessing device is discovered by means of IP scanning.
3. The method of claim 1, wherein the control right of the new network-connected device is obtained through the baseboard management controller, and the device serial number of the new network-connected device is obtained through an Intelligent Platform Management Interface (IPMI) protocol.
4. The method of claim 3, wherein the device serial number of the new network-entering device is obtained through an Ipomitool fru list command.
5. A control apparatus for identifying a location of a new network-accessing device, comprising:
the device comprises a discovery module, a network access module and a management module, wherein the discovery module is used for discovering new network access equipment which acquires an IP address through a dynamic host configuration protocol;
the connecting module is used for connecting the bottom plate management controller of the new network access equipment;
a serial number obtaining module, configured to obtain, through the baseboard management controller, an equipment serial number of the new network access equipment, where the equipment serial number has a unique identification function;
and the position acquisition module is used for acquiring the installation position information of the new network access equipment from installation record information by using the equipment serial number of the new network access equipment, wherein the installation record information comprises the equipment serial number and the installation position information of the installation equipment, searching the matched equipment serial number of the installation equipment from the installation record information by using the equipment serial number of the new network access equipment, and acquiring the installation position information corresponding to the matched equipment serial number of the installation equipment as the installation position information of the new network access equipment.
6. The control apparatus according to claim 5, wherein the discovery module is configured to discover the new network-accessing device through an IP scanning manner.
7. The control apparatus according to claim 5, wherein the serial number obtaining module is configured to obtain the control right of the new network-accessing device through the baseboard management controller, and obtain the device serial number of the new network-accessing device through an intelligent platform management interface IPMI protocol.
8. The control apparatus of claim 5, wherein the serial number obtaining module is configured to obtain the device serial number of the new network-entering device through an Ipomitool fru list command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711088017.7A CN109756585B (en) | 2017-11-08 | 2017-11-08 | Method and control device for identifying position of new network access equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711088017.7A CN109756585B (en) | 2017-11-08 | 2017-11-08 | Method and control device for identifying position of new network access equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109756585A CN109756585A (en) | 2019-05-14 |
CN109756585B true CN109756585B (en) | 2022-02-22 |
Family
ID=66400831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711088017.7A Active CN109756585B (en) | 2017-11-08 | 2017-11-08 | Method and control device for identifying position of new network access equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109756585B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030980A (en) * | 2007-04-05 | 2007-09-05 | 中兴通讯股份有限公司 | Wide-band terminal identifier based on Ethernet and its identifying method |
CN102467935A (en) * | 2010-11-04 | 2012-05-23 | 鸿富锦精密工业(深圳)有限公司 | Magnetic disk positioning system and method |
CN104391779A (en) * | 2014-11-26 | 2015-03-04 | 浪潮电子信息产业股份有限公司 | System for automatically identifying physical location of equipment in asset operation and maintenance process |
CN106992903A (en) * | 2017-03-30 | 2017-07-28 | 国网福建省电力有限公司 | A kind of data collecting system and method based on the network equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102313506B (en) * | 2010-07-09 | 2013-12-25 | 联想(北京)有限公司 | Method for detecting physical position of equipment, cabinet and equipment |
JP2012147072A (en) * | 2011-01-07 | 2012-08-02 | Nec Corp | Computer device installed position detection method and local area network and computer device |
CN103516817A (en) * | 2012-06-20 | 2014-01-15 | 鸿富锦精密工业(深圳)有限公司 | Server positioning method and system |
-
2017
- 2017-11-08 CN CN201711088017.7A patent/CN109756585B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030980A (en) * | 2007-04-05 | 2007-09-05 | 中兴通讯股份有限公司 | Wide-band terminal identifier based on Ethernet and its identifying method |
CN102467935A (en) * | 2010-11-04 | 2012-05-23 | 鸿富锦精密工业(深圳)有限公司 | Magnetic disk positioning system and method |
CN104391779A (en) * | 2014-11-26 | 2015-03-04 | 浪潮电子信息产业股份有限公司 | System for automatically identifying physical location of equipment in asset operation and maintenance process |
CN106992903A (en) * | 2017-03-30 | 2017-07-28 | 国网福建省电力有限公司 | A kind of data collecting system and method based on the network equipment |
Non-Patent Citations (1)
Title |
---|
单总线数字温度传感器的自动识别技术;罗文广;《电子产品世界》;20020825(第16期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109756585A (en) | 2019-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111782232A (en) | Cluster deployment method and device, terminal equipment and storage medium | |
US10044795B2 (en) | Methods and apparatus for rack deployments for virtual computing environments | |
US9465625B2 (en) | Provisioning of operating environments on a server in a networked environment | |
US8023434B2 (en) | Arrangements for auto-merging and auto-partitioning processing components | |
US7013462B2 (en) | Method to map an inventory management system to a configuration management system | |
US10333785B2 (en) | Server information handling system configuration by peer-to-peer networking | |
US20070118654A1 (en) | Method and apparatus for provisioning heterogeneous operating systems onto heterogeneous hardware systems | |
US10917291B2 (en) | RAID configuration | |
US11249788B2 (en) | Cloud management platform, and virtual machine management method and system | |
US20120272226A1 (en) | Control panel and firmware updating method | |
TW201344580A (en) | Firmware update management system and firmware update management method | |
CN109587005B (en) | Connection detection method and device, computer equipment and readable storage medium | |
US20090063662A1 (en) | Arrangements for Auto-Merging Processing Components | |
CN109240754B (en) | Logic device, method and system for configuring BIOS starting item | |
CN109474443B (en) | Configuration method, device and system of newly added server and communication equipment | |
CN104360878A (en) | Method and device for deploying application software | |
JP2010147553A (en) | Information management device, and identification information collecting method and program | |
US20090031012A1 (en) | Automated cluster node configuration | |
US20210328874A1 (en) | Compute node discovery mechanism | |
JP2015148861A (en) | Information processing system and program management method | |
CN109756585B (en) | Method and control device for identifying position of new network access equipment | |
CN115333933B (en) | Automatic management method, medium and equipment for servers on machine room | |
US7284120B2 (en) | Method and system for allowing a system under test (SUT) to boot a plurality of operating systems without a need for local media | |
JP2007124568A (en) | Physical wiring control apparatus, physical wiring control method and physical wiring control program | |
CN111600751B (en) | Data center management method and 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 |