JP6676203B2 - Management device, storage system, storage management method, and program - Google Patents

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

Info

Publication number
JP6676203B2
JP6676203B2 JP2019045468A JP2019045468A JP6676203B2 JP 6676203 B2 JP6676203 B2 JP 6676203B2 JP 2019045468 A JP2019045468 A JP 2019045468A JP 2019045468 A JP2019045468 A JP 2019045468A JP 6676203 B2 JP6676203 B2 JP 6676203B2
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.)
Active
Application number
JP2019045468A
Other languages
Japanese (ja)
Other versions
JP2019087287A (en
Inventor
悠二 萩原
悠二 萩原
広志 三浦
広志 三浦
山田 大輔
大輔 山田
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 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)

Description

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

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

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

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

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

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

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

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

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

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

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

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

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

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

以下、本発明の一実施形態によるストレージシステム及び管理装置について図面を参照して説明する。   Hereinafter, a storage system and a management device 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 illustrating an example of a storage system 1 according to the first embodiment.
As shown in FIG. 1, the storage system 1 includes a proxy node 20, a plurality of storage nodes (31, 32, 33,...), And a management device 10. The proxy node 20, the storage nodes (31, 32, 33,...), And the management device 10 are connected to each other via a network NT. The storage system 1 can be connected 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 stores data in a distributed manner based on the set number of replicas. Here, the number of replicas indicates the number of data to be copied and stored, and is the number of replicas including original data.
In this embodiment, a group of data is referred to as an “object”. The storage system 1 stores one object in a distributed manner among 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 nodes 31, 32, 33,... Includes a ring file storage unit (311, 321, 331), which will be described later, and has the same configuration for storing objects. The storage node 31, the storage node 32, the storage node 33,... Indicate an arbitrary storage node included in the storage system 1, or will be described as the storage node 30 unless otherwise specified.

クライアント端末2は、ストレージシステム1が備えるストレージにオブジェクトの書き込み要求や読み出し要求などを送信するコンピュータ装置であり、例えば、エンドユーザの端末装置やネットワークNTを介してリソースの提供などのサービスをエンドユーザに提供するサーバ装置である。クライアント端末2は、オブジェクトの書き込みや読み出し、消去などをプロキシノード20に要求する。   The client terminal 2 is a computer device that transmits a write request or a read request of an object to a storage provided in the storage system 1. Is a server device provided to the user. 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, when receiving a request to write an object from the client terminal 2, the proxy node 20 selects a plurality of storage nodes 30 specified by a ring file described later from all the storage nodes 30, and selects the selected storage nodes 30. To send a write request for the same object. In the example illustrated in FIG. 1, an example in which the storage system 1 includes one proxy node 20 will be described. However, the storage system 1 may include a plurality of proxy nodes 20.
The proxy node 20 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 location (a server device or a disk) where the data is stored. Details of the ring file will be described later. The ring file storage unit 211 stores a plurality of ring files corresponding to the importance of data, for example, as shown in FIG.

図2は、本実施形態におけるリングファイル記憶部211の一例を示す図である。
この図に示す例では、リングファイル記憶部211は、複数のリングファイル(「リングファイルA」、「リングファイルB」、・・・)を備えている。なお、リングファイル記憶部211が記憶する各リングファイルは、データの重要度に対応しており、本実施形態では、リングファイル記憶部211は、重要度ごとのリングファイルを記憶するものとする。
FIG. 2 is a diagram illustrating an example of the ring file storage unit 211 according to the present embodiment.
In the example shown in this figure, the ring file storage unit 211 has 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 the object, and device list information. The ring information includes a head part (prefix) of the hash value calculated from the object name, a storage location (including a device ID and a storage location candidate) of the object corresponding to the head part, the number of replicas, and the importance. The associated information. Here, it is assumed that the hash value is calculated so that storage destinations are evenly allocated.

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

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

また、図4は、本実施形態におけるリングファイルのデバイス一覧情報のデータ例を示す図である。
図4に示すように、デバイス一覧情報は、「デバイスID」と、「IPアドレス」と、「ポート」と、「デバイス名」とを関連付けた情報を複数含んでいる。ここで、「デバイスID」は、デバイス(サーバ装置、ディスク)を識別する識別情報を示している。また、「IPアドレス」及び「ポート」は、デバイスのIPアドレス及びポート番号を示している。また、「デバイス名」は、デバイスの名称を示している。
FIG. 4 is a diagram illustrating a data example of device list information of a ring file according to 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 device, disk). “IP address” and “port” indicate the IP address and port number of the device. “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 the “device ID” is “xxxx”, the “port” is “8000”, and the “device name” is “ZZ”. ".
In this way, the ring file sets the “number of replicas” and specifies the “IP address”, “port”, and “device name” of the device that is the storage destination from the name of the object.

図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 receiving a request to write or read an object from the proxy node 20, the storage node 30 writes or reads the object and transmits the object to the proxy node 20.
The storage nodes 30 include a storage node 31 (account server) for managing accounts, a storage node 32 (container server) for managing containers, and the like, in addition to a normal storage node 33 for storing objects. Here, the container indicates, for example, a container for storing an object, and corresponds to a directory or a folder in a file system. The account indicates, for example, a container that stores a container. As described above, the upper layer structure of the object is the container, the upper layer of the container is the account, and the object, the container, and the account indicate the data layer structure.

ストレージノード31(アカウントサーバ)は、例えば、オブジェクトを格納するとともに、アカウントを管理する。ストレージノード31は、例えば、記憶部310を備えている。
記憶部310は、ストレージノード31の各種処理に利用する情報を記憶する。記憶部310は、例えば、リングファイル記憶部311と、アカウント情報記憶部312とを備えている。
The storage node 31 (account server) stores objects and manages accounts, for example. 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 a description thereof will be omitted.
The account information storage unit 312 stores account management information for managing accounts. 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 diagram illustrating a data example of account information according to the present embodiment.
As illustrated in FIG. 5, the account information storage unit 312 stores, for example, account information in association with “account name”, “number of containers”, “hash value of name”, and “account ID”. Here, the “account name” indicates the name of the account, and the “hash value of the name” indicates the hash value of the “account name”. The “number of containers” indicates the number of containers existing under the account, and the “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, the “hash value of the name” is “XXXXXXXXXXXXXX”, and the “account ID” is “YYYYYYYYY”. ".

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

図6に示す例では、「NO.」が“1”のコンテナは、「コンテナ名」が“testcont1”であり、「作成時刻」が“2014−10−01 10:00:00”であることを示している。また、「名前のハッシュ値」が“YYYYYYYYYYYY”であり。「コンテナID」が“ZZZZZ”であることを示している。   In the example shown in FIG. 6, the container whose “NO.” Is “1” has a “container name” of “testcont1” and a “creation time” of “2014-10-01 10: 00: 00: 00” Is shown. The “hash value of the name” is “YYYYYYYYYYYY”. This 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) stores objects and manages containers, for example. 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 a description thereof will be omitted.
The container information storage unit 322 (an example of the importance storage unit) stores container management information for managing containers. 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 illustrating an example of data of container information according to the present embodiment.
As illustrated in FIG. 7, the container information storage unit 322 stores, for example, “account name”, “container name”, “creation time”, “deletion time”, “object number”, and “byte number”. , “Name hash value”, “container ID”, and “importance” are stored in association with each other as container information. Here, “account name” indicates the name of a higher-level account, and “container name” indicates the name of the container. The “creation time”, “deletion time”, “name hash value”, and “container ID” are the same as the container list information described above. The “number of objects” and the “number of bytes” indicate the number of objects and the number of bytes of data under the container, and the “importance” indicates the importance of the container.
As described above, the container information storage unit 322 stores a container (hierarchical structure) for storing data in association with importance.

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

また、図8は、本実施形態におけるオブジェクト一覧情報のデータ例を示す図である。
図8に示すように、コンテナ情報記憶部322は、例えば、「NO.」と、「オブジェクト名」と、「作成時刻」と、「バイト数」と、「コンテンツ種別」と、「ハッシュ値」と、「削除済フラグ」とを関連付けた情報を複数有するオブジェクト一覧情報を記憶する。ここで、「NO.」は、オブジェクト一覧情報の行番号を示し、「オブジェクト名」は、当該オブジェクトの名称を示している。また、「作成時刻」は、当該オブジェクトの作成時刻を示し、「バイト数」及び「コンテンツ種別」は、オブジェクトのバイト数及びオブジェクトの種別(例えば、画像、動画、テキストなど)を示している。また、「ハッシュ値」は、当該「オブジェクト名」のハッシュ値を示し、「削除済フラグ」は、当該オブジェクトが削除されたか否かを示している。
FIG. 8 is a diagram illustrating a data example of the object list information in the present embodiment.
As shown in FIG. 8, the container information storage unit 322 stores, for example, “NO.”, “Object name”, “creation time”, “byte number”, “content type”, and “hash value”. And object list information having a plurality of pieces of information associated with the “deletion flag”. Here, “NO.” Indicates the line number of the object list information, and “Object name” indicates the name of the object. “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 the object (for example, image, moving image, text, and the like). The “hash value” indicates a hash value of the “object name”, and the “deleted flag” indicates whether the object has been 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, the object whose “NO.” Is “1” has the “object name” of “obj1” and the “creation time” of “2014-10-02 10: 00: 00: 00”. Is shown. Also, this indicates that the “number of bytes” is “3072” bytes and the “content type” is “image / jpeg” (jpeg image). The “hash value” is “AAAAAAAAAAAAA”. This indicates that the “deleted flag” is “NO”.
In the above-described example, an example in which one account and one container are used has been described, but the storage system 1 may include a plurality of accounts and containers.

再び、図1の説明に戻り、ストレージノード33(30)は、例えば、オブジェクトを格納し、例えば、記憶部330を備えている。
記憶部330は、ストレージノード33の各種処理に利用する情報を記憶する。記憶部330は、例えば、リングファイル記憶部331を備えている。
リングファイル記憶部331は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
Returning to the description of 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 above-described ring file storage unit 211, and a description thereof will not be repeated.

管理装置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 device 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 number-of-replicas storage unit 111 stores, for example, an upper limit value and a lower limit value of the number of replicas, as shown in FIG. In this 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 stores the upper limit value and the lower limit value of the number of replicas in the storage system 1 as a whole. Is stored.
FIG. 9 is a diagram illustrating an example of data in the replica number storage unit 111 according to the present embodiment.
As shown in this figure, the replica number storage unit 111 stores an “upper limit” and a “lower limit” in association with each other. Here, “upper limit” indicates the upper limit of the number of replicas in the entire storage system 1, and “lower limit” indicates the lower limit of the number of replicas in the entire storage system 1.
In the example shown in FIG. 9, the “upper limit” is “5” and the “lower limit” is “2”.

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

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

なお、レプリカ数は、自然数に限定されるものではなく、自然数及び小数を含む実数であってもよい。レプリカ数が小数を含む実数である場合には、ストレージシステム1は、例えば、図11に示すように、コンテナごとに平均値としてレプリカ数を実現できるように各オブジェクトを複製して格納する。   Note that the number of replicas is not limited to a natural number, and may be a real number including a natural number and a decimal number. When the number of replicas is a real number including a decimal, for example, as shown in FIG. 11, the storage system 1 duplicates 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 illustrating an example of a logical hierarchical structure of a storage according to the present embodiment.
The example illustrated in FIG. 11 illustrates an example in which, for example, a container C1 exists under the account A1. The container C1 stores “Object 1” (OB1), “Object 2” (OB2), and “Object 3” (OB3). Here, “Object 1” (OB1) and “Object 2” (OB2) each have a replica number of “3” and are stored at three locations. “Object 3” (OB3) has a replica count of “2” and is stored at two locations. In this case, the number of replicas of the entire container C1 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 for each container by using real numbers including decimal numbers.

再び、図1の説明に戻り、管理制御部120は、例えば、CPU(Central Processing Unit)などを含むプロセッサであり、管理装置10を統括的に制御する。管理制御部120は、例えば、空き容量検出部121と、リング変更部122とを備えている。   Returning to the description of FIG. 1 again, the management control unit 120 is, for example, a processor including a CPU (Central Processing Unit), and controls the management device 10 in an integrated manner. 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 space detecting unit 121 periodically detects the free space of the storage system 1 at predetermined time intervals. The free space detecting unit 121 acquires, for example, account management information stored in an account server corresponding to each account and container management information stored in a container server corresponding to each container, and acquires the acquired account management information and container management. Based on the information, the free capacity of the storage system 1 is detected.

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

上述したプロキシノード20は、リングファイル記憶部211が記憶するリングファイル内のレプリカ数と、コンテナ情報記憶部322が記憶するコンテナ管理情報とを定期的に確認して、リングファイル内のレプリカ数の変更に応じて、各オブジェクトのレプリカ数を変更する。すなわち、プロキシノード20は、定期的に、各コンテナの平均レプリカ数がリングファイル内のレプリカ数と一致するように、各オブジェクトの複製を削除又は追加して調整する。すなわち、プロキシノード20は、コンテナにおける平均レプリカ数が、管理装置10によって設定されたレプリカ数になるように、コンテナの配下に格納されているデータのレプリカ数を調整する。   The above-described proxy node 20 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 to determine the number of replicas in the ring file. Change the number of replicas for each object accordingly. That is, the proxy node 20 periodically deletes or adds copies 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 the data stored under the container such 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 illustrating an example of a process of changing the number of replicas according to the present embodiment.
FIG. 12 shows an example in which the storage system 1 has five containers “container A” to “container E”. 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”. It is assumed that the greater the value, the higher the importance. Further, in this example, it is assumed that the “upper limit” stored in the replica number storage unit 111 is “3” and the “lower limit” is “2”.

図12(a)は、ストレージシステム1の空き容量が大きい状態(例えば、80%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“3”に、重要度が“10”に対応するリングファイルのレプリカ数を“3”に、それぞれ設定する。この場合、プロキシノード20は、各コンテナの平均レプリカ数がリングファイル内のレプリカ数と一致するように、各オブジェクトの複製を削除又は追加して調整する。   FIG. 12A shows a state where the free space of the storage system 1 is large (for example, 80%). In this case, the management device 10 sets the number of replicas of the ring file corresponding to the importance “100” to “3”, the number of replicas of the ring file corresponding to the importance “50” to “3”, and sets the importance to “3”. Sets the number of replicas of the ring file corresponding to “10” to “3”. In this case, the proxy node 20 adjusts by deleting or adding a copy 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. 12B shows a state (for example, 50%) in which the free space of the storage system 1 is reduced as compared with FIG. 12A. In this case, the management device 10 sets the number of replicas of the ring file corresponding to the importance “100” to “3”, the number of replicas of the ring file corresponding to the importance “50” to “3”, and sets the importance to “3”. Set the number of replicas of the ring file corresponding to “10” to “2.5”, respectively. In this case, the proxy node 20 deletes and adjusts the copy 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 space of the storage system 1 is further reduced from that of FIG. 12B. In this case, the management device 10 sets the number of replicas of the ring file corresponding to the importance “100” to “3”, the number of replicas of the ring file corresponding to the importance “50” to “2.6”, The number of replicas of the ring file corresponding to the importance of “10” is set to “2”. In this case, the proxy node 20 deletes the duplicates of the objects of “Container C” and “Container D” so that the number of replicas of “Container C” and “Container D” match “2.6”. adjust. Also, the proxy node 20 deletes and adjusts the copy of the object of “Container E” so that the number of replicas of “Container E” matches “2”.

このように、管理装置10(リング変更部122)は、ストレージシステム1の空き容量に基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。   As described above, the management device 10 (ring change unit 122) sets the number of replicas for each container between the upper limit and the lower limit stored in the replica number storage unit 111 based on the free space of the storage system 1. 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 illustrating an example of an object adding process according to the present embodiment.

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

次に、プロキシノード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 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 referred 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 a device corresponding to the “device ID” of the ring information from the device list information shown in FIG. The proxy node 20 instructs the device of each storage node 30 about the determined arrangement of the object.

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

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

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

次に、図14を参照して、本実施形態におけるストレージシステム1のレプリカ数の変更処理の動作について説明する。
図14は、本実施形態におけるレプリカ数の変更処理の一例を示すフローチャートである。なお、図14に示す処理は、所定の時間間隔(例えば、数分単位、又は数時間単位)で定期的に実行されるものとする。
Next, with reference to FIG. 14, an operation of the change processing of the number of replicas of the storage system 1 in the present embodiment will be described.
FIG. 14 is a flowchart illustrating an example of a process of changing the number of replicas according to the present embodiment. It is assumed that the process illustrated in FIG. 14 is periodically executed at predetermined time intervals (for example, in units of several minutes or several hours).

この図において、まず、管理装置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 in the account server corresponding to each account and container management information stored in 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 is configured to fall 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. Next, the number of replicas for each importance is determined. The number of replicas determined here is a real number value including a natural number and a decimal number.

次に、リング変更部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 importance based on the determined number of replicas for each importance. Specifically, for example, the ring changing unit 122 generates a ring file in which the number of replicas in the current ring file has been changed. In the present embodiment, “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 for each container 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 importance to the proxy node 20 and the storage node 30. As a result, 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 processing in step S204, the ring changing unit 122 ends the processing.

次に、図15を参照して、ストレージシステム1において、更新されたリングファイルに基づいて、ストレージノード30のコンテナごとのレプリカ数が変更されるレプリカ数の調整処理について説明する。
図15は、本実施形態におけるレプリカ数の調整処理の一例を示すフローチャートである。なお、図15に示す処理は、所定の時間間隔(例えば、数分単位など)で定期的に実行されるものとする。
Next, with reference to FIG. 15, a description will be given of a process of adjusting 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.
FIG. 15 is a flowchart illustrating an example of a process of adjusting the number of replicas according to the present embodiment. Note that the process illustrated in FIG. 15 is periodically executed at predetermined time intervals (for example, in units of several minutes).

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

次に、プロキシノード20は、リングファイルに対応するコンテナのオブジェクトを確認する(ステップS302)。プロキシノード20は、例えば、コンテナ情報記憶部322が記憶するコンテナ管理情報を取得して、コンテナ管理情報の重要度が一致するリングファイルにより、コンテナ内のオブジェクトを確認する。プロキシノード20は、例えば、現在のコンテナ内の平均レプリカ数を算出する。   Next, the proxy node 20 checks the container object corresponding to the ring file (Step S302). For example, the proxy node 20 acquires the container management information stored in the container information storage unit 322, and confirms the object in the container by using a ring file whose 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 or not the arrangement of the object needs to be changed (Step S303). That is, the proxy node 20 determines, for each container, whether or not the number of replicas set in the ring file matches the average number of replicas in the current container. When it is necessary to change the arrangement of the objects (step S303: YES), the proxy node 20 advances the processing to step S304. In addition, 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 the number of copies (replica). That is, the proxy node 20 determines the object to be deleted or added so that the number of replicas set in the ring file and the average number of replicas in the container match in the container that needs to be changed. When deleting or adding a copy 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 copy of an object in the storage node 30, the proxy node 20 gives priority to an object having a larger 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 deletes or adds an object based on an instruction from the proxy node 20. The deletion or addition of an object is executed for a device set by a corresponding ring file.

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

このように、ストレージシステム1では、プロキシノード20が、定期的に、リングファイル及びコンテナ管理情報を確認することにより、リングファイルのレプリカ数の設定の変更に応じた、レプリカ数になるようにコンテナごとに調整する。   As described above, in the storage system 1, the proxy node 20 periodically checks the ring file and the container management information so that the number of replicas becomes equal to the number of replicas according 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 device 10 according to the present embodiment is a management device of the storage system 1 that stores data (eg, objects) in a distributed manner based on the set number of replicas. 121 (detection unit) and a ring change unit 122 (change unit). Here, the number of replicas indicates, for example, the number of times data is copied 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 according to the free space of the storage system 1 detected by the free space detecting unit 121 so as not to fall below a predetermined lower limit of the number of replicas.
Accordingly, the management device 10 according to the present embodiment increases the number of replicas when the free space is large, and decreases the number of replicas when the free space is small. Can be enhanced. Therefore, the management device 10 according to the present embodiment can dynamically improve the reliability of the stored data while effectively utilizing the surplus capacity of the storage.

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

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

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

また、本実施形態によるストレージシステム1は、管理装置10によって変更されたレプリカ数に基づいて、格納されているデータの複製が削除又は追加される複数のストレージノード30(ストレージ装置)を備えている。プロキシノード20は、ストレージノード30において、データの複製を削除又は追加する場合に、コンテナ(階層構造)の配下に格納されているデータのうち、サイズが大きいデータを優先する。
これにより、レプリカ数が変更された場合に、例えば、サイズの大きいオブジェクトからレプリカ数を変更するので、本実施形態によるストレージシステム1は、空き容量の変化により迅速に対応することができる。そのため、本実施形態によるストレージシステム1は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the storage system 1 according to the present embodiment includes a plurality of storage nodes 30 (storage devices) from 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 a copy of data in the storage node 30, the proxy node 20 gives priority to data having a large size among data stored under the container (hierarchical structure).
Accordingly, when the number of replicas is changed, for example, the number of replicas is changed from a large-sized object, so that the storage system 1 according to the present embodiment can quickly respond to a change in free space. Therefore, the storage system 1 according to the present embodiment can dynamically improve the reliability of the 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 for the storage system 1 that stores data in a distributed manner based on the number of replicas indicating the number of data to be copied and stored, based on the set number of replicas. And includes a detecting step and a changing 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 according to the free space of the storage system 1 detected in the detection step so as not to fall below a predetermined lower limit of the number of replicas.
Thus, the storage management method according to the present embodiment can dynamically improve the reliability of the stored data 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 device according to a second embodiment will be described with reference to the drawings.
This embodiment differs from the first embodiment in that the upper limit and the lower limit of the number of replicas are changed according to the 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 illustrating an example of the 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 each other via a network NT. The storage system 1a can be connected 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 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 110a includes, for example, a replica number storage unit 111a 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, an upper limit value and a lower limit value of the number of replicas as illustrated in FIG. In this embodiment, the upper limit and the lower limit of the number of replicas are determined in advance for each importance, and the replica number storage unit 111a associates the importance with the upper limit and the lower limit of the number of replicas. To remember.
FIG. 17 is a diagram illustrating an example of data in the replica number storage unit 111a according to the present embodiment.
As shown in the figure, the replica number storage unit 111a stores “importance”, “upper limit”, and “lower limit” in association with each other. The “importance” here is, for example, an importance set for each container.
The example shown in FIG. 17 indicates that when the “importance” is “100”, the “upper limit” is “5” and the “lower limit” is “3”. When the “importance” is “10”, it indicates that the “upper limit” is “3” and the “lower limit” is “2”.
As described above, the replica number storage unit 111a stores the upper limit value and the lower limit value of the replica number for each importance. In the example shown in FIG. 17 described above, an example in which the upper limit and the lower limit of the number of replicas are changed for each importance has been described. However, at least one of the upper limit and the lower limit of the number of replicas is changed for each importance. It may be changed.

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

管理制御部120aは、例えば、CPUなどを含むプロセッサであり、管理装置10aを統括的に制御する。管理制御部120aは、例えば、空き容量検出部121と、リング変更部122aと、重要度変更部123とを備えている。   The management control unit 120a is, for example, a processor including a CPU and the like, and controls the management device 10a as a whole. 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 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 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 between the acquired upper limit and lower limit of the number of replicas for each container.

重要度変更部123(変更部の一例)は、例えば、クライアント端末2からの変更要求に応じて、コンテナごとの重要度を変更する。重要度変更部123は、取得した変更要求に基づいて、コンテナ情報記憶部322が記憶する「重要度」の値を変更する。なお、重要度変更部123は、クライアント端末2からの変更要求の他に、各コンテナへのアクセス頻度に応じて、重要度を変更するようにしてもよい。すなわち、重要度変更部123は、各コンテナに対するアクセス頻度を検出し、例えば、アクセス頻度の高いコンテナの重要度を高める処理を実行する。本実施形態のストレージシステム1aでは、アクセス頻度の高いコンテナの重要度が高められることにより、当該コンテナに対応するレプリカ数の上限値及び下限値が変更され、格納データの信頼性が向上される。   The importance changing unit 123 (an example of a changing unit) changes the importance of each container in response to a change request from the client terminal 2, for example. The importance change unit 123 changes the value of “importance” stored in the container information storage unit 322 based on the acquired change request. The importance changing unit 123 may change the importance according to the access frequency to each container, in addition to the change request from the client terminal 2. That is, the importance changing unit 123 detects the access frequency to each container, and executes, for example, a process of increasing the importance of the container having a high access frequency. In the storage system 1a of the present embodiment, by increasing the importance of a container with a high access frequency, the upper limit and the lower limit of the number of replicas corresponding to the container are changed, and the reliability of the 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 replica number for each 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).
Thus, the management device 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は、コンテナへのアクセス頻度に応じて、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
The management device 10a according to the present embodiment includes an importance changing unit 123 that changes the importance according to the frequency of access to each container.
Thereby, the management device 10a according to the present embodiment can dynamically improve the reliability of the stored data while effectively utilizing the surplus capacity of the storage according to the access frequency to the container.

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

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

また、上記の各実施形態において、管理装置10(10a)は、1つの装置で実現する例を説明したが、複数のサーバ装置により実現されてもよい。また、管理記憶部110(110a)の一部又は全部を管理装置10(10a)の外部に備えるようにしてもよい。
また、管理装置10(10a)は、変更情報記憶部112を備える例を説明したが、変更情報記憶部112を備える代わりに、演算などの他の手段により、上限値と下限値との間のレプリカ数を生成するようにしてもよい。
Further, in each of the above embodiments, an example has been described in which the management device 10 (10a) is 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 device 10 (10a).
Further, the example in which the management device 10 (10a) includes the change information storage unit 112 has been described. However, instead of including the change information storage unit 112, the management device 10 (10a) calculates the difference between the upper limit value and the lower limit value by another means such as calculation. The number of replicas may be generated.

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

なお、上述したストレージシステム1(1a)が備える各構成は、内部に、コンピュータシステムを有している。そして、上述したストレージシステム1(1a)が備える各構成の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述したストレージシステム1(1a)が備える各構成における処理を行ってもよい。ここで、「記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行する」とは、コンピュータシステムにプログラムをインストールすることを含む。ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、インターネットやWAN、LAN、専用回線等の通信回線を含むネットワークを介して接続された複数のコンピュータ装置を含んでもよい。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。このように、プログラムを記憶した記録媒体は、CD−ROM等の非一過性の記録媒体であってもよい。
Each configuration of the storage system 1 (1a) has a computer system inside. Then, a program for realizing the function of each configuration provided in the storage system 1 (1a) is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read by a computer system and executed. By doing so, the processing in each configuration of the storage system 1 (1a) described above may be performed. Here, "to make the computer system read and execute the program recorded on the recording medium" includes installing the program in the computer system. The “computer system” here includes an OS and hardware such as peripheral devices.
Further, the “computer system” may include a plurality of computer devices connected via a network including a communication line such as the Internet, a WAN, a LAN, and a dedicated line. The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a storage device such as 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 an internal or external recording medium accessible from the distribution server for distributing the program. It should be noted that the program may be divided into a plurality of pieces, downloaded at different timings, and then combined with each other included in the storage system 1 (1a), or the distribution server that distributes each of the divided programs may be different. . Further, the “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. Shall be included. Further, the program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

また、上述した機能の一部又は全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。上述した各機能は個別にプロセッサ化してもよいし、一部、又は全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、又は汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。   Further, some or all of the above functions may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each of the above-described functions may be individually formed into a processor, or a part or all of the functions may be integrated into a processor. The method of circuit integration is not limited to an LSI, and may be realized by a dedicated circuit or a general-purpose processor. Further, in the case where a technology for forming an integrated circuit that replaces the LSI appears due to the advance of the semiconductor technology, an integrated circuit based on the technology may 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 312 Account information storage 322 Container information storage NT Network

Claims (8)

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

Similar Documents

Publication Publication Date Title
US20190215313A1 (en) Implementing Secure Communication In A Distributed Computing System
US9317519B2 (en) Storage system for eliminating duplicated data
JP4250914B2 (en) Storage system
JP5082310B2 (en) Data migration apparatus and program
JP4265245B2 (en) Computer system
US8463867B2 (en) Distributed storage network
US11245774B2 (en) Cache storage for streaming data
US9031906B2 (en) Method of managing data in asymmetric cluster file system
JP4714778B2 (en) Archive device, conversion device, and conversion program
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
JP2009295127A (en) Access method, access device and distributed data management system
US11256419B2 (en) Optimal object placement device and method
CN111355791A (en) File transmission method and device, computer equipment and storage medium
CN111444157A (en) Distributed file system and data access method
US10387043B2 (en) Writing target file including determination of whether to apply duplication elimination
JP2004094935A (en) Object state transfer method, object state transfer device, object state transfer program, and storage medium therefor
JP6676203B2 (en) Management device, storage system, storage management method, and program
CN111930315A (en) Data access method, data access device and storage medium
JP2016099659A (en) Management device, storage system, storage management method, and program
JP2004362418A (en) Data sharing system, method, and data sharing program
CN113853778B (en) Cloning method and device of file system
JP2008250864A (en) Data storing method, data storing system and information processor
WO2018235132A1 (en) Distributed storage system
CN110058790B (en) Method, apparatus and computer program product for storing data

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