CN105335270A - Server positioning method and system - Google Patents
Server positioning method and system Download PDFInfo
- Publication number
- CN105335270A CN105335270A CN201510616356.2A CN201510616356A CN105335270A CN 105335270 A CN105335270 A CN 105335270A CN 201510616356 A CN201510616356 A CN 201510616356A CN 105335270 A CN105335270 A CN 105335270A
- Authority
- CN
- China
- Prior art keywords
- server
- positional information
- memory device
- information
- location
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a server positioning method and system. The server positioning method comprises an information acquisition step, an information association step and an information sending step, wherein in the information acquisition step, a server acquires position information pre-stored in a storage device connected with the server and server information used for identifying the server; in the information association step, the server performs association on the obtained position information and the server information; and in the information sending step, the server sends the associated position information and server information to a position server, and the server can be positioned according to the server information through the position server.
Description
Technical field
The present invention relates to a kind of server selection method and system, particularly relate to, by the program in server or instruction, the positional information in memory device is passed to method and the system that location server carrys out location-server.
Background technology
Modern data center, along with society is to the growth of the demand of quantity of information and computing power, also there is explosive growth in the number of servers of data center machine room, at present, large Internet firm has tens thousand of even hundreds thousand of number of servers, and server is distributed in different data centers usually, and the server situation that often location is moved due to business change, under prior art, the user of server, operation maintenance personnel and asset management personnel very numerous and diverse to the search procedure of the server of specifying, the server selection of current main flow and the mode of management mainly rely on IP address-location to associate, UID pilot lamp, RFID location system etc.
The technology of IP address-location association, mainly by setting up the one-to-one relationship of the shelf position of IP address and server, determines the position of server.Namely the IP of each rack position fixes, as determined, the server location of a certain IP can by looking into the mapping table of IP and shelf position, as the server of certain special assets numbering need be determined, then by the relation of IP all in program collection network and asset number, obtain the IP of specific numbering server, then search the mapping table of IP and shelf position, navigate to the position of server.
For the technology of UID pilot lamp, all with UID pilot lamp in current server, UID is the abbreviation of UnitIDentificationlight, is that a kind of LED often bright or flicker carrys out the pointing technology of location-server.User can distinguish other servers by the on off state of known IP address Long-distance Control UID and indicate active user to need the particular location of the server of locating.Technology with the association of IP address-location is the same, as the server of certain special assets numbering need be determined, then by the relation of IP all in program collection network and asset number, obtain the IP of specific numbering server, then use UID pilot lamp finds the position of server.
RFID orientation management system, radio-frequency (RF) identification (RadioFrequencyIdentification, RFID), also known as radio frequency identification, usually be made up of wireless radio-frequency signal generator and radio frequency label two major parts, by radio frequency transmitter and the specific server location of data search such as radio-frequency (RF) tag matching technology and radio frequency transmitter position, backstage.As shown in Figure 4, in RFID location-server system, first radio frequency transmitter is erected at by corresponding server, and in radio frequency management system, record the particular location of radio frequency transmitter, be close on the server by the radio-frequency (RF) tag with server info, all radio frequency transmitter are connected to radio frequency management system by unified signal system.When needing to search with location-server, by less radio-frequency management system, find the position of the radio frequency transmitter corresponding to particular radio-frequency label, determine the position of corresponding server.
But in above-mentioned prior art, all there is respective shortcoming.
For IP address-location correlating method, IP and position need to pre-determine, and machine or IP variation all need to change the data prestored afterwards, implement difficulty large in practical operation.And often can change due to the IP address in actual environment, the relation table that IP address associates with position needs frequent maintenance, and the data needing artificial regeneration a large amount of, easily make mistakes.
For UID lamp location technology, manual site is needed to determine the position of server, and when server in machine room capacity is larger, it is long to locate the UID lamp time of glimmering, efficiency is low, and particularly server distribution is when the machine room of different regions, directly cannot use the method.So be only suitable for server admin a small amount of among a small circle.
For RFID location technology, contain radio frequency transmitter, radio-frequency (RF) tag, radio frequency management system, and need to dispose in each frame and server of machine room, the hardware cost of this system is high, and the personnel that system is disposed, operation and maintenance all needs specialty.And this technology due on hardware with server onrelevant, can only asset number location-server be passed through, and can not check the state of server while location-server.Even if know server physical position, also need the IP address being obtained this machine by additive method, the state of this machine is checked.So the method operation maintenance personnel cannot obtain the IP information of server by this system, check and O&M its state.
In addition, current Ye You part server manufacturer by achieving server selection to methods such as the parts such as intelligent power, Baseboard Management Controller point of addition marks, but utilizes these methods to there is the problems such as the change of existing server hardware and implementation criteria disunity.
Therefore, need a kind of versatility good, dispose and safeguard simple, the server selection method that cost is low comes satisfied a large amount of server selection being distributed in different place and machine room and management.
Summary of the invention
The present invention is directed to current server selection method poor in complicated machine room scene applicability, frequent manual intervention easily makes mistakes, efficiency is low, the shortcoming that cost is high, provides a kind of method by the program in server or instruction, the positional information in memory device being passed to the location particular server of location server.
According to the present invention, proposing a kind of server selection method, comprising: information acquiring step, obtaining the positional information that prestores in connected memory device and the server info for identifying described server itself by server; Information association step, is associated accessed described positional information with described server info by server; With information forwarding step, by server, the described positional information after association and described server info are sent to location server, by described location server, described server can be located according to described server info.
In addition, according to described server selection method, described memory device is fixed on rack corresponding to server location.
In addition, according to described server selection method, described memory device is relative to the pluggable memory device of described server.
In addition, according to described server selection method, obtain described positional information and described server info by the supervisory routine in described server or instruction, and after obtained described positional information being associated with described server info, send to described location server.
In addition, according to described server selection method, regularly described information acquiring step is performed.
In addition, according to described server selection method, when rack position there occurs variation, the positional information stored in the memory device be fixed on described rack position is changed.
In addition, according to described server selection method, when obtaining described positional information by described supervisory routine from described memory device, described information acquiring step comprises: described supervisory routine searches the step that whether there is the memory device storing positional information; Store the memory device of positional information if find, then described supervisory routine periodically reads the positional information stored in memory device by predetermined data structure, and obtains the step of described server info; With described supervisory routine by network, by acquired positional information and the server information updating step to location server.
In addition, according to described server selection method, if described supervisory routine does not find the memory device storing positional information, then the prompting of memory device is not found to location server write.
In addition, the present invention proposes a kind of server selection system, comprise memory device, server and location server, the positional information prestored in the described memory device connected is obtained by described server, and for identifying the server info of described server itself, by described server, accessed described positional information is associated with described server info, and the described positional information after association and described server info are sent to described location server, by described location server, described server can be located according to described server info.
According to the present invention, have server selection process simple fast, lower deployment cost is low, and safeguard simple, extendability is strong, good to the server-compatible of different brands, without the need to changing the advantages such as hardware can realize.Server assets can also be realized based on the present invention to check fast, shorten the workload of server assets management.
Accompanying drawing explanation
By reference to following combination accompanying drawing to adopted detailed description of the preferred embodiment, above-mentioned purpose of the present invention, advantage and feature will become more apparent, wherein:
Fig. 1 represents that embodiment of the present invention realizes the figure of the ultimate principle of location.
Fig. 2 represents the detail flowchart of the localization method of embodiment of the present invention.
Fig. 3 is the figure of a kind of software logic represented for realizing step S204 in Fig. 2.
Fig. 4 represents existing RFID location-server system.
Embodiment
The present invention discloses and a kind ofly by the program in server or instruction, the positional information in memory device is passed to the method that location server locates particular server.
The nucleus equipment of this method is the memory device with positional information, and the storage medium of this equipment can be that all can store the medium of information, as Flash storage device, magnetic media s storage device, disc storing equipment etc.The information that content, index or the mark etc. that contain positional information contribute to locating is deposited in memory device, as country, city, region, machine room name, machine room code name, frame information, cabinet No., server height and position, takes up room, but is not limited only to these positional informations.The connecting interface of memory device and server can be the interface of any type, as USB (UniversalSerialBus, USB (universal serial bus)), PCI (PeripheralComponentInterconnect, PCI), PCIE (PeripheralComponentInterfaceExpress, PCI), SAS (SerialAttachedSCSISmallComputerSystemInterface, small computer system interface), SATA (SerialAdvancedTechnologyAttachment, senior technology connected in series), SPI (SerialPeripheralInterface, Serial Peripheral Interface (SPI)), ESPI (EnhancedSerialPeripheralInterface, Serial Peripheral Interface (SPI)), I2C (Inter-IntegratedCircuit, IC bus) etc. can transmit the interface of storage information, what the most easily realize is the memory device of USB interface of the customization that the common flash disk of USB interface or band EEPROM store.
Fig. 1 represents that embodiment of the present invention realizes the ultimate principle of location.The basic process of the server selection method of embodiment of the present invention is described with reference to figure 1.
As shown in Figure 1, the positional information in the pluggable memory device of initialization.According to the position of server corresponding to pluggable memory device, the information of positional information and other necessity is write in pluggable memory device with the form such as file or message block, after completing positional information typing, pluggable memory device is inserted on corresponding server, for avoiding pluggable memory device and adjacent pluggable memory device in server location change process to obscure, one end of pluggable memory device can be fixed on the corresponding rack position of server location.
Location server collects the positional information of all servers.Location server can according to managerial demand, initiatively to server program collection or the positional information that passes over of reception server program passively, and by the positional information record of Servers-all, storage.In the process, server program is responsible for regularly reading the information stored in pluggable memory device, and by network delivery such as Ethernets in the database in location server.
User's querying server position or software carry out asset statistical automatically.User can according to Given informations such as server ip, asset number, models, finds the positional information needing the server searched, then as required, checks the server found, the work such as maintenance in the database on location server.If for the purpose of asset management, can the information in database be added up by program, again according to original statement of assets comparison, filter out the asset column of abnormal (disappearance), thus when asset management personnel make an inventory, only need emphasis to check abnormal assets.
Fig. 2 represents the detail flowchart of the localization method of embodiment of the present invention.The feasible implementation method of each step is described in detail with reference to figure 2.
Step S201: select and prepare suitable pluggable memory device.Storage medium can be that all can store the medium of information, as Flash storage device, and magnetic media s storage device, disc storing equipment etc.The connecting interface of memory device and server can be the interface of any type, as USB, PCI, PCIE, SAS, SATA, SPI, ESPI, I2C etc. can transmit the interface of storage information, what the most easily realize is the USB flash disk of the common flash disk of USB interface or the customization with EEPROM.
Step S202: to the positional information of memory device write server, as country, city, region, machine room name, machine room code name, frame information, cabinet No., server height and position, take up room, for information or the index such as mark of the special memory device of management software recognizing site, but be not limited only to these positional informations.Due in usual data center, shelf position and server location are planned all in advance, so memory device can in advance according to the planning of rack, typing in advance, and with devices such as cables, pluggable memory device is fixed in reserved rack position, when device to be serviced is added, pluggable memory device is inserted on the server.
Step S203: after server is installed to rack, is inserted in the pluggable memory device containing positional information of this position corresponding on the interface of server.If when server needs to change from now on, pluggable memory device is pulled up before changing, waits to change new server, pluggable equipment is directly plugged, and upgrades without the need to location information.
Step S204: server program collects the positional information in the information of server and pluggable memory device, associates conventional server info (as IP, asset number, type sequence number, component serial number, type, configuration etc.) with positional information.After having disposed operating system and supervisory routine in server, the positional information be stored on pluggable memory device has also been read in supervisory routine identification, and is delivered in the database of the location server of deposit position information.
Step S205: when the server that user needs a certain of location to specify, only need to inquire about according in the database of known server info (as information such as IP, asset number, type sequence number, component serial number) on location server, the positional information of the server associated with Query Information can be obtained.
Step S206: when server be moved, rack shift in position or rack increase time, the setting of positional information can be carried out respectively according to step S203, S202, S201.
Wherein, in order to realize step S204, can take multiple logic, wherein a kind of software logic as shown in Figure 3.Fig. 3 is the figure of a kind of software logic represented for realizing step S204 in Fig. 2.
As shown in Figure 3, in step S301, the supervisory routine in server, searches the movable memory equipment whether existed containing positional information.If do not find the movable memory equipment containing positional information in step S301, then enter step S302, in step s 302, do not find the movable storage device prompting of band positional information to location server write.If have found the movable memory equipment of band positional information in step S301, then enter step S303, in step S303, supervisory routine periodically reads by the data structure of setting the positional information be stored on movable storage device, and obtains the server info (as IP, product ID etc.) be used for needed for identified server itself.In step s 304, supervisory routine by network mode, by the positional information that reads and server information updating in the database of location server.In step S305, user inquires about the position of given server according to known server info (as IP, product ID etc.) in the database of location server.
In addition, the pluggable memory device for stored position information in the inventive method, inside configuration or the outside of server can be integrated into as pluggable storage unit or static memory cell, as a part for server, and user can change this storage unit under certain conditions, similar principle is utilized to position server.
Localization method provided by the invention, have server selection process simple fast, lower deployment cost is low, and safeguard simple, extendability is strong, good to the server-compatible of different brands, without the need to changing the advantages such as hardware can realize.Server assets can also be realized based on the present invention to check fast, shorten the workload of server assets management.
Although below show the present invention in conjunction with the preferred embodiments of the present invention, one skilled in the art will appreciate that without departing from the spirit and scope of the present invention, various amendment, replacement and change can be carried out to the present invention.Therefore, the present invention should not limited by above-described embodiment, and should be limited by claims and equivalent thereof.
Claims (9)
1. a server selection method, comprising:
Information acquiring step, obtains the positional information that prestores in connected memory device and the server info for identifying described server itself by server;
Information association step, is associated accessed described positional information with described server info by server; With
Information forwarding step, sends to location server by server by the described positional information after association and described server info,
By described location server, described server can be located according to described server info.
2. server selection method according to claim 1,
Described memory device is fixed on rack corresponding to server location.
3. server selection method according to claim 1,
Described memory device is relative to the pluggable memory device of described server.
4. server selection method according to claim 1,
Obtain described positional information and described server info by the supervisory routine in described server or instruction, and after obtained described positional information being associated with described server info, send to described location server.
5. server selection method according to claim 1,
The described information acquiring step of regular execution.
6. server selection method according to claim 2,
When rack position there occurs variation, change the positional information stored in the memory device be fixed on described rack position.
7. server selection method according to claim 4,
When obtaining described positional information by described supervisory routine from described memory device, described information acquiring step comprises:
Described supervisory routine searches the step that whether there is the memory device storing positional information;
Store the memory device of positional information if find, then described supervisory routine periodically reads the positional information stored in memory device by predetermined data structure, and obtains the step of described server info; With
Described supervisory routine by network, by acquired positional information and the server information updating step to location server.
8. server selection method according to claim 7,
If described supervisory routine does not find the memory device storing positional information, then do not find the prompting of memory device to location server write.
9. a server selection system, comprises memory device, server and location server,
The positional information prestored in the described memory device connected and the server info for identifying described server itself is obtained by described server,
By described server, accessed described positional information is associated with described server info, and the described positional information after association and described server info is sent to described location server,
By described location server, described server can be located according to described server info.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510616356.2A CN105335270B (en) | 2015-09-24 | 2015-09-24 | Server selection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510616356.2A CN105335270B (en) | 2015-09-24 | 2015-09-24 | Server selection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105335270A true CN105335270A (en) | 2016-02-17 |
CN105335270B CN105335270B (en) | 2018-03-23 |
Family
ID=55285825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510616356.2A Active CN105335270B (en) | 2015-09-24 | 2015-09-24 | Server selection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105335270B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357431A (en) * | 2016-08-30 | 2017-01-25 | 浪潮电子信息产业股份有限公司 | Position information setting method and device |
CN108933701A (en) * | 2018-07-23 | 2018-12-04 | 郑州云海信息技术有限公司 | A kind of data center server localization method and equipment |
CN109447200A (en) * | 2018-10-17 | 2019-03-08 | 温州市职业中等专业学校 | A kind of electronic tag, fixed capital management method and device |
CN113760593A (en) * | 2021-07-30 | 2021-12-07 | 浪潮电子信息产业股份有限公司 | Server positioning method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582775A (en) * | 2008-05-12 | 2009-11-18 | 富士通株式会社 | Server managing apparatus and server managing method |
CN102902615A (en) * | 2012-09-18 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Failure alarm method and system for Lustre parallel file system |
US20130162438A1 (en) * | 2011-12-27 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Server system for monitoring status of fans |
CN104598346A (en) * | 2015-02-15 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Monitoring management device and method for rapid fault location in server system |
-
2015
- 2015-09-24 CN CN201510616356.2A patent/CN105335270B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582775A (en) * | 2008-05-12 | 2009-11-18 | 富士通株式会社 | Server managing apparatus and server managing method |
US20130162438A1 (en) * | 2011-12-27 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Server system for monitoring status of fans |
CN102902615A (en) * | 2012-09-18 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Failure alarm method and system for Lustre parallel file system |
CN104598346A (en) * | 2015-02-15 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Monitoring management device and method for rapid fault location in server system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357431A (en) * | 2016-08-30 | 2017-01-25 | 浪潮电子信息产业股份有限公司 | Position information setting method and device |
WO2018040359A1 (en) * | 2016-08-30 | 2018-03-08 | 浪潮电子信息产业股份有限公司 | Method and device for setting position information |
CN106357431B (en) * | 2016-08-30 | 2019-03-08 | 浪潮电子信息产业股份有限公司 | A kind of method and device that location information is set |
CN108933701A (en) * | 2018-07-23 | 2018-12-04 | 郑州云海信息技术有限公司 | A kind of data center server localization method and equipment |
CN109447200A (en) * | 2018-10-17 | 2019-03-08 | 温州市职业中等专业学校 | A kind of electronic tag, fixed capital management method and device |
CN113760593A (en) * | 2021-07-30 | 2021-12-07 | 浪潮电子信息产业股份有限公司 | Server positioning method and system |
CN113760593B (en) * | 2021-07-30 | 2024-02-13 | 浪潮电子信息产业股份有限公司 | Server positioning method and system |
Also Published As
Publication number | Publication date |
---|---|
CN105335270B (en) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100795929B1 (en) | Method and system for transmitting defined-query to database | |
CN105335270A (en) | Server positioning method and system | |
US9170960B2 (en) | Location of computing assets within an organization | |
US10216840B2 (en) | Asset tag template creation from readable elements | |
CN111507441B (en) | Optical fiber network management system based on RFID electronic tag | |
US20130181816A1 (en) | Mechanism and method for rfid cable path labeling, identification, and inventory | |
WO2016127093A1 (en) | Wire diagram tagging system | |
CN102609743A (en) | Method and device for managing assets in cabinet and cabinet system | |
CN106874975A (en) | Intensive archive management system and method based on high frequency RFID technique | |
CN109033908A (en) | A kind of storage article positioning device and system | |
CN104811740A (en) | Video file distribution method, system and device | |
CN104869559A (en) | Method and device for updating operator information | |
CN109447559A (en) | One kind being based on RFID warehouse management system | |
CN115686374A (en) | Information acquisition method, information acquisition device, storage system, information acquisition device, and storage medium | |
CN111753941A (en) | Equipment management system and method based on RFID | |
CN102622190A (en) | On-line write-in method for product identifying information and electronic product | |
CN113396560B (en) | Method and device for establishing optical cable connection | |
CN111224694A (en) | Method and device for replacing switch equipment based on NFC, storage medium and equipment | |
CN109446159B (en) | Multi-version file management method, server and computer readable storage medium | |
CN104408058A (en) | Data access method and device | |
CN101894126B (en) | Method and system for storing volume attributes in database | |
KR20140141201A (en) | Method of controlling distribution code by distribution box management device and distribution box management server | |
US20140184413A1 (en) | Method for searching for tag with communication error and electronic shelf label system server therefor | |
CN109962810B (en) | Storage server management system | |
CN104021173A (en) | Method and device for providing hardware drive 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |