STORAGE SYSTEM AND STORAGE PROGRAM UPDATE METHOD
The storage system efficiently updates storage programs with minimal IO performance impact by using active and standby configurations to convert metadata during exchange, ensuring continuous functionality and reduced downtime.
Patent Information
- Application Number
- JP2021196415
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-02
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2041-12-02
AI Technical Summary
Existing storage program exchange methods in SDS systems require significant unused storage capacity and communication bandwidth, leading to potential IO performance degradation and prolonged downtime due to the need for volume movement and program replacement.
A storage system with active and standby storage programs that allow seamless metadata conversion and program updates without interrupting IO operations, using a configuration where standby programs generate new metadata from old metadata during the exchange process, ensuring continuous IO functionality.
Efficient storage program exchange is achieved with minimal impact on IO performance by maintaining redundancy and reducing downtime through parallel processing and metadata conversion in standby programs.
Smart Images

Figure 0007532333000001 
Figure 0007532333000002 
Figure 0007532333000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a storage system and a storage program update method. [Background technology]
[0002] In a software defined storage (SDS) storage device, it is necessary to continue providing the function of inputting and outputting data (IO function) unless there is an explicit instruction to stop it from the user. On the other hand, the storage program that runs in the storage device and provides the IO function may need to have additional functions added or modified. For this reason, it is necessary to make it possible to replace the storage program while continuing to provide the IO function to the user. If the metadata map used by the storage program is the same before and after the replacement, it is possible to replace it by replacing the storage program, but if the map changes before and after the replacement, it is necessary to convert the map in addition to replacing the storage program. In this case, it is necessary to continue providing the IO function while converting the map.
[0003] For example, in Patent Document 1, when a storage program is replaced in an SDS consisting of multiple computers, the volumes of the computer on which the storage program to be replaced runs are moved to another computer. All volumes of the computer are moved to another computer, and the storage program running on the computer is started anew after the computer has no volumes, thereby realizing the replacement of the storage program accompanied by a change in the metadata map while continuing to provide IO functions. Specifically, Patent Document 1 states that "The information system includes a first computer which is a Software Defined Storage (SDS) with a virtualization function, and a second computer which is also an SDS. The first computer can provide a logical volume which uses a volume of the second computer as a storage area using the virtualization function. When the information system receives an instruction to install a storage control program on the second computer, it identifies a logical volume among the logical volumes of the first computer which uses a volume of the second computer as a storage area, and moves data stored in a volume of the second computer which is used as a storage area by the identified logical volume to a storage device of the first computer. The storage control program is then installed on the second computer." [Prior art documents] [Patent documents]
[0004] [Patent Document 1] WO2018 / 158808 Summary of the Invention [Problem to be solved by the invention]
[0005] In Patent Document 1, a volume held by a computer that exchanges a storage program is moved to another computer. At this time, the other computer needs unused storage capacity to which the volume can be moved. In the method proposed in Patent Document 1, it is possible to exchange multiple storage programs simultaneously, but as the number of programs exchanged simultaneously increases, the unused storage capacity required for the exchange increases. In addition, it is necessary to continue providing IO functions even during volume movement. If the communication band used for volume movement and the communication band used for providing IO functions are the same, it may be necessary to limit the communication band used for volume movement in order to prevent the performance of the IO functions from deteriorating. Not only the communication band, but also restrictions may be necessary when sharing compute resources between volume movement and IO function provision. If the restriction is small, the impact on IO performance is large, and if the restriction is large, the time required for volume movement is long and the time required for storage program exchange is long. The challenges are to avoid requiring resources such as surplus unused storage capacity for the replacement, to not significantly affect IO performance, and to reduce the time required for the replacement. [Means for solving the problem]
[0006] In order to achieve the above object, one representative storage system and storage program update method of the present invention comprises a storage device for storing data, and a plurality of storage nodes having a processing unit that executes a storage program that performs input / output processing of data to the storage device, the storage program accesses data in the storage device using metadata and stores the metadata in a memory of the storage node, the plurality of storage programs arranged in different nodes each constitute a storage program group with an active state storage program that performs input / output processing of data to the storage device and a standby state storage program that takes over the processing when a failure occurs in the active state storage program, the active state storage program and the standby state storage program in the storage program group each change their respective metadata when the active state storage program writes the data, and when updating the storage program, which includes arranging the updated storage program in the storage node and the updated storage program generating new version metadata from the old version metadata, the updated storage program in standby state generates new version metadata from the old version metadata, while switching between the active state and standby states of the storage program among the plurality of storage programs in the storage program group. Effect of the Invention
[0007] According to the present invention, it is possible to efficiently exchange storage programs while continuing input / output processing. Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0008] [Figure 1]An equipment configuration diagram showing the environment of the first embodiment of the present invention. [Diagram 2] Storage node memory configuration diagram [Diagram 3] Diagram of active and standby storage programs [Figure 4] Memory configuration diagram of standby storage program during storage program exchange [Diagram 5] Flowchart of storage program exchange processing according to the first embodiment [Figure 6] Arrangement diagram of active storage programs and standby storage programs before and after replacement in the first embodiment [Figure 7] Arrangement diagram of active storage programs and standby storage programs before and after replacement in the second embodiment [Figure 8] Flowchart of storage program exchange processing according to the third embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The configuration and functions of an embodiment of the present invention will be described with reference to the drawings. EXAMPLES
[0010] FIG. 1 shows a system configuration according to the first embodiment. The system has three or more storage nodes 110, one or more compute nodes 120, and one control node 130, a back-end network 140 connecting the storage nodes 110, a storage service network 150 connecting the storage nodes 110 and the compute nodes 120, and a management network 160 connecting the control node 130, the compute nodes 120, and the storage nodes 110. Some or all of the storage nodes 110, the compute nodes 120, and the control node 130 may be the same server. Some or all of the back-end network 140, the storage service network 150, and the management network 160 may be the same network.
[0011] The storage node 110 includes one or more CPUs 111 , a memory 112 , and one or more storage devices 113 . The control node includes a memory 131. The memory 131 includes an update management program 132.
[0012] FIG. 2 shows the configuration of the memory 112 in the storage node 110. As shown in FIG. The memory 112 has an IO execution program 210, an active storage program 220, an active memory 230 which is memory used by the active storage program 220, a standby storage program 240 and a standby memory 250 which is memory used by the standby storage program, and an IO request allocation program 260.
[0013] The IO execution program 210 includes an IO execution unit 211 and a redundancy unit 212 . The active storage program 220 includes an IO management unit 221 and a metadata communication unit 222. The active memory 230 includes metadata 231 and data 232 for improving IO performance. The standby storage program 240 includes a metadata communication unit 241 and a metadata update unit 242. The standby memory 250 includes metadata 251 and data 252 for improving IO performance.
[0014] 3 shows an example of a redundant configuration 300 using an active storage program and a standby storage program in this system. In FIG. 3, the active storage program is written as active, and the standby storage program is written as standby.
[0015] An active storage program is paired with one or more standby storage programs that run on a storage node other than the storage node on which the active storage program runs. An active storage program (A) 312 running on storage node (1) 310 runs in a pair with a standby storage program (A) 323 running on storage node (2) 320.
[0016] The operation of the active storage program and the standby storage program is described. An IO request issued by a compute node 120 is received by an active storage program and processed. Even if a failure occurs in a storage node or an active storage program, and the active storage program becomes inoperable, the system needs to continue providing IO functions to the compute node. When an active storage program becomes inoperable, one of the standby storage programs paired with that program changes its state to active and executes subsequent IO requests.
[0017] For example, if a failure occurs in storage node (1) 310, active storage program (A) 312 becomes inoperable. At this time, standby storage program (A) 323 in storage node (2) 320 that is paired with that storage program changes its state to active storage program. IO requests that were received and processed by active storage program (A) 312 before the failure occur are thereafter received and processed by active storage program (A) 323 in storage node (2) 320.
[0018] The IO processing flow in this system is described below. For example, an IO request issued by the compute node 120 is received by an IO request distribution program 331 of the storage node (3) 330. The IO request distribution program 331 detects a storage node having an active storage program that manages the destination of the received IO request. If the destination of the received IO request is managed by the active storage program (A) 312, it detects the storage node (1) 310. The IO request distribution program 331 distributes the IO request to the IO request distribution program 311 running on the detected storage node (1) 310.
[0019] The IO request allocation program 311 to which the IO request has been allocated notifies the active storage program (A) 312 in the same storage node (1) 310 of the allocated IO request. The IO management unit of the active storage program (A) 312 requests IO execution to the IO execution program 314. The active storage program (A) 312 processes multiple IO requests asynchronously using data for improving IO performance, and aims to improve IO performance by increasing the number of execution destinations and the number of IO execution requests detected within a unit time.
[0020] When making an IO execution request, the active storage program (A) 312 refers to and updates the metadata in the active memory, which is the memory that the active storage program (A) 312 has.
[0021] In order for a standby storage program to change state to an active storage program in the event of a failure and continue to manage IO, the metadata in the active memory must match the metadata in the standby memory used by the standby storage program paired with the active storage program.
[0022] Therefore, when the active storage program (A) 312 updates metadata, it transmits the update contents via a metadata communication unit to its paired standby storage program (A) 323. When the metadata communication unit of the standby storage program (A) 323 receives the metadata update information, it causes the metadata update unit to reflect the update in the metadata in the standby memory.
[0023] The IO execution program 314, which is requested to execute IO from the active storage program (A) 312, detects the storage device of the IO execution destination and executes IO to the storage device. At that time, in order to guarantee data access without causing data loss even if a failure occurs in the storage node (1) 310 or the storage device of the IO execution destination, the redundancy unit of the IO execution program 314 stores data that enables the IO to be restored in a storage device in a storage node other than the storage node in which the storage device where the IO execution unit executed IO is stored. For example, when data is guaranteed by mirroring, the IO execution program 314, which is requested to execute IO, executes IO to the storage device in the storage node (1) 310 and sends the IO information to the IO execution program 334 running in the storage node (3) 330. The IO execution program 334 stores the information in the storage device of the storage node (3) 330. The data guarantee method may be mirroring, distributed parity, or other. In addition, the pair arrangement of the storage programs and the redundant configuration arrangement of the IO execution programs may or may not be related to each other.
[0024] FIG. 4 shows the memory map used by the storage program, the configuration of the new standby storage program held in the memory of the storage node being replaced, and the standby memory during replacement which is the memory used by the new standby storage program being replaced. Hereafter, the program before the replacement will be referred to as the old version, and the program after the replacement will be referred to as the new version. The new version standby storage program 410 includes a metadata communication unit 411 , a new / old metadata updating unit 412 , and a new / old metadata conversion unit 413 .
[0025] The standby memory during replacement 420, which is the memory used by the new version standby storage program 410 during replacement, has metadata for the old version 421 and metadata for the new version 422. Since the standby storage program does not execute IO, it does not use the data for improving IO performance. During replacement, the metadata for the new version is stored in an area reserved for the data for improving IO performance.
[0026] The new-version active storage program, whose state has been changed so that the new-version standby storage program 410 performs IO management, can operate in the new-version mode while accessing the new-version metadata 422, or can operate in the old-version mode while accessing the old-version metadata 421. At this time, the metadata of the version that was not selected is discarded, and the IO performance improvement data is stored in the relevant area.
[0027] FIG. 5 shows the flow of the storage program version exchange process. The update management program 132 of the control node 130 receives an update request from a user (step 501).
[0028] The update management program 132 detects pairs of storage programs that are running the old version to be replaced from within the system (step 502). Figure 5 shows a flow when an active storage program is running on storage node (1) and a paired standby storage program is running on storage node (2).
[0029] An exchange start request 1 is sent to the standby storage program of the detected pair (step 503). If the pair is composed of one active storage program and multiple standby programs, the request may be sent to all the standby storage programs or to some of the standby storage programs.
[0030] The storage node (2) that has received the exchange start request 1 starts the new standby storage program (step 504). When the start-up of the new standby storage program is completed, the old standby storage program that has been running is stopped (step 505).
[0031] The new version standby storage program reserves an IO performance improvement data area in the standby metadata as a new version metadata area (step 506). The old and new metadata conversion unit 413 in the new version standby storage program 410 reads the old version metadata 421 in the standby memory, converts it to new version metadata, and stores it in the secured new version metadata area (step 507). Even during the map exchange process, the old version active storage program paired with the new version standby storage program is performing IO. Even during map exchange, the new version standby storage program receives a metadata update request from the old version active storage program. The old and new metadata update unit 412 stores the data in the old version metadata 421, converts the data to new version metadata, and also stores it in the new version metadata area.
[0032] When the memory map conversion is completed, the completion is notified to the control node (step 508). The control node receives the completion notification (step 509). If the pair detected in step 502 has multiple standby storage programs and an old version of the standby storage program remains in the pair, the control node performs steps 503 to 509. This process is repeated until there are no old version standby storage programs remaining in the pair.
[0033] The control node transmits a swap request to the old active storage program of the pair detected in step 502 and one new standby storage program in the pair (step 510).
[0034] When the storage node (1) receives the swap request, it stops processing of the old version of the active storage program (step 511) and switches processing to the new version of the standby storage program (step 512). If the new version of the standby storage program can be started quickly, it may start after the active storage program is stopped, or it may start the new version of the standby storage program when the swap request is received and switch processing to the new version of the standby storage program when the active storage program is stopped. When processing is completed, it notifies the control node of completion.
[0035] When the storage node (2) receives the swap request, it changes the state of the new standby storage program to the active storage program (step 513). This change is hereafter referred to as activation. With activation, the memory that was used for the standby storage program is now used as memory for the active storage program. At this time, the metadata for the old version is discarded, and the area in question is used as a storage area for data to improve IO performance (step 514). When the process is complete, it notifies the control node of completion.
[0036] The swap process from step 511 to step 514 is completed within a time shorter than the timeout period set for the IO executed on the compute node, so the impact of this process is not observed from the compute node.
[0037] The control node receives swap processing completion notifications from storage node (1) and storage node (2) (step 515). The control node transmits an exchange start request 2 to the new standby storage program that was started by the swap processing (step 516).
[0038] Upon receiving the exchange start request 2, the new standby storage program executes the map conversion process 2 (steps 506 to 508) (step 517). When the control node receives the completion notification (step 518), it completes the exchange process.
[0039] If a failure occurs in the active storage program or the storage node on which the active storage program runs during the replacement process, causing the active storage program to become unable to operate, the new version of the standby storage program being replaced becomes active.
[0040] If a failure occurs while the memory map conversion of the standby storage program from step 501 to step 509 is incomplete, the new standby storage program discards the new metadata and uses the area as a storage area for data for improving IO performance. At this time, the activated new active storage program operates in the old mode while accessing the old metadata.
[0041] If a failure occurs after the memory map conversion caused by the exchange start request 1 in step 510 or later is completed, the new version standby storage program discards the old version metadata and uses the area as a storage area for data for improving IO performance. At this time, the activated new version active storage program operates in the new version mode while accessing the new version metadata.
[0042] When only the storage program is replaced, since there is always an active storage program that receives a certain IO request, the program can be replaced without stopping IO and while maintaining IO redundancy.
[0043] When replacing the storage program and the IO execution program at the same time, there is a possibility that the communication destination of the redundancy part of the IO execution program will not exist until the program replacement is completed. It is possible to replace without stopping IO, but IO redundancy will decrease. After the replacement is completed, redundancy will be performed again for the data updated during the replacement, but IO performance will be affected during the redundancy process.
[0044] When replacing a storage program and an IO request distribution program at the same time, the control node cannot access the program while the IO request distribution program is being replaced, but it is possible to continue executing IO by requesting IO requests from an IO request distribution program running on another storage node. By switching the access path from the control node, IO can continue and IO redundancy is maintained.
[0045] Figure 6 shows the layout of active storage programs and standby storage programs in the system before and after the storage program exchange. Note that in the figure, active storage programs are labeled as active, standby storage programs as standby, the new version after the exchange as new, and the old version before the exchange as old.
[0046] The program layout before the exchange processing flow described in FIG. 5 is performed is shown in 610, and the program layout when the exchange processing flow is completed is shown in 620. An active storage program uses compute resources such as a CPU when performing IO processing. When multiple active storage programs are running in one storage node, if the storage node does not have a sufficient number of CPUs, there is a risk of CPU shortage and reduced IO performance. If the storage nodes in a system have the same number of CPUs, it is desirable to make the number of active storage programs running on each storage node uniform from the viewpoint of CPU usage efficiency. Note that if the storage nodes in a system have an uneven number of CPUs, the number of active storage programs running may be adjusted according to the number of CPUs. The same applies to computing resources other than CPUs, such as memory and NIC.
[0047] In arrangement 620, zero active storage programs are running on storage node (1), while two active storage programs are running on storage node (2), and one active storage program is running on storage node (3). In order to distribute the number of active storage programs running in the storage nodes uniformly, the control node again sends swap requests to storage node (1) and storage node (2) that have swapped the storage programs. The new standby storage program (A) running on storage node (1) is changed to the new active storage program (A), and the new active storage program (A) running on storage node (2) is changed to the new standby storage program (A). This distributes the number of active storage programs running in the storage nodes in the system (arrangement 630).
[0048] For pairs B and C that are running the old version, all storage programs in the system can be updated to the new version by performing the exchange process flow shown in FIG. 5 and the swap process performed from 620 to 630 in FIG. 6. EXAMPLES
[0049] The second embodiment will be described in terms of the differences from the first embodiment. In the second embodiment, instead of the swap process used in the first embodiment (620 to 630 in FIG. 6), a continuous storage program exchange process is performed to equalize the number of active storage programs running on the storage nodes in the system.
[0050] The program layout of the second embodiment is shown in FIG. The program layout before the exchange processing flow described in FIG. 5 is performed is shown in 610, and the program layout when the exchange processing flow is completed is shown in 620. In arrangement 620, storage node (1) has zero active storage programs running, while storage node (2) has two active storage programs running, and storage node (3) has one active storage program running.
[0051] While it is necessary to make the number of active storage programs uniform in order to improve CPU usage efficiency, it is also necessary to replace all old storage programs in the system with new storage programs.As described in the processing flow of Figure 5, by exchanging storage programs, the storage nodes on which the paired active storage program and standby storage program operate are exchanged.
[0052] In the second embodiment, by continuing to exchange storage programs from the state of arrangement 620, the number of active storage programs operating on storage nodes in the system is made uniform upon completion of the program exchange.
[0053] In arrangement 620, a new version of the active storage program of pair A and an old version of the active storage program of pair B are running on storage node (2). Pair B is detected in step 502 of the exchange processing flow, and the exchange processing flow is executed for pair B, resulting in the program arrangement shown in 710.
[0054] Specifically, in the pair detection in step 502, a storage node with a large number of active storage programs operating within the same storage node is investigated, and if an older version of an active storage program is operating within that storage node, a pair for that program is detected.
[0055] By repeating this process until all storage programs operating within the system are updated to the new version, the number of active storage programs operating within the storage nodes can be made uniform. EXAMPLES
[0056] The third embodiment will be described in terms of the differences from the first and second embodiments. FIG. 8 shows the exchange process flow for performing exchange in parallel for all storage program pairs in the system.
[0057] The update management program 132 of the control node 130 receives an update request from a user (step 801). The update management program detects pairs of storage programs within the system that are running the old version to be replaced (step 802), and transmits an exchange start request 1 to the standby storage programs of all detected pairs (step 803). Note that if a pair is composed of one active storage program and multiple standby programs, the request may be sent to all the standby storage programs, or may be sent to some of the standby storage programs.
[0058] The storage node that receives the exchange start request 1 performs the same processes as steps 504 to 508 in FIG. 5 (step 804). The control node repeats the process of steps 803 to 804 until there are no more standby storage programs remaining in the system that have not been replaced. The control node transmits a swap request to the pair of old-version active storage programs detected in step 802 and one new-version standby storage program (step 805). For example, in the case of the configuration shown in 610 in Fig. 6, activation of the new version (steps 513-514) and standby startup of the new version (steps 511-512) are executed simultaneously within one storage node (step 806). The control node transmits the swap request so that the arrangement of the active storage program and standby storage program after the exchange is the same as at the completion of the second embodiment.
[0059] The control node that has received the notification of completion of the swap process transmits an exchange start request 2 to the new standby storage program that has been started by the swap process (step 807). The new standby storage program that receives the exchange start request 2 executes the process of step 517 (step 808). When the control node receives the completion notification from all the new standby storage programs (step 809), the storage program exchange process is completed. When this process is completed, the program layout will be the same as when the second embodiment is used.
[0060] As described above, the disclosed storage system includes a storage device 113 for storing data, and a plurality of storage nodes 110 each having a processing unit (CPU 111) for executing a storage program for performing input / output processing of data to the storage device, the storage program accesses data in the storage device 113 using metadata and stores the metadata in a memory of the storage node 110, and the plurality of storage programs arranged in different nodes each constitute a storage program group by an active storage program that performs input / output processing of data to the storage device 113 and a standby storage program that takes over the processing when a failure occurs in the active storage program, and The active state storage program and the standby state storage program in the storage program group each change their respective metadata when the active state storage program writes the data, and when updating the storage program, which includes placing the updated storage program in the storage node and the updated storage program generating new version metadata from the old version metadata, the updated storage program in standby state generates new version metadata from the old version metadata, for the storage programs of the multiple storage nodes 110, while switching between the active state and standby state of the storage program among the multiple storage programs in the storage program group.
[0061] That is, the area of memory in which the metadata is stored is the memory map of the metadata. The updated storage program is the new version of the storage program, and the pre-update storage program is the old version of the storage program. The disclosed system uses a new version of a storage program that can refer to a new memory map and operate as a new version of the storage program, or refer to an old memory map and operate as an old version of the storage program. The program is used to convert between the old and new memory maps while continuing IO. Since it is necessary to have both the old and new memory maps during the conversion, memory that is not essential for providing IO functions and that is reserved for improving IO performance (specifically, an area in memory that was reserved for the purpose of improving input / output performance) is temporarily released, and the new memory map is stored in that area. In an active-standby SDS configuration, the standby storage program does not perform IO under normal circumstances. In this method, the standby storage program is replaced with a new version of the storage program, and then the active storage program and standby storage program are swapped. After the swap, the standby storage program is replaced with the new version and the memory map is converted. This swaps the memory maps of both the active and standby storage programs to the new versions, making it possible for each program to operate as the new version of the storage program. In this way, by converting the memory map only in the standby storage program that does not provide IO functions, it is possible to realize efficient storage program exchange without affecting IO performance while continuing IO.
[0062] If it becomes necessary to switch from the standby state to the active state during the process of converting the old version metadata to the new version metadata (while the memory map is being converted), the new version storage program discards the new version metadata stored in the area and uses the area to improve input / output performance. Furthermore, if it becomes necessary to switch from the standby state to the active state after the process of converting the old version metadata to the new version metadata is completed (after the memory map is converted), the storage program of the new version discards the old version metadata and performs input / output processing by referring to the new version metadata. So whenever the need arises to switch from standby to active, the new version of the storage program will have the appropriate metadata to begin processing the I / O.
[0063] Once the active and standby systems have been swapped and the swapping of the storage programs and conversion of the memory maps have been completed, the original active-standby state can be restored as disclosed in the first embodiment, thereby enabling the original performance to be achieved.
[0064] Furthermore, as disclosed in the second embodiment, when a storage program that was in an active state is switched to a standby state, causing other storage programs belonging to the same group to be made active, resulting in multiple storage programs in one storage node becoming active, a storage program that was not updated may be selected from among the active storage programs and transitioned to a standby state for the update. In this way, by sequentially exchanging storage programs while eliminating the situation in which multiple active storage programs are running on one storage node, the exchange of storage programs can be promoted while distributing the load.
[0065] Furthermore, as disclosed in the third embodiment, the standby storage programs of multiple storage nodes may be updated in parallel, and then, after all of the replaced storage programs are able to refer to the new operational data, the active storage programs of the multiple storage nodes may be switched to the standby state and updated in parallel. In this way, by performing the processes in parallel, the replacement of the storage programs can be completed in a short period of time.
[0066] The present invention is not limited to the above-mentioned embodiment, and various modifications are included. For example, the above-mentioned embodiment is described in detail to easily explain the present invention, and is not necessarily limited to the embodiment having all the described configurations. Moreover, the present invention is not limited to the deletion of the configurations, and it is also possible to replace or add the configurations. For example, in the above embodiment, a pair in which one active is associated with one standby is illustrated, but a group in which one active is associated with multiple standbys may also be used. [Explanation of symbols]
[0067] 110: storage node, 111: CPU, 112: memory, 113: storage device, 120: compute node, 130: control node, 132: update management program, 140: back-end network, 150: storage service network, 160: management network, 410: new version standby storage program, 411: metadata communication unit, 412: old and new metadata update unit, 413: old and new metadata conversion unit, 420: standby memory during replacement, 421: old version metadata, 422: new version metadata
Claims
1. A storage device for storing data, The system comprises a plurality of storage nodes, each having a processing unit that executes a storage program that performs data input / output processing to the storage device, The storage program accesses the data on the storage device using metadata and stores the metadata in the memory of the storage node. Multiple storage programs, each located on multiple different nodes, constitute a storage program group consisting of an active storage program that performs data input / output processing to and from the storage device, and a standby storage program that takes over processing if the active storage program fails. The active storage program and the standby storage program within the storage program group modify their respective metadata when the active storage program writes the data. When updating a storage program, which includes deploying the updated storage program to the storage node and the updated storage program generating new metadata from old metadata, The process of a storage program in standby mode generating new metadata from old metadata is performed for the storage programs of multiple storage nodes, while switching between the active and standby states of the storage programs within the storage program group. A storage system characterized by the following features.
2. A storage system according to claim 1, During the period when the storage program in the standby state is generating new metadata from the old metadata, any metadata changes caused by data writing by the storage program in the active state will result in the new storage program in the standby state making changes to both the old and new metadata. When the active storage program fails and the standby storage program becomes active, the modified older metadata is used to access the data. A storage system characterized by the following features.
3. A storage system according to claim 1, During the period in which the standby-state updated storage program is generating new metadata from the old metadata, the standby-state updated storage program receives a metadata update request from the active-state storage program, updates the old metadata based on the update request, converts the updated old metadata into new metadata, and stores it in the area for new metadata. A storage system characterized by the following features.
4. A storage system according to claim 1, It has a first storage node and a second storage node, each having a storage program included in a storage program group. The updated storage program of the second storage node is started, and while the pre-update storage program of the first storage node is running in the active state, the updated storage program of the second storage node, in standby mode, generates new metadata from the old metadata. After the creation of the new metadata on the second storage node, the updated storage program on the second storage node is switched from standby to active, and the updated storage program on the first storage node is run in standby mode to generate the new metadata from the old metadata. A storage system characterized by the following features.
5. A storage system according to claim 1, Having multiple storage program groups, The aforementioned group of storage programs arranges the storage programs on different combinations of storage nodes and configures the active and standby states to distribute the active storage programs among the storage nodes. When updating a storage program, the multiple storage program groups coordinately switch between the active and standby states of the storage program so that the active storage program is distributed among the storage nodes. A storage system characterized by the following features.
6. A storage system according to claim 1, The aforementioned storage node has memory, The active storage program temporarily stores the data to be input / output in the memory in order to improve input / output performance. The storage program in standby mode uses the memory area for temporarily storing the input / output data to generate the new metadata from the old metadata. A storage system characterized by the following features.
7. A storage device for storing data, The system comprises a plurality of storage nodes, each having a processing unit that executes a storage program that performs data input / output processing to the storage device, The storage program accesses the data on the storage device using metadata and stores the metadata in the memory of the storage node. Multiple storage programs, each located on multiple different nodes, constitute a storage program group consisting of an active storage program that performs data input / output processing to and from the storage device, and a standby storage program that takes over processing if the active storage program fails. The storage system modifies the metadata of the active storage program and the standby storage program within the storage program group when the active storage program writes the data. When updating a storage program, which includes deploying the updated storage program to the storage node and the updated storage program generating new metadata from old metadata, The process of a storage program in standby mode generating new metadata from old metadata is performed for the storage programs of multiple storage nodes, while switching between the active and standby states of the storage programs within the storage program group. A storage program update method characterized by the following features.
Citation Information
Patent Citations
File updating method for duplex device
JP1999191069A
Communication controller of active / Standby configuration and active / Standby system switching method
JP2001275140A
Information processing system, managing method for information processing system, and program
JP2020021277A
Information system, management program, and program exchanging method for information system
WO2018158808A1
Program update device, program update method, and program
WO2018179106A1
