JP2019087287A - Managing device, storage system, storage management method, and program - Google Patents

Managing device, storage system, storage management method, and program Download PDF

Info

Publication number
JP2019087287A
JP2019087287A JP2019045468A JP2019045468A JP2019087287A JP 2019087287 A JP2019087287 A JP 2019087287A JP 2019045468 A JP2019045468 A JP 2019045468A JP 2019045468 A JP2019045468 A JP 2019045468A JP 2019087287 A JP2019087287 A JP 2019087287A
Authority
JP
Japan
Prior art keywords
replicas
container
importance
storage
storage system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019045468A
Other languages
Japanese (ja)
Other versions
JP6676203B2 (en
Inventor
悠二 萩原
Yuji Hagiwara
悠二 萩原
広志 三浦
Hiroshi Miura
広志 三浦
山田 大輔
Daisuke Yamada
大輔 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Data Group Corp
Original Assignee
NTT Data Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Data Corp filed Critical NTT Data Corp
Priority to JP2019045468A priority Critical patent/JP6676203B2/en
Publication of JP2019087287A publication Critical patent/JP2019087287A/en
Application granted granted Critical
Publication of JP6676203B2 publication Critical patent/JP6676203B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

To dynamically improve reliability of storage data while effectively utilizing a surplus capacity of a storage.SOLUTION: A managing device of a storage system for dispersedly storing objects, based on a set replica number includes: a detection part for detecting a free space of a storage system; a change information storage part for storing change information of a replica number that is change information of a replica number including a free space of the storage system and a fractional value set in accordance with importance for each container for storing objects, and is set such that the replica number decreases from a state in which the free space of the storage system is large as the importance is smaller; and a change part for reading change information corresponding to the free space of the storage system and importance for each container for storing objects from the change information storage part, and for changing the setting of the replica number including the fractional value as an average value for each container such that the value does not fall below the lower-limit value of the replica number according to the change information of the replica number.SELECTED DRAWING: Figure 1

Description

本発明は、管理装置、ストレージシステム、ストレージ管理方法、及びプログラムに関する。   The present invention relates to a management apparatus, a storage system, a storage management method, and a program.

近年、オブジェクトストレージシステム(以下、オブジェクトストレージという)などの分散型のストレージシステムが知られている(例えば、特許文献1を参照)。このようなストレージシステムでは、格納するデータを、例えば、所定のレプリカ(複製)数に分散して格納することでデータの信頼性を確保している。ここで、レプリカ数とは、元データを含めたレプリカ(複製)の数のことである。ストレージシステムでは、レプリカ数が多い程、信頼性は向上するが、ストレージの容量単価は増加する傾向にある。   In recent years, distributed storage systems such as an object storage system (hereinafter referred to as object storage) are known (see, for example, Patent Document 1). In such a storage system, the reliability of the data is secured by storing the data to be stored, for example, in a distributed manner to a predetermined number of replicas (replications). Here, the number of replicas is the number of replicas (replications) including the original data. In the storage system, as the number of replicas increases, the reliability improves, but the storage capacity unit price tends to increase.

特許第5396848号公報Patent No. 5396848 gazette

しかしながら、上述のようなストレージシステムでは、設定されたレプリカ数により保障される信頼性は、最低限保証されるレベルであり、データが損失するリスクを低減するために、可能な限り信頼性を向上させることが望ましい。また、上述のようなストレージシステムでは、ストレージの余剰容量がある場合であっても、レプリカ数に反映されることはなく、ストレージの余剰容量を有効に活用できない可能性があった。   However, in the storage system as described above, the reliability ensured by the set number of replicas is the minimum guaranteed level, and the reliability is improved as much as possible to reduce the risk of data loss. It is desirable to Further, in the storage system as described above, even if there is a surplus storage capacity, it is not reflected in the number of replicas, and there is a possibility that the surplus storage capacity can not be effectively used.

本発明は、上記問題を解決すべくなされたもので、その目的は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる管理装置、ストレージシステム、ストレージ管理方法、及びプログラムを提供することにある。   The present invention has been made to solve the above problems, and an object thereof is a management apparatus, storage system, and the like, which can dynamically improve the reliability of stored data while effectively utilizing the surplus capacity of storage. A storage management method and program are provided.

上記問題を解決するために、本発明の一態様は、データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納するストレージシステムの管理装置であって、前記ストレージシステムの空き容量を検出する検出部と、前記ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部と、前記検出部が検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更部とを備えることを特徴とする管理装置である。   In order to solve the above problem, one aspect of the present invention is a replica number indicating the number of objects to be copied and stored that are a group of data, and the objects are distributed based on the set number of replicas. Storage management apparatus for storing data stored in the storage system, the detection unit detecting the free space of the storage system, the free space of the storage system, and the importance of each container storing the object as a lower layer below Change information of the number of replicas including a decimal value set correspondingly, wherein the number of replicas is set to decrease from a state where the storage system has a large amount of free space as the importance is lower. A change information storage unit that stores change information of the number of replicas, and the free space of the storage system detected by the detection unit The change information of the replica number corresponding to the degree of importance of each container storing the object is read from the change information storage unit, and the lower limit of the replica number determined in advance according to the read change information of the replica number read And a changing unit configured to change the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below the value.

また、本発明の一態様は、上記の管理装置において、前記レプリカ数の上限値及び下限値を記憶するレプリカ数記憶部を備え、前記変更部は、前記コンテナと重要度とを関連付けて記憶する重要度記憶部から前記コンテナごとの重要度を取得し、取得した前記コンテナごとの重要度と、前記空き容量とに基づいて、前記レプリカ数記憶部が記憶する前記上限値と前記下限値との間で前記レプリカ数の設定を前記コンテナごとに変更することを特徴とする。   Further, according to one aspect of the present invention, in the management apparatus, the replica number storage unit stores the upper limit value and the lower limit value of the replica number, and the change unit stores the container and the importance in association with each other. The degree of importance of each container is acquired from the degree of importance storage unit, and the upper limit value and the lower limit value stored in the replica number storage unit are stored based on the acquired degree of importance of each container and the free space. The setting of the number of replicas may be changed between the containers.

また、本発明の一態様は、上記の管理装置において、前記レプリカ数記憶部は、重要度ごとの前記レプリカ数の上限値及び下限値を記憶し、前記レプリカ数の上限値及び下限値のうちの少なくとも一方は、前記コンテナの重要度に基づいて設定されることを特徴とする。
また、本発明の一態様は、上記の管理装置において、前記検出部は、定期的に前記ストレージシステムの空き容量を検出し、前記変更部は、前記検出部が検出したストレージシステム1の空き容量に応じて、前記定期的に前記レプリカ数の設定を変更することを特徴とする。
Further, according to one aspect of the present invention, in the management apparatus, the replica number storage unit stores an upper limit value and a lower limit value of the replica number for each degree of importance, and among the upper limit value and the lower limit value of the replica number At least one of which is set based on the importance of the container.
Further, according to one aspect of the present invention, in the management apparatus, the detection unit periodically detects the free space of the storage system, and the change unit detects the free space of the storage system 1 detected by the detection unit. Setting the number of replicas periodically.

また、本発明の一態様は、上記の管理装置と、前記コンテナにおける平均レプリカ数が、前記管理装置によって設定された前記レプリカ数になるように、前記コンテナの配下に格納されている前記オブジェクトのレプリカ数を調整するサーバ装置とを備えること特徴とするストレージシステムである。   Further, according to one aspect of the present invention, there is provided the management device as described above, and the object stored under the container such that the average number of replicas in the container is the number of replicas set by the management device. And a server device that adjusts the number of replicas.

また、本発明の一態様は、上記のストレージシステムにおいて、前記管理装置によって変更された前記レプリカ数に基づいて、格納されている前記オブジェクトの複製が削除又は追加される複数のストレージ装置を備え、前記サーバ装置は、前記ストレージ装置において、前記オブジェクトの複製を削除又は追加する場合に、前記コンテナの配下に格納されている前記オブジェクトのうち、サイズが大きい前記オブジェクトを優先することを特徴とする。   Further, according to one aspect of the present invention, in the storage system described above, the storage system includes a plurality of storage devices in which copies of the stored object are deleted or added based on the number of replicas changed by the management device. The server apparatus is characterized in that, in the storage apparatus, when deleting or adding a duplicate of the object, the object having a large size is prioritized among the objects stored under the container.

また、本発明の一態様は、データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納し、ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部を備えるストレージシステムのストレージ管理方法であって、検出部が、前記ストレージシステムの空き容量を検出する検出ステップと、変更部が、前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップとを含むことを特徴とするストレージ管理方法である。   Further, according to one aspect of the present invention, there is provided a storage number, which is the number of replicas indicating the number of objects to be copied and stored that are a collection of data, and distributed based on the set number of replicas. Change information of the number of replicas including a free space and a decimal value set corresponding to the importance of each container that stores the object under the lower hierarchy, the lower the importance, the lower the importance A storage management method of a storage system comprising: a change information storage unit storing change information of the number of replicas set so that the number of replicas decreases from a state where there is a large amount of free space in the storage system; A detection step of detecting the free space of the storage system; and the stress detected by the change unit at the detection step. The change information of the number of replicas corresponding to the free space of the storage system and the degree of importance of each container storing the object is read from the change information storage unit and determined in advance according to the change information of the read number of replicas And changing the setting of the number of replicas including the decimal value as an average value for each container so as not to fall below the lower limit value of the number of replicas.

また、本発明の一態様は、データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納し、ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部を備えるストレージシステムのコンピュータに、前記ストレージシステムの空き容量を検出する検出ステップと、前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップとを実行させるためのプログラムである。   Further, according to one aspect of the present invention, there is provided a storage number, which is the number of replicas indicating the number of objects to be copied and stored that are a collection of data, and distributed based on the set number of replicas. Change information of the number of replicas including a free space and a decimal value set corresponding to the importance of each container that stores the object under the lower hierarchy, the lower the importance, the lower the importance The free space of the storage system is detected in a computer of a storage system including a change information storage unit that stores change information of the number of replicas set so that the number of replicas decreases from a state where the free capacity of the storage system is large Detecting step, the free capacity of the storage system detected in the detecting step, and The change information of the number of replicas corresponding to the degree of importance of each container storing objects is read from the change information storage unit, and the lower limit value of the number of replicas determined in advance according to the change information of the read number of replicas And a change step of changing the setting of the number of replicas including the fractional value as an average value for each container so as not to be less than.

本発明によれば、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。   According to the present invention, the reliability of stored data can be dynamically improved while effectively utilizing the surplus capacity of the storage.

第1の実施形態によるストレージシステムの一例を示すブロック図である。FIG. 1 is a block diagram showing an example of a storage system according to a first embodiment. 本実施形態におけるリングファイル記憶部の一例を示す図である。It is a figure which shows an example of the ring file memory | storage part in this embodiment. 本実施形態におけるリングファイルのリング情報のデータ例を示す図である。It is a figure which shows the example of data of the ring information of the ring file in this embodiment. 本実施形態におけるリングファイルのデバイス一覧情報のデータ例を示す図である。It is a figure which shows the example of data of the device list information of the ring file in this embodiment. 本実施形態におけるアカウント情報のデータ例を示す図である。It is a figure which shows the example of data of the account information in this embodiment. 本実施形態におけるコンテナ一覧情報のデータ例を示す図である。It is a figure showing an example of data of container list information in this embodiment. 本実施形態におけるコンテナ情報のデータ例を示す図である。It is a figure showing an example of data of container information in this embodiment. 本実施形態におけるオブジェクト一覧情報のデータ例を示す図である。It is a figure showing an example of data of object list information in this embodiment. 本実施形態におけるレプリカ数記憶部のデータ例を示す図である。It is a figure which shows the example of data of the replica number memory | storage part in this embodiment. 本実施形態におけるレプリカ数の変更情報の一例を示す図である。It is a figure which shows an example of the change information of the number of replicas in this embodiment. 本実施形態におけるストレージの論理階層構造の一例を示す図である。It is a figure which shows an example of the logical hierarchical structure of the storage in this embodiment. 本実施形態におけるレプリカ数の変更処理の一例を示す図である。It is a figure which shows an example of the change process of the number of replicas in this embodiment. 本実施形態におけるオブジェクトの追加処理の一例を示すフローチャートである。It is a flowchart which shows an example of the addition process of the object in this embodiment. 本実施形態におけるレプリカ数の変更処理の一例を示すフローチャートである。It is a flowchart which shows an example of the change process of the number of replicas in this embodiment. 本実施形態におけるレプリカ数の調整処理の一例を示すフローチャートである。It is a flowchart which shows an example of adjustment processing of the number of replicas in this embodiment. 第2の実施形態によるストレージシステムの一例を示すブロック図である。It is a block diagram showing an example of a storage system by a 2nd embodiment. 第2の実施形態におけるレプリカ数記憶部のデータ例を示す図である。It is a figure which shows the example of data of the replica number memory | storage part in 2nd Embodiment.

以下、本発明の一実施形態によるストレージシステム及び管理装置について図面を参照して説明する。   Hereinafter, a storage system and a management apparatus according to an embodiment of the present invention will be described with reference to the drawings.

[第1の実施形態]
図1は、第1の実施形態によるストレージシステム1の一例を示すブロック図である。
この図に示すように、ストレージシステム1は、プロキシノード20と、複数のストレージノード(31、32、33、・・・)と、管理装置10とを備えている。プロキシノード20と、ストレージノード(31、32、33、・・・)と、管理装置10とは、ネットワークNTを介して互いに接続されている。また、ストレージシステム1は、ネットワークNTを介してクライアント端末2と接続可能になっている。
First Embodiment
FIG. 1 is a block diagram showing an example of a storage system 1 according to the first embodiment.
As shown in this figure, the storage system 1 includes a proxy node 20, a plurality of storage nodes (31, 32, 33,...), And a management apparatus 10. The proxy node 20, the storage nodes (31, 32, 33,...), And the management device 10 are connected to one another via the network NT. The storage system 1 is also connectable to the client terminal 2 via the network NT.

ストレージシステム1は、例えば、オブジェクトストレージシステムであり、設定されたレプリカ数に基づいて、データを分散して格納する。ここで、レプリカ数とは、データを複製して格納する数を示し、元データを含めたレプリカ(複製)の数のことである。
また、本実施形態では、データのまとまりを「オブジェクト」と称する。ストレージシステム1は、設定されたレプリカ数に基づいて、1つのオブジェクトを複数のストレージノード(31、32、33、・・・)に分散して格納する。
The storage system 1 is, for example, an object storage system, and distributes and stores data based on the set number of replicas. Here, the number of replicas indicates the number of data to be replicated and stored, and is the number of replicas (replications) including the original data.
Further, in the present embodiment, a group of data is referred to as an "object". The storage system 1 distributes and stores one object in a plurality of storage nodes (31, 32, 33,...) Based on the set number of replicas.

なお、ストレージノード31、ストレージノード32、ストレージノード33、・・・は、それぞれ後述するリングファイル記憶部(311、321、331)を備え、オブジェクトを格納する構成に関して同一である。ストレージノード31、ストレージノード32、ストレージノード33、・・・は、ストレージシステム1が備える任意のストレージノードを示す場合、又は特に区別しない場合には、ストレージノード30として説明する。   Each of the storage node 31, the storage node 32, the storage node 33,... Has ring file storage units (311, 321, 331) described later, and is the same in configuration for storing objects. The storage node 31, the storage node 32, the storage node 33,... Will be described as the storage node 30 when indicating any storage node provided in the storage system 1 or when not making a distinction in particular.

クライアント端末2は、ストレージシステム1が備えるストレージにオブジェクトの書き込み要求や読み出し要求などを送信するコンピュータ装置であり、例えば、エンドユーザの端末装置やネットワークNTを介してリソースの提供などのサービスをエンドユーザに提供するサーバ装置である。クライアント端末2は、オブジェクトの書き込みや読み出し、消去などをプロキシノード20に要求する。   The client terminal 2 is a computer device that transmits a write request or read request of an object to a storage provided in the storage system 1, and, for example, the end user performs a service such as provision of resources via a terminal device or a network NT. Server device provided to The client terminal 2 requests the proxy node 20 to write, read, or delete an object.

プロキシノード20は、例えば、サーバ装置であり、クライアント端末2からの要求に応じて、各ストレージノード30に対して処理を振り分ける。プロキシノード20は、例えば、クライアント端末2からオブジェクトの書き込み要求を受け付けると、全てのストレージノード30から、後述するリングファイルにより指定される複数のストレージノード30を選択し、選択した複数のストレージノード30に同一のオブジェクトの書き込み要求を送信する。なお、図1に示す一例では、ストレージシステム1は、1つのプロキシノード20を備える例を説明するが、複数のプロキシノード20を備えてもよい。
また、プロキシノード20は、記憶部210を備えている。
The proxy node 20 is, for example, a server device, and distributes processing to each storage node 30 in response to a request from the client terminal 2. For example, upon receiving an object write request from the client terminal 2, the proxy node 20 selects a plurality of storage nodes 30 specified by ring files, which will be described later, from all the storage nodes 30 and selects the plurality of storage nodes 30 selected. Send a write request for the same object to. In the example illustrated in FIG. 1, the storage system 1 is described as including one proxy node 20. However, the storage system 1 may include a plurality of proxy nodes 20.
The proxy node 20 also includes a storage unit 210.

記憶部210は、プロキシノード20の各種処理に利用する情報を記憶する。記憶部210は、例えば、リングファイル記憶部211を備えている。
リングファイル記憶部211は、リングファイルを記憶する。ここで、リングファイルとは、例えば、データ(例えば、オブジェクト)とそのデータを格納する物理的な位置(サーバ装置、ディスク)を対応づけるテーブル情報である。リングファイルの詳細については、後述する。リングファイル記憶部211は、例えば、図2に示すように、データの重要度に対応する複数のリングファイルを記憶する。
The storage unit 210 stores information used for various processes of the proxy node 20. The storage unit 210 includes, for example, a ring file storage unit 211.
The ring file storage unit 211 stores a ring file. Here, the ring file is, for example, table information that associates data (for example, an object) with a physical position (server apparatus, disk) in which the data is stored. Details of the ring file will be described later. For example, as shown in FIG. 2, the ring file storage unit 211 stores a plurality of ring files corresponding to the degree of importance of data.

図2は、本実施形態におけるリングファイル記憶部211の一例を示す図である。
この図に示す例では、リングファイル記憶部211は、複数のリングファイル(「リングファイルA」、「リングファイルB」、・・・)を備えている。なお、リングファイル記憶部211が記憶する各リングファイルは、データの重要度に対応しており、本実施形態では、リングファイル記憶部211は、重要度ごとのリングファイルを記憶するものとする。
FIG. 2 is a diagram showing an example of the ring file storage unit 211 in the present embodiment.
In the example shown in this figure, the ring file storage unit 211 includes a plurality of ring files (“Ring file A”, “Ring file B”,...). Each ring file stored in the ring file storage unit 211 corresponds to the degree of importance of data, and in the present embodiment, the ring file storage unit 211 stores a ring file for each degree of importance.

リングファイルは、例えば、オブジェクトの格納先(デバイス)を指定するテーブルであるリング情報と、デバイス一覧情報とを含んでいる。リング情報は、オブジェクト名から算出されるハッシュ値の先頭部分(接頭辞)と、当該先頭部分に対応するオブジェクトの格納場所(デバイスID、格納場所候補も含む)と、レプリカ数及び重要度とを関連付けた情報である。ここで、ハッシュ値は、格納先が均等に割振られるように、算出されるものとする。   The ring file includes, for example, ring information which is a table for specifying a storage destination (device) of an object, and device list information. The ring information includes the head portion (prefix) of the hash value calculated from the object name, the storage location (including the device ID and storage location candidate) of the object corresponding to the head portion, the number of replicas and the importance It is the associated information. Here, it is assumed that the hash value is calculated so that the storage destination is equally allocated.

図3は、本実施形態におけるリングファイルのリング情報のデータ例を示す図である。
図3に示すように、リング情報は、例えば、「接頭辞」と、当該「接頭辞」に対応するデバイスIDと、「重要度」と、「レプリカ数」とを関連付けた情報である。また、リング情報では、「接頭辞」に対応する「第1のデバイスID」、「第2のデバイスID」、「第3のデバイスID」、・・・を含んでいる。ここで、「接頭辞」は、上述したオブジェクト名から算出されるハッシュ値の先頭部分である。また、「第1のデバイスID」、「第2のデバイスID」、「第3のデバイスID」、・・・は、オブジェクトの格納先のデバイスを識別する識別情報を示す。
FIG. 3 is a diagram showing an example of data of ring information of a ring file in the present embodiment.
As shown in FIG. 3, the ring information is, for example, information in which “prefix”, a device ID corresponding to the “prefix”, “importance level”, and “number of replicas” are associated. Further, the ring information includes “first device ID”, “second device ID”, “third device ID”,... Corresponding to “prefix”. Here, the "prefix" is the head portion of the hash value calculated from the above-described object name. Also, “first device ID”, “second device ID”, “third device ID”,... Indicate identification information for identifying a device in which an object is stored.

図3に示す例では、例えば、「接頭辞」が“00”となるオブジェクトは、格納先として、「第1のデバイスID」が“3”、「第2のデバイスID」が“0”、「第3のデバイスID」が“2”、・・・のデバイスの順に格納されることを示している。また、このリング情報では、「重要度」が“50”で、設定された「レプリカ数」が“3.0”であることを示している。なお、リング情報は、デバイスが稼働していないことなどを考慮して、設定された「レプリカ数」よりも多くのデバイスを各「接頭辞」に対して指定する。   In the example shown in FIG. 3, for example, an object whose “prefix” is “00” has “1st device ID” “3” and “second device ID” “0” as storage destinations. The “third device ID” is stored in the order of “2”,... Devices. Further, in the ring information, it is indicated that the "importance" is "50" and the set "number of replicas" is "3.0". In the ring information, more devices than the set “number of replicas” are designated for each “prefix” in consideration of the fact that the devices are not operating.

また、図4は、本実施形態におけるリングファイルのデバイス一覧情報のデータ例を示す図である。
図4に示すように、デバイス一覧情報は、「デバイスID」と、「IPアドレス」と、「ポート」と、「デバイス名」とを関連付けた情報を複数含んでいる。ここで、「デバイスID」は、デバイス(サーバ装置、ディスク)を識別する識別情報を示している。また、「IPアドレス」及び「ポート」は、デバイスのIPアドレス及びポート番号を示している。また、「デバイス名」は、デバイスの名称を示している。
FIG. 4 is a diagram showing an example of data of device list information of a ring file in the present embodiment.
As shown in FIG. 4, the device list information includes a plurality of pieces of information in which “device ID”, “IP address”, “port”, and “device name” are associated. Here, "device ID" indicates identification information for identifying a device (server apparatus, disk). Also, “IP address” and “port” indicate the IP address and port number of the device. Also, "device name" indicates the name of the device.

図4に示す例では、「デバイスID」の“0”に対応するデバイスの「IPアドレス」が“x.x.x.x”、「ポート」が“8000”、「デバイス名」が“ZZ”であることを示している。
このように、リングファイルは、「レプリカ数」を設定するとともに、オブジェクトの名前から、格納先であるデバイスの「IPアドレス」、「ポート」及び「デバイス名」を特定するようになっている。
In the example shown in FIG. 4, the “IP address” of the device corresponding to “0” of “device ID” is “x.x.x.x”, “port” is “8000”, and “device name” is “ZZ”. It shows that it is ".
As described above, the ring file sets the “number of replicas” and specifies the “IP address”, “port” and “device name” of the storage destination device from the object name.

図1の説明に戻り、ストレージノード30(ストレージ装置の一例)は、例えば、ストレージ(記憶装置)を備えるサーバ装置であり、例えば、プロキシノード20から受信した要求に応じて処理を行う。例えば、プロキシノード20からオブジェクトの書き込み要求や読み出し要求を受信した場合、ストレージノード30は、当該オブジェクトを書き込んだり、読み出してプロキシノード20に送信したりする。
また、ストレージノード30には、オブジェクトを格納する通常のストレージノード33の他に、アカウントを管理するストレージノード31(アカウントサーバ)と、コンテナを管理するストレージノード32(コンテナサーバ)などがある。ここで、コンテナとは、例えば、オブジェクトを格納する入れ物を示し、ファイルシステムで言えばディレクトリやフォルダに相当する。また、アカウントとは、例えば、コンテナを格納する入れ物を示す。このように、オブジェクトの上位の階層構造がコンテナであり、コンテナの上位の階層がアカウントであり、オブジェクト、コンテナ、及びアカウントは、データの階層構造を示している。
Returning to the description of FIG. 1, the storage node 30 (an example of a storage device) is, for example, a server device including a storage (storage device), and performs processing in response to a request received from the proxy node 20, for example. For example, when a write request or read request for an object is received from the proxy node 20, the storage node 30 writes or reads the object and transmits it to the proxy node 20.
The storage node 30 includes a storage node 31 (account server) that manages an account, a storage node 32 (container server) that manages a container, and the like, in addition to a normal storage node 33 that stores objects. Here, the container indicates, for example, a container for storing an object, and corresponds to a directory or folder in the file system. Moreover, an account shows the container which stores a container, for example. Thus, the hierarchical structure above objects is a container, the hierarchy above containers is an account, and objects, containers, and accounts indicate the hierarchical structure of data.

ストレージノード31(アカウントサーバ)は、例えば、オブジェクトを格納するとともに、アカウントを管理する。ストレージノード31は、例えば、記憶部310を備えている。
記憶部310は、ストレージノード31の各種処理に利用する情報を記憶する。記憶部310は、例えば、リングファイル記憶部311と、アカウント情報記憶部312とを備えている。
The storage node 31 (account server), for example, stores an object and manages an account. The storage node 31 includes, for example, a storage unit 310.
The storage unit 310 stores information used for various processes of the storage node 31. The storage unit 310 includes, for example, a ring file storage unit 311 and an account information storage unit 312.

リングファイル記憶部311は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
アカウント情報記憶部312は、アカウントを管理するアカウント管理情報を記憶する。アカウント情報記憶部312は、アカウント管理情報として、例えば、アカウント情報と、コンテナ一覧情報とを記憶する。
The ring file storage unit 311 is the same as the ring file storage unit 211 described above, and thus the description thereof is omitted here.
The account information storage unit 312 stores account management information for managing an account. The account information storage unit 312 stores, for example, account information and container list information as account management information.

図5は、本実施形態におけるアカウント情報のデータ例を示す図である。
図5に示すように、アカウント情報記憶部312は、例えば、「アカウント名」と、「コンテナ数」と、「名前のハッシュ値」と、「アカウントID」とを関連付けてアカウント情報として記憶する。ここで、「アカウント名」は、当該アカウントの名称を示し、「名前のハッシュ値」は、「アカウント名」のハッシュ値を示している。また、「コンテナ数」は、当該アカウントの配下に存在するコンテナの数を示し、「アカウントID」は、アカウントを識別する識別情報を示している。
図5に示す例では、「アカウント名」が“ABC”であるアカウントは、配下に“3”個のコンテナを有し、「名前のハッシュ値」が“XXXXXXXXXXXX”、「アカウントID」が“YYYYYYYY”であることを示している。
FIG. 5 is a view showing an example of data of account information in the present embodiment.
As shown in FIG. 5, the account information storage unit 312 stores, for example, “account name”, “number of containers”, “hash value of name”, and “account ID” in association with each other as account information. Here, "account name" indicates the name of the account, and "hash value of name" indicates a hash value of "account name". Also, "the number of containers" indicates the number of containers existing under the account, and "account ID" indicates identification information for identifying the account.
In the example shown in FIG. 5, the account whose "Account Name" is "ABC" has "3" containers under the "Account Name" has "XXXXXXXXXXXX" and "Account ID" is "YYYYYYYY". It shows that it is ".

また、図6は、本実施形態におけるコンテナ一覧情報のデータ例を示す図である。
図6に示すように、アカウント情報記憶部312は、例えば、「NO.」と、「コンテナ名」と、「作成時刻」と、「削除時刻」と、「名前のハッシュ値」と、「コンテナID」とを関連付けた情報を複数有するコンテナ一覧情報を記憶する。ここで、「NO.」は、コンテナ一覧情報の行番号を示し、「コンテナ名」は、当該コンテナの名称を示している。また、「作成時刻」及び「削除時刻」は、当該コンテナの作成時刻及び消去時刻を示し、「名前のハッシュ値」は、当該「コンテナ名」のハッシュ値を示している。また、「コンテナID」は、コンテナを識別する識別情報を示している。
Moreover, FIG. 6 is a figure which shows the example of data of container list information in this embodiment.
As shown in FIG. 6, the account information storage unit 312 may, for example, “NO.”, “Container name”, “creation time”, “deletion time”, “name hash value”, “container The container list information having a plurality of pieces of information associated with the ID is stored. Here, “NO.” Indicates the line number of the container list information, and “container name” indicates the name of the container. Further, “creation time” and “deletion time” indicate creation time and deletion time of the container, and “hash value of name” indicates a hash value of the “container name”. Moreover, "container ID" has shown the identification information which identifies a container.

図6に示す例では、「NO.」が“1”のコンテナは、「コンテナ名」が“testcont1”であり、「作成時刻」が“2014−10−01 10:00:00”であることを示している。また、「名前のハッシュ値」が“YYYYYYYYYYYY”であり。「コンテナID」が“ZZZZZ”であることを示している。   In the example shown in FIG. 6, in the container where "NO." Is "1", "container name" is "testcont1" and "creation time" is "2014-10-01 10:00:00" Is shown. Also, "name hash value" is "YYYYYYYYYYYY". It indicates that the "container ID" is "ZZZZZ".

再び図1の説明に戻り、ストレージノード32(コンテナサーバ)は、例えば、オブジェクトを格納するとともに、コンテナを管理する。ストレージノード32は、例えば、記憶部320を備えている。
記憶部320は、ストレージノード32の各種処理に利用する情報を記憶する。記憶部320は、例えば、リングファイル記憶部321と、コンテナ情報記憶部322とを備えている。
Returning to the description of FIG. 1 again, the storage node 32 (container server) manages, for example, the object while storing the object. The storage node 32 includes, for example, a storage unit 320.
The storage unit 320 stores information used for various processes of the storage node 32. The storage unit 320 includes, for example, a ring file storage unit 321 and a container information storage unit 322.

リングファイル記憶部321は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
コンテナ情報記憶部322(重要度記憶部の一例)は、コンテナを管理するコンテナ管理情報を記憶する。コンテナ情報記憶部322は、コンテナ管理情報として、例えば、コンテナ情報と、オブジェクト一覧情報とを記憶する。
The ring file storage unit 321 is the same as the ring file storage unit 211 described above, and thus the description thereof is omitted here.
The container information storage unit 322 (an example of the importance degree storage unit) stores container management information that manages a container. The container information storage unit 322 stores, for example, container information and object list information as container management information.

図7は、本実施形態におけるコンテナ情報のデータ例を示す図である。
図7に示すように、コンテナ情報記憶部322は、例えば、「アカウント名」と、「コンテナ名」と、「作成時刻」と、「削除時刻」と、「オブジェクト数」と、「バイト数」と、「名前のハッシュ値」と、「コンテナID」と、「重要度」とを関連付けてコンテナ情報として記憶する。ここで、「アカウント名」は、上位のアカウントの名称を示し、「コンテナ名」は、当該コンテナの名称を示している。また、「作成時刻」、「削除時刻」、「名前のハッシュ値」、及び「コンテナID」は、上述したコンテナ一覧情報と同様である。また、「オブジェクト数」及び「バイト数」は、当該コンテナの配下のオブジェクト数及びデータのバイト数を示し、「重要度」は、当該コンテナの重要度を示している。
このように、コンテナ情報記憶部322は、データを格納するコンテナ(階層構造)と重要度とを関連付けて記憶する。
FIG. 7 is a diagram showing an example of data of container information in the present embodiment.
As shown in FIG. 7, the container information storage unit 322, for example, “account name”, “container name”, “creation time”, “deletion time”, “number of objects”, “number of bytes” , “Name hash value”, “container ID”, and “importance” are stored as container information in association with each other. Here, the “account name” indicates the name of the higher-level account, and the “container name” indicates the name of the container. In addition, “creation time”, “deletion time”, “hash value of name”, and “container ID” are the same as the above-described container list information. Also, “number of objects” and “number of bytes” indicate the number of objects subordinate to the container and the number of bytes of data, and “importance” indicates the importance of the container.
As described above, the container information storage unit 322 associates and stores the container (hierarchical structure) for storing data and the importance.

図7に示す例では、「アカウント名」が“ABC”の配下の「コンテナ名」が“testcont1”であるコンテナ情報を示し、「オブジェクト数」及び「バイト数」が、“14”個及び“8096”バイトであることを示している。また、当該コンテナの「重要度」が“50”であることを示している。   In the example shown in FIG. 7, the container information whose "container name" under "account name" is "ABC" is "testcont1" is shown, and "the number of objects" and "the number of bytes" are "14" and " It indicates that it is 8096 "bytes. It also indicates that the "importance" of the container is "50".

また、図8は、本実施形態におけるオブジェクト一覧情報のデータ例を示す図である。
図8に示すように、コンテナ情報記憶部322は、例えば、「NO.」と、「オブジェクト名」と、「作成時刻」と、「バイト数」と、「コンテンツ種別」と、「ハッシュ値」と、「削除済フラグ」とを関連付けた情報を複数有するオブジェクト一覧情報を記憶する。ここで、「NO.」は、オブジェクト一覧情報の行番号を示し、「オブジェクト名」は、当該オブジェクトの名称を示している。また、「作成時刻」は、当該オブジェクトの作成時刻を示し、「バイト数」及び「コンテンツ種別」は、オブジェクトのバイト数及びオブジェクトの種別(例えば、画像、動画、テキストなど)を示している。また、「ハッシュ値」は、当該「オブジェクト名」のハッシュ値を示し、「削除済フラグ」は、当該オブジェクトが削除されたか否かを示している。
FIG. 8 is a view showing an example of data of object list information in the present embodiment.
As shown in FIG. 8, for example, the container information storage unit 322 includes “NO.”, “Object name”, “creation time”, “number of bytes”, “content type”, and “hash value”. And object list information having a plurality of pieces of information in which the “deleted flag” is associated with each other. Here, “NO.” Indicates the line number of the object list information, and “object name” indicates the name of the object. Also, “creation time” indicates the creation time of the object, and “number of bytes” and “content type” indicate the number of bytes of the object and the type of object (eg, image, moving image, text, etc.). Also, “hash value” indicates a hash value of the “object name”, and “deletion flag” indicates whether the object is deleted.

図8に示す例では、「NO.」が“1”のオブジェクトは、「オブジェクト名」が“obj1”であり、「作成時刻」が“2014−10−02 10:00:00”であることを示している。また、「バイト数」が“3072”バイトであり、「コンテンツ種別」が“image/jpeg”(jpeg画像)であることを示している。また、「ハッシュ値」が“AAAAAAAAAAAA”であり。「削除済フラグ」が“NO”であることを示している。
なお、上述した例では、説明上、アカウント及びコンテナが1つの例を説明したが、ストレージシステム1は、複数のアカウント及びコンテナを含むものであってもよい。
In the example shown in FIG. 8, for an object whose “NO.” Is “1”, the “object name” is “obj1” and the “creation time” is “2014-10-02 10:00:00”. Is shown. Also, it indicates that the “number of bytes” is “3072” bytes and the “content type” is “image / jpeg” (jpeg image). Also, the “hash value” is “AAAAAAAAAAAA”. It indicates that the "deleted flag" is "NO".
In the above-mentioned example, although one account and one container were explained for explanation, storage system 1 may contain a plurality of accounts and containers.

再び、図1の説明に戻り、ストレージノード33(30)は、例えば、オブジェクトを格納し、例えば、記憶部330を備えている。
記憶部330は、ストレージノード33の各種処理に利用する情報を記憶する。記憶部330は、例えば、リングファイル記憶部331を備えている。
リングファイル記憶部331は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
Referring back to FIG. 1 again, the storage node 33 (30) stores, for example, an object, and includes, for example, a storage unit 330.
The storage unit 330 stores information used for various processes of the storage node 33. The storage unit 330 includes, for example, a ring file storage unit 331.
The ring file storage unit 331 is the same as the ring file storage unit 211 described above, and thus the description thereof is omitted here.

管理装置10は、ストレージシステム1のレプリカ数を管理するコンピュータ装置である。管理装置10は、例えば、管理記憶部110と、管理制御部120とを備えている。
管理記憶部110は、管理装置10の各種処理に利用する情報を記憶する。管理記憶部110は、例えば、レプリカ数記憶部111と、変更情報記憶部112とを備えている。
The management device 10 is a computer device that manages the number of replicas of the storage system 1. The management device 10 includes, for example, a management storage unit 110 and a management control unit 120.
The management storage unit 110 stores information used for various processes of the management apparatus 10. The management storage unit 110 includes, for example, a replica number storage unit 111 and a change information storage unit 112.

レプリカ数記憶部111は、例えば、図9に示すように、レプリカ数の上限値及び下限値を記憶する。なお、本実施形態では、ストレージシステム1全体でのレプリカ数の上限値及び下限値が予め定められており、レプリカ数記憶部111は、当該ストレージシステム1全体でのレプリカ数の上限値及び下限値を記憶する。
図9は、本実施形態におけるレプリカ数記憶部111のデータ例を示す図である。
この図に示すように、レプリカ数記憶部111は、「上限値」と「下限値」とを関連付けて記憶する。ここでの「上限値」は、ストレージシステム1全体でのレプリカ数の上限値を示し、「下限値」は、ストレージシステム1全体でのレプリカ数の下限値を示している。
図9に示し例では、「上限値」が“5”、「下限値」が“2”であることを示している。
The replica number storage unit 111 stores, for example, the upper limit value and the lower limit value of the number of replicas, as shown in FIG. In the present embodiment, the upper limit value and the lower limit value of the number of replicas in the entire storage system 1 are predetermined, and the replica number storage unit 111 is the upper limit value and the lower limit value of the number of replicas in the entire storage system 1. Remember.
FIG. 9 is a view showing an example of data of the replica number storage unit 111 in the present embodiment.
As shown in this figure, the replica number storage unit 111 stores the “upper limit value” and the “lower limit value” in association with each other. Here, “upper limit value” indicates the upper limit value of the number of replicas in the entire storage system 1, and “lower limit value” indicates the lower limit value of the number of replicas in the entire storage system 1.
The example shown in FIG. 9 indicates that the “upper limit value” is “5” and the “lower limit value” is “2”.

再び、図1の説明に戻り、変更情報記憶部112は、ストレージシステム1の空き容量に応じて、レプリカ数の設定を変更するレプリカ数の変更情報を記憶する。変更情報記憶部112は、例えば、レプリカ数記憶部111が記憶する「上限値」と「下限値」との間の範囲において、ストレージシステム1の空き容量に対応したレプリカ数を指定するテーブル情報である。また、変更情報記憶部112は、例えば、各コンテナの重要度に応じた、異なる変更情報を記憶してもよい。変更情報記憶部112は、例えば、図10に示すように、ストレージシステム1の空き容量に応じて変更されるテーブル情報を記憶する。   Referring back to FIG. 1 again, the change information storage unit 112 stores change information of the number of replicas for changing the setting of the number of replicas according to the free space of the storage system 1. The change information storage unit 112 is, for example, table information specifying the number of replicas corresponding to the free capacity of the storage system 1 in the range between the “upper limit value” and the “lower limit value” stored in the replica number storage unit 111. is there. In addition, the change information storage unit 112 may store, for example, different change information according to the degree of importance of each container. For example, as shown in FIG. 10, the change information storage unit 112 stores table information that is changed according to the free space of the storage system 1.

図10は、本実施形態におけるレプリカ数の変更情報の一例を示す図である。
図10に示すグラフは、空き容量に対するレプリカ数の設定を示しており、縦軸がレプリカ数を示し、横軸が空き容量(%)を示している。
この図に示すように、レプリカ数の変更情報は、レプリカ数記憶部111が記憶する「下限値」の“2”と「上限値」の“5”との間で、空き容量が多い程、レプリカ数の値が大きくなるように設定される。なお、この図において、波形W1は、最も重要度が高い場合の変更情報の例を示し、波形W2は、次に重要度が高い場合の変更情報の例を示している。また、波形W3は、最も重要度が低い場合の変更情報の例を示している。
このように、実施形態では、レプリカ数の変更情報は、重要度に対応して設定されており、重要度が低い程、空き容量が多い状態からレプリカ数が低下するように設定されている。
FIG. 10 is a diagram showing an example of change information of the number of replicas in the present embodiment.
The graph shown in FIG. 10 shows the setting of the number of replicas with respect to the free space, the vertical axis shows the number of replicas, and the horizontal axis shows the free space (%).
As shown in this figure, the change information of the number of replicas is larger as the free space is larger between “2” of “lower limit value” and “5” of “upper limit value” stored in replica number storage unit 111, The number of replicas is set to be large. In this figure, the waveform W1 shows an example of change information when the degree of importance is the highest, and the waveform W2 shows an example of change information when the degree of importance is the second highest. Further, the waveform W3 shows an example of change information in the case where the degree of importance is the lowest.
As described above, in the embodiment, the change information of the number of replicas is set according to the degree of importance, and as the degree of importance is lower, the number of replicas is set to decrease from the state where the free space is large.

なお、レプリカ数は、自然数に限定されるものではなく、自然数及び小数を含む実数であってもよい。レプリカ数が小数を含む実数である場合には、ストレージシステム1は、例えば、図11に示すように、コンテナごとに平均値としてレプリカ数を実現できるように各オブジェクトを複製して格納する。   The number of replicas is not limited to a natural number, and may be a real number including a natural number and a decimal. When the number of replicas is a real number including decimals, for example, as shown in FIG. 11, the storage system 1 replicates and stores each object so that the number of replicas can be realized as an average value for each container.

図11は、本実施形態におけるストレージの論理階層構造の一例を示す図である。
図11に示す例は、アカウントA1の配下に、例えば、コンテナC1がある場合の一例を示している。コンテナC1は、「オブジェクト1」(OB1)と、「オブジェクト2」(OB2)と「オブジェクト3」(OB3)とが格納されている。ここで、「オブジェクト1」(OB1)及び「オブジェクト2」(OB2)は、それぞれレプリカ数が“3”であり、3カ所に格納されている。また、「オブジェクト3」(OB3)は、レプリカ数が“2”であり、2カ所に格納されている。この場合、コンテナC1全体としてのレプリカ数は、以下の式(1)により、“2.666”となる。
FIG. 11 is a diagram showing an example of the logical hierarchical structure of the storage in this embodiment.
The example illustrated in FIG. 11 illustrates an example in the case where the container C1 is present under the account A1, for example. The container C1 stores "object 1" (OB1), "object 2" (OB2), and "object 3" (OB3). Here, the number of replicas of “object 1” (OB1) and “object 2” (OB2) is “3”, respectively, and is stored in three places. The "object 3" (OB3) has a replica number of "2" and is stored in two places. In this case, the number of replicas of the container C1 as a whole is "2.666" according to the following equation (1).

レプリカ数=(3+3+2)/3=2.666 ・・・(1)   Number of replicas = (3 + 3 + 2) /3=2.666 (1)

このように、本実施形態におけるストレージシステム1では、コンテナごとに、小数を含む実数値により、レプリカ数を設定することが可能である。   As described above, in the storage system 1 according to the present embodiment, it is possible to set the number of replicas using real values including decimals for each container.

再び、図1の説明に戻り、管理制御部120は、例えば、CPU(Central Processing Unit)などを含むプロセッサであり、管理装置10を統括的に制御する。管理制御部120は、例えば、空き容量検出部121と、リング変更部122とを備えている。   Referring back to FIG. 1 again, the management control unit 120 is, for example, a processor including a CPU (Central Processing Unit) and the like, and centrally controls the management apparatus 10. The management control unit 120 includes, for example, a free space detection unit 121 and a ring change unit 122.

空き容量検出部121(検出部の一例)は、ストレージシステム1の空き容量を検出する。空き容量検出部121は、所定の時間間隔で定期的に、ストレージシステム1の空き容量を検出する。空き容量検出部121は、例えば、各アカウントに対応するアカウントサーバが記憶するアカウント管理情報と、各コンテナに対応するコンテナサーバが記憶するコンテナ管理情報とを取得し、取得したアカウント管理情報及びコンテナ管理情報に基づいて、ストレージシステム1の空き容量を検出する。   The free space detection unit 121 (an example of a detection unit) detects the free space of the storage system 1. The free capacity detection unit 121 detects the free capacity of the storage system 1 periodically at predetermined time intervals. The free space detection unit 121 acquires, for example, account management information stored by the account server corresponding to each account and container management information stored by the container server corresponding to each container, and the acquired account management information and container management The free space of the storage system 1 is detected based on the information.

リング変更部122(変更部の一例)は、空き容量検出部121が検出したストレージシステム1の空き容量に応じて、予め定められたレプリカ数の下限値を下回らないように、レプリカ数の設定を変更する。リング変更部122は、例えば、データを格納するコンテナと重要度とを関連付けて記憶するコンテナ情報記憶部322からコンテナごとの重要度を取得する。リング変更部122は、取得したコンテナごとの重要度と、空き容量とに基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。すなわち、リング変更部122は、重要度と、空き容量とに基づいて、コンテナごとのレプリカ数を決定し、リングファイル内のレプリカ数を、決定したレプリカ数に変更して、各ノード(プロキシノード20及びストレージノード30)に配布する。つまり、リング変更部122は、各ノードが記憶するリングファイルを更新する(置き換える)。   The ring changing unit 122 (an example of the changing unit) sets the number of replicas so as not to fall below the predetermined lower limit of the number of replicas according to the free space of the storage system 1 detected by the free space detection unit 121. change. The ring changing unit 122 acquires, for example, the importance of each container from the container information storage unit 322 which stores the container storing data and the importance in association with each other. The ring changing unit 122 changes, for each container, the setting of the number of replicas between the upper limit value and the lower limit value stored in the replica number storage unit 111 based on the acquired degree of importance for each container and the free space. That is, the ring changing unit 122 determines the number of replicas for each container based on the degree of importance and the free space, and changes the number of replicas in the ring file to the determined number of replicas. 20 and the storage node 30). That is, the ring changing unit 122 updates (replaces) the ring file stored by each node.

例えば、リング変更部122は、レプリカ数記憶部111が記憶する上限値と下限値とを取得する。上限値が“5”、下限値が“2”である場合に、リング変更部122は、変更情報記憶部112が記憶する変更情報を参照して、取得したコンテナごとの重要度に対応するレプリカ数(上限値が“5”と下限値が“2”との間にレプリカ数)を決定する。例えば、リング変更部122は、図10に示すように、ストレージシステム1の空き容量に応じて、自然数及び小数を含むレプリカ数に決定する。また、リング変更部122は、決定したレプリカ数を反映したリングファイルを生成する。そして、リング変更部122は、生成したリングファイルを各ノード(プロキシノード20及びストレージノード30)に配布する。   For example, the ring changing unit 122 acquires the upper limit value and the lower limit value stored in the replica number storage unit 111. When the upper limit value is “5” and the lower limit value is “2”, the ring changing unit 122 refers to the change information stored in the change information storage unit 112, and the replica corresponding to the acquired importance level for each container Determine the number (the number of replicas between the upper limit "5" and the lower limit "2"). For example, as shown in FIG. 10, the ring changing unit 122 determines the number of replicas including the natural number and the decimal according to the free space of the storage system 1. Also, the ring changing unit 122 generates a ring file reflecting the determined number of replicas. Then, the ring changing unit 122 distributes the generated ring file to each node (proxy node 20 and storage node 30).

上述したプロキシノード20は、リングファイル記憶部211が記憶するリングファイル内のレプリカ数と、コンテナ情報記憶部322が記憶するコンテナ管理情報とを定期的に確認して、リングファイル内のレプリカ数の変更に応じて、各オブジェクトのレプリカ数を変更する。すなわち、プロキシノード20は、定期的に、各コンテナの平均レプリカ数がリングファイル内のレプリカ数と一致するように、各オブジェクトの複製を削除又は追加して調整する。すなわち、プロキシノード20は、コンテナにおける平均レプリカ数が、管理装置10によって設定されたレプリカ数になるように、コンテナの配下に格納されているデータのレプリカ数を調整する。   The proxy node 20 described above periodically checks the number of replicas in the ring file stored in the ring file storage unit 211 and the container management information stored in the container information storage unit 322, and Change the number of replicas of each object according to the change. That is, the proxy node 20 periodically adjusts the number of replicas of each object so that the average number of replicas of each container matches the number of replicas in the ring file. That is, the proxy node 20 adjusts the number of replicas of data stored under the container so that the average number of replicas in the container becomes the number of replicas set by the management device 10.

次に、本実施形態によるストレージシステム1の動作について、図面を参照して説明する。
図12は、本実施形態におけるレプリカ数の変更処理の一例を示す図である。
図12において、ストレージシステム1が、「コンテナA」〜「コンテナE」の5つのコンテナを有する場合の一例を示している。この例では、「コンテナA」及び「コンテナB」の重要度が“100”であり、「コンテナC」及び「コンテナD」の重要度が“50”であり、「コンテナC」の重要度が“10”であるものとする。なお、重要度は、値が大きい程、重要度が高いものとする。また、この例では、レプリカ数記憶部111が記憶する「上限値」が“3”、「下限値」が“2”であるものとする。
Next, the operation of the storage system 1 according to the present embodiment will be described with reference to the drawings.
FIG. 12 is a diagram showing an example of the process of changing the number of replicas in the present embodiment.
In FIG. 12, an example in which the storage system 1 has five containers of "container A" to "container E" is shown. In this example, the importance of “container A” and “container B” is “100”, the importance of “container C” and “container D” is “50”, and the importance of “container C” is It shall be "10". In addition, importance is assumed to be higher as the value is larger. Further, in this example, it is assumed that the “upper limit value” stored in the replica number storage unit 111 is “3” and the “lower limit value” is “2”.

図12(a)は、ストレージシステム1の空き容量が大きい状態(例えば、80%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“3”に、重要度が“10”に対応するリングファイルのレプリカ数を“3”に、それぞれ設定する。この場合、プロキシノード20は、各コンテナの平均レプリカ数がリングファイル内のレプリカ数と一致するように、各オブジェクトの複製を削除又は追加して調整する。   FIG. 12A shows a state (for example, 80%) in which the free capacity of the storage system 1 is large. In this case, the management apparatus 10 sets the number of replicas of the ring file whose importance is "100" to "3", and the number of replicas of the ring file whose importance is "50" to "3", the importance The number of ring file replicas corresponding to “10” is set to “3”. In this case, the proxy node 20 adjusts the deletion or addition of each object so that the average number of replicas of each container matches the number of replicas in the ring file.

次に、図12(b)は、ストレージシステム1の空き容量が図12(a)に比べて減少した状態(例えば、50%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“3”に、重要度が“10”に対応するリングファイルのレプリカ数を“2.5”に、それぞれ設定する。この場合、プロキシノード20は、「コンテナE」のレプリカ数が、“2.5”と一致するように、「コンテナE」のオブジェクトの複製を削除して調整する。   Next, FIG. 12 (b) shows a state (for example, 50%) in which the free capacity of the storage system 1 is reduced as compared with FIG. 12 (a). In this case, the management apparatus 10 sets the number of replicas of the ring file whose importance is "100" to "3", and the number of replicas of the ring file whose importance is "50" to "3", the importance Set the number of ring file replicas corresponding to "10" to "2.5" respectively. In this case, the proxy node 20 deletes and adjusts the duplicate of the object of “container E” so that the number of replicas of “container E” matches “2.5”.

次に、図12(c)は、ストレージシステム1の空き容量が図12(b)から更に減少した状態(例えば、10%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“2.6”に、重要度が“10”に対応するリングファイルのレプリカ数を“2”に、それぞれ設定する。この場合、プロキシノード20は、「コンテナC」及び「コンテナD」のレプリカ数が、“2.6”と一致するように、「コンテナC」及び「コンテナD」のオブジェクトの複製を削除して調整する。また、プロキシノード20は、「コンテナE」のレプリカ数が、“2”と一致するように、「コンテナE」のオブジェクトの複製を削除して調整する。   Next, FIG. 12C shows a state (for example, 10%) in which the free capacity of the storage system 1 is further reduced from FIG. 12B. In this case, the management apparatus 10 sets the number of ring file replicas corresponding to the importance level “100” to “3”, and the number of ring file replicas corresponding to the importance level “50” to “2.6”, The number of ring file replicas corresponding to the importance level "10" is set to "2" respectively. In this case, the proxy node 20 deletes the duplicates of the objects of “container C” and “container D” so that the numbers of replicas of “container C” and “container D” match “2.6”. adjust. Further, the proxy node 20 deletes and adjusts the duplicate of the object of “container E” so that the number of replicas of “container E” matches “2”.

このように、管理装置10(リング変更部122)は、ストレージシステム1の空き容量に基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。   Thus, the management apparatus 10 (ring changing unit 122) sets the number of replicas between the upper limit value and the lower limit value stored in the replica number storage unit 111 based on the free space of the storage system 1 for each container. change.

次に、図13を参照して、本実施形態におけるストレージシステム1のオブジェクトの追加処理の動作について説明する。
図13は、本実施形態におけるオブジェクトの追加処理の一例を示すフローチャートである。
Next, with reference to FIG. 13, the operation of the object addition processing of the storage system 1 in the present embodiment will be described.
FIG. 13 is a flowchart showing an example of the process of adding an object in the present embodiment.

この図において、まず、プロキシノード20は、オブジェクトの追加依頼があるか否かを判定する(ステップS101)。すなわち、プロキシノード20は、例えば、クライアント端末2からネットワークNTを介して、オブジェクトの追加依頼があるか否かを判定する。プロキシノード20は、オブジェクトの追加依頼がある場合(ステップS101:YES)に、処理をステップS102に進める。また、プロキシノード20は、オブジェクトの追加依頼がない場合(ステップS101:NO)に、処理をステップS101に戻す。   In this figure, first, the proxy node 20 determines whether there is a request for adding an object (step S101). That is, for example, the proxy node 20 determines whether there is a request for adding an object from the client terminal 2 via the network NT. The proxy node 20 advances the process to step S102 when there is an object addition request (step S101: YES). In addition, when there is no request for adding an object (step S101: NO), the proxy node 20 returns the process to step S101.

ステップS102において、プロキシノード20は、コンテナの管理情報を取得する。すなわち、プロキシノード20は、ストレージノード33(コンテナサーバ)のコンテナ情報記憶部322が記憶するコンテナ管理情報(図7及び図8参照)を取得する。ここでは、プロキシノード20は、例えば、コンテナの重要度を取得する。   In step S102, the proxy node 20 acquires container management information. That is, the proxy node 20 acquires container management information (see FIGS. 7 and 8) stored in the container information storage unit 322 of the storage node 33 (container server). Here, the proxy node 20 acquires, for example, the importance of the container.

次に、プロキシノード20は、コンテナに対応するリングファイルを参照する(ステップS103)。すなわち、プロキシノード20は、コンテナの重要度に対応するリングファイルを、リングファイル記憶部211から参照する。   Next, the proxy node 20 refers to the ring file corresponding to the container (step S103). That is, the proxy node 20 refers to the ring file corresponding to the degree of importance of the container from the ring file storage unit 211.

次に、プロキシノード20は、参照したリングファイルに基づいて、追加するオブジェクトの配置を決定する(ステップS104)。プロキシノード20は、リングファイル内のレプリカ数の設定に基づいて、リングファイル内のリング情報(図3参照)により指定される複数のデバイスを決定する。ここで、プロキシノード20は、リング情報の「デバイスID」に対応するデバイスを図4に示すデバイス一覧情報により特定する。プロキシノード20は、決定したオブジェクトの配置を各ストレージノード30のデバイスに指示する。   Next, the proxy node 20 determines the arrangement of the object to be added based on the referenced ring file (step S104). The proxy node 20 determines a plurality of devices specified by the ring information (see FIG. 3) in the ring file based on the setting of the number of replicas in the ring file. Here, the proxy node 20 specifies the device corresponding to the “device ID” of the ring information by the device list information shown in FIG. The proxy node 20 instructs the device of each storage node 30 to arrange the determined object.

次に、ストレージノード30は、オブジェクトの配置指示に基づいて、オブジェクトを配置する(ステップS105)。すなわち、ストレージノード30は、オブジェクトの配置指示に基づいて、オブジェクトを追加する。   Next, the storage node 30 arranges the objects based on the arrangement instruction of the objects (step S105). That is, the storage node 30 adds an object based on the placement instruction of the object.

次に、プロキシノード20は、コンテナの管理情報を更新する(ステップS106)。すなわち、プロキシノード20は、例えば、オブジェクトを追加したストレージノード33(コンテナサーバ)のコンテナ情報記憶部322が記憶するコンテナ管理情報にオブジェクトを追加する。プロキシノード20は、例えば、コンテナ情報記憶部322が記憶するコンテナ情報の「オブジェクト数」及び「バイト数」を変更するとともに、オブジェクト一覧情報に追加したオブジェクトに対応する行を追加する。ステップS106の処理後に、プロキシノード20は、処理をステップS101に戻す。   Next, the proxy node 20 updates container management information (step S106). That is, for example, the proxy node 20 adds an object to the container management information stored in the container information storage unit 322 of the storage node 33 (container server) to which the object is added. The proxy node 20 changes, for example, the “number of objects” and the “number of bytes” of the container information stored in the container information storage unit 322, and adds a line corresponding to the object added to the object list information. After the process of step S106, the proxy node 20 returns the process to step S101.

なお、上述した図13に示す例では、オブジェクトを追加する場合の一例を説明したが、オブジェクトを削除する場合も基本的には図13に示す処理と同様である。但し、オブジェクトを削除する場合には、プロキシノード20は、コンテナ情報記憶部322が記憶するオブジェクト一覧情報において、削除するオブジェクトに対応する行の「削除済フラグ」を“YES”に変更する。   In the example shown in FIG. 13 described above, an example of adding an object has been described, but deleting an object is basically the same as the process shown in FIG. However, when deleting an object, the proxy node 20 changes the “deleted flag” of the row corresponding to the object to be deleted in the object list information stored in the container information storage unit 322 to “YES”.

次に、図14を参照して、本実施形態におけるストレージシステム1のレプリカ数の変更処理の動作について説明する。
図14は、本実施形態におけるレプリカ数の変更処理の一例を示すフローチャートである。なお、図14に示す処理は、所定の時間間隔(例えば、数分単位、又は数時間単位)で定期的に実行されるものとする。
Next, with reference to FIG. 14, the operation of the process of changing the number of replicas of the storage system 1 in the present embodiment will be described.
FIG. 14 is a flowchart showing an example of the process of changing the number of replicas in the present embodiment. In addition, the process shown in FIG. 14 shall be regularly performed by a predetermined time interval (for example, a several-minute unit or several-hour unit).

この図において、まず、管理装置10は、ストレージシステム1の空き容量を検出する(ステップS201)。すなわち、管理装置10の空き容量検出部121は、例えば、各アカウントに対応するアカウントサーバが記憶するアカウント管理情報と、各コンテナに対応するコンテナサーバが記憶するコンテナ管理情報とを取得する。空き容量検出部121は、取得したアカウント管理情報及びコンテナ管理情報に基づいて、ストレージシステム1の空き容量を検出する。   In this figure, first, the management device 10 detects the free space of the storage system 1 (step S201). That is, the free space detection unit 121 of the management device 10 acquires, for example, account management information stored by the account server corresponding to each account and container management information stored by the container server corresponding to each container. The free space detection unit 121 detects the free space of the storage system 1 based on the acquired account management information and container management information.

次に、管理装置10は、空き容量に応じてレプリカ数を決定する(ステップS202)。すなわち、管理装置10のリング変更部122は、空き容量検出部121が検出した空き容量に基づいてレプリカ数を決定する。具体的に、リング変更部122は、変更情報記憶部112が記憶する変更情報と、空き容量とに基づいて、レプリカ数記憶部111が記憶するレプリカ数の上限値及び下限値の範囲に収まるように、重要度ごとのレプリカ数を決定する。ここで決定されるレプリカ数は、自然数及び小数を含む実数の値である。   Next, the management device 10 determines the number of replicas according to the free space (step S202). That is, the ring changing unit 122 of the management device 10 determines the number of replicas based on the free space detected by the free space detection unit 121. Specifically, based on the change information stored in the change information storage unit 112 and the free space, the ring change unit 122 fits within the range of the upper limit value and the lower limit value of the number of replicas stored in the replica number storage unit 111. In addition, determine the number of replicas for each degree of importance. The number of replicas determined here is a real value including a natural number and a decimal.

次に、リング変更部122は、リングファイルを生成する(ステップS203)。すなわち、リング変更部122は、決定した重要度ごとのレプリカ数に基づいて、重要度ごとのリングファイルを生成する。具体的に、リング変更部122は、例えば、現在のリングファイル内のレプリカ数を変更したリングファイルを生成する。なお、本実施形態では、コンテナ情報記憶部322が記憶するコンテナ情報に「重要度」が記憶されており、コンテナごとに重要度が定められている。そのため、リング変更部122は、リングファイルのレプリカ数を変更することにより、コンテナ単位によりレプリカ数を変更することになる。   Next, the ring changing unit 122 generates a ring file (step S203). That is, the ring changing unit 122 generates a ring file for each degree of importance based on the determined number of replicas for each degree of importance. Specifically, the ring changing unit 122 generates, for example, a ring file in which the number of replicas in the current ring file has been changed. In the present embodiment, the “importance” is stored in the container information stored in the container information storage unit 322, and the importance is determined for each container. Therefore, the ring changing unit 122 changes the number of replicas in units of containers by changing the number of replicas of the ring file.

次に、リング変更部122は、生成したリングファイルを配布する(ステップS204)。すなわち、リング変更部122は、生成した重要度ごとのリングファイルをプロキシノード20及びストレージノード30に送信する。これにより、プロキシノード20及びストレージノード30は、受信したリングファイルをリングファイル記憶部(211、311、321、331)に記憶させて、リングファイルを更新する。これにより、各ノード(プロキシノード20及びストレージノード30)が保持するリングファイル内に設定されたレプリカ数が更新される。ステップS204の処理後に、リング変更部122は、処理を終了する。   Next, the ring changing unit 122 distributes the generated ring file (step S204). That is, the ring changing unit 122 transmits the generated ring file for each degree of importance to the proxy node 20 and the storage node 30. Thereby, the proxy node 20 and the storage node 30 store the received ring file in the ring file storage unit (211, 311, 321, 331), and update the ring file. As a result, the number of replicas set in the ring file held by each node (proxy node 20 and storage node 30) is updated. After the process of step S204, the ring changing unit 122 ends the process.

次に、図15を参照して、ストレージシステム1において、更新されたリングファイルに基づいて、ストレージノード30のコンテナごとのレプリカ数が変更されるレプリカ数の調整処理について説明する。
図15は、本実施形態におけるレプリカ数の調整処理の一例を示すフローチャートである。なお、図15に示す処理は、所定の時間間隔(例えば、数分単位など)で定期的に実行されるものとする。
Next, adjustment processing of the number of replicas in which the number of replicas for each container of the storage node 30 is changed based on the updated ring file in the storage system 1 will be described with reference to FIG.
FIG. 15 is a flowchart showing an example of the adjustment processing of the number of replicas in the present embodiment. In addition, the process shown in FIG. 15 shall be regularly performed by a predetermined time interval (for example, a few minutes etc.).

この図において、まず、ストレージシステム1は、リングファイルを確認する(ステップS301)。例えば、プロキシノード20が、リングファイル記憶部211に記憶されている各リングファイルを確認する。プロキシノード20は、例えば、リングファイルの重要度及びレプリカ数を確認する。   In this figure, first, the storage system 1 confirms a ring file (step S301). For example, the proxy node 20 checks each ring file stored in the ring file storage unit 211. The proxy node 20 confirms, for example, the importance of the ring file and the number of replicas.

次に、プロキシノード20は、リングファイルに対応するコンテナのオブジェクトを確認する(ステップS302)。プロキシノード20は、例えば、コンテナ情報記憶部322が記憶するコンテナ管理情報を取得して、コンテナ管理情報の重要度が一致するリングファイルにより、コンテナ内のオブジェクトを確認する。プロキシノード20は、例えば、現在のコンテナ内の平均レプリカ数を算出する。   Next, the proxy node 20 confirms the object of the container corresponding to the ring file (step S302). The proxy node 20 acquires, for example, the container management information stored in the container information storage unit 322, and confirms the objects in the container by the ring file in which the importance of the container management information matches. The proxy node 20 calculates, for example, the average number of replicas in the current container.

次に、プロキシノード20は、オブジェクトの配置の変更が必要である否かを判定する(ステップS303)。すなわち、プロキシノード20は、リングファイルに設定されたレプリカ数と、現在のコンテナ内の平均レプリカ数とが一致するか否かをコンテナごとに判定する。プロキシノード20は、オブジェクトの配置の変更が必要である場合(ステップS303:YES)に、処理をステップS304に進める。また、プロキシノード20は、オブジェクトの配置の変更が必要ない場合(ステップS303:NO)に、処理を終了する。   Next, the proxy node 20 determines whether it is necessary to change the placement of the object (step S303). That is, the proxy node 20 determines, for each container, whether the number of replicas set in the ring file matches the average number of replicas in the current container. If the proxy node 20 needs to change the arrangement of objects (step S303: YES), the process proceeds to step S304. The proxy node 20 ends the process when it is not necessary to change the arrangement of the objects (step S303: NO).

ステップS304において、プロキシノード20は、複製(レプリカ)を増減するオブジェクトを決定する。すなわち、プロキシノード20は、変更は必要なコンテナにおいて、リングファイルに設定されたレプリカ数と、コンテナ内の平均レプリカ数とが一致するように、削除又は追加するオブジェクトを決定する。なお、プロキシノード20は、オブジェクトの複製を削除又は追加する場合に、コンテナ内のオブジェクトのうち、サイズが大きいオブジェクトを優先する。すなわち、プロキシノード20は、ストレージノード30において、オブジェクトの複製を削除又は追加する場合に、コンテナの配下に格納されているオブジェクトのうち、サイズが大きいオブジェクトを優先する。   In step S304, the proxy node 20 determines an object to increase or decrease a replica (replica). That is, the proxy node 20 determines an object to be deleted or added so that the number of replicas set in the ring file matches the average number of replicas in the container, in the container that needs to be changed. In addition, when deleting or adding a duplicate of an object, the proxy node 20 gives priority to an object having a large size among objects in the container. That is, when deleting or adding a duplicate of an object in the storage node 30, the proxy node 20 gives priority to an object having a large size among objects stored under the container.

次に、プロキシノード20は、決定したオブジェクトを削除又は追加する(ステップS305)。プロキシノード20は、決定したオブジェクトの削除又は追加するストレージノード30に、決定したオブジェクトの削除又は追加を指示する。ストレージノード30は、プロキシノード20からの指示に基づいて、オブジェクトの削除又は追加を実行する。なお、オブジェクトの削除又は追加は、対応するリングファイルにより設定されているデバイスに対して実行される。   Next, the proxy node 20 deletes or adds the determined object (step S305). The proxy node 20 instructs the storage node 30 to delete or add the determined object to delete or add the determined object. The storage node 30 executes deletion or addition of an object based on an instruction from the proxy node 20. Note that deletion or addition of an object is performed on a device set by the corresponding ring file.

次に、プロキシノード20は、コンテナの管理情報を更新する(ステップS306)。すなわち、プロキシノード20は、コンテナ情報記憶部322が記憶するコンテナ管理情報のうち、オブジェクトの削除又は追加を実行したコンテナに対応するコンテナ管理情報を更新する。ステップS306の処理後に、プロキシノード20は、処理を終了する。   Next, the proxy node 20 updates container management information (step S306). That is, among the container management information stored in the container information storage unit 322, the proxy node 20 updates the container management information corresponding to the container on which the deletion or addition of the object has been performed. After the process of step S306, the proxy node 20 ends the process.

このように、ストレージシステム1では、プロキシノード20が、定期的に、リングファイル及びコンテナ管理情報を確認することにより、リングファイルのレプリカ数の設定の変更に応じた、レプリカ数になるようにコンテナごとに調整する。   As described above, in the storage system 1, the proxy node 20 periodically checks the ring file and the container management information to obtain the number of replicas corresponding to the change in the setting of the number of replicas of the ring file. Adjust each time.

以上説明したように、本実施形態による管理装置10は、設定されたレプリカ数に基づいて、データ(例えば、オブジェクト)を分散して格納するストレージシステム1の管理装置であって、空き容量検出部121(検出部)と、リング変更部122(変更部)とを備えている。ここで、レプリカ数は、例えば、データを複製して格納する数を示す。空き容量検出部121は、ストレージシステム1の空き容量を検出する。リング変更部122は、空き容量検出部121が検出したストレージシステム1の空き容量に応じて、予め定められたレプリカ数の下限値を下回らないように、レプリカ数の設定を変更する。
これにより、本実施形態による管理装置10は、例えば、空き容量が多い場合に、レプリカ数を増やし、例えば、空き容量が少ない場合にレプリカ数を減らす等、空き容量に応じて、格納データの信頼性を高めることができる。よって、本実施形態による管理装置10は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
As described above, the management apparatus 10 according to the present embodiment is a management apparatus of the storage system 1 that distributes and stores data (for example, objects) based on the set number of replicas, and the free space detection unit 121 (detection unit) and a ring change unit 122 (change unit). Here, the number of replicas indicates, for example, the number of data replicated and stored. The free space detection unit 121 detects the free space of the storage system 1. The ring changing unit 122 changes the setting of the number of replicas so as not to fall below the predetermined lower limit of the number of replicas according to the free space of the storage system 1 detected by the free space detection unit 121.
Thus, the management apparatus 10 according to the present embodiment increases the number of replicas, for example, when the free space is large, and reduces the number of replicas, for example, when the free space is small. Can be enhanced. Therefore, the management apparatus 10 according to the present embodiment can dynamically improve the reliability of stored data while effectively utilizing the surplus capacity of the storage.

また、本実施形態では、管理装置10は、レプリカ数の上限値及び下限値を記憶するレプリカ数記憶部111を備えている。リング変更部122は、データを格納するコンテナ(階層構造)と重要度とを関連付けて記憶するコンテナ情報記憶部322(重要度記憶部)からコンテナごとの重要度を取得する。リング変更部122は、取得したコンテナごとの重要度と、空き容量とに基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。
これにより、本実施形態による管理装置10は、レプリカ数記憶部111が記憶する上限値と下限値との間で、コンテナごとの重要度と、空き容量とに基づいて、適切にレプリカ数を変更することができる。
Further, in the present embodiment, the management apparatus 10 includes the replica number storage unit 111 that stores the upper limit value and the lower limit value of the number of replicas. The ring changing unit 122 acquires the importance of each container from the container information storage unit 322 (importance storage unit) that stores the container (hierarchical structure) storing data and the importance in association with each other. The ring changing unit 122 changes, for each container, the setting of the number of replicas between the upper limit value and the lower limit value stored in the replica number storage unit 111 based on the acquired degree of importance for each container and the free space.
Thereby, the management apparatus 10 according to the present embodiment appropriately changes the number of replicas between the upper limit value and the lower limit value stored in the replica number storage unit 111 based on the degree of importance for each container and the free space. can do.

また、本実施形態では、リング変更部122は、レプリカ数を変更したリングファイルを生成し、生成したリングファイルをプロキシノード20(代理装置)及びストレージノード30(ストレージ装置)に送信する。
これにより、空き容量及び重要度に応じて、レプリカ数を変更したリングファイルをプロキシノード20及びストレージノード30に提供することにより、本実施形態による管理装置10は、従来のオブジェクトストレージを利用しつつ、より簡易な方法により動的にレプリカ数を変更することができる。
Further, in the present embodiment, the ring changing unit 122 generates a ring file in which the number of replicas has been changed, and transmits the generated ring file to the proxy node 20 (proxy device) and the storage node 30 (storage device).
Thereby, the management device 10 according to the present embodiment uses the conventional object storage by providing the proxy node 20 and the storage node 30 with the ring file in which the number of replicas is changed according to the free space and the degree of importance. The number of replicas can be dynamically changed by a simpler method.

また、本実施形態によるストレージシステム1は、上述した管理装置10と、コンテナ(階層構造)における平均レプリカ数が、管理装置10によって設定されたレプリカ数になるように、コンテナの配下に格納されているデータのレプリカ数を調整するプロキシノード20とを備えている。
これにより、本実施形態によるストレージシステム1は、例えば、レプリカ数に小数値を設定することができ、レプリカ数を設定する自由度を上げることができる。
In addition, the storage system 1 according to the present embodiment is stored under the container so that the average number of replicas in the above-described management apparatus 10 and containers (hierarchical structure) becomes the number of replicas set by the management apparatus 10 And a proxy node 20 for adjusting the number of replicas of data.
Thus, in the storage system 1 according to the present embodiment, for example, a decimal value can be set as the number of replicas, and the degree of freedom in setting the number of replicas can be increased.

また、本実施形態によるストレージシステム1は、管理装置10によって変更されたレプリカ数に基づいて、格納されているデータの複製が削除又は追加される複数のストレージノード30(ストレージ装置)を備えている。プロキシノード20は、ストレージノード30において、データの複製を削除又は追加する場合に、コンテナ(階層構造)の配下に格納されているデータのうち、サイズが大きいデータを優先する。
これにより、レプリカ数が変更された場合に、例えば、サイズの大きいオブジェクトからレプリカ数を変更するので、本実施形態によるストレージシステム1は、空き容量の変化により迅速に対応することができる。そのため、本実施形態によるストレージシステム1は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the storage system 1 according to the present embodiment is provided with a plurality of storage nodes 30 (storage devices) in which a copy of stored data is deleted or added based on the number of replicas changed by the management device 10 . When deleting or adding data duplication in the storage node 30, the proxy node 20 gives preference to data having a large size among data stored under the container (hierarchical structure).
As a result, when the number of replicas is changed, for example, the number of replicas is changed from an object having a large size, so that the storage system 1 according to the present embodiment can promptly cope with the change of the free space. Therefore, the storage system 1 according to the present embodiment can dynamically improve the reliability of stored data while effectively utilizing the surplus capacity of the storage.

また、本実施形態によるストレージ管理方法は、データを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、データを分散して格納するストレージシステム1のストレージ管理方法であって、検出ステップと、変更ステップとを含んでいる。検出ステップにおいて、管理装置10は、ストレージシステム1の空き容量を検出する。変更ステップにおいて、管理装置10は、検出ステップにて検出したストレージシステム1の空き容量に応じて、予め定められたレプリカ数の下限値を下回らないように、レプリカ数の設定を変更する。
これにより、本実施形態によるストレージ管理方法は、上述した管理装置10及びストレージシステム1と同様に、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the storage management method according to the present embodiment is a storage management method of the storage system 1 in which data is distributed and stored based on the set number of replicas, which is the number of replicas indicating the number of data to be replicated and stored. And includes a detection step and a change step. In the detection step, the management device 10 detects the free space of the storage system 1. In the change step, the management device 10 changes the setting of the number of replicas so as not to fall below the predetermined lower limit value of the number of replicas, according to the free space of the storage system 1 detected in the detection step.
Thereby, the storage management method according to the present embodiment can improve the reliability of stored data dynamically while effectively utilizing the surplus capacity of the storage, similarly to the management device 10 and the storage system 1 described above. .

[第2の実施形態]
次に、第2の実施形態によるストレージシステム及び管理装置について図面を参照して説明する。
本実施形態では、重要度に応じて、レプリカ数の上限値及び下限値を変更する点が、上述した第1の実施形態と異なる。
Second Embodiment
Next, a storage system and a management apparatus according to a second embodiment will be described with reference to the drawings.
The present embodiment differs from the above-described first embodiment in that the upper limit value and the lower limit value of the number of replicas are changed according to the degree of importance.

図16は、第2の実施形態によるストレージシステム1aの一例を示すブロック図である。
この図に示すように、ストレージシステム1aは、プロキシノード20と、複数のストレージノード(31、32、33、・・・)と、管理装置10aとを備えている。プロキシノード20と、ストレージノード(31、32、33、・・・)と、管理装置10aとは、ネットワークNTを介して互いに接続される。また、ストレージシステム1aは、ネットワークNTを介してクライアント端末2と接続可能になっている。
なお、この図において、図1に示す構成と同一の構成については同一の符号を付し、その説明を省略する。
FIG. 16 is a block diagram showing an example of a storage system 1a according to the second embodiment.
As shown in this figure, the storage system 1a includes a proxy node 20, a plurality of storage nodes (31, 32, 33,...), And a management device 10a. The proxy node 20, the storage nodes (31, 32, 33,...), And the management device 10a are connected to one another via the network NT. The storage system 1a is also connectable to the client terminal 2 via the network NT.
In this figure, the same components as those shown in FIG. 1 are denoted by the same reference numerals and the description thereof will be omitted.

管理装置10aは、ストレージシステム1aのレプリカ数を管理するコンピュータ装置である。管理装置10aは、例えば、管理記憶部110aと、管理制御部120aとを備えている。
管理記憶部110aは、管理装置10aの各種処理に利用する情報を記憶する。管理記憶部110aは、例えば、レプリカ数記憶部111aと、変更情報記憶部112とを備えている。
The management device 10a is a computer device that manages the number of replicas of the storage system 1a. The management device 10a includes, for example, a management storage unit 110a and a management control unit 120a.
The management storage unit 110a stores information used for various processes of the management device 10a. The management storage unit 110 a includes, for example, a replica number storage unit 111 a and a change information storage unit 112.

レプリカ数記憶部111aは、例えば、図17に示すように、レプリカ数の上限値及び下限値を記憶する。なお、本実施形態では、重要度ごとに、レプリカ数の上限値及び下限値が予め定められており、レプリカ数記憶部111aは、重要度と、レプリカ数の上限値及び下限値とをかん関連付けて記憶する。
図17は、本実施形態におけるレプリカ数記憶部111aのデータ例を示す図である。
この図に示すように、レプリカ数記憶部111aは、「重要度」と、「上限値」と、「下限値」とを関連付けて記憶する。ここでの「重要度」は、例えば、コンテナごとに設定される重要度のことである。
図17に示し例では、「重要度」が“100”の場合に、「上限値」が“5”、「下限値」が“3”であることを示している。また、「重要度」が“10”の場合に、「上限値」が“3”、「下限値」が“2”であることを示している。
このように、レプリカ数記憶部111aは、重要度ごとのレプリカ数の上限値及び下限値を記憶する。なお、上述した図17に示す例では、重要度ごとに、レプリカ数の上限値及び下限値を変更する一例を説明したが、レプリカ数の上限値及び下限値のうちの少なくとも一方が重要度ごと変更されるようにしてもよい。
The replica number storage unit 111a stores, for example, the upper limit value and the lower limit value of the number of replicas, as shown in FIG. In the present embodiment, the upper limit value and the lower limit value of the number of replicas are determined in advance for each degree of importance, and the replica number storage unit 111a associates the importance level with the upper limit value and the lower limit value of the number of replicas. To memorize.
FIG. 17 is a diagram showing an example of data of the replica number storage unit 111a in the present embodiment.
As shown in this figure, the replica number storage unit 111 a associates and stores “importance level”, “upper limit value”, and “lower limit value”. Here, the “importance” is, for example, the importance set for each container.
In the example shown in FIG. 17, when the “importance level” is “100”, it is indicated that the “upper limit value” is “5” and the “lower limit value” is “3”. Further, when the “importance level” is “10”, it indicates that the “upper limit value” is “3” and the “lower limit value” is “2”.
Thus, the replica number storage unit 111a stores the upper limit value and the lower limit value of the replica number for each degree of importance. In the example shown in FIG. 17 described above, an example has been described in which the upper limit value and the lower limit value of the number of replicas are changed for each degree of importance, but at least one of the upper limit value and the lower limit value of the number of replicas is for each degree of importance It may be changed.

図16の説明に戻り、本実施形態の変更情報記憶部112は、第1の実施形態と同様であるが、重要度ごとのレプリカ数の上限値及び下限値が設定される点において異なる。   Returning to the description of FIG. 16, the change information storage unit 112 of this embodiment is the same as that of the first embodiment, except that the upper limit value and the lower limit value of the number of replicas for each importance are set.

管理制御部120aは、例えば、CPUなどを含むプロセッサであり、管理装置10aを統括的に制御する。管理制御部120aは、例えば、空き容量検出部121と、リング変更部122aと、重要度変更部123とを備えている。   The management control unit 120a is, for example, a processor including a CPU, and centrally controls the management device 10a. The management control unit 120a includes, for example, a free space detection unit 121, a ring change unit 122a, and an importance change unit 123.

リング変更部122aは、基本的には第1の実施形態におけるリング変更部122と同様であるが、レプリカ数記憶部111aが記憶する重要度ごとの上限値及び下限値を用いる点が異なる。リング変更部122aは、コンテナ情報記憶部322からコンテナごとの重要度を取得し、取得したコンテナごとの重要度に対応するレプリカ数の上限値及び下限値をレプリカ数記憶部111aから取得する。リング変更部122aは、取得したレプリカ数の上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。   The ring changing unit 122a is basically the same as the ring changing unit 122 in the first embodiment, except that the upper limit value and the lower limit value for each degree of importance stored in the replica number storage unit 111a are used. The ring changing unit 122a acquires the importance of each container from the container information storage unit 322, and acquires the upper limit value and the lower limit of the number of replicas corresponding to the acquired importance of each container from the replica number storage unit 111a. The ring changing unit 122a changes the setting of the number of replicas for each container between the upper limit value and the lower limit value of the acquired number of replicas.

重要度変更部123(変更部の一例)は、例えば、クライアント端末2からの変更要求に応じて、コンテナごとの重要度を変更する。重要度変更部123は、取得した変更要求に基づいて、コンテナ情報記憶部322が記憶する「重要度」の値を変更する。なお、重要度変更部123は、クライアント端末2からの変更要求の他に、各コンテナへのアクセス頻度に応じて、重要度を変更するようにしてもよい。すなわち、重要度変更部123は、各コンテナに対するアクセス頻度を検出し、例えば、アクセス頻度の高いコンテナの重要度を高める処理を実行する。本実施形態のストレージシステム1aでは、アクセス頻度の高いコンテナの重要度が高められることにより、当該コンテナに対応するレプリカ数の上限値及び下限値が変更され、格納データの信頼性が向上される。   The importance change unit 123 (an example of a change unit) changes the importance of each container in response to a change request from the client terminal 2, for example. The importance changing unit 123 changes the value of “importance” stored in the container information storage unit 322 based on the acquired change request. In addition to the change request from the client terminal 2, the importance change unit 123 may change the importance according to the access frequency to each container. That is, the importance changing unit 123 detects the access frequency to each container, and executes, for example, processing to increase the importance of the container with high access frequency. In the storage system 1a of the present embodiment, the upper limit value and the lower limit value of the number of replicas corresponding to the container are changed by raising the importance of the container with high access frequency, and the reliability of stored data is improved.

以上説明したように、本実施形態による管理装置10aは、レプリカ数記憶部111aは、重要度ごとのレプリカ数の上限値及び下限値を記憶する。ここで、レプリカ数の上限値及び下限値のうちの少なくとも一方は、コンテナ(階層構造)の重要度に基づいて設定される。
これにより、本実施形態による管理装置10aは、重要度に応じて、レプリカ数をコンテナごとに柔軟に変更することができる。
As described above, in the management device 10a according to the present embodiment, the replica number storage unit 111a stores the upper limit value and the lower limit value of the number of replicas for each degree of importance. Here, at least one of the upper limit value and the lower limit value of the number of replicas is set based on the importance of the container (hierarchical structure).
As a result, the management apparatus 10a according to the present embodiment can flexibly change the number of replicas for each container according to the degree of importance.

また、本実施形態による管理装置10aは、各コンテナへのアクセス頻度に応じて、重要度を変更する重要度変更部123を備えている。
これにより、本実施形態による管理装置10aは、コンテナへのアクセス頻度に応じて、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the management device 10a according to the present embodiment includes the importance changing unit 123 that changes the importance according to the access frequency to each container.
Thereby, the management apparatus 10a according to the present embodiment can dynamically improve the reliability of stored data while effectively utilizing the surplus capacity of the storage according to the access frequency to the container.

なお、本発明は、上記の各実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で変更可能である。
例えば、上記の各実施形態において、階層構造の一例として、コンテナごとに、重要度を設定する例を説明したが、これに限定されるものではなく、オブジェクトごと、アカウントごとに、重要度を設定するようにしてもよい。
In addition, this invention is not limited to said each embodiment, It can change in the range which does not deviate from the meaning of this invention.
For example, in each of the above embodiments, an example of setting the importance level for each container has been described as an example of the hierarchical structure, but the present invention is not limited to this. The importance level is set for each object or account. You may do it.

また、上記の各実施形態において、重要度ごとにリングファイルが設けられている例を説明したが、これに限定されるものではなく、例えば、コンテナごとにリングファイルが設けられていてもよい。
また、上記の各実施形態において、レプリカ数の調整処理をプロキシノード20が実行する例を説明したが、コンテナサーバ(ストレージノード32)などの他の装置が実行するようにしてもよい。
また、プロキシノード20が、レプリカ数の調整処理を定期的に実行する例を説明したが、これに限定されるものではなく、オブジェクトの追加又は削除(消去)の要求がクライアント端末2からあった場合、レプリカ数の調整処理を実行するようにしてもよい。
In each of the above-described embodiments, the ring file is provided for each degree of importance. However, the present invention is not limited to this. For example, a ring file may be provided for each container.
In each of the above embodiments, the proxy node 20 executes the adjustment processing of the number of replicas. However, another apparatus such as a container server (storage node 32) may execute the adjustment processing of the number of replicas.
In addition, although an example in which the proxy node 20 periodically executes the adjustment processing of the number of replicas has been described, the present invention is not limited to this, and the client terminal 2 receives a request for adding or deleting (erasing) an object In this case, adjustment processing of the number of replicas may be performed.

また、上記の各実施形態において、管理装置10(10a)は、1つの装置で実現する例を説明したが、複数のサーバ装置により実現されてもよい。また、管理記憶部110(110a)の一部又は全部を管理装置10(10a)の外部に備えるようにしてもよい。
また、管理装置10(10a)は、変更情報記憶部112を備える例を説明したが、変更情報記憶部112を備える代わりに、演算などの他の手段により、上限値と下限値との間のレプリカ数を生成するようにしてもよい。
In each of the above embodiments, the management device 10 (10 a) has been described as an example realized by one device, but may be realized by a plurality of server devices. Further, a part or all of the management storage unit 110 (110a) may be provided outside the management apparatus 10 (10a).
Further, although the management apparatus 10 (10a) has been described as an example including the change information storage unit 112, instead of including the change information storage unit 112, another means such as calculation may be used to set between the upper limit value and the lower limit value. The number of replicas may be generated.

上記の各実施形態において、データ(例えば、オブジェクト)の複製を削除又は追加する場合に、サイズが大きいデータ(例えば、オブジェクト)を優先する例を説明したが、これに限定されるものではい。例えば、削除又は追加するデータ(例えば、オブジェクト)は、ランダムに決定されてもよいし、他のルールに従って決定されてもよい。   In each of the above-described embodiments, when deletion or addition of duplication of data (for example, an object) is described, an example in which large data (for example, an object) is prioritized has been described, but the present invention is not limited thereto. For example, data to be deleted or added (for example, an object) may be randomly determined or determined according to other rules.

なお、上述したストレージシステム1(1a)が備える各構成は、内部に、コンピュータシステムを有している。そして、上述したストレージシステム1(1a)が備える各構成の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述したストレージシステム1(1a)が備える各構成における処理を行ってもよい。ここで、「記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行する」とは、コンピュータシステムにプログラムをインストールすることを含む。ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、インターネットやWAN、LAN、専用回線等の通信回線を含むネットワークを介して接続された複数のコンピュータ装置を含んでもよい。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。このように、プログラムを記憶した記録媒体は、CD−ROM等の非一過性の記録媒体であってもよい。
Each component of the storage system 1 (1a) described above has a computer system inside. Then, a program for realizing the function of each configuration included in the storage system 1 (1a) described above is recorded in a computer readable recording medium, and the program recorded in the recording medium is read into the computer system and executed. By doing this, processing in each configuration provided in the above-described storage system 1 (1a) may be performed. Here, "to read and execute the program recorded on the recording medium into the computer system" includes installing the program on the computer system. The “computer system” mentioned here includes an OS and hardware such as peripheral devices.
Also, the “computer system” may include a plurality of computer devices connected via a network including communication lines such as the Internet, WAN, LAN, and dedicated lines. The term "computer-readable recording medium" refers to a storage medium such as a flexible disk, a magneto-optical disk, a ROM, a portable medium such as a ROM or a CD-ROM, or a hard disk built in a computer system. As described above, the recording medium storing the program may be a non-transitory recording medium such as a CD-ROM.

また、記録媒体には、当該プログラムを配信するために配信サーバからアクセス可能な内部又は外部に設けられた記録媒体も含まれる。なお、プログラムを複数に分割し、それぞれ異なるタイミングでダウンロードした後にストレージシステム1(1a)が備える各構成で合体される構成や、分割されたプログラムのそれぞれを配信する配信サーバが異なっていてもよい。さらに「コンピュータ読み取り可能な記録媒体」とは、ネットワークを介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、上述した機能の一部を実現するためのものであってもよい。さらに、上述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。   The recording medium also includes a recording medium provided internally or externally accessible from the distribution server for distributing the program. The program may be divided into a plurality of parts, and after downloading at different timings, the configuration combined in each configuration of the storage system 1 (1a) may be different, or the distribution server for distributing each of the divided programs may be different. . Furthermore, "computer-readable recording medium" holds a program for a certain period of time, such as a volatile memory (RAM) in a computer system serving as a server or a client when the program is transmitted via a network. We shall include things. Further, the program may be for realizing a part of the functions described above. Furthermore, it may be a so-called difference file (difference program) that can realize the above-described functions in combination with a program already recorded in the computer system.

また、上述した機能の一部又は全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。上述した各機能は個別にプロセッサ化してもよいし、一部、又は全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、又は汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。   In addition, part or all of the above-described functions may be realized as an integrated circuit such as LSI (Large Scale Integration). Each function mentioned above may be processor-ized separately, and part or all may be integrated and processor-ized. Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. In the case where an integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology, integrated circuits based on such technology may also be used.

1、1a ストレージシステム
2 クライアント端末
10、10a 管理装置
20 プロキシノード
30、33 ストレージノード
31 ストレージノード(アカウントサーバ)
32 ストレージノード(コンテナサーバ)
110、110a 管理記憶部
111、111a レプリカ数記憶部
112 変更情報記憶部
120、120a 管理制御部
121 空き容量検出部
122、122a リング変更部
123 重要度変更部
210、310、320、330 記憶部
211、311、321、331 リングファイル記憶部
312 アカウント情報記憶部
322 コンテナ情報記憶部
NT ネットワーク
1, 1a storage system 2 client terminal 10, 10a management device 20 proxy node 30, 33 storage node 31 storage node (account server)
32 Storage node (container server)
110, 110a Management storage unit 111, 111a Replica number storage unit 112 Change information storage unit 120, 120a Management control unit 121 Free space detection unit 122, 122a Ring change unit 123 Importance change unit 210, 310, 320, 330 Storage unit 211 , 311, 321, 331 Ring file storage unit 312 Account information storage unit 322 Container information storage unit NT Network

Claims (8)

データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納するストレージシステムの管理装置であって、
前記ストレージシステムの空き容量を検出する検出部と、
前記ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部と、
前記検出部が検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更部と
を備えることを特徴とする管理装置。
A management system of a storage system, which is a number of replicas indicating the number of objects to be copied and stored, which is a group of data, and which distributes and stores the objects based on the set number of replicas.
A detection unit that detects the free space of the storage system;
Change information of the number of replicas including the free capacity of the storage system and the decimal value set corresponding to the importance of each container that stores the object thereunder as a lower hierarchy, and the importance is low A change information storage unit for storing change information of the number of replicas set so that the number of replicas decreases from a state where the free capacity of the storage system is large;
The change information of the number of replicas corresponding to the free space of the storage system detected by the detection unit and the degree of importance of each container storing the object is read from the change information storage unit, and the number of replicas read is changed And a change unit configured to change the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below a predetermined lower limit value of the number of replicas according to information. Management device.
前記レプリカ数の上限値及び下限値を記憶するレプリカ数記憶部を備え、
前記変更部は、
前記コンテナと重要度とを関連付けて記憶する重要度記憶部から前記コンテナごとの重要度を取得し、取得した前記コンテナごとの重要度と、前記空き容量とに基づいて、前記レプリカ数記憶部が記憶する前記上限値と前記下限値との間で前記レプリカ数の設定を前記コンテナごとに変更する
ことを特徴とする請求項1に記載の管理装置。
A replica number storage unit for storing the upper limit value and the lower limit value of the replica number;
The change unit is
The importance of each container is acquired from the importance storage unit that associates and stores the container and the importance, and the replica number storage unit is based on the acquired importance of each container and the free space. The management apparatus according to claim 1, wherein the setting of the number of replicas is changed for each of the containers between the upper limit value and the lower limit value to be stored.
前記レプリカ数記憶部は、重要度ごとの前記レプリカ数の上限値及び下限値を記憶し、
前記レプリカ数の上限値及び下限値のうちの少なくとも一方は、前記コンテナの重要度に基づいて設定される
ことを特徴とする請求項2に記載の管理装置。
The replica number storage unit stores an upper limit value and a lower limit value of the replica number for each degree of importance,
The management device according to claim 2, wherein at least one of the upper limit value and the lower limit value of the number of replicas is set based on the degree of importance of the container.
前記検出部は、定期的に前記ストレージシステムの空き容量を検出し、
前記変更部は、前記検出部が検出したストレージシステム1の空き容量に応じて、前記定期的に前記レプリカ数の設定を変更する
ことを特徴とする請求項1から請求項3のいずれか一項に記載の管理装置。
The detection unit periodically detects the free space of the storage system,
The said change part changes the setting of the said number of replicas regularly according to the free capacity of the storage system 1 which the said detection part detected. The claim any one of the Claims 1-3 characterized by the above-mentioned. Management device described in.
請求項1から請求項4のいずれか一項に記載の管理装置と、
前記コンテナにおける平均レプリカ数が、前記管理装置によって設定された前記レプリカ数になるように、前記コンテナの配下に格納されている前記オブジェクトのレプリカ数を調整するサーバ装置と
を備えること特徴とするストレージシステム。
The management apparatus according to any one of claims 1 to 4.
And a server device for adjusting the number of replicas of the object stored under the container such that the average number of replicas in the container is equal to the number of replicas set by the management device. system.
前記管理装置によって変更された前記レプリカ数に基づいて、格納されている前記オブジェクトの複製が削除又は追加される複数のストレージ装置を備え、
前記サーバ装置は、前記ストレージ装置において、前記オブジェクトの複製を削除又は追加する場合に、前記コンテナの配下に格納されている前記オブジェクトのうち、サイズが大きいオブジェクトを優先する
ことを特徴とする請求項5に記載のストレージシステム。
The storage apparatus includes a plurality of storage devices to which duplicates of the stored objects are deleted or added based on the number of replicas changed by the management device.
When deleting or adding a duplicate of the object in the storage device, the server device gives priority to an object having a large size among the objects stored under the container. The storage system according to 5.
データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納し、ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部を備えるストレージシステムのストレージ管理方法であって、
検出部が、前記ストレージシステムの空き容量を検出する検出ステップと、
変更部が、前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップと
を含むことを特徴とするストレージ管理方法。
It is the number of replicas that indicates the number of objects to be replicated and stored as a set of data, and the objects are distributed and stored based on the set number of replicas, and the free space of the storage system and lower hierarchy Change information of the number of replicas including a decimal value set corresponding to the degree of importance of each container under which the object is stored, wherein the lower the degree of importance, the larger the free space of the storage system A storage management method of a storage system, comprising: a change information storage unit that stores change information of the number of replicas set so that the number of replicas decreases.
A detection step of detecting a free space of the storage system by a detection unit;
The changing unit reads, from the change information storage unit, the change information of the number of replicas corresponding to the free space of the storage system detected in the detection step and the importance of each container storing the object. Changing the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below a predetermined lower limit value of the number of replicas according to change information of the number of replicas; Storage management method characterized by including.
データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納し、ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部を備えるストレージシステムのコンピュータに、
前記ストレージシステムの空き容量を検出する検出ステップと、
前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップと
を実行させるためのプログラム。
It is the number of replicas that indicates the number of objects to be replicated and stored as a set of data, and the objects are distributed and stored based on the set number of replicas, and the free space of the storage system and lower hierarchy Change information of the number of replicas including a decimal value set corresponding to the degree of importance of each container under which the object is stored, wherein the lower the degree of importance, the larger the free space of the storage system A computer of a storage system comprising: a change information storage unit storing change information of the number of replicas set so that the number of replicas decreases.
A detection step of detecting the free capacity of the storage system;
The change information of the number of replicas corresponding to the free space of the storage system detected in the detection step and the importance of each container storing the object is read from the change information storage unit, and the read number of the replicas is read Changing the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below a predetermined lower limit value of the number of replicas according to the change information program.
JP2019045468A 2019-03-13 2019-03-13 Management device, storage system, storage management method, and program Active JP6676203B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019045468A JP6676203B2 (en) 2019-03-13 2019-03-13 Management device, storage system, storage management method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019045468A JP6676203B2 (en) 2019-03-13 2019-03-13 Management device, storage system, storage management method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014233706A Division JP2016099659A (en) 2014-11-18 2014-11-18 Management device, storage system, storage management method, and program

Publications (2)

Publication Number Publication Date
JP2019087287A true JP2019087287A (en) 2019-06-06
JP6676203B2 JP6676203B2 (en) 2020-04-08

Family

ID=66764302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019045468A Active JP6676203B2 (en) 2019-03-13 2019-03-13 Management device, storage system, storage management method, and program

Country Status (1)

Country Link
JP (1) JP6676203B2 (en)

Also Published As

Publication number Publication date
JP6676203B2 (en) 2020-04-08

Similar Documents

Publication Publication Date Title
US10896102B2 (en) Implementing secure communication in a distributed computing system
KR101099202B1 (en) Synchronization logical views independent of physical storage representations
JP4714778B2 (en) Archive device, conversion device, and conversion program
US20050234867A1 (en) Method and apparatus for managing file, computer product, and file system
US9031906B2 (en) Method of managing data in asymmetric cluster file system
US20160378846A1 (en) Object based storage cluster with multiple selectable data handling policies
CN112565325B (en) Mirror image file management method, device and system, computer equipment and storage medium
JP2008015984A (en) Data migration device, method and program
US20190213240A1 (en) Multimodal sharing of content between documents
JP2010198383A (en) Storage device, software updating method, and software updating program
CN110022338B (en) File reading method and system, metadata server and user equipment
JP2008181213A (en) Information management system, information management device, and program
US11575647B1 (en) Distributed network address allocation management
JP2003216521A (en) Content disposition method, program for method, and recording medium recording program
JP2010231567A (en) Storage switch and method for changing storage area size
CN111930315A (en) Data access method, data access device and storage medium
JP2016099659A (en) Management device, storage system, storage management method, and program
JP6676203B2 (en) Management device, storage system, storage management method, and program
JP2010231690A (en) Storage system
JP2003157194A (en) File server program
CN114415980B (en) Multi-cloud cluster data management system, method and device
JP7491545B2 (en) Information Processing Method
CN117041258B (en) BIM engineering information management system
CN112269758B (en) File migration method based on file classification and related device
US20240004575A1 (en) Storage system and data management method of storage system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190313

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200212

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200311

R150 Certificate of patent or registration of utility model

Ref document number: 6676203

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250