[go: up one dir, main page]

CN1968168A - Blade server positioning method and system - Google Patents

Blade server positioning method and system Download PDF

Info

Publication number
CN1968168A
CN1968168A CN 200610083037 CN200610083037A CN1968168A CN 1968168 A CN1968168 A CN 1968168A CN 200610083037 CN200610083037 CN 200610083037 CN 200610083037 A CN200610083037 A CN 200610083037A CN 1968168 A CN1968168 A CN 1968168A
Authority
CN
China
Prior art keywords
blade server
positional information
slot number
unit
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200610083037
Other languages
Chinese (zh)
Inventor
柏礼俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200610083037 priority Critical patent/CN1968168A/en
Publication of CN1968168A publication Critical patent/CN1968168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种刀片服务器的定位方法,包括:根据获取刀片服务器位置的请求,获取该刀片服务器的槽位号和机框号;利用获取到的槽位号和机框号定位刀片服务器。采用本发明方法,可实现对刀片服务器位置的准确定位。

Figure 200610083037

The invention discloses a positioning method of a blade server, comprising: obtaining the slot number and frame number of the blade server according to a request for obtaining the position of the blade server; and locating the blade server by using the obtained slot number and frame number. By adopting the method of the invention, accurate positioning of the position of the blade server can be realized.

Figure 200610083037

Description

刀片服务器的定位方法及定位系统Positioning method and system for blade server

技术领域technical field

本发明涉及通信领域,尤其涉及一种电信计算架构中的刀片服务器的定位方法及定位系统。The invention relates to the communication field, in particular to a positioning method and a positioning system for a blade server in a telecommunication computing framework.

背景技术Background technique

随着服务器技术的迅猛发展,基于先进的电信计算架构(Advance TelecomComputing Architecture,ATCA)的服务器应用也越来越多。ATCA服务器的一个机框可插入多块刀片服务器,且多个机框可级联使用,当有应用(如,软件升级、系统安装、信息获取等)需要部署到某个刀片服务器上时,需要定位该刀片服务器的具体位置。若无法定位刀片服务器的具体位置,所有应用则不能自动处理,因此,ATCA架构下的刀片服务器定位就显得尤为重要。With the rapid development of server technology, there are more and more server applications based on Advanced Telecom Computing Architecture (ATCA). One chassis of the ATCA server can be inserted into multiple blade servers, and multiple chassis can be cascaded for use. When applications (such as software upgrades, system installation, information acquisition, etc.) Locate the exact location of the blade server. If the specific location of the blade server cannot be located, all applications cannot be processed automatically. Therefore, the location of the blade server under the ATCA architecture is particularly important.

在ATCA机框中,机框管理单元中存储刀片服务器的位置信息,刀片服务器通过自身的基板管理控制器(Baseboard Management Controller,BMC)与机框管理单元通信,获取刀片服务器的位置信息。In an ATCA chassis, the chassis management unit stores the location information of the blade server, and the blade server communicates with the chassis management unit through its own Baseboard Management Controller (BMC) to obtain the location information of the blade server.

现有技术中,刀片服务器通过BMC从机框管理单元获取刀片服务器的槽位号。这种只获取槽位号的方法适用于单一机框的ATCA构架。在大型ATCA应用中,多个机框联合使用,每个机框以机框号区分,每个机框具有多个槽位,以槽位号进行区分。若在这种大型ATCA应用中仍然采用只获取刀片服务器槽位号定位刀片服务器的方法,由于各机框的槽位号有可能相同,因此仅通过槽位号不能准确定位刀片服务器的位置。In the prior art, the blade server obtains the slot number of the blade server from the shelf management unit through the BMC. This method of obtaining only the slot number is applicable to the ATCA framework of a single chassis. In large-scale ATCA applications, multiple chassis are used together, and each chassis is distinguished by a chassis number, and each chassis has multiple slots, which are distinguished by slot numbers. If the method of only obtaining the slot number of the blade server to locate the blade server is still used in this large-scale ATCA application, since the slot numbers of each chassis may be the same, the position of the blade server cannot be accurately located only by the slot number.

发明内容Contents of the invention

本发明提供一种刀片服务器的定位方法,用以解决现有技术中不能对刀片服务器进行准确定位的问题。The invention provides a blade server positioning method to solve the problem that the blade server cannot be accurately positioned in the prior art.

本发明另提供一种刀片服务器的定位系统。The invention also provides a positioning system for the blade server.

本发明方法包括:The inventive method comprises:

A、根据获取刀片服务器位置的请求,获取该刀片服务器的槽位号和机框号;A. Obtain the slot number and chassis number of the blade server according to the request for obtaining the location of the blade server;

B、利用获取到的槽位号和机框号定位刀片服务器。B. Locate the blade server by using the obtained slot number and chassis number.

根据本发明的上述方法,从存储有所述刀片服务器位置信息的机框管理单元获取所述槽位号和机框号;或According to the above method of the present invention, the slot number and the chassis number are obtained from the shelf management unit storing the location information of the blade server; or

从存储有所述刀片服务器位置信息的刀片服务器位置信息配置文件获取所述槽位号和机框号;或Obtain the slot number and chassis number from a blade server location information configuration file storing the blade server location information; or

分别从所述机框管理单元和所述配置文件获取所述槽位号和机框号。Obtain the slot number and shelf number from the shelf management unit and the configuration file respectively.

上述方法中,从刀片服务器所在的本地网络或异地网络中的机框管理单元获取所述槽位号或/和机框号。In the above method, the slot number or/and the chassis number are obtained from the chassis management unit in the local network or remote network where the blade server is located.

上述方法中,从存储在刀片服务器本地的刀片服务器位置信息配置文件,或从刀片服务器所在的本地网络或异地网络中存储的刀片服务器位置信息配置文件获取所述槽位号或/和机框号。In the above method, the slot number or/and chassis number is obtained from the blade server location information configuration file stored locally on the blade server, or from the blade server location information configuration file stored in the local network or remote network where the blade server is located .

本发明系统,包括:刀片服务器位置信息存储单元、刀片服务器位置信息获取单元和刀片服务器位置信息应用单元;The system of the present invention includes: a blade server location information storage unit, a blade server location information acquisition unit and a blade server location information application unit;

所述刀片服务器位置信息存储单元存储有刀片服务器的槽位号和机框号;The blade server location information storage unit stores the slot number and frame number of the blade server;

所述刀片服务器位置信息获取单元分别与所述刀片服务器位置信息存储单元和所述刀片服务器位置信息应用单元连接,接收所述刀片服务器位置信息应用单元发送的获取刀片服务器位置的请求,从所述刀片服务器位置信息存储单元获取改刀片服务器的槽位号和机框号,并返回给所述刀片服务器位置信息应用单元;The blade server location information acquisition unit is respectively connected to the blade server location information storage unit and the blade server location information application unit, receives the request for obtaining the blade server location sent by the blade server location information application unit, and obtains the blade server location from the blade server location information application unit. The blade server position information storage unit obtains the slot number and the chassis number of the blade server, and returns them to the blade server position information application unit;

所述刀片服务器信息应用单元根据所述槽位号和机框号定位刀片服务器。The blade server information application unit locates the blade server according to the slot number and the frame number.

根据本发明的上述系统,所述刀片服务器位置信息存储单元为机框管理单元或/和存储有刀片服务器位置信息配置文件的刀片服务器位置信息配置单元;According to the above system of the present invention, the blade server location information storage unit is a chassis management unit or/and a blade server location information configuration unit storing a blade server location information configuration file;

所述刀片服务器位置信息获取单元从所述机框管理单元获取所述槽位号和机框号;或The blade server location information acquiring unit acquires the slot number and the shelf number from the shelf management unit; or

从所述刀片服务器位置信息配置单元获取所述槽位号和机框号;或Obtain the slot number and chassis number from the blade server location information configuration unit; or

分别从所述机框管理单元和所述刀片服务器位置信息配置单元获取所述槽位号和机框号。The slot number and the shelf number are respectively obtained from the shelf management unit and the blade server location information configuration unit.

上述系统中,所述机框管理单元位于刀片服务器所在的本地网络或异地网络。In the above system, the chassis management unit is located in the local network or remote network where the blade server is located.

上述系统中,所述刀片服务器位置信息配置单元位于刀片服务器本地、刀片服务器所在的本地网络或异地网络。In the above system, the blade server location information configuration unit is located locally on the blade server, on the local network where the blade server is located, or on a remote network.

根据本发明的上述系统,所述刀片服务器位置信息获取单元包括槽位号获取模块和机框号获取模块;According to the above system of the present invention, the blade server location information acquisition unit includes a slot number acquisition module and a frame number acquisition module;

所述槽位号获取模块从所述刀片服务器位置信息存储单元获取刀片服务器的槽位号;The slot number obtaining module obtains the slot number of the blade server from the blade server location information storage unit;

所述机框号获取模块从所述刀片服务器位置信息存储单元获取刀片服务器的机框号。The frame number obtaining module obtains the frame number of the blade server from the blade server location information storage unit.

所述刀片服务器位置信息获取单元还包括第一数据接口模块和第二数据接口模块;The blade server location information acquisition unit also includes a first data interface module and a second data interface module;

所述第一数据接口模块分别与所述刀片服务器位置信息存储单元、槽位号获取模块和机框号获取模块连接,建立刀片服务器位置信息存储单元与槽位号获取模块/机框号获取模块之间的数据通道;The first data interface module is respectively connected to the blade server location information storage unit, the slot number acquisition module and the frame number acquisition module, and establishes the blade server location information storage unit and the slot number acquisition module/frame number acquisition module data channel between

所述第二数据接口模块分别与所述刀片服务器位置信息应用单元、槽位号获取模块和机框号获取模块连接,建立刀片服务器位置信息应用单元与槽位号获取模块/机框号获取模块之间的数据通道。The second data interface module is respectively connected with the blade server location information application unit, the slot number acquisition module and the frame number acquisition module, and establishes the blade server location information application unit and the slot number acquisition module/frame number acquisition module data channel between them.

本发明的有益效果如下:The beneficial effects of the present invention are as follows:

本发明方法通过获取刀片服务器的槽位号和机框号,实现对刀片服务器位置的准确定位。The method of the invention realizes the accurate positioning of the position of the blade server by acquiring the slot number and the machine frame number of the blade server.

附图说明Description of drawings

图1为本发明刀片服务器定位系统的结构示意图;Fig. 1 is the structural representation of blade server positioning system of the present invention;

图2为本发明刀片服务器定位过程示意图;Fig. 2 is a schematic diagram of the positioning process of the blade server of the present invention;

图3为本发明第一实施例的刀片服务器定位系统的结构示意图;3 is a schematic structural diagram of a blade server positioning system according to a first embodiment of the present invention;

图4为本发明第二实施例的刀片服务器定位系统的结构示意图;4 is a schematic structural diagram of a blade server positioning system according to a second embodiment of the present invention;

图5为本发明第三实施例的刀片服务器定位系统的结构示意图。FIG. 5 is a schematic structural diagram of a blade server positioning system according to a third embodiment of the present invention.

具体实施方式Detailed ways

本发明通过获取刀片服务器的槽位号和机框号,使操作系统或应用程序能够准确定位刀片服务器的位置。The invention enables the operating system or application program to accurately locate the position of the blade server by acquiring the slot number and frame number of the blade server.

参见图1,为本发明刀片服务器定位系统的结构示意图。本发明的刀片服务器定位系统包括:刀片服务器位置信息存储单元、刀片服务器位置信息获取单元和刀片服务器位置信息应用单元,上述三个单元依次连接。Referring to FIG. 1 , it is a schematic structural diagram of a blade server positioning system of the present invention. The blade server positioning system of the present invention includes: a blade server location information storage unit, a blade server location information acquisition unit and a blade server location information application unit, and the above three units are connected in sequence.

刀片服务器位置信息存储单元中存储有刀片服务器的位置信息,包括刀片服务器的槽位号和所在的机框号,槽位号和机框号可唯一标识刀片服务器的位置。该单元可以位于刀片服务器本地,也可以位于其他计算机上。若位于其他计算机上,则ATCA刀片服务器位置信息获取单元通过IP网络与刀片服务器位置信息存储单元连接。The location information of the blade server is stored in the location information storage unit of the blade server, including the slot number and the frame number of the blade server. The slot number and the frame number can uniquely identify the location of the blade server. This unit can be local to the blade server or on another computer. If located on other computers, the ATCA blade server location information acquisition unit is connected to the blade server location information storage unit through the IP network.

刀片服务器位置信息获取单元运行在ATCA刀片服务器操作系统下,通过该单元可获取到唯一定位刀片服务器位置的信息。刀片服务器位置信息获取单元包括槽位号获取模块和机框号获取模块,还包括第一数据接口模块和第二数据接口模块。第一数据接口模块分别与槽位号获取模块和机框号获取模块连接,还与刀片服务器位置信息存储单元连接,建立刀片服务器位置信息获取单元与刀片服务器位置信息存储单元进行通信的数据传输通道。在实际应用中,通信方式主要有:与直接读取文进行通信,与BMC进行通信,通过IP网络与ATCA刀片服务器位置信息代理进行通信等。第二数据接口模块分别与槽位号获取模块和机框号获取模块连接,还与刀片服务器位置信息应用单元连接,用于刀片服务器位置信息获取单元与刀片服务器位置信息应用单元进行数据交互。如,整理获取到的刀片服务器的槽位号和机框号,以文件、接口的方式向刀片服务器位置信息应用单元提供ATCA刀片服务器的准确位置信息。The blade server location information acquisition unit runs under the ATCA blade server operating system, and the unique location information of the blade server can be obtained through this unit. The blade server location information acquisition unit includes a slot number acquisition module and a frame number acquisition module, and also includes a first data interface module and a second data interface module. The first data interface module is respectively connected with the slot number acquisition module and the chassis number acquisition module, and is also connected with the blade server location information storage unit, and establishes a data transmission channel for communication between the blade server location information acquisition unit and the blade server location information storage unit. . In practical applications, the communication methods mainly include: communicating with the direct read file, communicating with the BMC, communicating with the location information agent of the ATCA blade server through the IP network, etc. The second data interface module is respectively connected with the slot number acquisition module and the chassis number acquisition module, and is also connected with the blade server location information application unit for data interaction between the blade server location information acquisition unit and the blade server location information application unit. For example, sort out the acquired slot numbers and chassis numbers of the blade servers, and provide the accurate location information of the ATCA blade servers to the blade server location information application unit in the form of files and interfaces.

刀片服务器位置信息应用单元为需要获取ATCA刀片服务器位置信息的操作系统或应用程序,这里所述的操作系统可以是ATCA刀片服务器的操作系统,也可以是运行在其他计算机上的操作系统;这里所述的应用程序可以是运行在ATCA刀片服务器操作系统下的应用程序,也可以是运行在其他计算机上的应用程序。运行在其他计算机上的刀片服务器位置信息应用单元通过IP网络与ATCA刀片服务器位置信息获取单元通信。刀片服务器位置信息应用单元利用收到的唯一标识刀片服务器位置的信息(包括槽位号和机框号)确定ATCA刀片服务器的准确位置,以执行指定的操作,如在定位到的刀片服务器上进行软件升级、系统安装等操作。The blade server position information application unit is the operating system or application program that needs to obtain the ATCA blade server position information, and the operating system described here can be the operating system of the ATCA blade server, and can also be an operating system running on other computers; The application program mentioned above can be an application program running under the operating system of the ATCA blade server, or an application program running on other computers. The blade server position information application unit running on other computers communicates with the ATCA blade server position information acquisition unit through the IP network. The blade server location information application unit uses the received information (including slot number and chassis number) that uniquely identifies the location of the blade server to determine the exact location of the ATCA blade server to perform specified operations, such as performing on the located blade server Software upgrade, system installation and other operations.

参见图2,为本发明刀片服务器定位过程示意图,具体步骤包括:Referring to Fig. 2, it is a schematic diagram of the positioning process of the blade server of the present invention, and the specific steps include:

S1、刀片服务器位置信息应用单元向刀片服务器位置信息获取单元请求刀片服务器位置信息(槽位号和机框号)。S1. The blade server location information application unit requests the blade server location information (slot number and chassis number) from the blade server location information acquisition unit.

当刀片服务器位置信息应用单元需要获取ATCA刀片服务器的准确位置,以执行相应操作的时候,刀片服务器位置信息应用单元通过刀片服务器位置信息获取单元的第二数据接口向刀片服务器位置信息获取单元请求获取刀片服务器位置信息。该数据接口分别向槽位号获取模块和机框号获取模块发送获取指令。When the blade server location information application unit needs to obtain the accurate location of the ATCA blade server to perform corresponding operations, the blade server location information application unit requests acquisition from the blade server location information acquisition unit through the second data interface of the blade server location information acquisition unit Blade server location information. The data interface sends acquisition instructions to the slot number acquisition module and the frame number acquisition module respectively.

S2、刀片服务器位置信息获取单元向刀片服务器位置信息存储单元请求刀片服务器位置信息(槽位号和机框号)。S2. The blade server location information acquiring unit requests the blade server location information (slot number and frame number) from the blade server location information storage unit.

槽位号获取模块收到获取槽位号的指令后,通过第一数据接口模块向刀片服务器位置信息存储单元请求获取槽位号;机框号获取模块收到获取机框号的指令后,通过第一数据接口模块向刀片服务器位置信息存储单元请求获取机框号。After receiving the instruction for obtaining the slot number, the slot number obtaining module requests the blade server position information storage unit to obtain the slot number through the first data interface module; after receiving the instruction for obtaining the frame number, the frame number obtaining module passes The first data interface module requests the blade server location information storage unit to acquire the frame number.

S3、刀片服务器位置信息存储单元向刀片服务器位置信息获取单元返回刀片服务器位置信息(槽位号和机框号)。S3. The blade server location information storage unit returns the blade server location information (slot number and frame number) to the blade server location information acquisition unit.

刀片服务器位置信息存储单元通过第一数据接口模块向槽位号获取模块返回槽位号,向机框号获取模块返回机框号。The blade server location information storage unit returns the slot number to the slot number acquisition module through the first data interface module, and returns the chassis number to the chassis number acquisition module.

S4、刀片服务器位置信息获取单元向刀片服务器位置信息应用单元返回刀片服务器位置信息(槽位号和机框号),刀片服务器位置信息应用单元对刀片服务器位置进行准确定位。S4. The blade server location information acquisition unit returns the blade server location information (slot number and frame number) to the blade server location information application unit, and the blade server location information application unit accurately locates the blade server location.

槽位号获取模块将获取到的槽位号发送到第二数据接口模块,机框号获取模块将获取到的机框号发送到第二数据接口模块,第二数据接口模块将槽位号和机框号发送到刀片服务器位置信息应用单元,以使该单元根据刀片服务器的槽位号和机框号对刀片服务器的位置进行准确定位,执行相应的操作。The slot number obtaining module sends the obtained slot number to the second data interface module, and the chassis number obtaining module sends the obtained chassis number to the second data interface module, and the second data interface module sends the slot number and The frame number is sent to the blade server location information application unit, so that the unit can accurately locate the blade server according to the blade server slot number and the frame number, and perform corresponding operations.

下面通过三个实施例对本发明进行详细描述。The present invention will be described in detail through three embodiments below.

实施例一:刀片服务器位置信息获取单元从ATCA机框管理单元获取刀片服务器的槽位号和机框号。下面结合图3所示的系统,对刀片服务器的定位过程进行详细描述。Embodiment 1: The blade server location information acquisition unit acquires the slot number and the chassis number of the blade server from the ATCA chassis management unit. The positioning process of the blade server will be described in detail below in conjunction with the system shown in FIG. 3 .

参见图3,为本发明第一实施例的刀片服务器定位系统的结构示意图。Referring to FIG. 3 , it is a schematic structural diagram of the blade server positioning system according to the first embodiment of the present invention.

本实施例中,刀片服务器位置信息获取单元中的第一数据接口模块依次与智能平台管理接口(Intelligent Platform Management Interface,IPMI)驱动模块、BMC模块和ATCA机框管理单元连接。IPMI驱动模块提供ATCA刀片服务器位置信息获取单元和BMC模块的接口,负责驱动刀片服务器与BMC模块相连的智能平台管理总线(Intelligent Platform Management Bus,IPMB)。BMC模块是ATCA刀片服务器的管理模块,负责ATCA刀片服务器操作系统与ATCA机框管理单元之间的通信。ATCA机框管理单元存储有ATCA刀片服务器的槽位号和机框号。其他单元和模块的连接关系与图1中描述的相同。下面结合本实施例的系统,描述刀片服务器位置信息获取单元对刀片服务器位置进行定位的过程。In this embodiment, the first data interface module in the blade server location information acquisition unit is sequentially connected with an Intelligent Platform Management Interface (IPMI) driver module, a BMC module, and an ATCA chassis management unit. The IPMI driver module provides the interface between the ATCA blade server location information acquisition unit and the BMC module, and is responsible for driving the Intelligent Platform Management Bus (IPMB) connecting the blade server and the BMC module. The BMC module is the management module of the ATCA blade server and is responsible for the communication between the operating system of the ATCA blade server and the management unit of the ATCA chassis. The ATCA shelf management unit stores the slot number and the shelf number of the ATCA blade server. The connections of other units and modules are the same as those described in Figure 1. The process of locating the location of the blade server by the blade server location information acquisition unit will be described below in conjunction with the system of this embodiment.

首先,刀片服务器位置信息获取单元加载启动,第一数据接口模块通过IPMI驱动模块与BMC模块连通。First, the blade server location information acquisition unit is loaded and started, and the first data interface module communicates with the BMC module through the IPMI driver module.

刀片服务器位置信息应用单元向刀片服务器位置信息获取单元请求刀片服务器的位置信息,该请求被发送到第二数据接口模块。第二数据接口模块将该请求分别发送到槽位号获取模块和机框号获取模块。The blade server location information application unit requests the blade server location information from the blade server location information acquisition unit, and the request is sent to the second data interface module. The second data interface module sends the request to the slot number acquisition module and the frame number acquisition module respectively.

槽位号获取模块通过第一数据接口模块向机框管理单元请求获取刀片服务器槽位号。第一数据接口模块采用某种通信机制,如,串口、网口、IPMB、键盘控制器风格(Keyboard Controller Style,KCS)、智能机框管理总线(Intelligent Chassis Management Bus,ICMB)等,向BMC模块发送获取刀片服务器槽位号的请求,BMC模块向机框管理单元发送获取刀片服务器槽位号的请求。机框管理单元查询到刀片服务器的槽位号后,通过BMC模块、IPMI驱动模块向第一数据接口模块返回查询到的槽位号,第一数据接口模块向槽位号获取模块返回槽位号,槽位号获取模块将获取到的槽位号发送到第二接口模块。The slot number obtaining module requests the shelf management unit to obtain the slot number of the blade server through the first data interface module. The first data interface module uses a certain communication mechanism, such as serial port, network port, IPMB, Keyboard Controller Style (Keyboard Controller Style, KCS), Intelligent Chassis Management Bus (Intelligent Chassis Management Bus, ICMB), etc., to communicate with the BMC module A request for obtaining the slot number of the blade server is sent, and the BMC module sends a request for obtaining the slot number of the blade server to the shelf management unit. After the chassis management unit inquires the slot number of the blade server, it returns the queried slot number to the first data interface module through the BMC module and the IPMI driver module, and the first data interface module returns the slot number to the slot number acquisition module , the slot number obtaining module sends the obtained slot number to the second interface module.

机框号获取模块通过第一数据接口模块向机框管理单元请求获取刀片服务器机框号。第一数据接口模块采用某种通信机制,如,串口、网口、IPMB、键盘控制器风格(Keyboard Controller Style,KCS)、智能机框管理总线(Intelligent Chassis Management Bus,ICMB)等,向BMC模块发送获取刀片服务器机框号的请求,BMC模块向机框管理单元发送获取刀片服务器机框号的请求。机框管理单元查询到刀片服务器的机框号后,通过BMC模块、IPMI驱动模块向第一数据接口模块返回查询到的机框号,第一数据接口模块向机框号获取模块返回机框号,机框号获取模块将获取到的机框号发送到第二接口模块。The frame number obtaining module requests the frame management unit to obtain the frame number of the blade server through the first data interface module. The first data interface module uses a certain communication mechanism, such as serial port, network port, IPMB, Keyboard Controller Style (Keyboard Controller Style, KCS), Intelligent Chassis Management Bus (Intelligent Chassis Management Bus, ICMB), etc., to communicate with the BMC module A request for obtaining the chassis number of the blade server is sent, and the BMC module sends a request for obtaining the chassis number of the blade server to the chassis management unit. After the frame management unit inquires the frame number of the blade server, it returns the query frame number to the first data interface module through the BMC module and the IPMI driver module, and the first data interface module returns the frame number to the frame number acquisition module , the chassis number obtaining module sends the obtained chassis number to the second interface module.

第二数据接口模块将获取到的槽位号和机框号进行整理,(如对输出格式整理:机框号+空格+槽位号),然后发送给刀片服务器位置信息应用单元,以使其利用槽位号和机框号对刀片服务器的位置进行准确定位。The second data interface module arranges the obtained slot number and frame number, (such as sorting the output format: frame number+space+slot number), and then sends it to the blade server position information application unit, so that it can Use the slot number and chassis number to accurately locate the location of the blade server.

上述流程中,机框号和槽位号的获取顺序可以任意。In the above process, the acquisition sequence of the chassis number and the slot number can be arbitrary.

实施例二:刀片服务器位置信息获取单元从刀片服务器位置信息配置文件获取刀片服务器的槽位号和机框号。下面结合图4所示的系统,对刀片服务器的定位过程进行详细描述。Embodiment 2: The blade server location information acquiring unit acquires the slot number and the frame number of the blade server from the blade server location information configuration file. The positioning process of the blade server will be described in detail below in conjunction with the system shown in FIG. 4 .

参见图4,为本发明第二实施例的刀片服务器定位系统的结构示意图。Referring to FIG. 4 , it is a schematic structural diagram of a blade server positioning system according to a second embodiment of the present invention.

本实施例中,刀片服务器位置信息获取单元与存储刀片服务器槽位号和机框号的刀片服务器位置信息配置单元连接。槽位号和机框号以文件形式存储于该刀片服务器位置信息配置单元。刀片服务器位置信息配置文件中的槽位号和机框号既可手动配置,也可以通过其他应用程序写入。配置文件可存放在刀片服务器本地,也可存放在其他计算机或存储介质上。下面结合本实施例的系统,描述当刀片服务器位置信息应用单元请求刀片服务器位置时,该系统对刀片服务器位置进行定位的过程。In this embodiment, the blade server location information acquisition unit is connected to the blade server location information configuration unit that stores the blade server slot number and chassis number. The slot number and chassis number are stored in the blade server location information configuration unit in the form of files. The slot number and shelf number in the blade server location information configuration file can be manually configured or written by other applications. Configuration files can be stored locally on the blade server, or on other computers or storage media. The following describes the process of locating the location of the blade server when the blade server location information application unit requests the location of the blade server with reference to the system of this embodiment.

首先,刀片服务器位置信息应用单元向刀片服务器位置信息获取单元请求刀片服务器的位置信息,该请求被发送到第二数据接口模块。第二数据接口模块将该请求分别发送到槽位号获取模块和机框号获取模块。First, the blade server location information application unit requests the blade server location information from the blade server location information acquisition unit, and the request is sent to the second data interface module. The second data interface module sends the request to the slot number acquisition module and the frame number acquisition module respectively.

槽位号获取模块通过第一数据接口模块向刀片服务器位置信息配置单元请求获取刀片服务器槽位号。第一数据接口模块采用文件通信机制向刀片服务器位置信息配置单元请求获取刀片服务器的位置信息,刀片服务器位置信息配置单元读取其中的位置信息配置文件,获取到该刀片服务器的槽位号,并通过第一数据接口模块返回给槽位号获取模块。槽位号获取模块将获取到的槽位号发送到第二数据接口模块。The slot number obtaining module requests the blade server location information configuration unit to obtain the blade server slot number through the first data interface module. The first data interface module uses a file communication mechanism to request the blade server location information configuration unit to obtain the location information of the blade server, and the blade server location information configuration unit reads the location information configuration file therein, obtains the slot number of the blade server, and Return to the slot number acquisition module through the first data interface module. The slot number obtaining module sends the obtained slot number to the second data interface module.

机框号获取模块通过第一数据接口模块向刀片服务器位置信息配置单元请求获取刀片服务器机框号。第一数据接口模块采用文件通信机制向刀片服务器位置信息配置单元请求获取刀片服务器的位置信息,刀片服务器位置信息配置单元读取其中的位置信息配置文件,获取到该刀片服务器的机框号,并通过第一数据接口模块返回给机框号获取模块。机框号获取模块将获取到的机框号发送到第二数据接口模块。The chassis number obtaining module requests the blade server position information configuration unit to obtain the chassis number of the blade server through the first data interface module. The first data interface module uses the file communication mechanism to request the blade server location information configuration unit to obtain the location information of the blade server, and the blade server location information configuration unit reads the location information configuration file therein, obtains the frame number of the blade server, and Return to the chassis number acquisition module through the first data interface module. The chassis number obtaining module sends the obtained chassis number to the second data interface module.

第二数据接口模块将获取到的槽位号和机框号进行整理,然后发送给刀片服务器位置信息应用单元,以使刀片服务器位置信息应用单元利用槽位号和机框号对刀片服务器的位置进行准确定位,并执行相关操作。The second data interface module organizes the obtained slot numbers and chassis numbers, and then sends them to the blade server location information application unit, so that the blade server location information application unit uses the slot numbers and chassis numbers to determine the location of the blade server. Perform accurate positioning and perform related operations.

上述流程中,机框号和槽位号的获取顺序可以任意。In the above process, the acquisition sequence of the chassis number and the slot number can be arbitrary.

实施例三:刀片服务器位置信息获取单元从机框管理单元获取刀片服务器的槽位号,从刀片服务器位置信息配置单元获取刀片服务器的机框号。下面结合图5所示的系统,对刀片服务器的定位过程进行详细描述。Embodiment 3: The blade server location information acquisition unit acquires the slot number of the blade server from the chassis management unit, and acquires the chassis number of the blade server from the blade server location information configuration unit. The positioning process of the blade server will be described in detail below in conjunction with the system shown in FIG. 5 .

参见图5,为本发明第三实施例的刀片服务器定位系统的结构示意图。Referring to FIG. 5 , it is a schematic structural diagram of a blade server positioning system according to a third embodiment of the present invention.

本实施例中,刀片服务器位置信息获取单元既与刀片服务器位置信息配置单元连接,又通过IPMI驱动模块、BMC模块和机框管理单元连接。下面结合本实施例的系统,描述当刀片服务器位置信息应用单元请求刀片服务器位置时,对刀片服务器位置进行定位的过程。In this embodiment, the blade server location information acquisition unit is not only connected to the blade server location information configuration unit, but also connected through the IPMI driver module, the BMC module and the chassis management unit. The following describes the process of locating the location of the blade server when the blade server location information application unit requests the location of the blade server with reference to the system of this embodiment.

首先,刀片服务器位置信息应用单元向刀片服务器位置信息获取单元请求刀片服务器的位置信息,该请求被发送到第二数据接口模块。第二数据接口模块将该请求分别发送到槽位号获取模块和机框号获取模块。First, the blade server location information application unit requests the blade server location information from the blade server location information acquisition unit, and the request is sent to the second data interface module. The second data interface module sends the request to the slot number acquisition module and the frame number acquisition module respectively.

然后,槽位号获取模块通过第一数据接口模块向机框管理单元请求获取刀片服务器槽位号。第一数据接口模块向BMC模块发送获取刀片服务器槽位号的请求,BMC模块向机框管理单元发送获取刀片服务器槽位号的请求。机框管理单元查询到刀片服务器的槽位号后,通过BMC模块、IPMI驱动模块向第一数据接口模块返回查询到的槽位号,第一数据接口模块向槽位号获取模块返回槽位号,槽位号获取模块将获取到的槽位号发送到第二接口模块。Then, the slot number obtaining module requests the shelf management unit to obtain the slot number of the blade server through the first data interface module. The first data interface module sends a request for acquiring the slot number of the blade server to the BMC module, and the BMC module sends a request for acquiring the slot number of the blade server to the chassis management unit. After the chassis management unit inquires the slot number of the blade server, it returns the queried slot number to the first data interface module through the BMC module and the IPMI driver module, and the first data interface module returns the slot number to the slot number acquisition module , the slot number obtaining module sends the obtained slot number to the second interface module.

机框号获取模块通过第一数据接口模块向刀片位置信息配置单元请求获取刀片服务器机框号。第一数据接口模块向刀片服务器位置信息配置单元请求获取刀片服务器的位置信息,刀片服务器位置信息配置单元读取其中的位置信息配置文件,获取到该刀片服务器的机框号,并通过第一数据接口模块返回给机框号获取模块。机框号获取模块将获取到的机框号发送到第二数据接口模块。The chassis number acquisition module requests the blade location information configuration unit to acquire the chassis number of the blade server through the first data interface module. The first data interface module requests the blade server location information configuration unit to obtain the location information of the blade server, and the blade server location information configuration unit reads the location information configuration file therein, obtains the chassis number of the blade server, and passes the first data The interface module returns to the chassis number acquisition module. The chassis number obtaining module sends the obtained chassis number to the second data interface module.

第二数据接口模块将获取到的槽位号和机框号进行整理,然后发送给刀片服务器位置信息应用单元,以使刀片服务器位置信息应用单元利用槽位号和机框号对刀片服务器的位置进行准确定位,并执行相关操作。The second data interface module organizes the obtained slot numbers and chassis numbers, and then sends them to the blade server location information application unit, so that the blade server location information application unit uses the slot numbers and chassis numbers to determine the location of the blade server. Perform accurate positioning and perform related operations.

上述流程中,机框号和槽位号的获取顺序可以任意。In the above process, the acquisition sequence of the chassis number and the slot number can be arbitrary.

本实施例中,刀片服务器的槽位号从机框管理单元获取,机框号从刀片服务器位置信息配置单元获取;也可从机框管理单元获取机框号,从刀片服务器位置信息配置单元获取槽位号,其过程与本实施例类似。In this embodiment, the slot number of the blade server is obtained from the chassis management unit, and the chassis number is obtained from the blade server location information configuration unit; the chassis number can also be obtained from the chassis management unit, and the blade server location information configuration unit is obtained slot number, the process is similar to this embodiment.

通过以上描述可知,本发明在ATCA架构中,通过获取刀片服务器的槽位号和机框号,使操作系统或应用软件可以利用获取到的槽位号和机框号唯一定位ATCA刀片服务器的位置,从而实现对ATCA刀片服务器的准确定位。It can be seen from the above description that in the ATCA framework, the present invention enables the operating system or application software to uniquely locate the position of the ATCA blade server by obtaining the slot number and the frame number of the blade server in the ATCA framework. , so as to realize the accurate positioning of the ATCA blade server.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1, a kind of localization method of blade server comprises:
A, basis are obtained the request of blade server position, obtain the slot number and the frame number of this blade server;
Slot number and frame number positioning blade server that B, utilization get access to.
2, the method for claim 1 is characterized in that, obtains described slot number and frame number from the machine frame administrative unit that stores described blade server positional information; Or
Obtain described slot number and frame number from the blade server positional information configuration file that stores described blade server positional information; Or
Obtain described slot number and frame number from described machine frame administrative unit and described configuration file respectively.
3, method as claimed in claim 2 is characterized in that, obtains described slot number or/and frame number from the local network at blade server place or the machine frame administrative unit the network of strange land.
4, method as claimed in claim 2, it is characterized in that, from being stored in the blade server positional information configuration file of blade server this locality, or the blade server positional information configuration file of storing from the local network at blade server place or strange land network obtains described slot number or/and frame number.
5, a kind of blade server navigation system is characterized in that, comprises blade server positional information storage unit, blade server location information acquiring unit and blade server positional information applying unit;
Described blade server positional information storage unit stores the slot number and the frame number of blade server;
Described blade server location information acquiring unit is connected with described blade server positional information applying unit with described blade server positional information storage unit respectively, receive the request of obtaining the blade server position that described blade server positional information applying unit sends, obtain slot number and the frame number that changes blade server from described blade server positional information storage unit, and return to described blade server positional information applying unit;
Described blade server information applying unit is according to described slot number and frame number positioning blade server.
6, system as claimed in claim 5 is characterized in that, described blade server positional information storage unit is the machine frame administrative unit or/and store the blade server positional information dispensing unit of blade server positional information configuration file;
Described blade server location information acquiring unit is obtained described slot number and frame number from described machine frame administrative unit; Or
Obtain described slot number and frame number from described blade server positional information dispensing unit; Or
Obtain described slot number and frame number from described machine frame administrative unit and described blade server positional information dispensing unit respectively.
7, system as claimed in claim 6 is characterized in that, described machine frame administrative unit is positioned at the local network or the strange land network at blade server place.
8, system as claimed in claim 6 is characterized in that, described blade server positional information dispensing unit is positioned at the local network or the strange land network at blade server this locality, blade server place.
9, system as claimed in claim 5 is characterized in that, described blade server location information acquiring unit comprises slot number acquisition module and frame number acquisition module;
Described slot number acquisition module obtains the slot number of blade server from described blade server positional information storage unit;
Described frame number acquisition module obtains the frame number of blade server from described blade server positional information storage unit.
10, system as claimed in claim 9 is characterized in that, described blade server location information acquiring unit also comprises first data interface module and second data interface module;
Described first data interface module is connected with described blade server positional information storage unit, slot number acquisition module and frame number acquisition module respectively, sets up the data channel between blade server positional information storage unit and slot number acquisition module/frame number acquisition module;
Described second data interface module is connected with the frame number acquisition module with described blade server positional information applying unit, slot number acquisition module respectively, sets up the data channel between blade server positional information applying unit and slot number acquisition module/frame number acquisition module.
CN 200610083037 2006-05-29 2006-05-29 Blade server positioning method and system Pending CN1968168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610083037 CN1968168A (en) 2006-05-29 2006-05-29 Blade server positioning method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610083037 CN1968168A (en) 2006-05-29 2006-05-29 Blade server positioning method and system

Publications (1)

Publication Number Publication Date
CN1968168A true CN1968168A (en) 2007-05-23

Family

ID=38076729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610083037 Pending CN1968168A (en) 2006-05-29 2006-05-29 Blade server positioning method and system

Country Status (1)

Country Link
CN (1) CN1968168A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867490A (en) * 2010-06-09 2010-10-20 中兴通讯股份有限公司 Operation and maintenance operating system and method
CN102156656A (en) * 2010-12-31 2011-08-17 华为技术有限公司 Method and equipment for acquiring virtual frame/slot number under virtualization platform
CN102340411A (en) * 2010-07-26 2012-02-01 深圳市腾讯计算机系统有限公司 A server information data management method and system
CN102722232A (en) * 2012-05-30 2012-10-10 曙光信息产业(北京)有限公司 Control system and method for electrifying ATCA (advanced telecom computing architecture) blade
CN103117874A (en) * 2013-01-18 2013-05-22 浪潮电子信息产业股份有限公司 Blade server management network rapid configuration method
CN103152198A (en) * 2013-03-01 2013-06-12 北京百度网讯科技有限公司 Micro-server-based automatic asset management method and device
CN104009863A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Server system and method for automatically acquiring server number
CN102138363B (en) * 2008-08-28 2016-07-06 爱立信电话股份有限公司 The recovery of the media gateway resource of terminal
CN106020377A (en) * 2016-05-20 2016-10-12 曙光云计算技术有限公司 Identifier acquisition method and identifier acquisition apparatus
CN109327492A (en) * 2017-08-01 2019-02-12 联想企业解决方案(新加坡)有限公司 server identification device and method
CN111273755A (en) * 2018-12-04 2020-06-12 沃尔缇夫能源系统公司 Slot setting method and device

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102138363B (en) * 2008-08-28 2016-07-06 爱立信电话股份有限公司 The recovery of the media gateway resource of terminal
CN101867490A (en) * 2010-06-09 2010-10-20 中兴通讯股份有限公司 Operation and maintenance operating system and method
CN101867490B (en) * 2010-06-09 2014-07-02 中兴通讯股份有限公司 Maintenance operation system and method
US9170977B2 (en) 2010-07-26 2015-10-27 Tencent Technology (Shenzhen) Company Limited Method and system for managing server information data based on position information of a server baseboard
CN102340411A (en) * 2010-07-26 2012-02-01 深圳市腾讯计算机系统有限公司 A server information data management method and system
WO2012013130A1 (en) * 2010-07-26 2012-02-02 腾讯科技(深圳)有限公司 Method and system for managing server information data
CN102340411B (en) * 2010-07-26 2016-01-20 深圳市腾讯计算机系统有限公司 A kind of server information data management method and system
CN102156656A (en) * 2010-12-31 2011-08-17 华为技术有限公司 Method and equipment for acquiring virtual frame/slot number under virtualization platform
CN102156656B (en) * 2010-12-31 2014-04-02 华为技术有限公司 Method and equipment for acquiring virtual frame/slot number under virtualization platform
CN102722232A (en) * 2012-05-30 2012-10-10 曙光信息产业(北京)有限公司 Control system and method for electrifying ATCA (advanced telecom computing architecture) blade
CN102722232B (en) * 2012-05-30 2016-09-21 曙光信息产业(北京)有限公司 Control system that a kind of ATCA blade powers on and method
CN103117874A (en) * 2013-01-18 2013-05-22 浪潮电子信息产业股份有限公司 Blade server management network rapid configuration method
CN104009863A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Server system and method for automatically acquiring server number
CN103152198A (en) * 2013-03-01 2013-06-12 北京百度网讯科技有限公司 Micro-server-based automatic asset management method and device
CN103152198B (en) * 2013-03-01 2016-06-29 北京百度网讯科技有限公司 Automatization's assets management method and device based on microserver
CN106020377A (en) * 2016-05-20 2016-10-12 曙光云计算技术有限公司 Identifier acquisition method and identifier acquisition apparatus
CN109327492A (en) * 2017-08-01 2019-02-12 联想企业解决方案(新加坡)有限公司 server identification device and method
CN109327492B (en) * 2017-08-01 2024-07-12 联想企业解决方案(新加坡)有限公司 Server identification apparatus and method
CN111273755A (en) * 2018-12-04 2020-06-12 沃尔缇夫能源系统公司 Slot setting method and device

Similar Documents

Publication Publication Date Title
CN100345415C (en) Method and apparatus for perfoming boot, maintenance, or install operations on a storage area network
CN1731738A (en) Automated quick deployment method for large-scale computer cluster node
CN1968168A (en) Blade server positioning method and system
CN1303542C (en) Method of Plug and Play for USB Devices under Linux Operating System
CN1661577A (en) Projector selection system, projector selection method, and program for realizing the system and method
CN101042645A (en) Method, equipment and system for unionize software development environment
CN1791037A (en) Method for realizing Web service automatic test
CN1584822A (en) Method for upgrated computer fixing ware programm
CN1992609A (en) Remote control device and method capable of remotely accessing peripheral devices
CN1960261A (en) Method and system of obtaining physical slot number of single board, and type of slot
CN1617496A (en) Method for automaticall updating configuration for next generation network terminal
CN1928867A (en) Document distribution system and method
CN1831777A (en) System and method for managing multiple hot plug operations
CN1635497A (en) System and method for automatically generating test scripts based on hardware level
CN101059799A (en) Method for introducing regular file into data base
CN1300981C (en) A mobile data service content management system and implementing method thereof
CN1829220A (en) Mapping method for USB apparatus with storage function on network computer
CN1758250A (en) Content management system, content management method and computer program
CN1949169A (en) TV software upgrading method
CN1777154A (en) Interfacing method and system for application components
CN1315053C (en) Refresh method of network computer BIOS
CN1783007A (en) Device to serve software to a host device through a peripheral device and method thereof
CN1956392A (en) Method, device and system for realizing multi-service board architecture
CN1753372A (en) Management method of telecommunication equipment unit
CN1317638C (en) Loading method of driving program for database

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070523