CN105335270B - Server selection method and system - Google Patents

Server selection method and system Download PDF

Info

Publication number
CN105335270B
CN105335270B CN201510616356.2A CN201510616356A CN105335270B CN 105335270 B CN105335270 B CN 105335270B CN 201510616356 A CN201510616356 A CN 201510616356A CN 105335270 B CN105335270 B CN 105335270B
Authority
CN
China
Prior art keywords
server
storage device
positional information
location
info
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510616356.2A
Other languages
Chinese (zh)
Other versions
CN105335270A (en
Inventor
艾静
刘建文
薛坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510616356.2A priority Critical patent/CN105335270B/en
Publication of CN105335270A publication Critical patent/CN105335270A/en
Application granted granted Critical
Publication of CN105335270B publication Critical patent/CN105335270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods 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 present invention, which provides a kind of server selection method and system, server selection method, to be included:Information acquiring step, by the positional information prestored in the connected storage device of server acquisition and for identifying the server info of the server in itself;Information association step, the accessed positional information and the server info are associated by server;With information forwarding step, the positional information after association and the server info are sent to location server by server, by the location server, the server can be positioned according to the server info.

Description

Server selection method and system
Technical field
The present invention relates to a kind of server selection method and system, more particularly to pass through the program in server or instruction Positional information in storage device is passed into the method and system that location server carrys out location-server.
Background technology
Modern data center, with growth of the society to information content and the demand of computing capability, data center machine room Also there is explosive growth in number of servers, and at present, big Internet firm possesses tens thousand of or even hundreds thousand of server counts Amount, and server is generally distributed in different data centers, and server often due to business change and existence position is moved Dynamic situation, under prior art, the lookup of the user, operation maintenance personnel and asset management personnel of server to specified server Cheng Shifen is numerous and diverse, and the server selection of main flow is mainly by IP address-position is associated, UID is indicated with the mode of management at present Lamp, RFID location system etc..
The technology of IP address-position association, mainly pass through one a pair of the shelf position of establishing IP address and server It should be related to, to determine the position of server.The IP of i.e. each rack position is fixed, and need to such as determine that a certain IP server location can be with By looking into IP and shelf position mapping table, the server of some special assets numbering need to be such as determined, then may be used By IP and asset number all in program collection network relation, the IP of specific numbering server is obtained, is then searched IP and shelf position mapping table, navigate to the position of server.
For the technology of UID indicator lamps, UID indicator lamps are all carried in server at present, UID is Unit IDentification light abbreviation, be it is a kind of with LED often it is bright or flicker come the instruction technology of location-server.User It can need to position to distinguish other servers and instruction active user by known IP address remote control UID on off state Server particular location.The technology of same IP address-position association is the same, as that need to determine that some special assets is numbered Server, then specific numbering server can be obtained by IP and asset number all in program collection network relation IP, the position of server is then found using UID indicator lamps.
RFID orientation management systems, radio frequency identification (Radio Frequency Identification, RFID), also known as without Line radio frequency identification, generally it is made up of two major parts of wireless radio-frequency signal generator and radio frequency label, is sent out by less radio-frequency The specific server location of the data search such as emitter and RF tag matching technology and backstage radio frequency transmitter position.Such as figure Shown in 4, in RFID location-server systems, radio frequency transmitter is erected at by corresponding server first, and in radio frequency The particular location of radio frequency transmitter is recorded in management system, the RF tag with server info is close to server On, all radio frequency transmitters are connected to radio frequency management system by unified signal system.Require to look up and position clothes Be engaged in device when, by radio frequency management system, find the position of the radio frequency transmitter corresponding to particular radio-frequency label, really Determine the position of corresponding server.
But it is above-mentioned in the prior art, all in the presence of it is respective the shortcomings that.
For IP address-position correlating method, IP and position are needed to predefine, and machine or IP variations are required for afterwards The data to prestore are changed, enforcement difficulty is big in practical operation.And because the IP address in actual environment often becomes Change, the relation table that IP address associates with position needs frequent maintenance, and needs the substantial amounts of data of artificial regeneration, easily error.
For UID lamps location technology, it is necessary to which manual site determines the position of server, and when server in machine room capacity is larger When, to position the UID lamp times flashed grows, and efficiency is low, and particularly server distribution, can not in the computer room of different regions Directly use this method.So it is only suitable for a small amount of server admin of small range.
For RFID location technologies, radio frequency transmitter, RF tag are contained, radio frequency management system, and in computer room Each frame and server on be required for disposing, the hardware cost of the system is high, and system deployment, operation and maintenance are required for The personnel of specialty.And this technology due on hardware with server onrelevant, can only by asset number location-server, and The state of server can not be checked while location-server.Even if know server physical position, it is also desirable to logical The IP address that other method obtains the machine is crossed, the state of the machine is checked.So the method operation maintenance personnel can not lead to The IP information that this system obtains server is crossed, its state is checked and O&M.
In addition, Ye You part servers manufacturer to parts such as intelligent power, Baseboard Management Controllers by adding position at present The methods of tagging, realizes server selection, but existing server hardware be present using these methods and change and implement standard The problems such as disunity.
Therefore, it is necessary to which a kind of versatility is good, deployment and maintenance are simple, and the low server selection method of cost is a large amount of to meet The server selection for being distributed in different places and computer room and management.
The content of the invention
The present invention is poor in complicated computer room scene applicability for current server selection method, and frequent manual intervention easily goes out The shortcomings that mistake, efficiency is low, and cost is high, there is provided a kind of program by server or instruction are by the positional information in storage device The method for passing to the positioning particular server of location server.
According to the invention it is proposed that a kind of server selection method, including:Information acquiring step, institute is obtained by server The positional information that is prestored in the storage device of connection and for identifying the server info of the server in itself;Letter Associated steps are ceased, are associated the accessed positional information and the server info by server;Sent out with information Step is sent, the positional information after association and the server info are sent to location server by server, pass through institute Location server is stated, the server can be positioned according to the server info.
In addition, according to the server selection method, the storage device is integrally fixed at rack corresponding to server location On.
In addition, according to the server selection method, the storage device is deposited relative to the server is pluggable Store up equipment.
In addition, according to the server selection method, by the management program in the server or instruction to obtain Positional information and the server info are stated, and the acquired positional information is associated with the server info Afterwards, it is sent to the location server.
In addition, according to the server selection method, described information obtaining step is periodically executed.
In addition, according to the server selection method, when rack position is there occurs changing, change is fixed on the rack The positional information stored in storage device on position.
In addition, according to the server selection method, obtained by the management program from the storage device described in In the case of positional information, described information obtaining step includes:The management program searches whether to be stored with positional information Storage device the step of;If finding the storage device for being stored with positional information, the management program presses predetermined data The step of reading the positional information stored in storage device structural periodicity, and obtaining the server info;And institute Management program is stated by network, the step of by acquired positional information and server information updating to location server.
In addition, according to the server selection method, if the management program, which is not found, is stored with positional information Storage device, then the prompting of storage device is not found to location server write-in.
In addition, the present invention proposes a kind of server selection system, including storage device, server and location-based service Device, the positional information that is prestored in the storage device that is connected and described for identifying is obtained by the server The server info of server in itself, the accessed positional information and the server info are entered by the server Row association, and the positional information after association and the server info are sent to the location server, pass through institute Location server is stated, the server can be positioned according to the server info.
According to the present invention, quick and easy with server selection process, lower deployment cost is low, safeguards that simply autgmentability is strong, right The server-compatible of different brands is good, without changing the advantages that hardware can be achieved.Service can also be realized based on the present invention Device assets are quickly checked, and shorten the workload of server assets management.
Brief description of the drawings
By reference to following combination accompanying drawing to the detailed description of used preferred embodiment, above-mentioned mesh of the invention , advantages and features will become more apparent from, wherein:
Fig. 1 is to represent that embodiment of the present invention realizes the figure of the general principle of positioning.
Fig. 2 represents the detail flowchart of the localization method of embodiment of the present invention.
Fig. 3 is to represent the figure for realizing step S204 a kind of software logic in Fig. 2.
Fig. 4 represents existing RFID location-servers system.
Embodiment
The present invention discloses a kind of program by server or the positional information in storage device is passed to position by instruction Server is put to position the method for particular server.
The nucleus equipment of this method is the storage device with positional information, and the storage medium of the equipment can be that all can The medium of storage information, such as Flash storage device, magnetic media s storage device, disc storing equipment.Deposited in storage device The content containing positional information, index or mark etc. contributes to the information of positioning, such as country, city, region, computer room name, computer room Code name, frame information, cabinet No., server height position, space-consuming etc., but it is not limited only to these positional informations.Storage is set Standby with the connecting interface of server can be any kind of interface, such as USB (Universal Serial Bus, general serial Bus), PCI (Peripheral Component Interconnect, external controller interface), PCIE (Peripheral Component Interface Express, external controller interface), SAS (Serial Attached SCSI Small Computer System Interface, small computer system interface), SATA (Serial Advanced Technology Attachment, advanced serial connection technology), SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)), ESPI (Enhanced Serial Peripheral Interface, Serial Peripheral Interface (SPI)), I2C (Inter-Integrated Circuit, IC bus) etc. can transmit the interface of storage information, be easiest to realize is the common flash disk of USB interface Or the storage device of the USB interface of the customization with EEPROM storages.
Fig. 1 represents that embodiment of the present invention realizes the general principle of positioning.Illustrate embodiment of the present invention with reference to figure 1 The basic process of server selection method.
As shown in figure 1, initialize the positional information in pluggable storage device.The clothes according to corresponding to pluggable storage device The position of business device, positional information and other necessary information are write into pluggable storage device in the form of file or block of information etc. In, after completing positional information typing, pluggable storage device is inserted on corresponding server, to avoid server location from changing During pluggable storage device obscure with adjacent pluggable storage device, one end of pluggable storage 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 management needs, active Gather or passively receive the positional information that server program passes over to server program, and by the position of Servers-all Information record, storage.In the process, server program is responsible for periodically reading the information stored in pluggable storage device, and By in the database in the network deliveries such as Ethernet to location server.
User inquires about server location or software carries out asset statistical automatically.User can compile according to server ip, assets Number, the Given information such as model, the positional information of the server required to look up is found in the database on location server, so Afterwards as needed, checked the server found, safeguarded etc. work.Can be to data if for the purpose of asset management Information in storehouse is counted by program, is compared further according to original statement of assets, filters out the asset column of abnormal (missing), When being made an inventory so as to asset management personnel, emphasis is only needed to check abnormal assets.
Fig. 2 represents the detail flowchart of the localization method of embodiment of the present invention.Describe each step in detail with reference to figure 2 Feasible implementation.
Step S201:Selection and the suitable pluggable storage device of preparation.Storage medium can be that all can storage information Medium, such as Flash storage device, magnetic media s storage device, disc storing equipment etc..The connection of storage device and server Interface can be any kind of interface, and such as USB, PCI, PCIE, SAS, SATA, SPI, ESPI, I2C can transmit storage information Interface, be easiest to realize is the common flash disk of USB interface or the customization with EEPROM USB flash disk.
Step S202:To the positional information of storage device write service device, such as country, city, region, computer room name, computer room Code name, frame information, cabinet No., server height position, space-consuming, the storage for management software identification position-specific are set The information such as standby mark or index, but it is not limited only to these positional informations.Due in usual data center, shelf position and service Device position is all planned in advance, so storage device can fill previously according to the planning of rack, advance typing, and with cable etc. Put and pluggable storage device is fixed in reserved rack position, during device restocking to be serviced, pluggable storage device is inserted in On server.
Step S203:After server is installed to rack, the pluggable storage containing positional information of this corresponding position is set It is standby to be inserted on the interface of server.If server needs to change from now on, pluggable storage device is pulled up before changing, waits to change New demand servicing device, pluggable equipment is directly plugged, without being updated to positional information.
Step S204:Server program collects the positional information in the information and pluggable storage device of server, will be normal Server info (such as IP, asset number, type sequence number, component serial number, type, configuration) is carried out with positional information Association.After operating system and management program have been disposed in server, management program, which is identified and read, is stored in pluggable storage Positional information in equipment, and be delivered in the database of the location server of deposit position information.
Step S205:When user needs to position a certain server specified, it is only necessary to believed according to known server Cease and looked into the database of (such as IP, asset number, type sequence number, component serial number information) on location server Ask, you can obtain the positional information of server associated with Query Information.
Step S206:When server is moved, rack shift in position or during rack increase, difference can be according to step S203, S202, S201 enter the setting of row positional information.
Wherein, in order to realize step S204, a variety of logics can be taken, one of which software logic is as shown in Figure 3.Fig. 3 It is to represent the figure for realizing step S204 a kind of software logic in Fig. 2.
As shown in figure 3, in step S301, the management program in server, search whether to exist containing positional information can Movable storage device.If not finding the movable memory equipment containing positional information in step S301, into step S302, In step s 302, the movable storage device with positional information is not found to location server write-in to prompt.If in step S301 In have found the movable memory equipment with positional information, then into step S303, in step S303, management program is by setting Data structure periodically read and be stored in positional information on movable storage device, and obtain for identifying server in itself Required server info (such as IP, product ID).In step s 304, management program will be read by network mode To positional information and server information updating into the database of location server.In step S305, user is according to known Server info (such as IP, product ID) position of given server is inquired about in the database of location server.
In addition, the pluggable storage device for storage location information in the inventive method, can be used as pluggable deposit Storage unit or static memory cell are integrated into inside configuration or the outside of server, as a part for server, and user The memory cell can be modified under certain conditions, server is positioned using similar principle.
Localization method provided by the invention, quick and easy with server selection process, lower deployment cost is low, safeguards simply, Autgmentability is strong, good to the server-compatible of different brands, without changing the advantages that hardware can be achieved.May be used also based on the present invention To realize that server assets are quickly checked, shorten the workload of server assets management.
Although combined the preferred embodiments of the present invention show the present invention above, those skilled in the art will It will be appreciated that without departing from the spirit and scope of the present invention, various modifications can be carried out to the present invention, replaces and changes Become.Therefore, the present invention should not be limited by above-described embodiment, and should be limited by appended claims and its equivalent.

Claims (9)

1. a kind of server selection method, including:
Information acquiring step, by the positional information prestored in the connected storage device of server acquisition and for knowing The server info of not described server in itself;
Information association step, the accessed positional information and the server info are associated by server;With
Information forwarding step, the positional information after association and the server info are sent to location-based service by server Device,
By the location server, the server can be positioned according to the server info.
2. server selection method according to claim 1,
The storage device is integrally fixed at corresponding to server location on rack.
3. server selection method according to claim 1,
The storage device is relative to the pluggable storage device of the server.
4. server selection method according to claim 1,
The positional information and the server info are obtained by the management program in the server or instruction, and will After the acquired positional information is associated with the server info, the location server is sent to.
5. server selection method according to claim 1,
It is periodically executed described information obtaining step.
6. server selection method according to claim 2,
When rack position is there occurs changing, the position letter stored in the storage device being fixed on the rack position is changed Breath.
7. server selection method according to claim 4,
In the case of the positional information being obtained by the management program from the storage device, described information obtaining step Including:
The step of management program searches whether to be stored with the storage device of positional information;
If finding the storage device for being stored with positional information, the management program is periodically read by predetermined data structure The step of taking the positional information stored in storage device, and obtaining the server info;With
The management program is by network, by the step of acquired positional information and server information updating to location server Suddenly.
8. server selection method according to claim 7,
If the management program does not find the storage device for being stored with positional information, do not found to location server write-in The prompting of storage device.
9. a kind of server selection system, including storage device, server and location server,
The positional information that is prestored in the storage device that is connected and described for identifying is obtained by the server The server info of server in itself,
The accessed positional information and the server info are associated by the server, and by after association The positional information and the server info be sent to the location server,
By the location server, the server can be positioned according to the server info.
CN201510616356.2A 2015-09-24 2015-09-24 Server selection method and system Active CN105335270B (en)

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 CN105335270A (en) 2016-02-17
CN105335270B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN113760593B (en) * 2021-07-30 2024-02-13 浪潮电子信息产业股份有限公司 Server positioning method and system

Citations (3)

* Cited by examiner, † Cited by third party
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
CN104598346A (en) * 2015-02-15 2015-05-06 浪潮电子信息产业股份有限公司 Monitoring and management device and method for quick fault positioning in server system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186452A (en) * 2011-12-27 2013-07-03 鸿富锦精密工业(深圳)有限公司 Server system

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN104598346A (en) * 2015-02-15 2015-05-06 浪潮电子信息产业股份有限公司 Monitoring and management device and method for quick fault positioning in server system

Also Published As

Publication number Publication date
CN105335270A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
CN105335270B (en) Server selection method and system
CN104581088B (en) Video monitoring system is traced for intelligent storage
US9170961B2 (en) Location of computing assets within an organization
US7685322B2 (en) Port number emulation for wireless USB connections
US20100289620A1 (en) Connectionless location identification within a server system
US20090282140A1 (en) Method and system for server location tracking
WO2016184385A1 (en) Server positioning method and device
US20160231372A1 (en) Wire Diagram Tagging System
CN202584137U (en) Medical equipment location management system based on internet of things technology
CN103116621B (en) The detection method of computer hardware temperature, system and the method identifying ardware model number
CN110956231A (en) Method, memory and system for automatically binding asset management electronic tag
CN103067485A (en) Disk monitoring method for cloud storage system
US20090115613A1 (en) Association of rack mounted equipment with rack position
CN105416960B (en) Medicine management system and method based on RFID and pharmaceutical packaging structure
CN103873288A (en) System and method for positioning failures of communication network equipment based on alarm information
CN109558380A (en) For handling the method and system of the engineering object in industrial automation environment
CN105516386A (en) Media access control (MAC) address conflict detecting and processing method and system for server management system
CN110888878A (en) Service-oriented main data management method and system
CN105245582A (en) Data center monitoring method and device
US8880740B2 (en) Computing device location
CN107430391B (en) management system
JP2010238007A (en) Layout management apparatus and layout management program
CN104090986A (en) Wireless controller slot position control method, access device and wireless controller
CN109446159B (en) Multi-version file management method, server and computer readable storage medium
CN101794150A (en) Data management method and system of fieldbus instrument management system

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