Server information processing method and device for internet data center and controller

文档序号:1580229 发布日期:2020-01-31 浏览:17次 中文

阅读说明:本技术 用于互联网数据中心的服务器信息处理方法、装置及控制器 (Server information processing method and device for internet data center and controller ) 是由 童星 于 2019-10-25 设计创作,主要内容包括:本发明涉及一种用于互联网数据中心的服务器处理方法、装置及控制器,属于数据处理技术领域。该方法包括按照预设规则标准化定义创建交换机的端口与服务器的对应关系;根据对应关系,确定每台服务器在机房中的放置位置;根据放置位置获取并存储每台服务器的相关信息,服务器的相关信息包括机柜、U数和交换机接口中的一项或多项。使得新服务器在上架时,可以通过构建的服务器与交换机端口的对应关系从而自动获取到每个服务器的位置,无需人工记录,节约了时间和人力。(The invention relates to a processing method, a device and a controller for servers used for an Internet data center, belonging to the technical field of data processing.)

1, A server information processing method for internet data center, comprising:

establishing a corresponding relation between a port of a switch and a server according to a preset rule standardized definition;

determining the placement position of each server in the machine room according to the corresponding relation;

and acquiring and storing relevant information of each server according to the placement position, wherein the relevant information of the server comprises items or more items in the cabinet, the U number and the switch interface.

2. The method according to claim 1, wherein the creating a correspondence between the ports of the switch and the servers according to the preset rule standardized definition comprises:

and establishing the corresponding relation between the ports of the switch and the servers according to the standardized definition of the matrix corresponding relation.

3. The method of claim 2, wherein the servers of each cabinet in the computer room and the ports of the switch are arranged in a matrix, and the matrix correspondence relationship comprises: the number of the servers placed in each cabinet is the same.

4. The method of claim 2, wherein the matrix correspondence further comprises:

recording the placement position of the server in the cabinet as th server from a preset height, wherein the preset height is not 0;

the th server corresponds to port No. of the switch.

5. The method according to claim 1, wherein the obtaining the location information of each server according to the corresponding relationship comprises:

acquiring the model and U number information of each server through a remote management card;

completing installation of the server based on PXE according to the model and the U number information, and acquiring the position of the switch and the serial number information of the port of the switch;

and determining the position of the cabinet where each server is located based on the corresponding relationship according to the position of the switch and the number information of the port of the switch.

6, server information processing device for internet data center, which is characterized in that it comprises relationship building module, determining module and obtaining storage module;

the relationship construction module is used for establishing a corresponding relationship between a port of the switch and the server according to a preset rule standardized definition and sending the corresponding relationship to the determination module;

the determining module is used for receiving the corresponding relation, determining the placing position of each server in the machine room according to the corresponding relation, and sending the placing position to the obtaining and storing module;

the acquisition and storage module is configured to receive the placement position, and acquire and store relevant information of each server according to the placement position, where the relevant information of the server includes items or more items in the cabinet, the U number, and the switch interface.

7. The apparatus of claim 6, wherein the relationship building module is configured to create a correspondence between a port of a switch and a server according to a matrix correspondence standardization definition.

8. The apparatus of claim 7, further comprising: a matrix corresponding relation building module;

when the matrix corresponding relation building module builds the matrix corresponding relation, the placing position of the server is recorded as th server from a preset height, the preset height is not 0, and the th server corresponds to the port of the switch port.

9. The device of claim 6, wherein the determining module is configured to obtain the model and the U number information of each server through a remote management card; completing installation of the server based on PXE according to the model and the U number information, and acquiring the position of the switch and the serial number information of the port of the switch; and determining the position of the cabinet where each server is located based on the corresponding relationship according to the position of the switch and the number information of the port of the switch.

controller for server information processing of internet data center, the controller includes a memory for storing computer program and a processor;

the processor reads the computer program and performs server data processing by applying the server information processing method for an internet data center according to any of claims 1 to 5.

Technical Field

The invention belongs to the technical field of data processing, and particularly relates to server information processing methods and devices for an internet data center and a controller.

Background

Since the server needs to respond to and process the service request, generally refers to the ability of the server to undertake and secure services, and with the advancement of network technology, the demand for the server is increasing, and new servers are on the shelf.

At present, when a new server is installed on a shelf, various asset physical information (floor information, cabinet position information, U bit and the like) needs to be manually filled and registered, and after form information is filled, an asset information form needs to be manually led into an asset system to complete the entry operation of the asset information.

However, when asset information registration is performed on hundreds, thousands or even tens of thousands of machines, manual operation consumes a lot of manpower and time to perform information statistics and entry, and efficiency and error rate cannot be effectively controlled when people of different levels perform the same operation. Therefore, the existing asset information entry is time-consuming, labor-consuming, low in efficiency and prone to errors.

Disclosure of Invention

In order to at least solve the technical problems of time and labor consumption, low efficiency and high error probability of asset information entry in the prior art, the invention provides server information processing methods, devices and controllers for internet data centers, and the server information processing methods, devices and controllers have the characteristics of rapid and automatic information statistics, high accuracy and the like.

The technical scheme provided by the invention is as follows:

, a server information processing method for an internet data center, comprising:

establishing a corresponding relation between a port of a switch and a server according to a preset rule standardized definition;

determining the placement position of each server in the machine room according to the corresponding relation;

and acquiring and storing relevant information of each server according to the placement position, wherein the relevant information of the server comprises items or more items in the cabinet, the U number and the switch interface.

Further , optionally, the creating a correspondence between a port of a switch and a server according to the preset rule standardized definition includes:

and establishing the corresponding relation between the ports of the switch and the servers according to the standardized definition of the matrix corresponding relation.

optionally, the servers of each cabinet in the machine room and the ports of the switch are arranged in a matrix form, and the matrix correspondence includes that the number of the servers placed in each cabinet is the same.

Further , optionally, the matrix correspondence further includes:

recording the placement position of the server in the cabinet as th server from a preset height, wherein the preset height is not 0;

the th server corresponds to port No. of the switch.

Further , optionally, the obtaining the location information of each server according to the corresponding relationship includes:

acquiring the model and U number information of each server through a remote management card;

completing installation of the server based on PXE according to the model and the U number information, and acquiring the position of the switch and the serial number information of the port of the switch;

and determining the position of the cabinet where each server is located based on the corresponding relationship according to the position of the switch and the number information of the port of the switch.

In a further aspect, the server information processing apparatus for an internet data center includes a relationship construction module, a determination module and an acquisition storage module;

the relationship construction module is used for establishing a corresponding relationship between a port of the switch and the server according to a preset rule standardized definition and sending the corresponding relationship to the determination module;

the determining module is used for receiving the corresponding relation, determining the placing position of each server in the machine room according to the corresponding relation, and sending the placing position to the obtaining and storing module;

the acquisition and storage module is configured to receive the placement position, and acquire and store relevant information of each server according to the placement position, where the relevant information of the server includes items or more items in the cabinet, the U number, and the switch interface.

, the relationship building module is configured to create a correspondence between the ports of the switch and the servers according to the matrix correspondence standardization definition.

optionally, it also includes a matrix corresponding relation constructing module;

when the matrix corresponding relation building module builds the matrix corresponding relation, the placing position of the server is recorded as th server from a preset height, the preset height is not 0, and the th server corresponds to the port of the switch port.

, optionally, the determining module is configured to obtain the model and the U number information of each server through a remote management card, complete installation of the servers based on PXE according to the model and the U number information, obtain the position of the switch and the number information of the port of the switch, and determine the location of the cabinet where each server is located based on the correspondence according to the position of the switch and the number information of the port of the switch.

In yet another aspect, a controller for server information processing in an internet data center, the controller comprising a memory for storing a computer program and a processor;

the processor reads the computer program and performs server data processing by applying the server information processing method for an internet data center according to any items above.

The server processing method, the device and the controller for the internet data center provided by the embodiment of the invention comprise the steps of establishing a corresponding relation between a port of a switch and a server according to a preset rule standard definition, determining a placing position of each server in a machine room according to the corresponding relation, and acquiring and storing relevant information of each server according to the placing position, wherein the relevant information of each server comprises a machine cabinet, the number of U and or more items in an interface of the switch.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

Fig. 1 is a schematic flowchart of server processing methods for an internet data center according to an embodiment of the present invention;

fig. 2 is a schematic diagram of a matrix relationship between switch ports and servers according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of server information processing devices for an internet data center according to an embodiment of the present invention;

FIG. 4 is a schematic structural diagram of server information processing systems for an Internet data center according to an embodiment of the present invention;

fig. 5 is a schematic structural diagram of controllers according to an embodiment of the present invention.

Detailed Description

The technical solution of the present invention will be described in detail below to make the objects, technical solutions and advantages of the present invention clearer.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种新型智能化医疗影像设备的多用式散热系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!