CN113254516A - Method for automatically inputting server information - Google Patents
Method for automatically inputting server information Download PDFInfo
- Publication number
- CN113254516A CN113254516A CN202110533527.0A CN202110533527A CN113254516A CN 113254516 A CN113254516 A CN 113254516A CN 202110533527 A CN202110533527 A CN 202110533527A CN 113254516 A CN113254516 A CN 113254516A
- Authority
- CN
- China
- Prior art keywords
- server
- information
- band
- matching
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 241001290266 Sciaenops ocellatus Species 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/254—Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a method for automatically inputting server information, which comprises the following steps: when the server is found to be accessed to the network, scanning an out-of-band address pool of the server; when the out-of-band IP address of the server is matched with the server out-of-band address pool, capturing equipment information of the server; judging whether the server exists or not through the equipment information; if the server already exists, discarding the device information of the server; and if the server does not exist, recording the equipment information of the server into a configuration management database. The method can find the server accessed to the network in time, acquire the equipment information of the server, and determine whether to input the equipment information of the server into the configuration management database according to the matching result of the equipment information of the server and the asset information in the configuration management database.
Description
Technical Field
The invention relates to the technical field of equipment management, in particular to a method for automatically inputting server information.
Background
The server is a device for providing computing services, and the server needs to respond to and process a corresponding service request, so generally, the server should have the capability of undertaking and guaranteeing the services.
In the prior art, when a new server is installed on a shelf, a form needs to be manually filled and information of new server equipment needs to be registered, and after the form information is filled, the form with the asset information of the new server needs to be manually imported into an asset system to complete the entry operation of the asset information.
The existing method for inputting the asset information of the new server is completely completed manually, and for the overhead arrangement of thousands of new server equipment, the manual statistics information is more, the time and the labor are consumed, the efficiency is low, the error is easy to occur, and the equipment information is unreliable; in addition, the existing mode can not find the information of the new server equipment connected with the network in the first time, and for a server equipment newly added in the machine room, especially under the condition that the personnel of the first party are not on site, the personnel of the machine room of the second party needs to provide the information of the equipment needed by the equipment to the first party in time, so that the input of the equipment information can be completed, and therefore, the existing mode can not complete the input of the equipment information timely and effectively, and the user experience is influenced.
Disclosure of Invention
In view of the above, the present invention provides a method for automatically inputting server information, so as to solve the problems in the prior art that a server information listing table needs to be manually made and manually imported into a configuration management database, which is time-consuming, labor-consuming, low in efficiency, and unreliable in statistical device information.
In order to achieve the purpose, the invention adopts the following technical scheme: a method for automatically inputting server information comprises the following steps:
when the server is found to be accessed to the network, scanning an out-of-band address pool of the server;
when the out-of-band IP address of the server is matched with the server out-of-band address pool, capturing equipment information of the server;
judging whether the server exists or not through the equipment information;
if the server already exists, discarding the device information of the server;
and if the server does not exist, recording the equipment information of the server into a configuration management database.
Optionally, the server device information includes at least one of:
model number of device, SN serial number, brand.
Optionally, the scanning the server out-of-band address pool includes:
the server out-of-band address pool is scanned by ipmitool, redfish or CLI tools.
Optionally, matching the out-of-band IP address of the server with the out-of-band address pool of the server includes:
and if the out-of-band IP address of the server is within the address range limited by the server out-of-band address pool, matching the out-of-band IP address of the server with the server out-of-band address pool.
Optionally, the determining, by the device information, whether the server already exists includes:
matching the equipment information with asset information in a configuration management database;
when the matching is successful, the server already exists; otherwise, the server does not exist.
Optionally, when the device information is an SN serial number of a device, the matching between the device information and asset information in a configuration management database includes:
searching whether the SN serial number is recorded in the configuration management database;
if the SN serial number is already recorded in the configuration management database, the matching is successful; otherwise, the matching fails.
By adopting the technical scheme, the method for automatically inputting the server information comprises the following steps: when the server is found to be accessed to the network, scanning an out-of-band address pool of the server; when the out-of-band IP address of the server is matched with the server out-of-band address pool, capturing equipment information of the server; judging whether the server exists or not through the equipment information; if the server already exists, discarding the device information of the server; and if the server does not exist, recording the equipment information of the server into a configuration management database. The method for automatically inputting the server information can find the server accessed to the network in time and acquire the equipment information of the server, thereby greatly improving the safety; the method and the device can improve the information entry efficiency of the server, have no artificial participation in the whole process, are beneficial to ensuring the accuracy of information entry and improve the energy efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart provided by a method for automatically inputting server information according to the present invention;
fig. 2 is a schematic diagram of a working principle provided by a method for automatically inputting server information according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a schematic flow chart provided by a method for automatically entering server information according to the present invention.
As shown in fig. 1, the method for automatically entering server information according to the present invention includes:
s11: when the server is found to be accessed to the network, scanning an out-of-band address pool of the server;
further, the scanning the server out-of-band address pool includes:
the server out-of-band address pool is scanned by ipmitool, redfish or CLI tools.
S12: when the out-of-band IP address of the server is matched with the server out-of-band address pool, capturing equipment information of the server;
further, the server device information includes at least one of:
model number of device, SN serial number, brand.
Further, the matching of the out-of-band IP address of the server with the out-of-band address pool of the server includes:
and if the out-of-band IP address of the server is within the address range limited by the server out-of-band address pool, matching the out-of-band IP address of the server with the server out-of-band address pool.
S13: judging whether the server exists or not through the equipment information;
further, the determining, by the device information, whether the server already exists includes:
matching the equipment information with asset information in a configuration management database;
when the matching is successful, the server already exists; otherwise, the server does not exist.
Further, when the device information is an SN serial number of a device, the matching between the device information and asset information in a configuration management database includes:
searching whether the SN serial number is recorded in the configuration management database;
if the SN serial number is already recorded in the configuration management database, the matching is successful; otherwise, the matching fails.
S14: if the server already exists, discarding the device information of the server;
s15: and if the server does not exist, recording the equipment information of the server into a configuration management database.
In practical application, the working principle of the method for automatically inputting the server information can be as shown in fig. 2, and the method comprises the following steps:
1. scanning the out-of-band address pool of the server by means of ipmitool/redfish/CLI and other tools;
2. and capturing device information of the matched out-of-band IP, wherein the device information comprises: the brand, model, SN number of the server device;
3. matching the captured SN number with CMDB (Configuration Management Database) asset information to judge whether the server equipment exists or not, and if so, automatically discarding the equipment information;
4. if the equipment information does not exist, the equipment information is captured and stored, the server equipment is judged to be a new server, and the equipment information is automatically recorded and stored in the CMDB.
The method for automatically inputting the server information can find the server accessed to the network in time and acquire the equipment information of the server, thereby greatly improving the safety; in practical application, when a server device is newly added in a machine room and a newly added server device is added into a network under the condition that a person on the first party is not on site, the CMDB can automatically complete the input of the information of the newly added server device by adopting the method of the invention, and the person on the second party is not required to provide the information of the server device to the first party, thereby reducing the delivery process, improving the working efficiency and ensuring the timely input of the information of the newly added server device.
The method and the device can improve the information entry efficiency of the server, have no artificial participation in the whole process, are beneficial to ensuring the accuracy of information entry and improve the energy efficiency.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (6)
1. A method for automatically inputting server information is characterized by comprising the following steps:
when the server is found to be accessed to the network, scanning an out-of-band address pool of the server;
when the out-of-band IP address of the server is matched with the server out-of-band address pool, capturing equipment information of the server;
judging whether the server exists or not through the equipment information;
if the server already exists, discarding the device information of the server;
and if the server does not exist, recording the equipment information of the server into a configuration management database.
2. The method of claim 1, wherein the server device information comprises at least one of:
model number of device, SN serial number, brand.
3. The method of claim 1, wherein the scanning the server out-of-band address pool comprises:
the server out-of-band address pool is scanned by ipmitool, redfish or CLI tools.
4. The method of claim 1, wherein matching the server's out-of-band IP address to a pool of server out-of-band addresses comprises:
and if the out-of-band IP address of the server is within the address range limited by the server out-of-band address pool, matching the out-of-band IP address of the server with the server out-of-band address pool.
5. The method according to any one of claims 2 to 4, wherein the determining whether the server already exists through the device information includes:
matching the equipment information with asset information in a configuration management database;
when the matching is successful, the server already exists; otherwise, the server does not exist.
6. The method of claim 5, wherein when the device information is an SN serial number of a device, the matching the device information with asset information in a configuration management database comprises:
searching whether the SN serial number is recorded in the configuration management database;
if the SN serial number is already recorded in the configuration management database, the matching is successful; otherwise, the matching fails.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110533527.0A CN113254516A (en) | 2021-05-17 | 2021-05-17 | Method for automatically inputting server information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110533527.0A CN113254516A (en) | 2021-05-17 | 2021-05-17 | Method for automatically inputting server information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113254516A true CN113254516A (en) | 2021-08-13 |
Family
ID=77182274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110533527.0A Pending CN113254516A (en) | 2021-05-17 | 2021-05-17 | Method for automatically inputting server information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113254516A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114050971A (en) * | 2021-11-09 | 2022-02-15 | 网易(杭州)网络有限公司 | Server configuration method, device, system, electronic equipment and storage medium |
CN114827245A (en) * | 2022-02-28 | 2022-07-29 | 新华三信息技术有限公司 | Equipment adding method, device, equipment and machine-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373899A (en) * | 2015-12-03 | 2016-03-02 | 广州云新信息技术有限公司 | Server asset management method and apparatus |
CN107798086A (en) * | 2017-10-19 | 2018-03-13 | 福建中金在线信息科技有限公司 | Server info update method, device, system and electronic equipment |
US20190104398A1 (en) * | 2017-10-02 | 2019-04-04 | Servicenow, Inc. | Improvements to operation of device and application discovery for a managed network |
CN110336684A (en) * | 2019-03-21 | 2019-10-15 | 北京天防安全科技有限公司 | A kind of networked asset intelligent identification Method and system |
CN112764874A (en) * | 2020-12-28 | 2021-05-07 | 中国人寿保险股份有限公司上海数据中心 | CMDB configuration management system-based virtual machine server information acquisition method |
-
2021
- 2021-05-17 CN CN202110533527.0A patent/CN113254516A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373899A (en) * | 2015-12-03 | 2016-03-02 | 广州云新信息技术有限公司 | Server asset management method and apparatus |
US20190104398A1 (en) * | 2017-10-02 | 2019-04-04 | Servicenow, Inc. | Improvements to operation of device and application discovery for a managed network |
CN107798086A (en) * | 2017-10-19 | 2018-03-13 | 福建中金在线信息科技有限公司 | Server info update method, device, system and electronic equipment |
CN110336684A (en) * | 2019-03-21 | 2019-10-15 | 北京天防安全科技有限公司 | A kind of networked asset intelligent identification Method and system |
CN112764874A (en) * | 2020-12-28 | 2021-05-07 | 中国人寿保险股份有限公司上海数据中心 | CMDB configuration management system-based virtual machine server information acquisition method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114050971A (en) * | 2021-11-09 | 2022-02-15 | 网易(杭州)网络有限公司 | Server configuration method, device, system, electronic equipment and storage medium |
CN114050971B (en) * | 2021-11-09 | 2024-02-02 | 网易(杭州)网络有限公司 | Server configuration method, device, system, electronic equipment and storage medium |
CN114827245A (en) * | 2022-02-28 | 2022-07-29 | 新华三信息技术有限公司 | Equipment adding method, device, equipment and machine-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11670416B2 (en) | Tagging pump messages with identifiers that facilitate restructuring | |
CN113254516A (en) | Method for automatically inputting server information | |
CN108830389A (en) | A kind of method and system of information system automatic detecting | |
CN109740129B (en) | Report generation method, device and equipment based on blockchain and readable storage medium | |
CN113672627B (en) | Method and device for constructing index of elastic search engine | |
CN109670091B (en) | Metadata intelligent maintenance method and device based on data standard | |
EP3264291A1 (en) | Data block processing method and device | |
CN112688806A (en) | Method and system for presenting network assets | |
CN112737800A (en) | Service node fault positioning method, call chain generation method and server | |
CN109033188A (en) | A kind of metadata acquisition method, apparatus, server and computer-readable medium | |
CN103490983B (en) | Corporate mail system and its method carrying out mail migration | |
CN111949705A (en) | Slow query statistical analysis method, device and system | |
EP3905591A1 (en) | Server abnormality processing method and management device | |
WO2016095716A1 (en) | Fault information processing method and related device | |
CN111008209A (en) | Data account checking method, device and system, storage medium and electronic device | |
CN107422991B (en) | Storage strategy management system | |
CN116126890A (en) | Positioning method and device of abnormal SQL statement, electronic equipment and storage medium | |
US8824459B2 (en) | Methods and apparatus to measure market share for voice over internet protocol carriers | |
CN109144800A (en) | A kind of collection method, device and the relevant device of server failure information | |
CN114511273A (en) | Retail warehousing management system and method | |
CN113380414A (en) | Data acquisition method and system based on big data | |
CN117973699B (en) | Cloud computing-based operation and maintenance data intelligent management system and method | |
CN110430093B (en) | Data processing method and device and computer readable storage medium | |
CN107888696A (en) | One kind storage laboratory equipment information acquisition method, system and relevant apparatus | |
CN107402868B (en) | Equipment information acquisition method and device of physical machine |
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 |