The embodiments of the present disclosure relate to management of configuration information of data centers, and more particularly to a computing device and method for configuring assembly information of a data center.
2. Description of related art
A data center may contain a number of data processing devices, such as hundreds of hard disks and motherboards. In order to ensure that each of the processing devices works normally, these data processing devices need to be assembled in a stable fashion in the data center. It is difficult to configure assembly information for the data center when a great number of data processing devices are used. Therefore, it is desirable to have a method for configuring assembly information of the data center, to address the above-mentioned problems.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
The assembly information may include a placement position of each of the motherboards, a placement position of each of the hard disks, and a placement position of each of the drawers in the data center.
Referring to
In the embodiment, the computing device 1 electronically connects to a database 2 and a display device 3. The database 2 stores hardware configuration information of the data center and other relevant information (order information) of the data center, including a weight of each of the motherboards, a weight of each of the hard disks, and a size of each of the drawers of the data center. The display device 3 displays the assembly information of the data center when the data center is configured.
The data center configuration system 10 may include a plurality of functional modules that are stored in the storage system 12 and executed by the at least one processor 11, and automatically configure assembly information for the data center according to the order information. In one embodiment, the storage system 12 may be an internal storage system, such as a random access memory (RAM) for the temporary storage of information, and/or a read only memory (ROM) for the permanent storage of information. In some embodiments, the storage system 12 may also be an external storage system, such as an external hard disk, a storage chipset, or a data storage medium.
In one embodiment, the data center configuration system 10 includes a gravity calculation module 101, a motherboard placement module 102, a hard disk placement module 103, a data node configuration module 104, and a report generation module 105. The modules 101-105 may comprise computerized instructions in the form of one or more programs that are stored in the storage system 12 and executed by the at least one processor 11 to provide functions for implementing the modules. A detailed description of each module will be given in the following paragraphs.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. In one embodiment, the program language may be Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, flash memory, and hard disk drives.
In block S21, the gravity calculation module 101 reads order information of the data center from the database 2. In the embodiment, the data center includes a plurality of racks, and each of the racks includes a plurality of data nodes, such as node_1, node_2, . . . , and node_n, as shown in
In block S22, the gravity calculation module 101 selects a drawer to be configured from the drawers and determines a center point of the drawer according to the size of the drawer, calculates a center of gravity (CoG) of each of the hard disks according to the weight of the hard disk, and calculates a center of gravity of each of the motherboards according to the weight of the motherboard. Referring to
In block S23, the motherboard placement module 102 determines a placement position of each motherboard of the drawer according to the center of gravity of the motherboard and the center point of the drawer. In one embodiment, the motherboard placement module 102 selects a position of the drawer which has the closest possible distance to the center of gravity of the motherboard and the center point of the drawer, as the placement position of the motherboard. Referring to
In block S24, the hard disk placement module 103 determines whether the drawer conforms to a heat dispersion specification according to the order information of the data center. If the drawer does not conform to the heat dispersion specification, block S25 is implemented. Otherwise, if the drawer conforms to the heat dispersion specification, block S26 is implemented. In one embodiment, the heat dispersion specification specifics different heat dispersing values of hardware components of the data center, such as the motherboards and the hard disks.
In block S25, the hard disk placement module 103 determines a placement position of each hard disk of the drawer according to the center of gravity of the hard disk and the center point of the drawer. In one embodiment, the hard disk placement module 103 selects a position of the drawer which is closest to the center of gravity of the hard disk and the center point of the drawer as the placement position of the hard disk. Referring to
In block S26, the hard disk placement module 103 obtains a heat dispersing value of the hard disk from the order information of the data center, and determines a placement position of each hard disk of the drawer according to the heat dispersing value of the hard disk. In one embodiment, the hard disk placement module 103 selects a position of the drawer which has the farthest possible distance from the center point of the drawer for a hard disk having the greatest heat dispersing value, and selects a closer distance to the center point of the drawer for a hard disk having a lesser heat dispersing value. Referring to
In block S27, the data node configuration module 104 determines whether all of the drawers have been configured, for example, drawer_1, . . . , and drawer_8 as shown in
In block S27, the data node configuration module 104 measures a weight of each of the drawers, and determines a placement position of each of the drawers in the data node according to the weight of the drawer. In one embodiment, the heavier drawers have a placement position lower in the data node. Such placement of the drawers in the data node can ensure the data center is more stable and robust against knocks and accidents in the data center premises, so as to prolong the usage time of the data center.
In block S28, the report generation module 105 generates an assembly information report of the data center according to the placement positions of the hard disks, the placement positions of the motherboard, and the placement positions of the drawers. The report generation module 105 further stores the assembly information report of the data center into the database 2, or displays the assembly information report of the data center on the display device 3. The user simply needs to refer to the assembly information report to assemble the data center conveniently and correctly.
All of the processes described above may be embodied in, and fully automated via, functional code modules executed by one or more general purpose processors of computing devices. The code modules may be stored in any type of non-transitory readable medium or other storage device. Some or all of the methods may alternatively be embodied in specialized hardware. Depending on the embodiment, the non-transitory readable medium may be a hard disk drive, a compact disc, a digital video disc, a tape drive or other suitable storage medium.
Although certain disclosed embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto.
Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201110108928.8 | Apr 2011 | CN | national |