Storage control apparatus and storage control apparatus memory control method
AssigneeHitachi, Ltd.
InventorsMasanori Fujii, Sumihiro Miura
Life of this patent
Estimating the term…
Abstract
A storage control apparatus of the present invention is able to duplicatively manage data in a cache memory even during maintenance work. When a memory package CMPK3 specified by a user is removed from the apparatus 1 (S2), a microprocessor 2 changes a pair that has been configured using CMPK2 and CMPK3 to a pair of CMPK2 and a free area of a CMPK1. As a result, received data (S5) is respectively written to multiple cache memories (S6, S7), and duplicatively managed.
Claims11
A storage control apparatus for inputting and outputting data in response to a request from a higher-level apparatus, comprising:
- multiple clusters supplied with power by different power devices,
- wherein each of the clusters comprises:
- a first communication control part for communicating with the higher-level apparatus;
- a second communication control part for communicating with a storage device that stores data;
- multiple memory parts, which are shared by the first communication control part and the second communication control part;
- and
- a control part for controlling the first communication control part, the second communication control part, and the memory part,
- each of the memory parts comprises:
- a first memory having volatility;
- a second memory having nonvolatility;
- and
- a battery part that supplies power to the first memory and/or the second memory in a prescribed case,
- a pair of the memory parts being configured from memory parts that belong to different clusters,
- each of the control parts being configured:
- when any one of the memory parts is to be replaced, to select, as an alternate memory part to be used in place of one of the memory parts that is a replacement-target memory part, at least a portion of a storage area of at least one memory part from among memory parts other than a prescribed memory part that configures a pair with the replacement-target memory part;
- to configure a new pair using the prescribed memory part and the alternate memory part;
- when data related to the prescribed memory part is received, to write the data to the prescribed memory part and to the alternate memory part, respectively;
- to manage write locations of the data;
- when the replacement-target memory part has been mounted, to write data that has been written to the alternate memory part, to the replacement-target memory part;
- and
- to reconfigure the pair using the replacement-target memory part and the prescribed memory part, and
- the battery part is configured to maintain data stored in the first memory by supplying power to the first memory where the replacement-target memory part has been removed as the prescribed case,
- wherein each of the control parts, upon receiving an instruction for a request for a replacement from the management terminal, is configured to block the replacement-target memory part specified in the instruction,
- each of the control parts is configured to select the alternate memory part based on any one method from among multiple methods,
- in a first method included in the multiple methods, selecting, as the alternate memory part, an unused area of the first memory of each of all other memory parts which are included in a cluster to which the replacement-target memory part belongs from among the clusters,
- in a second method included in the multiple methods, selecting, as the alternate memory part, an unused area of the second memory of all the other memory parts which are included in the cluster to which the replacement-target memory part belongs from among the clusters,
- in a third method included in the multiple methods, selecting, as the alternate memory part, the unused area of the first memory of each of all memory parts other than the prescribed memory part which are included in another cluster that forms a pair with the cluster to which the replacement-target memory part belongs from among the clusters,
- in a fourth method included in the multiple methods, selecting, as the alternate memory part, the unused area of the second memory of each of all the memory parts other than the prescribed memory part which are included in the other cluster that forms a pair with the cluster to which the replacement-target memory part belongs from among the clusters,
- in a fifth method included in the multiple methods, operating using a write-through mode in which data is also written to the storage device where the data is written to the prescribed memory part without selecting the alternate memory part,
- wherein a priority sequence is set in descending order from the method, the second method, the third method, the fourth method, and the fifth method,
- switching can be performed from the method with the highest priority to the method with the lowest priority from among the methods,
- each of the control parts configures a new pair using the prescribed memory part and each of the alternate memory parts,
- each of the control parts is configured to use one of a mode in which the storage area of the prescribed memory part is partitioned and the storage areas are associated beforehand to the respective alternate memory parts, and received data targeted at the prescribed memory part is respectively transferred to the prescribed memory part and the corresponding alternate memory part of the respective alternate memory parts, and a mode in which a prescribed sequence is set for the respective alternate memory parts, and the received data is respectively transferred to the prescribed memory part and any one of the alternate memory parts in the prescribed sequence,
- each of the control parts is configured to manage write locations of the received data,
- each of the control parts, upon being inputted with an instruction from the management terminal denoting the completion of replacement, is configured to determine that the replacement-target memory part has been mounted and to write the received data, which has been written to the respective alternate memory parts, to the replacement-target memory part, and
- the control part is configured to reconfigure the pair using the replacement-target memory part and the prescribed memory part.
A method for controlling a memory of a storage control apparatus for inputting and outputting data in response to a request from a higher-level apparatus,
- the storage control apparatus comprising multiple clusters which are supplied with power by different power devices,
- each of the clusters comprising:
- a first communication control part for communicating with the higher-level apparatus;
- a second communication control part for communicating with a storage device that stores data;
- multiple memory parts, which are shared by the first communication control part and the second communication control part;
- and
- a control part for controlling the first communication control part, the second communication control part, and the memory part, and
- each of the memory parts comprising:
- a first memory having volatility;
- a second memory having nonvolatility;
- and
- a battery part for maintaining data stored in the first memory by supplying power to the first memory where the memory part is removed from the storage control apparatus,
- wherein each of the control parts:
- causes a pair of the memory parts to be configured from memory parts that belong to different clusters,
- when any one of the memory parts is to be replaced, selects, as an alternate memory part to be used in place of one of the memory parts that is a replacement-target memory part, at least a portion of a storage area of at least one memory part from among memory parts other than a prescribed memory part that configures a pair with the replacement-target memory part;
- configures a new pair using the prescribed memory part and the alternate memory part;
- when data related to the prescribed memory part is received, writes the data to the prescribed memory part and to the alternate memory part, respectively;
- manages write locations of the data;
- when the replacement-target memory part has been mounted, writes data that has been written to the alternate memory part, to the replacement-target memory part;
- and
- reconfigures the pair using the replacement-target memory part and the prescribed memory part,
- wherein each of the control parts, upon receiving an instruction for a request for a replacement from the management terminal, is configured to block the replacement-target memory part specified in the instruction,
- each of the control parts is configured to select the alternate memory part based on any one method from among multiple methods,
- in a first method included in the multiple methods, selecting, as the alternate memory part, an unused area of the first memory of each of all other memory parts which are included in a cluster to which the replacement-target memory part belongs from among the clusters,
- in a second method included in the multiple methods, selecting, as the alternate memory part, an unused area of the second memory of all the other memory parts which are included in the cluster to which the replacement-target memory part belongs from among the clusters,
- in a third method included in the multiple methods, selecting, as the alternate memory part, the unused area of the first memory of each of all memory parts other than the prescribed memory part which are included in another cluster that forms a pair with the cluster to which the replacement-target memory part belongs from among the clusters,
- in a fourth method included in the multiple methods, selecting, as the alternate memory part, the unused area of the second memory of each of all the memory parts other than the prescribed memory part which are included in the other cluster that forms a pair with the cluster to which the replacement-target memory part belongs from among the clusters,
- in a fifth method included in the multiple methods, operating using a write-through mode in which data is also written to the storage device where the data is written to the prescribed memory part without selecting the alternate memory part,
- wherein a priority sequence is set in descending order from the first method, the second method, the third method, the fourth method, and the fifth method,
- switching can be performed from the method with the highest priority to the method with the lowest priority from among the methods,
- each of the control parts configures a new pair using the prescribed memory part and each of the alternate memory parts,
- each of the control parts is configured to use one of a mode in which the storage area of the prescribed memory part is partitioned and the storage areas are associated beforehand to the respective alternate memory parts, and received data targeted at the prescribed memory part is respectively transferred to the prescribed memory part and the corresponding alternate memory part of the respective alternate memory parts, and a mode in which a prescribed sequence is set for the respective alternate memory parts, and the received data is respectively transferred to the prescribed memory part and any one of the alternate memory parts in the prescribed sequence,
- each of the control parts is configured to manage write locations of the received data,
- each of the control parts, upon being inputted with an instruction from the management terminal denoting the completion of replacement, is configured to determine that the replacement-target memory part has been mounted and to write the received data, which has been written to the respective alternate memory parts, to the replacement-target memory part, and
- the control part is configured to reconfigure the pair using the replacement-target memory part and the prescribed memory part.
Dependencies are inferred from the claim text.