Backup device
The backup device addresses the issue of hard disk drive failures in old computers by enabling connection of new generation storage devices with different communication standards, predicting failures, and switching storage devices without stopping operations, ensuring continuous factory production.
Patent Information
- Application Number
- JP2023093572
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-06-06
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Old generation computers in manufacturing factories face issues with hard disk drive failures, which can disrupt production if the computer needs to be stopped for replacement, and there is a need to connect new generation storage devices without interrupting operations.
A backup device with a control device that supports different communication standards, allowing connection of new generation storage devices to old generation computers, includes prediction of failures, and switches storage devices without stopping operations, and performs data mirroring and backup.
Enables the connection of new generation storage devices to old generation computers without stopping operations, allows for failure prediction and prevention, and ensures data backup and recovery without disrupting factory operations.
Smart Images

Figure 2024143959000001_ABST
Abstract
Description
[Technical field]
[0001] The technology of the present disclosure relates to a backup device. [Background technology]
[0002] In manufacturing plants that have been operating for a long time, computers have been introduced as control devices that control or manage the operation of manufacturing equipment and machine tools in each part of the plant. Such computers are installed when the plant is constructed or when a new production line is introduced, and are used for a long time without being replaced. Since the computers introduced to control and manage the operation of such plants continue to operate almost day and night, stopping the computer has a large impact on the entire plant, such as requiring the entire plant line to be stopped. For example, in steel plants, once the plant operation is stopped and the furnace cools down, it takes a long time to restore the furnace temperature, resulting in a problem of extremely poor energy efficiency. Due to such problems, there has been a tendency to avoid performing maintenance such as replacing computers or rewriting software. On the other hand, computers generally have a fast turnover, and over the course of a dozen years or so there are significant advances in computer performance, and correspondingly there are also significant advances in the specifications of computer peripherals (such as memory capacity and communication speed). Summary of the Invention [Problem to be solved by the invention]
[0003] As mentioned above, the computers operating in factories and the like are already becoming old versions, and there are concerns that the malfunction of the computers and their halts will have a negative impact on production lines and the like. Among the devices built into computers, the hard disk drive device is the one that malfunctions most frequently. Therefore, there is an urgent need to replace the hard disk drive device, but at present, new generation hard disk drive devices are dominating the market, and there is a problem in that it is not possible to obtain old generation hard disk drive devices that are compatible with the old generation computers operating in factories. Furthermore, in order to replace a hard disk drive, the computer must be stopped temporarily, which, as mentioned above, poses the problem that the factory must be shut down when replacing a hard disk drive.
[0004] The technique disclosed herein has an object to provide a backup device that allows a new generation storage device to be connected to an older generation computer and that is capable of backing up data without stopping the operation of the computer. [Means for solving the problem]
[0005] In order to achieve the above object, the backup device has the following configuration. (1) a computer to be backed up that is compatible with a first communication standard; A control device that stores data necessary for the operation of the backup target computer and is interposed between a first storage device that supports a second communication standard different from the first communication standard, The control device includes: a specification data storage means for reading specification data of a master storage device from a master storage device in which data necessary for the operation of the computer to be backed up is stored and storing the specification data; a first interface that supports the first communication standard and communicates with the backup target computer; a second interface that is compatible with the second communication standard and communicates with the first storage device; a change means for changing data supplied via one of the first and second interfaces to a content corresponding to a communication standard of the other interface based on data stored in the master data storage means; a third interface to which a second storage device compatible with the same communication standard as that of the second interface is connected; a write means for writing the same information as the data written in the first storage device to the second storage device.
[0006] (2) A backup device as described in (1) above, wherein the modification means extracts and synthesizes specification data that has been rewritten in the first storage device and specification data that has not been rewritten from the specification data storage means, and supplies the synthesized data to the computer to be backed up.
[0007] (3) a prediction means for predicting a failure of the first storage device; A backup device as described in (1) above, having a switching means for switching the second storage means as a main storage device communicating with a computer to be backed up when the prediction means predicts a failure of the first storage device or when the first storage device fails.
[0008] (4) The backup device according to (3) above, wherein the prediction means measures the read or write time of the first storage device and determines that there is a possibility of a failure if the measured time exceeds a predetermined time.
[0009] (5) The control device A third storage device; and a backup means for repeating a backup process of the data of the first storage device to the third storage device at predetermined time intervals; The backup device according to (3) above, wherein if the prediction means predicts a failure of the first storage means, the predetermined period is set to a short period.
[0010] (6) The control device The backup device described in (1) above, having a copy means for copying data recorded in the first storage device to the second storage device during intervals of communication between the computer to be backed up and the first storage device.
[0011] (7) The backup device according to (1) above, wherein the first interface is an IDE interface or a SCSI interface. Effect of the Invention
[0012] According to the invention described in claim 1, it is possible to communicate between the backup target computer and the storage device, which have different communication standards, and by returning the specification data of the master storage device stored in advance to the backup target computer, it is possible to connect a new generation storage device to an old generation backup target computer, for example. In addition, data from the backup target computer is written to the second storage device in the same way as the first storage device, so that data is backed up.
[0013] According to the invention recited in claim 2, since it is possible to respond to rewriting of specification data and return the data to the computer to be backed up, the computer to be backed up can continue to operate without stopping. According to the invention described in claim 3, if the first storage device fails or a failure is predicted, the storage device communicating with the computer to be backed up can be switched to the second storage device, thereby allowing the operation of the computer to be backed up to be maintained without stopping its operation.
[0014] According to the invention recited in claim 4, by measuring the read time or write time from the first memory device, the possibility of a failure can be determined, so that the first memory device can be replaced before a failure occurs. According to the invention described in claim 5, data can be backed up to a third storage device, so that data can be restored even if there is a defect in the data written to the first storage device and the second storage device.
[0015] According to the invention described in claim 6, data recorded in the first storage device is copied to the second storage device during intervals in communication between the computer to be backed up and the first storage device, so that the backup can be completed without interrupting the operation of the computer to be backed up. According to the seventh aspect of the present invention, a storage device conforming to another communication standard can be connected to a computer to be backed up that supports an IDE interface or a SCSI interface. [Brief description of the drawings]
[0016] [Figure 1] 1 is a block diagram of a backup device 10 according to the technique of the present disclosure. [Figure 2A] 10 is a flowchart of a part of a storage control program executed by a CPU 22 of a computer 20 of the backup device 10. [Figure 2B] 13 is a flowchart of the remaining part of the storage control program executed by the CPU 22 of the computer 20 of the backup device 10. [Figure 3A] 13 is a timing chart of a first action taken when a command is sent from computer 15 while computer 20 is undergoing a rebuild process. [Figure 3B] 13 is a timing chart of a second action taken when a command is sent from computer 15 while computer 20 is undergoing a rebuild process. [Figure 4] 1 is a diagram showing a board 200 displayed on an operation panel 46, which displays the respective states and commands of a first HDD 42 and a second HDD 44. FIG. [Diagram 5] 10 is a flowchart of a backup processing program executed by a CPU 22 of a computer 20 of the backup device 10. [Figure 6]13 is a timing chart of a backup process. [Figure 7] 13 is a flowchart of a restore process executed by a CPU 22 of a computer 20 of the backup device 10. [Figure 8] 13 is a timing chart of a first action taken when a command is sent from the computer 15 while the computer 20 is performing a restore process. [Figure 9] 13 is a timing chart of a second action taken when a command is sent from the computer 15 while the computer 20 is performing a restore process. [Figure 10] 13 is a flowchart of a backup process repetitive execution program for repeatedly executing backup processes at predetermined time intervals. [Figure 11] 13 is a flowchart of a frequency increase processing program for increasing the execution frequency of a backup process. [Figure 12] FIG. 11 is an explanatory diagram showing the flow of data when mirroring and backup are performed. [Figure 13] 13 is a flowchart of a process (rebuild process) for rewriting the contents of the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44. [Figure 14] FIG. 13 is a diagram showing a state in which a hard disk 42D of the first HDD 42 is rebuilt. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Hereinafter, embodiments of the technology of the present disclosure will be described with reference to the drawings. A block diagram of a backup device 10 of the technology disclosed herein is shown in Fig. 1. As shown in Fig. 1, the backup device 10 is connected to a computer 15 to be backed up, and backs up data of the computer 15. The computer 15 to be backed up is a computer in a system of, for example, a semiconductor factory, an ironworks, or the like, in a situation where production would be hindered if a device that stores necessary data broke down and took a long time to restart after it stopped.
[0018] The backup device 10 includes a computer 20. The computer 20 includes a CPU 22, a ROM 24, a RAM 26, a plurality of ports (28 to 39), and a bus 40 that interconnects these. The plurality of ports include an IDE port 28, a panel port 30, a LAN port 32, SATA ports 34 and 36, and a USB port 39.
[0019] The computer 20 is connected to the computer 15 to be backed up via an IDE (Intelligent Drive Electronics) port 28a. Thus, data is transmitted and received between the computer 20 and the computer 15 to be backed up in accordance with the IDE interface, which is a first communication standard. Furthermore, a master hard disk drive (HDD) 15D is connected via an IDE port 28b. The HDD that was built into the computer 15 to be backed up is connected to the master HDD 15D after it has been removed. The computer 15 to be backed up reads data required for its operation from the master HDD 15D, and writes data obtained as a result of the processing (operation) to the master HDD 15D. For example, the IDE port 28a is connected to a connection terminal in the computer 15 to be backed up to which the master HDD 15D was connected. Instead of the IDE ports 28a and 28b, a small computer system interface (SCSI) port may be used. Also, instead of the IDE ports 28a and 28b, for example, a serial ATA port (SATA), a serial attached SCSI (SAS) port, a fiber channel (FC) port, or a universal serial bus (USB) port may be used.
[0020] The backup device 10 includes a plurality of, for example, two, specifically, a first hard disk drive (HDD) 42 and a second HDD 44, each storing first data obtained by the computer 15 executing a predetermined process and second data required for the computer 15 to execute the predetermined process. The first HDD 42 and the second HDD 44 are connected to the computer 20 via serial AT attachment (SATA) ports 34, 36, respectively. One of the two storage devices is determined as a target primary storage device from which the computer 15 to be backed up reads the second data required for executing the predetermined process. Specifically, the first HDD 42 is determined. Data is transmitted and received between the computer 20 and the first HDD 42 and second HDD 44 in accordance with the SATA interface, which is a second communication standard. Note that the stored first data may also be the second data.
[0021] As described above, the computer 20 is connected to the computer 15 to be backed up via the IDE port 28a, and to the first HDD 42 and the second HDD 44 via the SATA ports 34, 36. Therefore, the communication speed between the computer 20 and the computer 15 to be backed up is faster than the communication speed between the computer 20 and each of the first HDD 42 and the second HDD 44.
[0022] A backup system 17 is connected to the computer 20 via a LAN port 32 and a communication line. The backup system 17 includes a computer 17C and a backup storage device 17M. The backup system 17 is provided at a location remote from the computer 15 to be backed up via a LAN cable. Furthermore, an external storage device 45 is connected to the computer 20 via a Universal Serial Bus (USB) port 39. The external storage device may be, for example, a USB memory, and may have a flash memory such as a solid state drive (SSD) as a storage medium. This external storage device 45 has a role similar to that of the backup system 17, and periodically compresses and records data on the first or second HDD, as described later. In this manner, the backup device 10 of the technique of the present disclosure includes two storage devices, one flash memory, and the backup system 17.
[0023] A display operation panel 46 is connected to the computer 20 via the panel port 30. The display operation panel 46 is connected to an operation panel 46 that displays the respective states and commands of the first HDD 42 and the second HDD 44 and has an operation unit for performing various operations. As shown in FIG. 4, specifically, the operation panel 46 is provided with a status display 202 of the first HDD 42, a removal button 204 of the first HDD 42, and a rebuild button 206 of the first HDD 42, corresponding to the first HDD 42. The operation panel 46 is provided with a status display 212 of the second HDD 44, a removal button 214 of the second HDD 44, and a rebuild button 216 of the second HDD 44, corresponding to the second HDD 44.
[0024] Here, removal means turning off the power to the HDD and removing it from the SATA port in order to replace the HDD with a new HDD. Rebuild refers to reconstructing a HDD. For example, it refers to reading data from the HDD that was not replaced and storing the read data in a new HDD, that is, reconstructing the HDD before the replacement with the new HDD. When the first HDD 42 and the second HDD 44 are operating normally, the status indicators 202, 212 are lit in green, for example.
[0025] Next, the operation of the backup device 10 will be described. The CPU 22 of the computer 20 of the backup device 10 controls the first HDD 42 and the second HDD 44 so that the first data obtained by the computer 15 to be backed up executing a predetermined process is simultaneously stored in the first HDD 42 and the second HDD 44. Storing the first data simultaneously in the first HDD 42 and the second HDD 44 is called mirroring.
[0026] Although details will be described later, the CPU 22 controls the backup system 17 so that the first data is stored in the backup system 17. Storing the first data in the backup storage device 17M of the backup system 17 and / or the USB memory 45 is referred to as a backup process. In this manner, the backup device 10 executes mirroring and backup.
[0027] Next, the operation of the computer 20 when the computer 20 is connected to the backup target computer 15 will be described. Since the backup target computer 15 supports the IDE interface, which is an old communication standard, even if the master HDD 15D is removed and an HDD of a new communication standard is connected, it cannot be recognized as an HDD, and the HDD of the new communication standard cannot be used as the master HDD. Specifically, when an identify command is supplied from the backup target computer 15 to the connected HDD, the HDD specification information returned as a response from the connected HDD is not information that the backup target computer 15 can recognize, and the operation of the computer 15 stops.
[0028] Therefore, the computer 20 first extracts the specification information of the master HDD 15D from the master HDD 15D connected to the IDE port 28b, and records it in an internal storage area, such as the ROM 24 or the RAM 26. The computer 20 monitors commands supplied from the backup target computer 15 and determines whether an identify command is supplied. If it is supplied, the specification information returned from the first HDD 42 is not sent to the backup target computer 15 as is, but the specification information extracted and stored from the master HDD 15D is supplied to the backup target computer 15. By changing the data to be supplied in this manner, the backup target computer 15 can recognize the first HDD 42, which has a different communication standard, as the master HDD 15D and continue processing operations. Also, if the first and second HDDs 42, 44 are damaged, they can be replaced with new HDDs.
[0029] HDD specification information includes, for example, HDD specifications, disk capacity, rotation speed, interface speed, seek time, internal data transfer rate (speed at which data is read from the disk), buffer, etc., and some of this information is fixed and does not change, while some is changed by the computer 15 to be backed up. When a part of the specification information is changed by the backup target computer 15, the operation of the backup target computer 15 stops unless the changed specification information is returned when the identify command is next supplied. For this reason, the computer 20 judges whether data for rewriting the specification information is supplied to the first HDD, and if it is supplied, stores the rewritten information in an internal storage area. Then, when the identify command is supplied, the computer 20 combines the initially stored fixed specification information and the rewritten specification information, which are stored internally, and returns the combined specification information to the backup target computer 15. As a result, the backup target computer 15 continues to recognize the first HDD 42 as the master HDD 15D and continues to operate.
[0030] The rewritten specification information may not be stored internally, but may be left to rewrite the specification information in the first HDD 42 as is, and the specification information returned from the first HDD 42 in response to the identify command may be combined with the fixed specification information initially stored to form the specification information to be returned to the backup target computer 15. First, the specification information is extracted from the master HDD 15D, and at the same time, the data recorded in the master HDD 15D is copied to the first HDD 42 and the second HDD. The first HDD 42 functions as a main storage device that reads and writes data for the backup target computer 15, that is, as the master HDD. The data is copied from the master HDD 15D to the first HDD 42 first, and when this copying is completed, the data is then copied from the master HDD 15D to the second HDD 44.
[0031] When a write command is supplied from the computer 15 to be backed up, writing is performed on the first HDD 42 and the second HDD 44. A response to the computer 15 to be backed up is made by adjusting the process (write) results of the first HDD 42 and the second HDD 44. For example, a response indicating the end of writing is made when the processes of both drives are completed. When a read command is supplied from the computer 15 to be backed up, the command is supplied to the first HDD, which is the primary storage device, and a response is made to the computer 15 to be backed up. The first HDD and the second HDD may be HDDs with different specifications, but it is preferable that both HDDs are the same type of HDD because when write processes are performed simultaneously, the time required for the processes is the same, which helps to shorten the processing time.
[0032] 2A and 2B show a flowchart of a storage control program executed by the CPU 22 of the computer 20 of the backup device 10. The storage control program is executed to carry out a storage control process. In step 52 of Fig. 2A, the CPU 22 judges whether or not a read error has occurred in the first HDD 42. For example, if it takes longer than a predetermined time to read the second data from the first HDD 42 in accordance with a read command from the computer 15 to be backed up, the CPU 22 judges that a read error has occurred in the first HDD 42. If it is not judged that a read error has occurred in the first HDD 42, the control process returns to step 52, and the process of step 52 is repeatedly executed until it is judged that a read error has occurred in the first HDD 42.
[0033] If it is determined that a read error has occurred in the first HDD 42, in step 54, the CPU 22 sets the second HDD 44 as a storage device from which the second data required for the backup target computer 15 to execute a predetermined process is to be read. Therefore, the second data is read from the second HDD 44 thereafter. In step 56, the CPU 22 causes the status indicator 202 of the first HDD 42 to flash, for example, in red.
[0034] In step 58, the CPU 22 determines whether or not the removal button 204 of the first HDD 42 has been turned on. If it is not determined that the removal button 204 of the first HDD 42 has been turned on, the process of step 58 is repeatedly executed until it is determined that the removal button 204 of the first HDD 42 has been turned on.
[0035] When the status display 202 of the first HDD 42 is flashing red on the surface 200 of the operation panel 46, the operator sees this and knows that a failure has occurred in the first HDD 42 and that it is necessary to replace it with a new HDD. The operator turns on the removal button 204 of the first HDD 42 to replace it with a new HDD. This results in a positive determination in step 58.
[0036] If the determination in step 58 is affirmative, then in step 60 the CPU 22 causes the removal button 204 of the first HDD to blink, and in step 62 the CPU 22 turns off the status display 202 of the first HDD . In step 64, the CPU 22 separates control of the first HDD 42 from the backup target computer 15. In step 66, the CPU 22 turns off the power to the first HDD 42. In step 68, the CPU 22 turns off the light of the removal button 204 of the first HDD 42.
[0037] When the removal button 204 of the first HDD 42 is turned off, the operator knows that the power of the first HDD 42 is turned off and that the first HDD 42 can be replaced with a new HDD. Therefore, the operator replaces the first HDD 42 with the new HDD. 2B, CPU 22 determines whether or not rebuild button 206 of first HDD 42 has been turned on. If it is not determined that rebuild button 206 of first HDD 42 has been turned on, step 70 is repeatedly executed until it is determined that rebuild button 206 of first HDD 42 has been turned on.
[0038] When the first HDD 42 is replaced with a new HDD, the new first HDD 42 does not store the data stored in the second HDD 44. Therefore, mirroring cannot be performed. Therefore, the operator turns on the rebuild button 206 of the first HDD 42 to instruct the new first HDD 42 to be rebuilt so that mirroring can be performed. This results in a positive determination in step 70.
[0039] If the determination in step 70 is affirmative, then in step 72 the CPU 22 causes the rebuild button 206 of the first HDD 42 to flash. In step 74 , the CPU 22 powers on the new first HDD 42 . In step 76, the CPU 22 determines whether the new first HDD 42 has started up. If it is not determined that the new first HDD 42 has started up, step 76 is repeatedly executed until it is determined that the new first HDD 42 has started up. If it is determined that the new first HDD 42 has started up, step 76 is determined as positive. If the determination in step 76 is affirmative, then in step 78, the CPU 22 turns on the rebuild button 206 for the first HDD 42.
[0040] In step 80, the CPU 22 executes the rebuild process on the new first HDD 42. Specifically, the CPU 22 reads data stored in the second HDD 44 so that the storage contents of the new first HDD 42 become the same as the storage contents of the second HDD 44, and stores the read data in the new first HDD 42.
[0041] In step 82, the CPU 22 turns off the rebuild button 206 of the first HDD 42. In step 84, the CPU 22 turns the status indicator 202 of the first HDD 42 blue. Incidentally, the data stored in the second HDD 44 is read so that the storage contents of the new first HDD 42 are the same as the storage contents of the second HDD 44, and the read data is stored in the new first HDD 42, so that mirroring becomes possible thereafter.
[0042] 2A and 2B, the backup target computer 15 is in operation. Therefore, for example, even while the rebuild process of step 80 is being performed, the backup target computer 15 may be in operation and a command may be sent from the computer 15 to the computer 20. If a command is sent from the computer 15 while the computer 20 is in the rebuild process, the countermeasure of FIG. 3A or 3B is executed.
[0043] Fig. 3A shows a timing chart of a first measure taken when a command is sent from computer 15 while computer 20 is performing a rebuild process. Fig. 3B shows a timing chart of a second measure taken when a command is sent from computer 15 while computer 20 is performing a rebuild process.
[0044] 3A, in the first coping method, when a command is sent from computer 15 (step 104) after computer 20 starts a rebuild (step 102), computer 20 sends a NotReady signal to computer 15. Having received the NotReady signal, computer 15 waits until it receives a Ready signal (step 106).
[0045] 3B, in the second coping method, after the computer 20 starts the rebuild (step 102), if the computer 15 sends a command, for example a write command specifying the write position and the data to be written (step 104), the computer 20 stores the write position and the data to be written in the RAM 26 (see also FIG. 1). When the computer 20 finishes the rebuild (step 114), it stores the specified data in the specified write position in the first HDD 42 and the second HDD 44.
[0046] Note that computer 20 may execute the rebuild processes between commands from computer 15. For example, if a command is sent from computer 15 after computer 20 starts a rebuild, computer 20 temporarily suspends the rebuild processes, executes the process corresponding to the received command, and resumes the rebuild processes after the process is completed.
[0047] Next, the backup process will be described. Fig. 5 shows a flowchart of the first backup process program executed by the CPU 22 of the computer 20 of the backup device 10. Fig. 6 shows a timing chart of the first backup process. The first backup process is repeatedly executed at predetermined time intervals, for example, every six hours.
[0048] In step 122, the CPU 22 stops mirroring. Specifically, the first data continues to be stored in the first HDD 42 and the second data continues to be read, but the power supply to the second HDD 44 is turned off. Thus, since the first data continues to be stored only in the first HDD 42, the storage contents of the first HDD 42 and the storage contents of the second HDD 44 will differ.
[0049] In step 124, the CPU 22 causes the status display 212 of the second HDD 44 to blink. In step 126, the CPU 22 executes a first backup process. Specifically, the CPU 22 controls the backup system 17 so that the data in the first HDD 42 is stored in the backup storage device 17M of the backup system 17.
[0050] In step 128, the CPU 22 causes the rebuild button 216 of the second HDD 44 to flash. In step 130, the CPU 22 turns on the power supply of the second HDD 44. In step 132, the CPU 22 determines whether the second HDD 44 has started up. If it is not determined that the second HDD 44 has started up, step 132 is repeatedly executed until it is determined that the second HDD 44 has started up. If it is determined that the second HDD 44 has started up, step 132 is determined as positive.
[0051] If the determination in step 132 is affirmative, then in step 134, the CPU 22 turns on the rebuild button 216 for the second HDD 44. As described above, mirroring is stopped in step 122, and the first data continues to be stored only in the first HDD 42 even during the backup process. Therefore, as shown in FIG. 6, after the backup process starts (see also step 142 in FIG. 6), a command, for example a write command, is transmitted from the computer 15 to be backed up (see step 144). In this case, the CPU 22 stores the data only in the first HDD 42 (see step 146). In this way, the storage contents of the first HDD 42 and the storage contents of the second HDD 44 differ. The backup process then ends (step 148).
[0052] Therefore, in step 136, the CPU 22 rebuilds the second HDD 44. The CPU 22 reads out the first data that has been stored only in the first HDD 42 since the mirroring was stopped in step 122, and stores the read out first data in the second HDD 44 so that the storage contents of the first HDD 42 and the second HDD 44 become the same. In step 138 , the CPU 22 turns off the rebuild button 216 for the second HDD 44 .
[0053] 6, a command may be sent from computer 15 while computer 20 is performing a rebuild process on second HDD 44 (see step 152). In this case, computer 20 sends a NotReady signal to computer 15 (see step 154). Having received the NotReady signal, computer 15 waits until it receives a Ready signal.
[0054] There are other methods as follows. For example, when a write command specifying a write position and data to be written is transmitted from the computer 15, the computer 20 saves the write position and data to be written in the RAM 26. The computer 20 stores the data in the first HDD 42, the second HDD 44, and the backup system 17. Alternatively, the computer 20 may execute the rebuild process for the second HDD 44 between commands from the computer 15. In this manner, the backup device 10 executes mirroring and backup.
[0055] Next, a restore process will be described in which the first HDD 42 and the second HDD 44 fail, the first HDD 42 and the second HDD 44 are replaced with new HDDs, and data from the backup system 17 is stored in each of the new HDDs. Fig. 7 shows a flowchart of the restore process executed by the CPU 22 of the computer 20 of the backup device 10.
[0056] In step 162, the CPU 22 determines whether a read error has occurred in each of the first HDD 42 and the second HDD 44 by determining whether it took longer than a predetermined time to read the second data from each of the first HDD 42 and the second HDD 44. As described above, the first HDD 42 is determined as the HDD from which the second data is read, but if a read error occurs in the first HDD 42, the second HDD 44 is set as the storage device from which the second data is read. However, if a read error also occurs in the second HDD 44, step 162 is determined as positive.
[0057] In step 164 , the CPU 22 turns off the power to both the first HDD 42 and the second HDD 44 . In step 166, the CPU 22 determines whether or not both the first HDD 42 and the second HDD 44 have been replaced. Specifically, the CPU 22 determines whether or not the first HDD 42 and the second HDD 44 have started up.
[0058] When both the first HDD 42 and the second HDD 44 have been replaced, in step 168, the CPU 22 reads data from the backup system 17 and controls the first HDD 42 and the second HDD 44 so that the read data is stored (written) in both the first HDD 42 and the second HDD 44. In this manner, each of the first HDD 42 and the second HDD 44 is replaced with a new HDD, and the restore process is executed on each of the new HDDs.
[0059] Incidentally, the backup target computer 15 continues to operate even during the execution of the restore process. Therefore, for example, even while the rebuild process of step 82 is being executed, the backup target computer 15 continues to operate, and a command may be sent from the computer 15 to the computer 20. In this way, when a command is sent from the computer 15 while the computer 20 is performing the restore process, the countermeasure shown in FIG. 8 or FIG. 9 is executed.
[0060] Fig. 8 shows a timing chart of a first measure taken when a command is sent from the computer 15 while the computer 20 is performing a restore process. Fig. 9 shows a timing chart of a second measure taken when a command is sent from the computer 15 while the computer 20 is performing a restore process.
[0061] 8, in the first coping method, when a command is sent from the computer 15 (step 174) after the computer 20 starts the restore process (step 172), the computer 20 sends a NotReady signal to the computer 15 (step 176). The computer 15 that receives the NotReady signal waits until it receives a Ready signal.
[0062] 9, in the second coping method, after the computer 20 starts the restore process (step 172), if the computer 15 transmits a command, for example a write command specifying the write position and the data to be written (step 174), the computer 20 saves the write position and the data to be written in the RAM 26 (see also FIG. 1). When the computer 20 finishes the restore process (step 178), it stores the specified data in the specified write position in the first HDD 42 and the second HDD 44 (see step 180).
[0063] The computer 20 may execute the restore process between commands from the computer 15 . As described above, the backup process is repeatedly executed at predetermined time intervals. Fig. 10 shows a flowchart of a backup process repeat execution program for repeatedly executing the backup process at predetermined time intervals.
[0064] 10, the CPU 22 judges whether or not a predetermined time T has elapsed since the backup process was last executed. If it is judged that the predetermined time T has elapsed since the backup process was last executed, then in step 248, the CPU 22 executes the backup process (steps 122 to 138 in FIG. 5).
[0065] FIG. 11 shows a flowchart of a frequency increase processing program for increasing the execution frequency of the backup processing. In step 252, the CPU 22 measures the time t taken to read the data from the first HDD 42 and store the data in each of the first HDD 42 and the second HDD 44.
[0066] In step 252, by determining whether the measured time t is greater than a predetermined time T, it is determined whether there is a high possibility that the first HDD 42 and the second HDD 44 will fail. If it is determined that there is a high possibility that the first HDD 42 and the second HDD 44 will fail, then in step 256 the CPU 22 sets the predetermined time T to a value obtained by subtracting the fixed time k from the predetermined time T.
[0067] In step 258, a notice is issued that there is a high possibility that the first HDD 42 and the second HDD 44 will fail. For example, this is displayed on the operation panel 46. Alternatively, the notice is sent to the operator's terminal by email. In this way, the value obtained by subtracting the fixed time k from the predetermined time T is set as the predetermined time T, so thereafter, the backup process is executed every time the predetermined time T obtained by subtracting the fixed time k elapses. Therefore, the frequency with which the backup process is executed increases. Meanwhile, as described above, the backup device 10 of this embodiment executes mirroring and backup.
[0068] FIG. 12 is an explanatory diagram showing the flow of data when mirroring and backup are performed. As shown in FIG. 12, as described above, by mirroring, data A, B, . . . , G, . . . transmitted from the computer 15 to be backed up at times 302, 304, . . . , 305, . . . on September 6 are stored in the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44. Data G is read from the hard disk 42D of the first HDD 42 at time 306. The hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44 have the same storage capacity. When the data transmitted from the computer 15 to be backed up is stored in the entire storage area of each hard disk, the newly transmitted data is thereafter overwritten in the area in which the oldest data is stored on the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44.
[0069] On the other hand, in the second backup, all data of the first HDD 42 or the second HDD 44, for example, the hard disk 42D of the first HDD 42, is stored in the backup storage device 17M of the backup system 17. The storage area of the backup storage device 17M of the backup system 17 is larger than the hard disk 42D of the first HDD 42, for example, several times to several tens of times larger than the hard disk 42D of the first HDD 42. If the backup is performed, for example, at midnight of each day, at midnight on September 7, 2021, the backup system computer 17C of the backup system 17 sends a terminal command to the storage control system computer to read all data of the hard disk 42D of the first HDD 42 (402), reads the data, and writes it to the backup storage device 17M (404). As a result, all data Dn of the hard disk 42D of the first HDD 42 at that time is backed up. At midnight on September 6, 2021, all data Dn-1 on the hard disk 42D of the first HDD 42 at that time is backed up to the backup storage device 17M of the backup system 17. In this way, all data Dn, Dn-1, ... on the hard disk 42D of the first HDD 42 at the time of each backup is stored in the backup storage device 17M of the backup system 17.
[0070] For example, by mirroring, data A, B, . . . , X, . . . transmitted from the backup target computer 15 at times 312, 314, . . . , 315, . . . on September 7 are stored in the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44. However, for some reason, noise may enter the original data G transmitted from the backup target computer 15 at time 315, causing the original data G to be corrupted, and the corrupted data X may be stored in the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44.
[0071] The corrupted data X is read from the hard disk 42D of the first HDD 42 to the computer 15 to be backed up at time 316. Since the read data X is corrupted data, the computer 15 to be backed up that reads the corrupted data X If the backup target computer 15 is a computer in a semiconductor manufacturing system, for example, this may cause problems in the manufacturing of semiconductors. In the second backup, all data in the hard disk of the first HDD 42 or the second HDD 44 does not have to be stored in the backup storage device 17M of the backup system 17 every day, but may be stored once a month or once every few days. In this case, the capacity of the backup storage device 17M can be kept small.
[0072] FIG. 13 shows a flowchart of a process (rebuild process) for rewriting the contents of the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44 in order to change the damaged data X to the original data G. When the computer 15 to be backed up operates differently from the way it should operate (stops), a staff member at the computer 15 to be backed up notifies a staff member at the backup device 10 by e-mail or the like that the computer 15 to be backed up operates differently from the way it should operate, for example, that it has stopped. The staff member at the backup device 10 turns on a rebuild button (RB) 48 (see also FIG. 1) to command a rebuild process.
[0073] When the rebuild button 48 is turned on, the rebuild process program starts, and in step 322, the CPU 22 instructs the computer 17C of the backup system 17 to transmit the latest backup data Dn stored in the backup storage device 17M. The latest backup data Dn stored in the backup storage device 17M contains the original data G of the damaged data X. For example, on September 7, the damaged data X was stored in the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44, and the computer 15 to be backed up read this data X, causing the computer 15 to be backed up to stop. The original data G was stored in the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44. On September 6, 15 backup target computers did not stop.
[0074] This indicates the following. That is, on September 6th, the contents of the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44 do not contain the damaged data X that would stop the backup target computer 15, but contain the original data G. The data stored in the hard disk 42D of the first HDD 42 on September 6th is the latest backup data Dn stored in the backup storage device 17M. Therefore, in step 322, the CPU 22 instructs the computer 17C of the backup system 17 to transmit the latest backup data Dn stored in the backup storage device 17M.
[0075] Upon receiving the instruction, the computer 17C of the backup system 17 transmits to the backup device 100 the latest backup data Dn stored in the backup storage device 17M. When the latest backup data Dn is transmitted and received by the backup device 10, the determination as to whether the latest backup data Dn has been received in step 324 is affirmative. If it is not determined that the backup data Dn has been received, the process of step 324 is repeated until an affirmative determination is made.
[0076] If the determination in step 324 is affirmative, then in step 326, the CPU 22 overwrites (that is, rebuilds) the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44 with the most recently received backup data Dn.
[0077] Fig. 14 shows a diagram illustrating the rebuilding of the hard disk 42D of the first HDD 42. Since the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44 are rebuilt with the latest backup data Dn, the damaged data X can be erased and changed to the original data G, as shown in Fig. 14.
[0078] As described above, in this embodiment, in a system to be backed up such as a semiconductor factory or an ironworks, more specifically in a computer of a system in which production would be hindered if a device that stores necessary data breaks down and takes a long time to be restarted, even if a storage device, for example, the first HDD 42 breaks down, the system can be restored immediately without stopping the operation of the system to be backed up. The backup device 10 of this embodiment is capable of performing mirroring and backup.
[0079] In this embodiment, in addition to recovery from a failure of one of a plurality of HDDs each storing the same data, it is possible to realize a backup of the data. Even if the OS of a computer in a system such as a semiconductor factory does not handle both storing the same data in each of a plurality of HDDs and backing up the data, this embodiment can store the data and back up the data while the system is running. In other words, the technology disclosed herein does not limit the OS of the computer to be backed up.
[0080] This embodiment makes it possible to store the same data in each of a plurality of HDDs and to back up the data using this storage control system that is located remotely from the computer to be backed up. In the example described above, the surface 200 of the operation panel 46 also serves as a display that displays the status. Furthermore, when a failure occurs in the first HDD 42, which is determined as the storage device from which the backup target computer 15 reads the second data, the power of the backup target computer 15, the first HDD 42, and the second HDD 44 may be turned off, and the first HDD 42 may be replaced with a new HDD. When the first HDD 42 is replaced with a new HDD in this manner, the data stored in the second HDD 44 is stored in the new first HDD 42, that is, the new first HDD 42 is rebuilt.
[0081] In the backup process in the above-described embodiment, the data stored in the first HDD 42 is stored in the backup system 17, but the technology of the present disclosure is not limited to this. For example, data transmitted from the computer 15 to be backed up may be stored in the first HDD 42 and the second HDD 44 as well as in the backup system 17. For example, even if no failure occurs in the first HDD 42 and the second HDD 44, the data may not be correctly stored in the first HDD 42 and the second HDD 44. In this case, by looking at the data backed up in the backup system 17, the correct data sent from the system can be known, and the data stored in the first HDD 42 and the second HDD 44 can be corrected to the correct data, i.e., the data backed up in the backup system 17.
[0082] In the embodiment described above, the backup system 17 is connected to the computer 20 via the LAN port 32 and a communication line for the above backup, but the technology of the present disclosure is not limited to this. For example, the backup system 17 and the computer 20 may communicate with each other wirelessly to perform the above backup, or the backup data may be temporarily stored in a USB memory, and the backup data stored in the USB memory may be stored in the backup storage device 17M.
[0083] When the backup system 17 is connected to the computer 20 via the LAN port 32 and a communication line, and when the backup system 17 and the computer 20 communicate with each other wirelessly, first, the computer 20 may control the backup storage device 17M, and second, the backup computer 17C may control the backup storage device 17M.
[0084] In the above-described embodiment, the first backup process is executed every six hours, and the second backup process is executed every midnight of each day, but the technology of the present disclosure is not limited to this. The second backup process may be executed every few days or every month. These backup processes may be executed, for example, every time a predetermined event occurs. The predetermined event may be, for example, when a USB memory is connected, when data is stored in the entire storage area of the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44, or when the amount of data stored in the hard disk 42D of the first HDD 42 and the hard disk 44D of the second HDD 44 exceeds a predetermined ratio of the entire storage area.
[0085] In the backup process described above, data may be backed up to the USB memory 45 instead of the backup destination storage device 17M. The data to be backed up is compressed and recorded. The recorded data is stored in the order of the backup processing date, and when the storage capacity is reached, the data is overwritten in the order of the oldest date. Furthermore, by locating the backup system 17 in a remote location, data can be protected even if it is destroyed by an earthquake, fire, flood, or the like.
[0086] In the embodiment described above, when the rebuild button 48 is turned on, the rebuild process program starts, but the technology of the present disclosure is not limited to this. For example, the computer 15 to be backed up and the computer 20 of the backup device 10 may communicate periodically, and if there is no response from the computer 15 to be backed up for a certain period of time, the computer 20 of the backup device 10 may determine that the computer 15 has stopped, and start the rebuild process program. [Explanation of symbols]
[0087] 10. Storage Control System 15 Computers to be backed up 17 Backup System 20. Computers 28 IDE ports 30 Panel Port 32 LAN ports 34, 36 SATA ports 38 Bus 46 Display 200 board
Claims
1. a computer to be backed up that complies with a first communication standard; A control device that stores data necessary for the operation of the backup target computer and is interposed between the first storage device and the first storage device that supports a second communication standard different from the first communication standard, The control device includes: a specification data storage means for reading specification data of a master storage device from a master storage device in which data necessary for the operation of the computer to be backed up is stored and storing the specification data; a first interface that supports the first communication standard and communicates with the computer to be backed up; a second interface that is compatible with the second communication standard and communicates with the first storage device; a change means for changing data supplied via one of the first and second interfaces to a content corresponding to a communication standard of the other interface based on data stored in the master data storage means; a third interface to which a second storage device compatible with the same communication standard as that of the second interface is connected; a write means for writing the same information as the data written in the first storage device to the second storage device.
2. 2. A backup device as described in claim 1, wherein the modification means extracts and combines specification data that has been rewritten in the first storage device and specification data that has not been rewritten from the specification data storage means, and supplies the synthesized data to the computer to be backed up.
3. a prediction means for predicting a failure of the first storage device; 2. A backup device as described in claim 1, further comprising a switching means for switching said second storage means as a main storage device for communicating with a computer to be backed up when said prediction means predicts a failure of said first storage device or when said first storage device fails.
4. 4. The backup device according to claim 3, wherein said prediction means measures a read time or a write time of said first storage device, and judges that there is a possibility of a failure when the measured time exceeds a predetermined time.
5. The control device includes: A third storage device; and a backup means for repeating a backup process of the data of the first storage device to the third storage device at predetermined time intervals; 4. The backup device according to claim 3, wherein when said prediction means predicts a failure of said first storage means, said predetermined period is set to be short.
6. The control device includes:
2. A backup device according to claim 1, further comprising a copy unit for copying data recorded in said first storage device to said second storage device during intervals in communication between said computer to be backed up and said first storage device.
7. 2. The backup device according to claim 1, wherein the first interface is an IDE interface or a SCSI interface.
