Background technology
At present, blade server system is as the nova in the server, answer that network is developed in depth and breadth, the demand of user's cluster management and constantly expansion and being born, be the low-cost server platform of a kind of high available high density (HAHD, HighAvailability High Density).The high bulk density that blade server system had, optimization are disposed, are made things convenient for clear superiorities such as management, resource sharing, high performance-price ratio, have made it become the main direction of server development.
Blade server system now is a kind of high-density systems, usually can hold several to tens, 20 and calculate blade, the processing of these blades is increasing with data quantity stored, requirement for storage system is also more and more higher, therefore, the storage problem of these blades has become to hinder one of key factor of blade server development.
In the Chinese patent application of application number, provide a kind of blade server for CN200610114383.0A, comprise storage unit, wherein, also comprise no disc blades and memory controller, wherein memory controller is used for the managed storage unit, and finishes the storage access operations to storage unit; No disc blades is connected with memory bus with memory controller, by memory controller storage unit is carried out memory access.
Above-mentioned blade server is separated blade and storage unit, and utilizes memory controller to carry out unified management for storage unit, has solved because of blade combines with hard disk that the hard disk utilization factor that causes is low, poor-performing and the bad problem of heat radiation.
Yet, administration module in the above-mentioned blade server only limits to blade and corresponding memory device are coupled together, do not carry out refinement and will control indication, so just a large amount of control indication work has been left for blade, increased the workload of blade undoubtedly, also be unfavorable for unified management for blade and memory device.
Summary of the invention
Only limit to blade and corresponding memory device are coupled together at administration module in the prior art, do not carry out refinement and will control indication, increased the blade work amount, the defective that is unfavorable for the unified management of blade and memory device, the invention discloses a kind of control method of blade server memory device, solved and how refinement has been indicated in control between blade and the memory device, and make blade needn't carry out the technical matters of concrete control indication work again.
According to the control method of a kind of blade server memory device of the present invention, wherein, comprising: administration module has the memory device of controlling sign to the storage device interface transmission and controls information; And storage device interface receives memory device and controls information, and carries out controlling of memory device according to controlling sign.
Preferably, controlling sign comprises: write sign, read the sign and the sign that resets.
Preferably, carry out controlling of memory device and comprise: according to writing sign, memory device is controlled storage device configurations data write storage device interface in the information according to controlling sign; And storage device interface is according to the storage device configurations data, gives respective blade in the blade server with storage device configurations.
Preferably, storage device interface is the corresponding connecting interfaces of a plurality of storage device configurations, to realize the configuration between memory device and the blade.
Preferably, carry out controlling of memory device and comprise according to controlling sign: according to the sign that resets, storage device interface is to the horizontal reset that is configured into of memory device and blade.
Preferably, carry out controlling of memory device and comprise according to controlling sign: according to reading sign, storage device interface will with read the sign information corresponding and send to administration module.
Preferably, with read the sign information corresponding have memory device groove position and storage device type.
Preferably, with read the sign information corresponding also have VPD.
Preferably, VPD comprises production code member, supplier number, hardware version, firmware version, memory device temperature and memory device voltage.
Preferably, memory device is SAS storer or SATA storer, and administration module is the CMM module.
Utilize the control method of a kind of blade server memory device of the present invention, can be with control indication refinement between blade and the memory device, and make blade needn't carry out concrete control indication work again, alleviated the workload of blade, and help unified management, simplified system operation for blade and memory device.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of being write, claims and accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 is the overview flow chart according to the control method of the blade server memory device of the embodiment of the invention.
Step S102: administration module has the memory device of controlling sign to the storage device interface transmission and controls information.
Step S104: storage device interface receives memory device and controls information, and carries out controlling of memory device according to controlling sign.Wherein, memory device is SAS storer or SATA storer, and administration module is the CMM module.
Wherein, control sign and include but not limited to, write sign, read the sign and the sign that resets.Below will present embodiment be specifically described with three concrete signs as three specific embodiments.
Utilize the control method of the blade server memory device of present embodiment, can be with control indication refinement between blade and the memory device, and make blade needn't carry out concrete control indication work again, alleviated the workload of blade, and help unified management, simplified system operation for blade and memory device.
Embodiment 1
Fig. 2 is the process flow diagram of the control method of blade server memory device according to an embodiment of the invention.
Step S202: administration module sends the memory device with the sign of writing to storage device interface and controls information.
Step S204: storage device interface receives memory device and controls information, and according to writing sign, and memory device is controlled storage device configurations data write storage device interface in the information.
Step S206: storage device interface is according to the storage device configurations data, gives respective blade in the blade server with storage device configurations.
Wherein, storage device interface is the corresponding connecting interfaces of a plurality of storage device configurations, to realize the configuration between memory device and the blade.
Utilize the control method of the blade server memory device of present embodiment, control indication between blade and the memory device specifically can be refined as write operation, and make blade needn't carry out concrete control indication work again, alleviated the workload of blade, and help unified management, simplified system operation for blade and memory device.
Embodiment 2
Fig. 3 is the process flow diagram of the control method of blade server memory device according to another embodiment of the present invention.
Step S302: administration module sends the memory device with the sign that resets to storage device interface and controls information.
Step S304: storage device interface receives memory device and controls information, and according to the sign that resets, storage device interface is to the horizontal reset that is configured into of memory device and blade.
Utilize the control method of the blade server memory device of present embodiment, control indication between blade and the memory device specifically can be refined as reset operation, and make blade needn't carry out concrete control indication work again, alleviated the workload of blade, and help unified management, simplified system operation for blade and memory device.
Embodiment 3
Fig. 4 is the process flow diagram according to the control method of the blade server memory device of further embodiment of this invention.
Step S402: administration module sends the memory device with the sign of reading to storage device interface and controls information.
Step S404: storage device interface receives memory device and controls information, according to reading sign, storage device interface will with read the sign information corresponding and send to administration module.
Wherein, with read the sign information corresponding have memory device groove position and storage device type.With read the sign information corresponding also have VPD.VPD comprises production code member, supplier number, hardware version, firmware version, memory device temperature and memory device voltage.
Utilize the control method of the blade server memory device of present embodiment, control indication between blade and the memory device specifically can be refined as read operation, and make blade needn't carry out concrete control indication work again, alleviated the workload of blade, and help unified management, simplified system operation for blade and memory device.In addition, can also monitor in real time, guarantee the normal operation of system for the memory device in the system.
Below will engage the address of concrete operation sign and corresponding form description the foregoing description of effect by an example.
At first, when the blade in the blade server was wanted to utilize memory device, administration module phase storage device interface sent the memory device with operation sign and controls information.Wherein, memory device is controlled the head sign of information and has been represented concrete action type, promptly operates sign, includes but not limited to write sign, reads the sign and the sign that resets.For example, when portion is designated 0x01, represent the administration module indication mechanism to carry out write operation for memory device right overhead, what write among the 0x04-0x39 of address is concrete data.When portion is designated 0x02, represent the administration module indication mechanism to carry out reset operation right overhead for memory device.When portion is designated 0x11, represent the administration module indication mechanism to carry out read operation for the concrete data in the memory device right overhead, what write among the 0x04-0x39 of address is these concrete data.When portion is designated 0x12, represent the administration module indication mechanism to carry out read operation for the VPD data in the memory device (be Vita product data, just the information such as model preparation of hardware in the system) right overhead, what write among the 0x04-0x39 of address is these VPD data.
Following table is for when blade carries out write operation for memory device, so that 10 blades to be arranged in the blade server, respectively corresponding 10 memory devices (Zoning) are example, each address is corresponding respectively at each memory device, such as the data represented data that write No. 0 memory device among address 0x04 and the 0x05.
The address |
Definition |
0x04 |
Zoning_0?data?L |
0x05 |
Zoning_0?data?H |
0x06 |
Zoning_1?data?L |
0x07 |
Zoning_1?data?H |
0x08 |
Zoning_2?data?L |
0x09 |
Zoning_2?data?H |
0x0A |
Zoning_3?data?L |
0x0B |
Zoning_3?data?H |
0x0C |
Zoning_4?data?L |
0x0D |
Zoning_4?data?H |
0x0E |
Zoning_5?data?L |
0x0F |
Zoning_5?data?H |
0x10 |
Zoning_6?data?L |
0x11 |
Zoning_6?data?H |
0x12 |
Zoning_7?data?L |
0x13 |
Zoning_7?data?H |
0x14 |
Zoning_8?data?L |
0x15 |
Zoning_8?data?H |
0x16 |
Zoning_9?data?L |
0x17 |
Zoning_9?data?H |
Following table is for when blade carries out read operation for memory device, so that 10 blades to be arranged in the blade server, respectively corresponding 10 memory devices (Zoning) are example, each address is corresponding respectively at each memory device, writes the data of No. 0 memory device such as the data read among address 0x04 and the 0x05.The object that read operation read comprises two parts, the concrete data that first is in the memory device to be stored, and second portion is the VPD data in the memory device, i.e. Vita product data, the just information such as model preparation of hardware in the system.As following table, the data among the 0x04 to 0x17 of address are the concrete data in 10 memory devices, and the data among the 0x22-0x3F of address are exactly the VPD data, include but not limited to production code member, supplier number, hardware version, firmware version or the like.Wherein, the data among the 0x18-0x21 of address are types of 10 memory devices, and 0x01 represents SAS 1.5Gbps hard disk; 0x02 represents the SAS3.0Gbps hard disk; 0x04 represents SATA 1.5Gbps hard disk; 0x08 represents SATA 3.0Gbps hard disk; 0x10 represents no hard disk.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.