IP Library Granted Patent US 11,816,331
Granted Patent B2
US 11,816,331 · App. 17/693,109 · Granted Nov 14, 2023

Storage system and storage program update method

Inventors: Sachie Tajima (Tokyo, JP); Shintaro Ito (Tokyo, JP); Takahiro Yamamoto (Tokyo, JP); Yoshinori Ohira (Tokyo, JP)
Assignee: Hitachi, Ltd.
G06F3/0607G06F3/0613G06F3/0632G06F3/067
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,816,331
App. No.
17/693,109
Granted
Nov 14, 2023
Kind
B2
Abstract

The invention is to efficiently exchange storage programs. A storage program in an active state and a storage program in a standby state in a storage program group each change metadata thereof when the storage program in the active state writes data. When update of the storage programs including arranging post-update storage programs in storage nodes and generating new-version metadata based on old-version metadata by the post-update storage programs is to be performed, the post-update storage program in the standby state generates the new-version metadata based on the old-version metadata is performed for the storage programs in the plurality of storage nodes while replacing the active state and the standby state of the storage programs with each other in the plurality of storage programs in the storage program group.

Claims (37)

1 . A storage system, comprising:

a storage device configured to store data; and

a plurality of storage nodes each including a processing unit configured to execute a storage program for performing input and output processing of data to and from the storage device, wherein

the storage program accesses data of the storage device using metadata and stores the metadata in a memory of the storage nodes,

the plurality of storage programs arranged in a plurality of different nodes constitute a storage program group by a storage program in an active state for performing input and output processing of data to and from the storage device and a storage program in a standby state for taking over the processing when a failure occurs in the storage program in the active state,

the storage program in the active state and the storage program in the standby state in the storage program group each change the metadata thereof when the storage program in the active state writes the data, and

when update of the storage programs including arranging post-update storage programs in the storage nodes and generating new-version metadata based on old-version metadata by the post-update storage programs is to be performed,

the post-update storage programs in the standby state generate the new-version metadata based on the old-version metadata for the storage programs in the plurality of storage nodes while replacing the active state and the standby state of the storage programs with each other in the plurality of storage programs in the storage program group.

2 . The storage system according to claim 1 , wherein

a new-version storage program in the standby state applies, to both the old-version metadata and the new-version metadata, the metadata change due to the data writing of the storage program in the active state in a period in which the post-update storage program in the standby state generates the new-version metadata based on the old-version metadata, and

when a failure occurs in the storage program in the active state and the storage program in the standby state comes into the active state, the storage program accesses data using the old-version metadata applied with the change.

3 . The storage system according to claim 1 , wherein

in a period in which the post-update storage program in the standby state generates the new-version metadata based on the old-version metadata, the storage program in the active state performs the metadata change due to the data writing on one that is used to access the data, but not on the other, among the old-version metadata and the new-version metadata.

4 . The storage system according to claim 1 , wherein

the plurality of storage nodes include a first storage node and a second storage node including the storage programs included in the storage program group,

when the post-update storage program in the second storage node is ran and a pre-update storage program in the first storage node is ran in the active state, the post-update storage program in the standby state of the second storage node generates the new-version metadata based on the old-version metadata, and

after the new-version metadata is created in the first storage node, the post-update storage program in the second storage node is switched from the standby state to the active state, and the post-update storage program in the first storage node is ran in the standby state to generate the new-version metadata based on the old-version metadata.

5 . The storage system according to claim 3 , wherein

the plurality of storage nodes include a first storage node and a second storage node including storage programs included in the storage program group,

when the post-update storage program in the second storage node is ran and a pre-update storage program in the first storage node is ran in the active state, the post-update storage program in the standby state of the second storage node generates the new-version metadata based on the old-version metadata and performs the metadata change due to the data writing on the old-version metadata and the new-version metadata, and the pre-update storage program in the active state of the first storage node changes the old-version metadata, and

after the new-version metadata is created in the first storage node, the post-update storage program in the second storage node is switched from the standby state to the active state, the post-update storage program in the first storage node is ran in the standby state to generate the new-version metadata based on the old-version metadata and to perform the metadata change due to the data writing on the old-version metadata and the new-version metadata, and the pre-update storage program in the active state of the first storage node performs the metadata change due to the data writing on the new-version metadata.

6 . The storage system according to claim 1 , wherein

the storage program includes a plurality of storage program groups,

the plurality of storage program groups arrange the storage programs in the storage nodes of different combinations, and set the active state and the standby state such that the storage programs in the active state are distributed among the storage nodes, and

when the storage programs are to be updated, the plurality of storage program groups perform switching between the active state and the standby state of the storage programs in conjunction with each other so that the storage programs in the active state are distributed among the storage nodes.

7 . The storage system according to claim 1 , wherein

the storage nodes each include a memory,

the storage program in the active state temporarily stores input and output data in the memory to improve input and output performance, and

the storage program in the standby state generates the new-version metadata based on the old-version metadata using an area for temporarily storing the input and output data of the memory.

8 . A storage program update method by a storage system including:

a storage device configured to store data; and

a plurality of storage nodes each including a processing unit configured to execute a storage program for performing input and output processing of data to and from the storage device, in which

the storage program accesses data of the storage device using metadata and stores the metadata in a memory of the storage nodes,

the plurality of storage programs arranged in a plurality of different nodes constitute a storage program group by a storage program in an active state for performing input and output processing of data to and from the storage device and a storage program in a standby state for taking over the processing when a failure occurs in the storage program in the active state,

the storage program in the active state and the storage program in the standby state in the storage program group each change the metadata thereof when the storage program in the active state writes the data, the storage program update method comprising:

when update of the storage programs including arranging post-update storage programs in the storage nodes and generating new-version metadata based on old-version metadata by the post-update storage programs is to be performed,

the post-update storage programs in the standby state generating the new-version metadata based on the old-version metadata for the storage programs in the plurality of storage nodes while replacing the active state and the standby state of the storage programs with each other in the plurality of storage programs in the storage program group.

Assignments (2)
COMPANY SPLIT Recorded Aug 20, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069518/0761 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 11, 2022
From: TAJIMA, SACHIE; ITO, SHINTARO; YAMAMOTO, TAKAHIRO; OHIRA, YOSHINORI
To: HITACHI, LTD.
Reel/Frame 059246/0406 →
Priority Claims (1)
JP 2021-196415 · Dec 2, 2021 · national
Continuity (1)
Related Publication 20230176732A1 · Jun 8, 2023