CN110955587A - Method and device for determining equipment to be replaced - Google Patents
Method and device for determining equipment to be replaced Download PDFInfo
- Publication number
- CN110955587A CN110955587A CN201911202973.2A CN201911202973A CN110955587A CN 110955587 A CN110955587 A CN 110955587A CN 201911202973 A CN201911202973 A CN 201911202973A CN 110955587 A CN110955587 A CN 110955587A
- Authority
- CN
- China
- Prior art keywords
- storage
- determining
- storage device
- current hardware
- hardware performance
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000008030 elimination Effects 0.000 claims abstract description 71
- 238000003379 elimination reaction Methods 0.000 claims abstract description 71
- 238000004891 communication Methods 0.000 claims description 19
- 238000012360 testing method Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 13
- 239000002699 waste material Substances 0.000 abstract description 10
- 238000012423 maintenance Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3419—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention provides a method and a device for determining equipment to be replaced, which are used for determining the failure rate and the current hardware performance of each storage device in a storage system by acquiring the failure rate and the current hardware performance of each storage device; determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority; and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced. In this way, the storage devices are not strictly replaced according to the preset service life of each storage device, so that the waste of resources can be reduced.
Description
Technical Field
The invention relates to the technical field of computer systems, in particular to a method and a device for determining equipment to be replaced.
Background
In the distributed storage system, a plurality of storage devices are included, wherein each storage device corresponds to a preset service life, the probability of failure of the storage device exceeding the service life is high, and once the storage device fails, the failure of the distributed storage system is likely to be caused, and further, a large loss is caused.
Therefore, in general, maintenance personnel may update the distributed storage system periodically to replace storage devices that exceed a preset lifetime. However, in some cases, the storage device with the service life exceeding the preset limit still has better performance, and the method causes greater resource waste.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for determining equipment to be replaced so as to reduce resource waste. The specific technical scheme is as follows:
the embodiment of the invention provides a method for determining equipment to be replaced, which comprises the following steps:
acquiring the fault rate and the current hardware performance of each storage device in the storage system;
determining elimination priorities of the storage devices according to the fault rates and the current hardware performances, wherein the fault rates are in direct proportion to the elimination priorities, and the current hardware performances are in inverse proportion to the elimination priorities;
and determining the storage equipment with the elimination priority higher than a preset threshold value as the equipment to be replaced.
Optionally, the determining, according to the failure rate and the current hardware performance, the elimination priority of each storage device includes:
for each storage device, determining a parameter value of the current hardware performance of the storage device;
and calculating the weighted sum of the failure rate of the storage equipment and the parameter value according to the preset weight, and taking the weighted sum as the elimination priority of the storage equipment.
Optionally, the obtaining the failure rate of each storage device in the storage system includes:
determining various types of machines included in a storage system;
and respectively counting the fault rate of each type of equipment in a preset period, and taking the fault rate of each type of storage equipment as the fault rate of the storage equipment.
Optionally, the obtaining the current hardware performance of each storage device in the storage system includes:
acquiring hardware information and service time of each storage device in a storage system;
and analyzing the hardware information and the service time to obtain the current hardware performance of each storage device, wherein the service time is inversely proportional to the current hardware performance.
Optionally, the obtaining the current hardware performance of each storage device in the storage system includes:
performing pressure test on the central processing unit and the memory of each storage device to obtain a test result;
and determining the current hardware performance of the central processing unit and the memory according to the test result.
Optionally, after determining the elimination priority of each storage device according to the failure rate and the current hardware performance, the method further includes:
and storing data by using the storage equipment with the elimination priority lower than the preset threshold.
The embodiment of the invention also provides a device for determining the equipment to be replaced, which comprises:
the acquisition module is used for acquiring the fault rate and the current hardware performance of each storage device in the storage system;
the first determining module is used for determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority;
and the second determining module is used for determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced.
Optionally, the first determining module is specifically configured to:
for each storage device, determining a parameter value of the current hardware performance of the storage device;
and calculating the weighted sum of the failure rate of the storage equipment and the parameter value according to the preset weight, and taking the weighted sum as the elimination priority of the storage equipment.
Optionally, the obtaining module is specifically configured to:
determining various types of machines included in a storage system;
and respectively counting the fault rate of each type of equipment in a preset period, and taking the fault rate of each type of storage equipment as the fault rate of the storage equipment.
Optionally, the obtaining module is specifically configured to:
acquiring hardware information and service time of each storage device in a storage system;
and analyzing the hardware information and the service time to obtain the current hardware performance of each storage device, wherein the service time is inversely proportional to the current hardware performance.
Optionally, the obtaining module is specifically configured to:
performing pressure test on the central processing unit and the memory of each storage device to obtain a test result;
and determining the current hardware performance of the central processing unit and the memory according to the test result.
Optionally, the second determining module is further configured to:
and storing data by using the storage equipment with the elimination priority lower than the preset threshold.
The embodiment of the invention also provides electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the equipment to be replaced determining methods when the processor executes the program stored in the memory.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method for determining a device to be replaced is implemented.
An embodiment of the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the methods for determining a device to be replaced described above.
The embodiment of the invention has the following beneficial effects:
according to the method and the device for determining the equipment to be replaced, provided by the embodiment of the invention, the failure rate and the current hardware performance of each storage equipment in the storage system are obtained; determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority; and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced. In this way, the storage devices are not strictly replaced according to the preset service life of each storage device, so that the waste of resources can be reduced.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for determining a device to be replaced according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for determining equipment to be replaced according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Generally, maintenance personnel will update the distributed storage system periodically to replace storage devices that exceed a preset lifetime. However, in some cases, the storage device with the service life exceeding the preset limit still has better performance, and the method causes greater resource waste.
In order to solve the above technical problem, the present invention provides a method for determining a device to be replaced, where the method may be applied to a control node of a storage system, and the control node may be a computer, a server, or other devices, which is not limited in this embodiment of the present invention.
A method for determining a device to be replaced according to an embodiment of the present invention is generally described below, where the method includes:
acquiring the fault rate and the current hardware performance of each storage device in the storage system;
determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority;
and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced.
As can be seen from the above, the method for determining the device to be replaced provided by the embodiment of the present invention does not strictly replace the storage devices according to the preset service life of each storage device, so that resource waste can be reduced.
The following describes in detail a method for determining a device to be replaced according to an embodiment of the present invention with reference to specific embodiments.
As shown in fig. 1, a schematic flow chart of a method for determining a device to be replaced according to an embodiment of the present invention includes the following steps:
s101: and acquiring the failure rate and the current hardware performance of each storage device in the storage system.
In an implementation manner, a manner of obtaining a failure rate of each storage device in the storage system may be: firstly, determining various types of machines included in a storage system, then respectively counting the fault rate of each type of machine in a preset period, and taking the fault rate of each type of storage equipment as the fault rate of the storage equipment. For example, the failure rate may be an annual failure rate.
In addition, in an implementation manner, the manner of obtaining the current hardware performance of each storage device in the storage system may be: firstly, hardware information and service time of each storage device in a storage system are obtained, then the hardware information and the service time are analyzed, and current hardware performance of each storage device is obtained, wherein the service time is inversely proportional to the current hardware performance.
For example, the hardware information may include performance indexes of devices such as a memory, a CPU, a motherboard, and an HBA card, for example, the performance indexes of the memory may include factory information, an annual fault rate, and online time, the performance indexes of the CPU may include factory information, an annual fault rate, and a size of a main frequency, and the performance indexes of the motherboard and the HBA card may include usage time, a fault rate, and the like.
The use time of the hardware is synchronized with the use time of the machine by default, if the hardware is replaced in the period, an interface of the asset management equipment can be called, the hardware replacement time is obtained, and then the use time of the hardware is updated.
In one implementation, the central processing unit and the memory of each storage device may be subjected to a stress test to obtain a test result, and current hardware performance of the central processing unit and the memory may be determined according to the test result.
In the embodiment of the present invention, the performance indicators of each hardware may be collected through a stress test of the program, for example, the performance indicators of each hardware may be determined according to a delay of data reading.
S102: and determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority.
That is, the higher the failure rate of the storage device, the higher the elimination priority thereof, and the lower the elimination priority thereof for the storage device with the better hardware performance. By analyzing the failure rate and the current hardware performance according to the preset rule, the failure rate and the hardware performance of the storage equipment can be comprehensively considered, the priority of each storage equipment is obtained, and therefore each storage equipment is sequenced.
In one implementation, for each storage device, a parameter value of the current hardware performance of the storage device is determined, and a weighted sum of the failure rate of the storage device and the parameter value is calculated according to a preset weight as the elimination priority of the storage device.
When the elimination priority of each storage device is calculated, the failure rate and the current hardware performance can have different weights. For example, the current hardware performance can be represented by the use time of the storage device, the use time is weighted to be 1, the failure rate is weighted to be 10000, if one storage device is used for 7 years, the failure rate is 1%, the calculated weighted sum (i.e., elimination priority) is 107, the use time of the other storage device is 5 years, the failure rate is 2%, and the calculated weighted sum (i.e., elimination priority) is 205, so that the storage device with the use time of 5 years and the failure rate of 2% is preferentially eliminated from the index of the failure rate and the use time.
Or, if one storage device is used for 7 years, the failure rate is 1%, the calculated weighted sum (i.e., elimination priority) is 107, the other storage device is used for 5 years, the failure rate is 1%, and the calculated weighted sum (i.e., elimination priority) is 105, so that the storage device with the failure rate of 1% and the failure rate of 7 years is preferentially eliminated from the viewpoint of the index of the failure rate and the use time.
In actual operation, other hardware performance indicators besides the use time may also be used.
S103: and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced.
After determining the devices to be replaced, maintenance personnel can replace the devices to ensure the normal and efficient operation of the storage system. In one implementation, the maintenance personnel can also disassemble the replaced equipment to be replaced, and can recycle the available memory and other spare parts in the storage equipment, so that the resource waste is further reduced.
In addition, in one implementation, the data may continue to be stored by using the storage devices with the obsolete priorities lower than the preset threshold. It can be understood that eliminating the storage device with lower priority has lower failure rate and better hardware performance, and can provide better data storage service, so that the storage device can be continuously used in the storage system.
In one implementation, the storage device with the elimination priority lower than the preset threshold can be detected first, whether the storage device operates normally is further confirmed, and if the storage device operates normally, the storage device is put into use, so that the possibility that the storage system fails due to the storage device is reduced.
According to the method for determining the equipment to be replaced, provided by the embodiment of the invention, the failure rate and the current hardware performance of each storage equipment in the storage system are obtained; according to the fault rate and the current hardware performance, the elimination priority of each storage device, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority; and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced. In this way, the storage devices are not strictly replaced according to the preset service life of each storage device, so that the waste of resources can be reduced.
As shown in fig. 2, an embodiment of the present invention further provides an apparatus for determining a device to be replaced, where the apparatus includes:
an obtaining module 201, configured to obtain a failure rate and current hardware performance of each storage device in the storage system;
the first determining module 202 is configured to determine a removal priority of each storage device according to a failure rate and a current hardware performance, where the failure rate is directly proportional to the removal priority, and the current hardware performance is inversely proportional to the removal priority;
and the second determining module 203 is configured to determine the storage device with the elimination priority higher than the preset threshold as the device to be replaced.
In an implementation manner, the first determining module 202 is specifically configured to:
for each storage device, determining a parameter value of the current hardware performance of the storage device;
and calculating the weighted sum of the failure rate of the storage equipment and the parameter value according to the preset weight, and taking the weighted sum as the elimination priority of the storage equipment.
In one implementation, the obtaining module 201 is specifically configured to:
determining various types of machines included in a storage system;
and respectively counting the fault rate of each type of machine in a preset period to take the fault rate of each type of storage equipment as the fault rate of the storage equipment.
In one implementation, the obtaining module 201 is specifically configured to:
acquiring hardware information and service time of each storage device in a storage system;
and analyzing the hardware information and the service time to obtain the current hardware performance of each storage device, wherein the service time is inversely proportional to the current hardware performance.
In one implementation, the obtaining module 201 is specifically configured to:
performing pressure test on the central processing unit and the memory of each storage device to obtain a test result;
and determining the current hardware performance of the central processing unit and the memory according to the test result.
In one implementation, the second determining module 203 is further configured to:
and storing the data by using the storage equipment with the elimination priority lower than the preset threshold.
The device for determining the equipment to be replaced provided by the embodiment of the invention obtains the failure rate and the current hardware performance of each storage equipment in the storage system; determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority; and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced. In this way, the storage devices are not strictly replaced according to the preset service life of each storage device, so that the waste of resources can be reduced.
The embodiment of the present invention further provides an electronic device, as shown in fig. 3, which includes a processor 301, a communication interface 302, a memory 303, and a communication bus 304, where the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304,
a memory 303 for storing a computer program;
the processor 301, when executing the program stored in the memory 303, implements the following steps:
acquiring the fault rate and the current hardware performance of each storage device in the storage system;
determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority;
and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
According to the electronic equipment provided by the embodiment of the invention, the failure rate and the current hardware performance of each storage device in the storage system are obtained; determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority; and determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced. In this way, the storage devices are not strictly replaced according to the preset service life of each storage device, so that the waste of resources can be reduced.
In yet another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above-mentioned to-be-replaced device determination methods.
In yet another embodiment, a computer program product containing instructions is also provided, which when run on a computer causes the computer to perform any one of the methods for determining a device to be replaced in the above-mentioned embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, apparatus embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are described with relative simplicity as they are substantially similar to method embodiments, where relevant only as described in portions of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (14)
1. A method for determining a device to be replaced, the method comprising:
acquiring the fault rate and the current hardware performance of each storage device in the storage system;
determining elimination priorities of the storage devices according to the fault rates and the current hardware performances, wherein the fault rates are in direct proportion to the elimination priorities, and the current hardware performances are in inverse proportion to the elimination priorities;
and determining the storage equipment with the elimination priority higher than a preset threshold value as the equipment to be replaced.
2. The method of claim 1, wherein determining the elimination priority for each storage device based on the failure rate and the current hardware performance comprises:
for each storage device, determining a parameter value of the current hardware performance of the storage device;
and calculating the weighted sum of the failure rate of the storage equipment and the parameter value according to the preset weight, and taking the weighted sum as the elimination priority of the storage equipment.
3. The method of claim 1, wherein obtaining the failure rate of each storage device in the storage system comprises:
determining various types of machines included in a storage system;
and respectively counting the fault rate of each type of equipment in a preset period, and taking the fault rate of each type of storage equipment as the fault rate of the storage equipment.
4. The method of claim 1, wherein the obtaining the current hardware performance of each storage device in the storage system comprises:
acquiring hardware information and service time of each storage device in a storage system;
and analyzing the hardware information and the service time to obtain the current hardware performance of each storage device, wherein the service time is inversely proportional to the current hardware performance.
5. The method of claim 1, wherein the obtaining the current hardware performance of each storage device in the storage system comprises:
performing pressure test on the central processing unit and the memory of each storage device to obtain a test result;
and determining the current hardware performance of the central processing unit and the memory according to the test result.
6. The method of claim 1, wherein after determining the de-election priority of each storage device based on the failure rate and the current hardware performance, the method further comprises:
and storing data by using the storage equipment with the elimination priority lower than the preset threshold.
7. An apparatus for determining a device to be replaced, the apparatus comprising:
the acquisition module is used for acquiring the fault rate and the current hardware performance of each storage device in the storage system;
the first determining module is used for determining the elimination priority of each storage device according to the fault rate and the current hardware performance, wherein the fault rate is in direct proportion to the elimination priority, and the current hardware performance is in inverse proportion to the elimination priority;
and the second determining module is used for determining the storage equipment with the elimination priority higher than the preset threshold value as the equipment to be replaced.
8. The apparatus of claim 7, wherein the first determining module is specifically configured to:
for each storage device, determining a parameter value of the current hardware performance of the storage device;
and calculating the weighted sum of the failure rate of the storage equipment and the parameter value according to the preset weight, and taking the weighted sum as the elimination priority of the storage equipment.
9. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
determining various types of machines included in a storage system;
and respectively counting the fault rate of each type of equipment in a preset period, and taking the fault rate of each type of storage equipment as the fault rate of the storage equipment.
10. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
acquiring hardware information and service time of each storage device in a storage system;
and analyzing the hardware information and the service time to obtain the current hardware performance of each storage device, wherein the service time is inversely proportional to the current hardware performance.
11. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
performing pressure test on the central processing unit and the memory of each storage device to obtain a test result;
and determining the current hardware performance of the central processing unit and the memory according to the test result.
12. The apparatus of claim 7, wherein the second determining module is further configured to:
and storing data by using the storage equipment with the elimination priority lower than the preset threshold.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored in the memory.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911202973.2A CN110955587A (en) | 2019-11-29 | 2019-11-29 | Method and device for determining equipment to be replaced |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911202973.2A CN110955587A (en) | 2019-11-29 | 2019-11-29 | Method and device for determining equipment to be replaced |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110955587A true CN110955587A (en) | 2020-04-03 |
Family
ID=69979026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911202973.2A Pending CN110955587A (en) | 2019-11-29 | 2019-11-29 | Method and device for determining equipment to be replaced |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110955587A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112527615A (en) * | 2020-12-07 | 2021-03-19 | 北京奇艺世纪科技有限公司 | Equipment determination method and device, electronic equipment and storage medium |
CN112527538A (en) * | 2020-12-03 | 2021-03-19 | 北京奇艺世纪科技有限公司 | Device updating method and device, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346221A (en) * | 2013-08-02 | 2015-02-11 | 北京百度网讯科技有限公司 | Method and device for grading and dispatching management of server hardware equipment and server |
CN108681496A (en) * | 2018-05-09 | 2018-10-19 | 北京奇艺世纪科技有限公司 | Prediction technique, device and the electronic equipment of disk failure |
CN108766571A (en) * | 2018-05-29 | 2018-11-06 | 新华三信息安全技术有限公司 | A kind of appraisal procedure and device of health status |
CN109408328A (en) * | 2018-10-08 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of monitoring method, device and the equipment of hard disk health status |
-
2019
- 2019-11-29 CN CN201911202973.2A patent/CN110955587A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346221A (en) * | 2013-08-02 | 2015-02-11 | 北京百度网讯科技有限公司 | Method and device for grading and dispatching management of server hardware equipment and server |
CN108681496A (en) * | 2018-05-09 | 2018-10-19 | 北京奇艺世纪科技有限公司 | Prediction technique, device and the electronic equipment of disk failure |
CN108766571A (en) * | 2018-05-29 | 2018-11-06 | 新华三信息安全技术有限公司 | A kind of appraisal procedure and device of health status |
CN109408328A (en) * | 2018-10-08 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of monitoring method, device and the equipment of hard disk health status |
Non-Patent Citations (1)
Title |
---|
武晔卿,王广辉,彭耀光: "《嵌入式系统可靠性设计技术及案例解析》", 北京:北京航空航天大学出版社, pages: 11 - 12 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112527538A (en) * | 2020-12-03 | 2021-03-19 | 北京奇艺世纪科技有限公司 | Device updating method and device, electronic device and storage medium |
CN112527538B (en) * | 2020-12-03 | 2023-07-25 | 北京奇艺世纪科技有限公司 | Device updating method and device, electronic device and storage medium |
CN112527615A (en) * | 2020-12-07 | 2021-03-19 | 北京奇艺世纪科技有限公司 | Equipment determination method and device, electronic equipment and storage medium |
CN112527615B (en) * | 2020-12-07 | 2023-09-01 | 北京奇艺世纪科技有限公司 | Equipment determination method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110213068B (en) | Message middleware monitoring method and related equipment | |
US10728284B2 (en) | Methods and apparatus to assess compliance of a computing resource in a virtual computing environment | |
JP5874936B2 (en) | Operation management apparatus, operation management method, and program | |
US9280394B2 (en) | Automatic cloud provisioning based on related internet news and social network trends | |
US20160055044A1 (en) | Fault analysis method, fault analysis system, and storage medium | |
CN108255620B (en) | Service logic processing method, device, service server and system | |
JP6160064B2 (en) | Application determination program, failure detection apparatus, and application determination method | |
CN110083475B (en) | Abnormal data detection method and device | |
CN108737132B (en) | Alarm information processing method and device | |
CN113590429B (en) | Server fault diagnosis method and device and electronic equipment | |
CN110069217B (en) | Data storage method and device | |
CN107911397B (en) | Threat assessment method and device | |
CN113220573A (en) | Test method and device for micro-service architecture and electronic equipment | |
CN114169767A (en) | Risk assessment method and device | |
CN110955587A (en) | Method and device for determining equipment to be replaced | |
CN112395179A (en) | Model training method, disk prediction method, device and electronic equipment | |
CN110113187B (en) | Configuration updating method and device, configuration server and configuration system | |
CN111681094B (en) | Method and device for monitoring resource policy abnormality and electronic equipment | |
CN111522723A (en) | Data acquisition method and device | |
CN115396280B (en) | Alarm data processing method, device, equipment and storage medium | |
CN115037653B (en) | Service flow monitoring method, device, electronic equipment and storage medium | |
CN111552566B (en) | Data processing system, method, electronic equipment and storage medium | |
CN110333968B (en) | Data management method and device applied to database and computer equipment | |
CN114281250A (en) | Method and device for cleaning storage file, storage medium and electronic device | |
CN112671590A (en) | Data transmission method and device, electronic equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200403 |
|
RJ01 | Rejection of invention patent application after publication |