CN101877647A - Server identification method - Google Patents

Server identification method Download PDF

Info

Publication number
CN101877647A
CN101877647A CN2009102533103A CN200910253310A CN101877647A CN 101877647 A CN101877647 A CN 101877647A CN 2009102533103 A CN2009102533103 A CN 2009102533103A CN 200910253310 A CN200910253310 A CN 200910253310A CN 101877647 A CN101877647 A CN 101877647A
Authority
CN
China
Prior art keywords
server
list
identification method
sign indicating
indicating number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009102533103A
Other languages
Chinese (zh)
Inventor
刘福成
范刚
陈龙
陈玄同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2009102533103A priority Critical patent/CN101877647A/en
Publication of CN101877647A publication Critical patent/CN101877647A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to a server identification method which is used for identifying a plurality of servers in the same local area network. The identification method comprises the following steps of: electrically connecting a management host to each server; acquiring a machine feature code of each server by adopting an online method according to the running state of the server; searching whether the server exists in a server list or not by the management host according to the machine feature code of each server; updating record contents of the server in the server list according to the machine feature code when the server exists in the server list; and adding a network address of the server to the server list when the server does not exist in the record of the server list.

Description

Server identification method
Technical field
The present invention relates to a kind of recognition methods, particularly a kind of server identification method.
Background technology
Along with the increase of scope of the enterprise, also make the number of servers of enterprises increase thereupon.Server is managed by special management software in enterprises.And first thing of management host: be exactly will be in management system server record.Server is joined management system following the whole bag of tricks is arranged: off-line type (offline) and online (online).
When off-line type does not start as yet at server, new server record to managing listings, is directed into management system with this managing listings again.And online be when server moves, by standard agreement Connection Service device to reach the purpose of finding server.
And online connected mode can be divided into two kinds: (in-band) and frequently outer (out-of-band) frequently.Frequently refer under the situation that operating system started and utilize standard agreement, as, ICMP, SNMP, WMI etc. or by proprietary protocol accessing operation system.Frequently outer then is that server does not enter under the situation of operating system, by IPMI (International Precious MetalsInstitute, IPMI), (Active Management Technology, AMT) etc. agreement visits server to the Active Management technology.But under the different mode, network address of server is diverse in frequently and frequently.Management system can be recognized as different server with the same station server of heterogeneous networks address.
Suppose a server, have two different network addresss with dual network card.This server is supported IPMI agreement (substrate management control (BMC) chip being arranged for mainboard has), and the network address of substrate management control is 10.1.1.1.And the network address of the operating system that server moved is 192.168.1.1.Find server by these two network addresss respectively when management system, management system system is set at two-server respectively with two network addresss.So, with the complexity and the managerial repetition that cause on the internal network route.
Summary of the invention
Technical problem to be solved by this invention provides a kind of server identification method, in order to discern a plurality of servers in the same LAN, particularly at having many network addresss and same server.
To achieve these goals, the invention provides a kind of server identification method, in order to discern a plurality of servers in the LAN, this server identification method comprises:
One management host is electrically connected at each those server;
According to the running status of this server, obtain a machine characteristic sign indicating number of this server by online means;
Search whether there is this server in the server list by this management host according to this machine characteristic sign indicating number of each this server;
When having this server in this server list, then upgrade according to the recorded content of this machine characteristic sign indicating number to this server of this server list; And
When not having the record of this server in this server list, then that this machine characteristic sign indicating number of this server is newly-increased to this server list.
Above-mentioned server identification method, wherein this machine characteristic sign indicating number comprises: the kind of a network address, an operating system, a machine name, a machine serial number, a medium access address or a general unique identifier.
Above-mentioned server identification method, wherein this operating system is Windows or (SuSE) Linux OS.
Above-mentioned server identification method, wherein when if this operating system of this server is this Windows, the machine name of then extracting this server is as this machine characteristic sign indicating number.
Above-mentioned server identification method, wherein when if this operating system of this server is this (SuSE) Linux OS, this machine serial number, this medium access address or this general unique identifier that then extract this server are as this machine characteristic sign indicating number.
Above-mentioned server identification method wherein has an illegitimate list in addition in this management host, it is in order to this machine characteristic sign indicating number of protocol failure, and those servers of avoiding this management host will meet this illegitimate list are identified as same this server.
Above-mentioned server identification method, wherein these online means are frequently interior means or the outer means of frequency.
For reaching above-mentioned purpose, server identification method disclosed in this invention may further comprise the steps: management host is electrically connected at each server; According to the running status of server, obtain the machine characteristic sign indicating number of this server by online means; Search whether there is server in the server list by management host according to the machine characteristic sign indicating number of each server; When having server in the server list, then upgrade according to the recorded content of machine characteristic sign indicating number to the server of server list; When not having the record of server in the server list, then that network address of server is newly-increased to server list.
Technique effect of the present invention is: the invention provides a kind of server identification method, it is applied in the same server that has many network addresss in the LAN.Owing in the LAN of enterprise, may there be same server with a plurality of heterogeneous networks address.When if management system increases server newly according to each network address, will produce the route that many groups are pointed to same server.The present invention is directed to this same server with many network addresss and merge, make management system the route that repeats can be merged into same group, to reduce the burden of management and route.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
1 figure is a structural representation of the present invention;
2 figure are operational process schematic diagram of the present invention;
3 figure are the operational process schematic diagram of step S230 of the present invention.
Wherein, Reference numeral
110 servers
120 management hosts
121 management inventories
122 illegitimate list
Embodiment
Below in conjunction with accompanying drawing structural principle of the present invention and operation principle are done concrete description:
Please refer to shown in Figure 1ly, it is a configuration diagram of the present invention.In Fig. 1, be a LAN, in LAN, have at least one server 110 and management host 120.The operating system of being moved on the server 110 can be Windows (for example: Windows XP, NT, Windows 2003, Vista or Windows 7 etc.), (SuSE) Linux OS or the Unix operating system that Microsoft releases.Management host 120 is connected in those servers 110 by network.Operational management program on management host 120 is in order to each server 110 of identification.Hypervisor may further comprise the steps, and also please refer to shown in Figure 2ly, and it is an operational process schematic diagram of the present invention.
Step S210: management host is electrically connected at each server;
Step S220:, obtain the machine characteristic sign indicating number of this server by online means according to the running status of server;
Step S230: search whether there is server in the server list according to the machine characteristic sign indicating number of each server by management host;
Step S240: when having server in the server list, then upgrade according to the recorded content of machine characteristic sign indicating number to the server of server list; And
Step S250: when not having the record of server in the server list, then that network address of server is newly-increased to server list.
In management host 120, have server 110 tabulations and illegitimate list 122.Server 110 tabulations meet the same station server 110 of machine characteristic sign indicating number in order to record.And the 122 machine characteristic sign indicating numbers in order to protocol failure of illegally tabulating, a little servers 110 of avoiding management host 120 will meet illegitimate list 122 are identified as same this server 110.
For instance, illegitimate list 122 can be by machine serial number and the general unique identifier foundation as identification.Please refer to shown in the following table:
Table 1. illegitimate list
Figure G2009102533103D00041
Figure G2009102533103D00051
The Category field is SN or UUID in order to differentiation; The Operator field is used for defining search rule, at table 1 three kinds of (equal: promptly just the same then for illegal with the back field is arranged; Contains: as long as the content that comprises in the field then is illegal; Regular: field is a regular expression, if met this expression formula for invalid data).For instance, the SN content is " To be filled by OEM "; This safeguards an illegitimate list 122 with regard to needs to comprise " aaa|bbb|...|fff|000|...|999 " in the UUID content, even run into then two servers 110 that the network address is identical of these null(NUL) contents, also can not think same station server 110.
Management host 120 can be judged by the running environment and the operating system of server 110.In other words, management host 120 judges by the machine characteristic sign indicating number whether the server 110 in the management inventory 121 is same.Wherein the machine characteristic sign indicating number is kind, machine name, machine serial number, medium access address or general unique identifier (Universally Unique Identifier, UUID) arbitrary of the network address, operating system.For example, if then only can there be the server 110 of a machine name in the Windows that the operating system Microsoft of server 110 is released in same net territory.But (SuSE) Linux OS there is no this restriction.
Therefore, for the deterministic process of the step S230 of explanation integral body that can be detailed, also please in addition with reference to figure 3.May further comprise the steps in deterministic process:
Step S310: whether the operating system of judging server is Windows; If the operating system of server is then execution in step S320 of Windows, on the contrary execution in step S330 then.
Step S320: accept step S310,, search the server that whether has the same machines title in the management inventory if the operating system of server is Windows;
Step S330: whether if the operating system of server is not for existing the server of same machines title in Windows or the management inventory, then searching illegitimate list is invalid data in order to the machine serial number of judging server; If invalid data, then execution in step S350
Step S340: accept step S330,, then search and manage the server that whether has the same machines sequence number in the inventory if when the machine serial number of server be not invalid data;
Step S350: accept step S340,, search in the management inventory whether have this server identical with the medium access address of this station server if there is not the server of same machines sequence number in the management inventory;
Step S360: accept step S350,, search then whether the general unique identifier that illegitimate list judges this station server is invalid data if management does not have the server of identical media access address in the inventory;
Step S370: accept step S360:, judge then in the management inventory whether identical general unique identifier is arranged if the general unique identifier of this station server is not invalid data;
Step S371: accept step S360,, then in the management inventory, set up new server data if not there is the general unique identifier of server in the method tabulation;
Step S381: accept step S370,, then in the management inventory, set up new server data if do not have identical general unique identifier in the management inventory;
Step S382: hold step S320, if the operating system of server is Windows, then travels through and have identical server in the managing listings, and the server of same machines name is identified as same station server;
Step S351: accept step S340, if there is the server of same machines sequence number in the management inventory, then the server with the same machines sequence number is identified as same station server;
Step S361: accept step S350,, and the server of identical media access address is identified as same station server if there is this server of identical media access address; And
Step S383: accept step S370, if management has identical general unique identifier in the inventory, then Wei same station server with the general unique identifier of same machines sequence number.
For clearly demonstrating operation of the present invention, with following example as an illustration, please cooperate above-mentioned operational process.At first, management host 120 connects those servers by network.Each server 110 is not the state that is in the start operation.Therefore server 110 or the operating server 110 for not start can connect (corresponding step S210) with different communications protocol respectively.The network address of supposing operation system of server A institute is 10.191.1.1 (corresponding medium access address 11-22-33-44-55-66), and the network address of the substrate of server A management control is 172.17.1.1 (corresponding medium access address aa-bb-cc-dd-ee-ff).
Then, obtain the machine characteristic sign indicating number of this server A by online means.Because server A may not started shooting as yet or has been in running status.Therefore management host 120 can be obtained corresponding machine characteristic sign indicating number according to the different conditions of server A.
Suppose that server A is in not open state.Management host 120 utilizes the IPMI agreement to find server A by 172.17.1.1.Because server A still is in off-mode, so can't obtain the operation system information of server by IPMI.Management host 120 can be obtained sequence number data (being assumed to be " To be filled by OEM "), medium access address (aa-bb-cc-dd-ee-ff), the general unique identifier (123-aaa-bbb-ccc-ddd) of server A by BMC.Suppose not store in the management host 120 this station server A information, thus management host 120 after finding server A, management host 120 be with server A be recorded in the management inventory 121 in.
Subsequently, with server A start and operation system.Find that the network address is the server A of 10.191.1.1 during management host 120 inquiry LAN, management host 120 finds the back to utilize the system management basic input/output by proprietary protocol, and (System management BIOS SMBIOS) gets operation system information (being assumed to be Windows 2003 enterprise), machine serial number (being assumed to be sn001), medium access address (Mac address (11-22-33-44-55-66 and aa-bb-cc-dd-ee-ff)), the general unique identifier (123-567-789-abc-def) of server.
Whether management host 120 has identical server 110 in accessed every machine characteristic sign indicating number searching and managing inventory 121 during according to server 110 start.Because the machine serial number (To be filled by OEM) of BMC is an invalid data during server 110 shutdown.And do not find identical general unique identifier in the management inventory 121.At last, in management inventory 121, find the medium access address that has stored of server 110.So, can be same station server 110 with these server of two, 110 information Recognition.
Except above-mentioned situation,, then need in management inventory 121, to set up new server 110 data if not there is the general unique identifier of server 110 in the method tabulation 122.This be because general unique identifier if invalid data, this will mean that this is more nonsensical than data, since null(NUL) just can not merge the node that it and other have existed.Therefore the new node that can only set up writes down this server 110.If do not set up new node, but merge with node that other has existed.May produce two different servers 110 will be identified as same (corresponding step S341).
The invention provides a kind of server 110 recognition methodss, it is applied in the same server 110 that has many network addresss in the LAN.Owing in the LAN of enterprise, may there be same server 110 with a plurality of heterogeneous networks address.When if management system system increases server 110 newly according to each network address, will produce the route that many groups are pointed to same server 110.The present invention is directed to this same server 110 with many network addresss and merge, make management system the route that repeats can be merged into same group, to reduce the burden of management and route.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (7)

1. server identification method, is characterized in that this server identification method comprises in order to discern a plurality of servers in the LAN:
One management host is electrically connected at each those server;
According to the running status of this server, obtain a machine characteristic sign indicating number of this server by online means;
Search whether there is this server in the server list by this management host according to this machine characteristic sign indicating number of each this server;
When having this server in this server list, then upgrade according to the recorded content of this machine characteristic sign indicating number to this server of this server list; And
When not having the record of this server in this server list, then that this machine characteristic sign indicating number of this server is newly-increased to this server list.
2. server identification method as claimed in claim 1 is characterized in that, this machine characteristic sign indicating number comprises: the kind of a network address, an operating system, a machine name, a machine serial number, a medium access address or a general unique identifier.
3. server identification method as claimed in claim 2 is characterized in that, this operating system is Windows or (SuSE) Linux OS.
4. server identification method as claimed in claim 3 is characterized in that, if when this operating system of this server is this Windows, the machine name of then extracting this server is as this machine characteristic sign indicating number.
5. server identification method as claimed in claim 3, it is characterized in that, if when this operating system of this server was this (SuSE) Linux OS, this machine serial number, this medium access address or this general unique identifier that then extract this server were as this machine characteristic sign indicating number.
6. server identification method as claimed in claim 1, it is characterized in that, have an illegitimate list in this management host in addition, it is in order to this machine characteristic sign indicating number of protocol failure, and those servers of avoiding this management host will meet this illegitimate list are identified as same this server.
7. server identification method as claimed in claim 1 is characterized in that, these online means are frequently interior means or the outer means of frequency.
CN2009102533103A 2009-11-30 2009-11-30 Server identification method Pending CN101877647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102533103A CN101877647A (en) 2009-11-30 2009-11-30 Server identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102533103A CN101877647A (en) 2009-11-30 2009-11-30 Server identification method

Publications (1)

Publication Number Publication Date
CN101877647A true CN101877647A (en) 2010-11-03

Family

ID=43020118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102533103A Pending CN101877647A (en) 2009-11-30 2009-11-30 Server identification method

Country Status (1)

Country Link
CN (1) CN101877647A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278968A (en) * 2014-06-05 2016-01-27 宏碁股份有限公司 Server and method for inquiring configuration state of server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278968A (en) * 2014-06-05 2016-01-27 宏碁股份有限公司 Server and method for inquiring configuration state of server

Similar Documents

Publication Publication Date Title
US7685322B2 (en) Port number emulation for wireless USB connections
US20210373778A1 (en) Method and apparatus for fine tuning and optimizing nvme-of ssds
US7013462B2 (en) Method to map an inventory management system to a configuration management system
US9571569B2 (en) Method and apparatus for determining virtual machine migration
CN107911249B (en) Method, device and equipment for sending command line of network equipment
US7447752B2 (en) Identification information creating method, information processing apparatus, computer program product, recording device monitoring method, terminal apparatus management method, and communication network system
US20140032753A1 (en) Computer system and node search method
CN106873970B (en) Installation method and device of operating system
CN109445902B (en) Data operation method and system
CN113141405A (en) Service access method, middleware system, electronic device, and storage medium
US11457346B2 (en) Electronic device and method for managing an IC card with multiple SIM profiles
US10402282B1 (en) Assisted device recovery
US9563388B2 (en) Sharing a hosted device in a computer network
US20200342109A1 (en) Baseboard management controller to convey data
US8019856B1 (en) Automatic mapping and location discovery of computers in computer networks
US20130081139A1 (en) Quarantine network system, server apparatus, and program
CN111585949A (en) Vulnerability scanning method and related equipment
CN101877647A (en) Server identification method
CN105144073A (en) Removable storage device identity and configuration information
US10764147B1 (en) Intermediate switch identification
CN111092765B (en) Intelligent driving method, system, electronic device and readable storage medium
JP2012190119A (en) Apparatus management device and program
US20150142960A1 (en) Information processing apparatus, information processing method and information processing system
US20230297724A1 (en) Hardware identity restoration post-device repair
JP2012203421A (en) Information processing method, management server and management program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101103