CN101951341A - Server physical position marking method, equipment and system - Google Patents

Server physical position marking method, equipment and system Download PDF

Info

Publication number
CN101951341A
CN101951341A CN2010102827627A CN201010282762A CN101951341A CN 101951341 A CN101951341 A CN 101951341A CN 2010102827627 A CN2010102827627 A CN 2010102827627A CN 201010282762 A CN201010282762 A CN 201010282762A CN 101951341 A CN101951341 A CN 101951341A
Authority
CN
China
Prior art keywords
physical location
server
switch
information
hostname
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
Application number
CN2010102827627A
Other languages
Chinese (zh)
Other versions
CN101951341B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2010102827627A priority Critical patent/CN101951341B/en
Publication of CN101951341A publication Critical patent/CN101951341A/en
Application granted granted Critical
Publication of CN101951341B publication Critical patent/CN101951341B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides server physical position marking method, equipment and system. The method comprises the following steps: a switchboard receives a configuration request sent by a server; the switchboard generates physical position information of the server according to information of a port for receiving the configuration port and preset physical position information of the pre-configured switchboard; and the switchboard packages the physical position information of the server in the configuration request and forwards the configuration request to configuration equipment so that the configuration equipment can identify a physical position of the server. In the invention, by the technical scheme, the cost and the workload for marking the physical position of the server can be reduced, and the success rate for marking the physical position of the server can be improved.

Description

Server physical location labeling method, equipment and system
Technical field
The present invention relates to the network communications technology, relate in particular to a kind of server physical location labeling method, equipment and system.
Background technology
In the large-scale data center, accommodate thousands of even station server up to ten thousand usually, every station server all needs to be configured and to dispose.By manual type configuration and deployment server is the most traditional a kind of mode.Under this mode, the server that increases newly is transported to the Operation and Maintenance Center of data center by server manufacturer or spare parts warehouse, this station server is carried out operations such as system configuration and Software deployment by the server administrators of Operation and Maintenance Center; Then, the server of finishing configuration and dispose is transported to data center, this station server is installed to assigned address by the staff of data center; Usually server is installed on the frame.
Wherein, a whenever newly-increased station server or the server replacement introduced owing to equipment fault or renewal etc. all need to carry out human configuration and deployment operation.This has data in server center, 10,000 left and right sides for one, may can produce the updating maintenance of up to a million servers every year, and the workload of this configuration and deployment operation is very big, and the human cost of introducing is also very huge on disposing and disposing.In addition, (for example: banking system), it all can be provided with distributed small-sized data center throughout the country even all over the world for the wider data center of some Regional Distribution.Concerning this data center, also there is another problem in the operation scheme of each server being unified to dispose and dispose by Operation and Maintenance Center, promptly must transport between manufacturer or spare parts warehouse, Operation and Maintenance Center and data center for a newly-increased server, this will bring high logistics cost and time loss.
Based on the existing defective of the scheme of conventional arrangement and deployment server, prior art adopts " zero contact " configuration and deployment scheme usually.Being somebody's turn to do " zero contact " configuration and deployment comprises: the server administrators of Operation and Maintenance Center store the configuration information and the deployment script of Servers-all in the automation operation management software in advance.Newly-increased server is transported directly to data center from manufacturer or spare parts warehouse, and does not need through Operation and Maintenance Center; Then, the field personnel by data center is installed to server assigned address and inserts data center network; Treat after the startup of server, by DHCP (Dynamic Host Configuration Protocol; Abbreviate as: DHCP) outwards broadcast configuration request; Data center is equipped with the server of automation operation management software as Dynamic Host Configuration Protocol server, after receiving the configuring request that other servers send, according to stored configuration information and deployment script are configured and dispose each server in advance.In this mode, the server administrators of Operation and Maintenance Center do not need to contact concrete server, alleviated server administrators' work load, also shortened the time loss in server configuration and the deployment simultaneously, newly-increased server is put into production faster.
But above-mentioned " zero contact " configuration and deployment scheme have difficulties in actual applications.Because in actual applications, usually there are bigger difference in function between each server and configuration.For example: the server on some frame may be configured to the Web front-end server, and the server on other frames may be configured to database or search server; Even the server on the same frame, some may need to use as the scheduling server, and other are then worked as the Distributed Calculation node.Wherein, the function of server and the physical location of server are closely related, therefore, automation operation management software must identify the installation site (being physical location) of the server that sends configuring request, could determine how this server is configured and disposes according to positional information.Therefore, how the physical location of mark server becomes in " zero contact " configuration and the deployment scheme problem to be solved is arranged.
Usually, server administrators make a configuration packet that comprises Back ground Informations such as server physical location mark for every station server in advance, and this configuration packet is a carrier with CD or USB flash disk usually, and are disposed at the server outside.The staff of data center is after being installed to assigned address with server, this configuration packet is inserted server, import after the Back ground Information in the configuration packet by server and dispose by " zero contact " and dispositions method is finished system configuration and Software deployment to server.
In the technical scheme of above-mentioned mark server physical location, need make a configuration packet for every station server; When the quantity of server was big, the medium cost and the workload of making this configuration packet all were very huge, and because bigger workload is made mistakes in the process of manual manufacture configuration packet easily, and then reduced the success rate of mark server.
Summary of the invention
The invention provides a kind of server physical location labeling method, equipment and system, in order to solving the big problem of cost height, workload that prior art exists when the mark server physical location, and improve the success rate of mark server.
The invention provides a kind of server physical location labeling method, comprising:
The configuring request that the switch reception server sends;
Described switch generates the physical location information of described server according to the physical location information of the information of the port that receives described configuring request and pre-configured described switch;
Described switch is encapsulated into the physical location information of described server in the described configuring request, and described configuring request is transmitted to configuration device, discerns the physical location of described server for described configuration device.
The invention provides a kind of server physical location marking arrangement, comprising:
Receiver module is used for the configuring request that reception server sends;
Generation module is used for the physical location information according to the information of the port of the server physical location marking arrangement that receives described configuring request and pre-configured server physical location marking arrangement, generates the physical location information of described server;
Transmit mark module, be used for the physical location information of described server is encapsulated into described configuring request, and described configuring request is transmitted to configuration device, discern the physical location of described server for described configuration device.
The invention provides a kind of server physical location Mk system, comprise server physical location marking arrangement provided by the invention, also comprise server and configuration device;
Described server is used for by described server physical location marking arrangement, sends configuring request to described configuration device;
Described configuration device, be used to receive the described configuring request of transmitting by described server physical location marking arrangement, and discern the physical location of described server according to the physical location information of the described server in the described configuring request, to realize the described server of mark; The physical location information of described server is generated and is encapsulated in the described configuring request by described server physical location marking arrangement.
Server physical location labeling method provided by the invention, equipment and system, physical location information by pre-configured switch, then, finish by switch the server physical location is carried out mark, and the physical location of server is encapsulated into is transmitted to configuration device in the configuring request, so that configuration device identifies the physical location of server, reach the purpose of mark server physical location.In technical solution of the present invention, do not need to make configuration packet for every station server in advance, only need the physical location information of pre-configured switch; Because the quantity of switch is far smaller than the quantity of server in data center, therefore, come the physical location of mark server by technical solution of the present invention, no matter be that cost or workload all are starkly lower than prior art, promptly technical solution of the present invention can reduce the cost and the workload of mark server physical location; And because the reduction of workload, the error rate in the time of also can reducing the physical location information of configuration switch, and then improve the success rate of mark server physical location.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the server physical location labeling method that Fig. 1 provides for the embodiment of the invention one;
The flow chart of the method for the physical location information of the configuration switch that Fig. 2 provides for the embodiment of the invention two;
The flow chart of the configuration that Fig. 3 provides for the embodiment of the invention three and the method for deployment server;
A kind of structural representation of the server physical location marking arrangement that Fig. 4 provides for the embodiment of the invention four;
The another kind of structural representation of the server physical location marking arrangement that Fig. 5 provides for the embodiment of the invention four;
A kind of structural representation of the server physical location Mk system that Fig. 6 provides for the embodiment of the invention five;
The another kind of structural representation of the server physical location Mk system that Fig. 7 provides for the embodiment of the invention five.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Usually in the large-scale data center, server is that the form with frame is mounted, and a large amount of servers are installed in the standardized service device frame, are the whole data center network that inserts of unit with the frame.Wherein, frame is split into different clusters usually, and each cluster can be divided different groups again so that frame and server are managed.
On a frame, server and an access switch about 40 can be installed usually.Access switch is installed to the top of frame, and every station server inserts data center network by this access switch.Wherein, the installation site of every station server is corresponding with a port on the switch, and this connected mode helps network layout and management on the one hand, is the basis of technical solution of the present invention on the other hand.Promptly come concrete location-server by the switch that navigates on the frame.
Based on top argumentation, describe the specific implementation process of technical solution of the present invention in detail below by specific embodiment.
Embodiment one
The flow chart of the server physical location labeling method that Fig. 1 provides for the embodiment of the invention one.The executive agent of present embodiment is the switch that is disposed at the frame top, and as shown in Figure 1, the labeling method of present embodiment comprises:
Step 101, the configuring request that the switch reception server sends;
Wherein, in " zero contact " configuration and deployment scheme, after server is installed to assigned address and start, the outside broadcast configuration request of meeting, the configuration device that automation operation management software is installed with request is configured and disposes it.Wherein, assigned address is specially on the interior frame of certain group of certain cluster.Because server inserts data center network by switch, therefore, exchange opportunity at first receives the configuring request of server.
Step 102, switch generate the physical location information of server according to the physical location information of the information of the port that receives configuring request and pre-configured switch;
Wherein, the physical location information of pre-configured switch in the present embodiment, promptly switch can identify its physical location; For example: it is on the 2nd group of No. 4 frame of cluster A that switch can identify its position.Wherein, switch can be known the information of the port that receives configuring request by its hardware, for example: the described VLAN of port numbers and port (Virtual Local AreaNetwork; Abbreviate as: VLAN) number (being VLAN ID) etc.Because the corresponding station server of each port on the switch, therefore, port numbers that can the unique identification port can be used for this port corresponding server of unique identification; In addition, when switch supported vlans function, because each port can belong to a unique VLAN again and promptly have unique VLAN ID, therefore, VLAN ID also can be used for auxiliary port number to identify the port corresponding server more accurately.Therefore, in the present embodiment, switch is according to being the physical location information that the physical location information of its configuration and the information that receives the port of configuring request generate server in advance; Therefore the physical location information difference of the different server that generates by this mode, can reach the purpose of identification different server.
Need explanation at this, can only insert a station server under each port of the switch of present embodiment, to concern one to one between assurance port and the server.
Step 103, switch is encapsulated into the physical location information of server in the configuring request, and configuring request is transmitted to configuration device, for the physical location of configuration device identified server.
Concrete, switch is encapsulated into the physical location information of the server that generates in the configuring request that receives, and the configuring request of the physical location information of package server is transmitted to configuration device in the data center network; Configuration device can be resolved the physical location information that obtains server wherein after receiving configuring request, and according to physical location information identification and this server of mark of obtaining; Then, configuration device is finished configuration and deployment to server according to information such as the physical location of server, pre-configured configuration information and deployment script.For example: configuration device can adopt existing " zero contact " configuration and deployment scheme realization system configuration and the Software deployment to server after obtaining the physical location information of server.
The server physical location labeling method that present embodiment provides, physical location by pre-configured switch, and by the information of switch according to the port of the configuring request of pre-configured physical location and reception server, generation can the uniquely tagged server physical location information, realization is to the mark of the physical location of server, and configuration device is realized server identification, configuration and deployment operation according to the physical location of institute's mark.In the present embodiment, do not need all servers of handmarking, do not need to make configuration packet yet, only need the physical location information of pre-configured switch for every station server.Because in the large-scale data center, the quantity of switch and server ratio is approximately 1: 40, and along with the development of switch, this quantity ratio will be more and more littler; Promptly in a data center that has 10,000 station servers, only be no more than 250 switches, therefore, present embodiment is undertaken pre-configured by the physical location information to switch, and realize the physical location technical scheme of automatic mark server, no matter be on the cost or on the workload, it all obviously is better than the prior art scheme; Further, the reduction owing to workload can also reduce the error rate of the physical location information of pre-configured switch, and then can improve the success rate of the physical location information of mark server, and the purpose of the configuration server that finally hits pay dirk.
In technique scheme, switch preferably adopts the port numbers of the port that receives configuring request as the used information of physical location that generates server.Based on this, switch specifically by will be in advance for the information of the physical location information of its configuration and port directly makes up, as the physical location information of server.Because the unique corresponding port of port numbers, and the unique corresponding station server of this port, therefore, the physical location information of Xing Chenging can this port numbers corresponding server of uniquely tagged in the above described manner; And the mode of above-mentioned direct combination has simple to operate, easy to implement, and the advantage that need not to waste the too many resource of switch.
Further, in technique scheme, the optimal way of the physical location information of configuration switch is with the physical location information of the switch Hostname of machine in return.For example: the Hostname of switch can be configured to " SW_ClusterA_Group2_Rack4 ", this Hostname represents that this switch is the switch that is positioned on the 2nd group of No. 4 frame of cluster A.Because physical location is unique, therefore, with the physical location information of switch in return the Hostname of machine both can reach the purpose of unique identification switch, can reach the purpose of identification switch physical location again; And can also save as its Hostname with the physical location information of switch is the required various resources of switch configuration Hostname.
Further again, the configuration device of present embodiment can be the equipment such as computer that automation operation management software are installed and support certain configuration protocol.Wherein, based on the parameter configuration mechanism that the DHCP agreement provides, technical solution of the present invention preferably realizes the configuration and the deployment of server are managed by the DHCP agreement.Based on this, the configuration device in the technical solution of the present invention is the server of disposing the DHCP service, i.e. a Dynamic Host Configuration Protocol server normally; Then server need send configuring request by switch to Dynamic Host Configuration Protocol server with the form of DHCP message.
In technique scheme of the present invention, need the physical location of pre-configured switch, then technical solution of the present invention also provides a kind of technical scheme of physical location information of pre-configured switch, please see the description of the embodiment of the invention two for details.
Embodiment two
The flow chart of the method for the physical location information of the configuration switch that Fig. 2 provides for the embodiment of the invention two.As shown in Figure 2, the layoutprocedure of present embodiment comprises:
Step 201, the configuration packet of making the physical location information of switch;
Wherein, the configuration packet of present embodiment mainly is meant the external storage of the physical location information that is used for storage switch, and it can be number punching, USB flash disk, flash card, EEPROM (Electrically Erasable Programmable Read Only Memo) (Electrically Erasable Programmable Read-OnlyMemory on bar code scanner, the frame; Abbreviate as: EEPROM) or static random access memory (Static Random AccessMemory; Abbreviate as: but the carrier of any store electrons mark such as SRAM).Be that example is as external storage in the present embodiment with the USB flash disk.
Concrete, the process of making configuration packet comprises: according to the geographical position of switch place frame and the sign of frame, the physical location information of configuration switch is preferably the Hostname of configuration switch; It is the identification information that the Hostname of switch comprises frame geographical position and frame; For example: the Hostname of configuration switch is: " SW_ClusterA_Group2_Rack4 ".Then, the Hostname " SW_ClusterA_Group2_Rack4 " with the switch that configures stores in the external storage (being USB flash disk).At this moment, the USB flash disk that stores the exchanger host title is the configuration packet of present embodiment made.
In the present embodiment, require switch to be provided with universal serial bus (Universe Serial Bus; Abbreviate as: USB) interface or flash memory card slot; Wherein, if switch is provided with USB interface, then external storage can be selected USB flash disk for use; If switch is provided with flash memory card slot, then external storage can be selected safe digital card (Secure Digital Memory Card for use; The SD card) or compact flash (Compact Flash abbreviate as:; The CF card) abbreviate as: flash card such as.Usually, manufacturer all can be provided with above-mentioned interface or slot on switch, so that switch is carried out firmware upgrade and maintenance management.Because as external storage, therefore, design has USB interface to present embodiment on the adaptive switch that requires present embodiment with USB flash disk.And convenient in order to safeguard, present embodiment is fastened USB flash disk on the frame of switch correspondence, with the physical location notice plate of machine in return, is commonly called in this area " dog tag ".
Because the durability of technical grade USB flash disk is all very high, mean free error time can reach more than 500,000 hours usually, be equivalent to more than 50 year, therefore, for a data center, present embodiment only needs to make once " dog tag " and can satisfy the long-term use of data center in the whole operation phase by the technical scheme of the physical location of making " dog tag " label switch, has comparatively speaking to economize on resources and time saving advantage.And because the switch negligible amounts, the workload of making " dog tag " of switch reduces, and error probability is less, makes the physical location information accuracy of the switch that marks higher, and then improves the accuracy of the server physical location that marks.
Step 202 is connected configuration packet with switch, with the information in switch provides configuration packet;
Concrete, when the O﹠M staff is installed to switch on the frame, and after being connected to each station server on the frame on the corresponding port with this switch, insert on the USB interface of switch being bolted to USB flash disk on the frame (be dog tag ") in advance; and connect the power supply of switch; obtain physical location information in the USB flash disk, specifically be meant the Hostname of switch for switch.
Step 203, switch are carried out the configuration of physical location information according to the Hostname in the configuration packet.
This step 203 specifically comprises:
Step 2031, switch are obtained pre-configured Hostname; In the present embodiment, this Hostname is the Hostname that stores in advance in the USB flash disk, and then switch obtains Hostname automatically from USB flash disk.
Step 2032, switch are inquired about the information stores space of switch according to pre-configured Hostname; Wherein this information stores space is used for the relevant configuration information of storage switch; Concrete, when switch was the switch of a new installation, this switch may not comprise any configuration information, and therefore, this information stores space is empty; If switch during for the switch that has been in use, then stores the Hostname that switch disposed etc. in this information stores space.
Step 2033, switch judge Query Result whether for the information stores space for empty; If Query Result is empty for the information stores space, then execution in step 2034; Otherwise then execution in step 2035;
Step 2034, switch stores pre-configured Hostname in the information stores space into, with the physical location information of machine in return, and finishes;
Step 2035, switch be according to pre-configured Hostname lastest imformation memory space, and with the physical location information of pre-configured Hostname as described switch, and finish.
Wherein, the renewal operation of present embodiment specifically comprises: when consistent with the Hostname in the information stores space as if pre-configured Hostname, the physical location that switch is described do not change (perhaps pre-configured Hostname successfully is imported into), then switch is not carried out any operation, this moment with Hostname as its physical location information; When if pre-configured Hostname and the Hostname in the information stores space are inconsistent, the physical location that switch is described changes, then this moment, switch emptied the configuration information of information stores space stored, then pre-configured Hostname is stored in the information stores space, and wait for that the configuration of configuration device and deployment operation are to reconfigure and to dispose it.
The method that provides by present embodiment can pre-configured switch physical location information, and this scheme have simple, the advantage that cost and workload are lower.
Embodiment three
The flow chart of the configuration that Fig. 3 provides for the embodiment of the invention three and the method for deployment server.Present embodiment realizes that based on embodiment one and embodiment two same operation repeats no more.As shown in Figure 3, the method for present embodiment comprises:
Step 301, the configuration packet of making switch in advance, and configuration packet fastened on the frame of switch place;
Step 302, switch are in advance according to the physical location information of the information configuration in the configuration packet itself; Above-mentioned steps 301 and step 302 specifically can be referring to the descriptions among the embodiment two.
Step 303, the server that is connected with switch are by switch, and to the Dynamic Host Configuration Protocol server transmission DHCP of data center message, request is configured and disposes;
Step 304, switch receives the DHCP message by the port of Connection Service device on it, obtains the port numbers of receiving port, and pre-configured physical location information and port numbers own made up, generate the physical location information of server, realize mark the physical location of server;
Step 305, switch is encapsulated into the physical location information of the server of generation in the Circurit id field of DHCP message, and the DHCP message behind the physical location information of package server is transmitted to the Dynamic Host Configuration Protocol server of data center; Wherein, store the configuration information and the deployment script of pre-configured server on the Dynamic Host Configuration Protocol server.Present embodiment specifically provides a kind of form of physical location information of server: the port numbers (InterfaceNumber) of exchanger host name (Switch Name)+reception DHCP message; For example: Switch SW_ClusterA_Group2_Rack4 Interface gigabitethernet4 represents that No. 4 gigabit ethernet ports of the switch on the 2nd group of No. 4 frame of cluster A receive the DHCP message.Above-mentioned steps 304 and step 305 can be referring to the descriptions of embodiment one.
Step 306, after Dynamic Host Configuration Protocol server receives the DHCP message, the physical location information of server in the Circurit id field of DHCP message is obtained in parsing, according to the physical location information that obtains and stored configuration information and deployment script in advance, server is carried out system configuration and Software deployment.
In the present embodiment, Dynamic Host Configuration Protocol server is resolved from the Circurit id field and is got access to SwitchSW_ClusterA_Group2_Rack4 Interface gigabitethernet 4, and identify No. 4 servers that are positioned on the 2nd group of No. 4 frame of cluster A in view of the above and sent the DHCP message, reached the purpose of the physical location of mark server, and final configuration and the deployment that realizes this server.
Based on the description of top each embodiment as can be known, technical solution of the present invention comes down to the physical location that physical location with the every station server of direct mark is transformed into the switch that direct mark is connected with server, and the server of its connection is carried out the mark of physical location by the switch that has pre-configured physical location; On the one hand, technical solution of the present invention has not only reduced the cost and the workload of mark server physical location; On the other hand,, need not manual intervention in the whole process, can realize " zero contact " configuration and deployment truly from the operation that server is carried out; Moreover, adopting technical solution of the present invention, server administrators can become more meticulous from the granularity of server and dispose and configuration management, have adapted to the requirement of flexible and changeable modernized data center management greatly.
Wherein, be the physical location that example is come the mark server with the port numbers of switch in the above-described embodiments.Further, when switch supported vlans function, can also carry out mark more accurately to the physical location of server by the VLAN ID auxiliary port under the port number.At this moment, the form of the physical location information of the server that is marked is: the port numbers (Interface Number) of this port of VLAN+ under the port of exchanger host name (Switch Name)+reception DHCP message; Concrete form is as Switch SW_ClusterA_Group2_Rack4 vlan 1 Interface gigabitethernet 4, and No. 4 gigabit ethernet ports that belong to VLAN 1 of the switch of the supported vlans function on the 2nd group of No. 4 frame of expression cluster A receive the DHCP message.Wherein, No. 4 ports of VLAN 1 sign belong to the VLAN of default setting.Related content about VLAN belongs to prior art, and present embodiment repeats no more.
Embodiment four
A kind of structural representation of the server physical location marking arrangement that Fig. 4 provides for the embodiment of the invention four.The server physical location equipment of present embodiment can also can be used as the part of switch for being disposed at the switch on frame top, is arranged at switch inside.As shown in Figure 4, the equipment of present embodiment comprises: receiver module 41, generation module 42 and forwarding mark module 43.
Wherein, receiver module 41 is used for the configuring request that reception server sends; Generation module 42, be connected with receiver module 41, be used for physical location information, generate the physical location information of server according to the information of the port on the server physical location marking arrangement that receives configuring request and pre-configured server physical location marking arrangement; Transmit mark module 43, be connected, be used for the physical location information of server is encapsulated into configuring request, and configuring request is transmitted to configuration device, for the physical location of configuration device identified server with generation module 42.
The server physical location marking arrangement of present embodiment can be used for carrying out the flow process of the server physical location labeling method that the embodiment of the invention provides.Present embodiment specifically obtains the configuring request that server sends to configuration device by receiver module; Generate the mark of the physical location information realization of server by generation module to the physical location of server; And be encapsulated into and be transmitted to configuration device in the configuring request so that configuration device is discerned the physical location of this server by transmitting the physical location information of mark module with server.In the present embodiment, do not need all servers of handmarking, do not need to make configuration packet yet, only need the physical location information of pre-configured server physical location marking arrangement for every station server.Because in the large-scale data center, the quantity of server physical location marking arrangement is much smaller than the quantity of server, therefore, present embodiment is undertaken pre-configured by the physical location information to server physical location marking arrangement, and realize the physical location technical scheme of automatic mark server, no matter be on the cost or on the workload, it all obviously is better than the prior art scheme; Further, because the reduction of workload, the error rate in the time of can reducing the physical location information of configuration server physical location marking arrangement, and then improve the success rate of the physical location of mark server.
In technique scheme, generation module 42 specifically can make up the physical location information of server physical location marking arrangement and the information of port, to generate the physical location information of server.The information of its middle port can be port numbers and VLAN ID etc.
Further, as shown in Figure 5, the server physical location marking arrangement of present embodiment also comprises configuration module 44, is connected with generation module 42, is used for the physical location information of configuration server physical location marking arrangement.Concrete, this configuration module 44 comprises: acquiring unit 441, query unit 442, stored configuration unit 443 and renewal dispensing unit 444.
The concrete operation principle of this configuration module 44 is as follows: acquiring unit 441 obtains pre-configured Hostname, and offers query unit 442; For example, can obtain Hostname from the configuration packet (being external storage) that stores pre-configured Hostname, this configuration packet is fastened in advance on the frame at server physical location marking arrangement place.Query unit 442 is used for the pre-configured Hostname that obtains according to acquiring unit 441, the information inquiring memory space, and Query Result offered stored configuration unit 443 and upgrade dispensing unit 444; Stored configuration unit 443 is used for pre-configured Hostname being stored in the information stores space, with the physical location information as server physical location marking arrangement when the Query Result of query unit 442 is sky for the information stores space; Upgrade dispensing unit 444, be used for Query Result in query unit 442 and be the information stores space when empty, according to pre-configured Hostname lastest imformation memory space, and with the physical location information of pre-configured Hostname as server physical location marking arrangement.
By technique scheme, can realize pre-configured to the physical location information of server physical location marking arrangement.
Embodiment five
A kind of structural representation of the server physical location Mk system that Fig. 6 provides for the embodiment of the invention five.As shown in Figure 6, the system of present embodiment comprises: server physical location marking arrangement 61, server 62 and configuration device 63.Server 62 is connected with server physical location marking arrangement 61, and server physical location marking arrangement 61 is connected with configuration device 63.
Concrete, server physical location marking arrangement 61 is arranged at the top of frame; Server 62 is connected in the port on the server physical location marking arrangement 61, is used for by server physical location marking arrangement 61, sends configuring request to configuration device 63; Configuration device 63 is arranged in the data center network, be used to receive the configuring request of transmitting by server physical location marking arrangement 61, and according to the physical location of the physical location information identified server 62 of the server in the configuring request 62, realizing mark server 62, and finish configuration and deployment to server 62; Wherein, the physical location information of server 62 is generated and is encapsulated in the configuring request by server physical location marking arrangement 61.And the server physical location marking arrangement that server physical location marking arrangement 61 can provide for the above embodiment of the present invention, its concrete structure and operation principle can not repeat them here referring to the description of the above embodiment of the present invention.
The server physical location Mk system that present embodiment provides, can be used for carrying out the flow process of the server physical location labeling method that the embodiment of the invention provides, carry out in the process of mark at physical location server, do not need all servers of handmarking, do not need to make configuration packet yet, only need the physical location information of pre-configured server physical location marking arrangement for every station server.Because in the large-scale data center, the quantity of server physical location marking arrangement is much smaller than the quantity of server, therefore, present embodiment is undertaken pre-configured by the physical location information to server physical location marking arrangement, and realize the physical location technical scheme of automatic mark server, no matter be on the cost or on the workload, it all obviously is better than the prior art scheme; And because the reduction of workload, the error probability in the time of also can reducing the physical location information of configuration server physical location marking arrangement improves the success rate of mark server physical location.
Wherein, based on the parameter configuration mechanism that the DHCP agreement provides, technical solution of the present invention preferably realizes the configuration and the deployment of server are managed by the DHCP agreement.Based on this, the configuration device in the present embodiment is the server of disposing the DHCP service, i.e. a Dynamic Host Configuration Protocol server normally; Then server need send configuring request by switch to Dynamic Host Configuration Protocol server by the form of DHCP message.
Further, as shown in Figure 7, the system of present embodiment also comprises: external storage 64, be connected with server physical location marking arrangement 61, be used to store the Hostname of pre-configured server physical location marking arrangement 61, for server physical location marking arrangement 61 according to the pre-configured physical location information of Hostname itself; Wherein, Hostname is according to the geographical position of server physical location marking arrangement 61 place frames and the sign of frame, and is pre-configured and store in the external storage 64.In the present embodiment, external storage 64 is bolted on the frame at server physical location marking arrangement 61 places, so that maintenance and operation in advance.But the external storage of present embodiment can be the carrier of any store electrons marks such as number punching, USB flash disk, flash card, EEPROM or SRAM on bar code scanner, the frame.
Wherein, the principle of above-mentioned external storage of present embodiment and server physical location marking arrangement cooperating can be referring to the description among the embodiment two.The Hostname that passes through the pre-configured server physical location marking arrangement of external storage storage that present embodiment provides, and the technical scheme of the Hostname of pre-configured server physical location marking arrangement, the server physical location marking arrangement making configuration packet that only is required to be negligible amounts also is configured in advance, has obviously reduced cost and workload.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a server physical location labeling method is characterized in that, comprising:
The configuring request that the switch reception server sends;
Described switch generates the physical location information of described server according to the physical location information of the information of the port that receives described configuring request and pre-configured described switch;
Described switch is encapsulated into the physical location information of described server in the described configuring request, and described configuring request is transmitted to configuration device, discerns the physical location of described server for described configuration device.
2. server physical location labeling method according to claim 1 is characterized in that the physical location information that disposes described switch comprises:
Described switch obtains pre-configured Hostname;
Described switch is inquired about the information stores space of described switch according to pre-configured Hostname;
If Query Result is described information stores space is empty, pre-configured Hostname is stored in the described information stores space, with physical location information as described switch;
If Query Result is described information stores space is not empty, upgrade described information stores space according to pre-configured Hostname, and with the physical location information of pre-configured Hostname as described switch.
3. server physical location labeling method according to claim 2 is characterized in that, described switch comprises before obtaining pre-configured Hostname:
According to the geographical position of described switch place frame and the sign of described frame, dispose the Hostname of described switch; Described Hostname comprises the geographical position of described frame and the sign of described frame;
The Hostname of the described switch that configures is stored in the external storage, from described external storage, obtain described pre-configured Hostname for described switch.
4. server physical location labeling method according to claim 3 is characterized in that, described external storage is bar code scanner, digital punching, USB flash disk, flash card, EEPROM (Electrically Erasable Programmable Read Only Memo) or static RAM.
5. server physical location labeling method according to claim 1, it is characterized in that, described switch is according to the physical location information of the information of the port that receives described configuring request and pre-configured described switch, and the physical location information that generates described server is specially:
Described switch makes up the physical location information of described switch and the information of described port, generates the physical location information of described server.
6. according to each described server physical location labeling method of claim 1-5, it is characterized in that described configuration device is a Dynamic Host Configuration Protocol server;
Described server sends described configuring request with the form of dynamic host configuration protocol message.
7. a server physical location marking arrangement is characterized in that, comprising:
Receiver module is used for the configuring request that reception server sends;
Generation module is used for the physical location information according to the information of the port of the server physical location marking arrangement that receives described configuring request and pre-configured server physical location marking arrangement, generates the physical location information of described server;
Transmit mark module, be used for the physical location information of described server is encapsulated into described configuring request, and described configuring request is transmitted to configuration device, discern the physical location of described server for described configuration device.
8. server physical location marking arrangement according to claim 7 is characterized in that, also comprises:
Configuration module is used to dispose the physical location information of described server physical location marking arrangement;
Described configuration module comprises:
Acquiring unit is used to obtain pre-configured Hostname;
Query unit is used for the pre-configured Hostname that obtains according to described acquiring unit, inquires about the information stores space of described server physical location marking arrangement;
The stored configuration unit is used for Query Result in described query unit and is described information stores space when empty, pre-configured Hostname is stored in the described information stores space, with the physical location information as described server physical location marking arrangement;
Upgrade dispensing unit, be used for Query Result in described query unit and be described information stores space when empty, upgrade described information stores space according to pre-configured Hostname, and with the physical location information of pre-configured Hostname as described server physical location marking arrangement.
9. server physical location marking arrangement according to claim 7, it is characterized in that, described generation module specifically is used for the physical location information of described server physical location marking arrangement and the information of described port are made up, to generate the physical location information of described server.
10. a server physical location Mk system that comprises each described server physical location marking arrangement of claim 7-9 is characterized in that, also comprises: server and configuration device;
Described server is used for by described server physical location marking arrangement, sends configuring request to described configuration device;
Described configuration device, be used to receive the described configuring request of transmitting by described server physical location marking arrangement, and discern the physical location of described server according to the physical location information of the described server in the described configuring request, to realize the described server of mark; The physical location information of described server is generated and is encapsulated in the described configuring request by described server physical location marking arrangement.
11. server physical location Mk system according to claim 10 is characterized in that, also comprises:
External storage is used to store the Hostname of described server physical location marking arrangement, disposes the physical location information of described server physical location marking arrangement according to described Hostname for described server physical location marking arrangement; Described Hostname is according to the geographical position of described server physical location marking arrangement place frame and the sign of described frame, and is pre-configured and store in the described external storage.
12., it is characterized in that described configuration device is a Dynamic Host Configuration Protocol server according to claim 10 or 11 described server physical location Mk systems;
Described server sends described configuring request with the form of dhcp request message.
CN2010102827627A 2010-09-14 2010-09-14 Server physical position marking method, equipment and system Expired - Fee Related CN101951341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102827627A CN101951341B (en) 2010-09-14 2010-09-14 Server physical position marking method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102827627A CN101951341B (en) 2010-09-14 2010-09-14 Server physical position marking method, equipment and system

Publications (2)

Publication Number Publication Date
CN101951341A true CN101951341A (en) 2011-01-19
CN101951341B CN101951341B (en) 2012-08-15

Family

ID=43454704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102827627A Expired - Fee Related CN101951341B (en) 2010-09-14 2010-09-14 Server physical position marking method, equipment and system

Country Status (1)

Country Link
CN (1) CN101951341B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722482A (en) * 2011-03-29 2012-10-10 鸿富锦精密工业(深圳)有限公司 Data classification system and method
CN103138971A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server cabinet system
CN104038522A (en) * 2013-03-06 2014-09-10 深圳先进技术研究院 Virtual-real hybrid space positioning system based on Internet of Things
CN104079506A (en) * 2014-07-18 2014-10-01 国家电网公司 Three-layer management structure and application thereof based on geographical position information and used for switch ports
CN104079676A (en) * 2013-03-27 2014-10-01 中国移动通信集团公司 Method and equipment of searching address of cloud computing cluster host
CN106415307A (en) * 2014-02-28 2017-02-15 泰科消防及安全有限公司 Real-time location system in wireless sensor network
US10223888B2 (en) 2014-04-02 2019-03-05 Tyco Fire & Security Gmbh Personnel authentication and tracking system
CN109474443A (en) * 2017-09-07 2019-03-15 中移(杭州)信息技术有限公司 A kind of configuration method, device, system and the communication equipment of newly-increased server
CN109525439A (en) * 2018-12-21 2019-03-26 郑州云海信息技术有限公司 A kind of method and system of RACK server switch vlan network management
US10878323B2 (en) 2014-02-28 2020-12-29 Tyco Fire & Security Gmbh Rules engine combined with message routing
CN113726543A (en) * 2020-05-26 2021-11-30 北京达佳互联信息技术有限公司 Operation and maintenance service processing method, device, system, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005311781A (en) * 2004-04-22 2005-11-04 Japan Telecom Co Ltd Network system
CN1791029A (en) * 2005-12-23 2006-06-21 杭州华为三康技术有限公司 Method and system for automatically gaining configuration management server initial allocation
CN1852187A (en) * 2005-07-13 2006-10-25 华为技术有限公司 Method for realizing access-in management of on-line apparatus
CN101170423A (en) * 2007-11-15 2008-04-30 曙光信息产业(北京)有限公司 A service-oriented service cluster deployment method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005311781A (en) * 2004-04-22 2005-11-04 Japan Telecom Co Ltd Network system
CN1852187A (en) * 2005-07-13 2006-10-25 华为技术有限公司 Method for realizing access-in management of on-line apparatus
CN1791029A (en) * 2005-12-23 2006-06-21 杭州华为三康技术有限公司 Method and system for automatically gaining configuration management server initial allocation
CN101170423A (en) * 2007-11-15 2008-04-30 曙光信息产业(北京)有限公司 A service-oriented service cluster deployment method

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722482A (en) * 2011-03-29 2012-10-10 鸿富锦精密工业(深圳)有限公司 Data classification system and method
CN103138971B (en) * 2011-11-28 2016-06-01 英业达科技有限公司 Server cabinet system
CN103138971A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server cabinet system
CN104038522B (en) * 2013-03-06 2019-06-28 深圳先进技术研究院 A kind of virtual-real blending space positioning system Internet-based
CN104038522A (en) * 2013-03-06 2014-09-10 深圳先进技术研究院 Virtual-real hybrid space positioning system based on Internet of Things
CN104079676A (en) * 2013-03-27 2014-10-01 中国移动通信集团公司 Method and equipment of searching address of cloud computing cluster host
US10379873B2 (en) 2014-02-28 2019-08-13 Tyco Fire & Security Gmbh Distributed processing system
US10854059B2 (en) 2014-02-28 2020-12-01 Tyco Fire & Security Gmbh Wireless sensor network
US11747430B2 (en) 2014-02-28 2023-09-05 Tyco Fire & Security Gmbh Correlation of sensory inputs to identify unauthorized persons
US10878323B2 (en) 2014-02-28 2020-12-29 Tyco Fire & Security Gmbh Rules engine combined with message routing
US10268485B2 (en) 2014-02-28 2019-04-23 Tyco Fire & Security Gmbh Constrained device and supporting operating system
US10289426B2 (en) 2014-02-28 2019-05-14 Tyco Fire & Security Gmbh Constrained device and supporting operating system
CN106415307B (en) * 2014-02-28 2019-05-14 泰科消防及安全有限公司 Real time location system in wireless sensor network
US10297128B2 (en) 2014-02-28 2019-05-21 Tyco Fire & Security Gmbh Wireless sensor network
CN106415307A (en) * 2014-02-28 2017-02-15 泰科消防及安全有限公司 Real-time location system in wireless sensor network
US10223888B2 (en) 2014-04-02 2019-03-05 Tyco Fire & Security Gmbh Personnel authentication and tracking system
CN104079506A (en) * 2014-07-18 2014-10-01 国家电网公司 Three-layer management structure and application thereof based on geographical position information and used for switch ports
CN104079506B (en) * 2014-07-18 2017-02-15 国家电网公司 Three-layer management structure and application thereof based on geographical position information and used for switch ports
CN109474443A (en) * 2017-09-07 2019-03-15 中移(杭州)信息技术有限公司 A kind of configuration method, device, system and the communication equipment of newly-increased server
CN109525439A (en) * 2018-12-21 2019-03-26 郑州云海信息技术有限公司 A kind of method and system of RACK server switch vlan network management
CN113726543A (en) * 2020-05-26 2021-11-30 北京达佳互联信息技术有限公司 Operation and maintenance service processing method, device, system, server and storage medium
CN113726543B (en) * 2020-05-26 2023-05-02 北京达佳互联信息技术有限公司 Operation and maintenance service processing method, device, system, server and storage medium

Also Published As

Publication number Publication date
CN101951341B (en) 2012-08-15

Similar Documents

Publication Publication Date Title
CN101951341B (en) Server physical position marking method, equipment and system
CN103259835A (en) On board unit accessing method system and device
CN102780569B (en) Method for remote management and network element device
CN101281493A (en) And non flash memory device and management method thereof
CN102857370A (en) Resource allocating method and device
CN101174898B (en) Tele-management method and system for optical network unit
CN101344931A (en) RFID integration machine
CN101834792A (en) Method and correlative device for configuring optical network unit of ethernet passive optical network system
CN102427410A (en) Method, device and system for processing fiber channel identity, and network equipment
CN102137007A (en) Method and system for generating network topology as well as coordinator
CN100385973C (en) Business information processing system and method
CN102611563A (en) Management system of RFID (radio frequency identification devices) electronic distributing frame
CN101877002A (en) Memory database distributed type access method and system based on unified interface
CN104657841A (en) Express item delivery method, delivery processing method, express cabinet terminal and service system
CN101958939A (en) Automatic distribution method and system for multi-machine communication node equipment key address
CN105139149A (en) Method for rapidly checking asset configuration information of servers
CN100334841C (en) LCS network management method based on hierarchical chained list and dynamic XML technique
CN101753434B (en) Radio frequency identification router and radio frequency identification network system
CN101197713A (en) Method and device for identifying communication equipment
CN101873228B (en) Management system and method for material information of network equipment
CN102148702B (en) Method for managing network by utilizing network configuration protocol
CN101212346A (en) Software version management method and device for network element management system
CN102571935B (en) A kind of method of transfer of data, client, server and system
CN103051478A (en) Large-capacity telecommunication network management system as well as setting and application methods thereof
CN102375763B (en) System and method for realizing interprocess communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee before: Fujian Star-net Ruijie Network Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120815

Termination date: 20210914