JP2019087287A - Managing device, storage system, storage management method, and program - Google Patents
Managing device, storage system, storage management method, and program Download PDFInfo
- Publication number
- JP2019087287A JP2019087287A JP2019045468A JP2019045468A JP2019087287A JP 2019087287 A JP2019087287 A JP 2019087287A JP 2019045468 A JP2019045468 A JP 2019045468A JP 2019045468 A JP2019045468 A JP 2019045468A JP 2019087287 A JP2019087287 A JP 2019087287A
- Authority
- JP
- Japan
- Prior art keywords
- replicas
- container
- importance
- storage
- storage system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims description 108
- 238000001514 detection method Methods 0.000 claims abstract description 34
- 230000007423 decrease Effects 0.000 claims abstract description 9
- 238000000034 method Methods 0.000 description 28
- 238000010586 diagram Methods 0.000 description 12
- 238000012217 deletion Methods 0.000 description 11
- 230000037430 deletion Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 238000012508 change request Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000010076 replication Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、管理装置、ストレージシステム、ストレージ管理方法、及びプログラムに関する。 The present invention relates to a management apparatus, a storage system, a storage management method, and a program.
近年、オブジェクトストレージシステム(以下、オブジェクトストレージという)などの分散型のストレージシステムが知られている(例えば、特許文献1を参照)。このようなストレージシステムでは、格納するデータを、例えば、所定のレプリカ(複製)数に分散して格納することでデータの信頼性を確保している。ここで、レプリカ数とは、元データを含めたレプリカ(複製)の数のことである。ストレージシステムでは、レプリカ数が多い程、信頼性は向上するが、ストレージの容量単価は増加する傾向にある。 In recent years, distributed storage systems such as an object storage system (hereinafter referred to as object storage) are known (see, for example, Patent Document 1). In such a storage system, the reliability of the data is secured by storing the data to be stored, for example, in a distributed manner to a predetermined number of replicas (replications). Here, the number of replicas is the number of replicas (replications) including the original data. In the storage system, as the number of replicas increases, the reliability improves, but the storage capacity unit price tends to increase.
しかしながら、上述のようなストレージシステムでは、設定されたレプリカ数により保障される信頼性は、最低限保証されるレベルであり、データが損失するリスクを低減するために、可能な限り信頼性を向上させることが望ましい。また、上述のようなストレージシステムでは、ストレージの余剰容量がある場合であっても、レプリカ数に反映されることはなく、ストレージの余剰容量を有効に活用できない可能性があった。 However, in the storage system as described above, the reliability ensured by the set number of replicas is the minimum guaranteed level, and the reliability is improved as much as possible to reduce the risk of data loss. It is desirable to Further, in the storage system as described above, even if there is a surplus storage capacity, it is not reflected in the number of replicas, and there is a possibility that the surplus storage capacity can not be effectively used.
本発明は、上記問題を解決すべくなされたもので、その目的は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる管理装置、ストレージシステム、ストレージ管理方法、及びプログラムを提供することにある。 The present invention has been made to solve the above problems, and an object thereof is a management apparatus, storage system, and the like, which can dynamically improve the reliability of stored data while effectively utilizing the surplus capacity of storage. A storage management method and program are provided.
上記問題を解決するために、本発明の一態様は、データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納するストレージシステムの管理装置であって、前記ストレージシステムの空き容量を検出する検出部と、前記ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部と、前記検出部が検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更部とを備えることを特徴とする管理装置である。 In order to solve the above problem, one aspect of the present invention is a replica number indicating the number of objects to be copied and stored that are a group of data, and the objects are distributed based on the set number of replicas. Storage management apparatus for storing data stored in the storage system, the detection unit detecting the free space of the storage system, the free space of the storage system, and the importance of each container storing the object as a lower layer below Change information of the number of replicas including a decimal value set correspondingly, wherein the number of replicas is set to decrease from a state where the storage system has a large amount of free space as the importance is lower. A change information storage unit that stores change information of the number of replicas, and the free space of the storage system detected by the detection unit The change information of the replica number corresponding to the degree of importance of each container storing the object is read from the change information storage unit, and the lower limit of the replica number determined in advance according to the read change information of the replica number read And a changing unit configured to change the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below the value.
また、本発明の一態様は、上記の管理装置において、前記レプリカ数の上限値及び下限値を記憶するレプリカ数記憶部を備え、前記変更部は、前記コンテナと重要度とを関連付けて記憶する重要度記憶部から前記コンテナごとの重要度を取得し、取得した前記コンテナごとの重要度と、前記空き容量とに基づいて、前記レプリカ数記憶部が記憶する前記上限値と前記下限値との間で前記レプリカ数の設定を前記コンテナごとに変更することを特徴とする。 Further, according to one aspect of the present invention, in the management apparatus, the replica number storage unit stores the upper limit value and the lower limit value of the replica number, and the change unit stores the container and the importance in association with each other. The degree of importance of each container is acquired from the degree of importance storage unit, and the upper limit value and the lower limit value stored in the replica number storage unit are stored based on the acquired degree of importance of each container and the free space. The setting of the number of replicas may be changed between the containers.
また、本発明の一態様は、上記の管理装置において、前記レプリカ数記憶部は、重要度ごとの前記レプリカ数の上限値及び下限値を記憶し、前記レプリカ数の上限値及び下限値のうちの少なくとも一方は、前記コンテナの重要度に基づいて設定されることを特徴とする。
また、本発明の一態様は、上記の管理装置において、前記検出部は、定期的に前記ストレージシステムの空き容量を検出し、前記変更部は、前記検出部が検出したストレージシステム1の空き容量に応じて、前記定期的に前記レプリカ数の設定を変更することを特徴とする。
Further, according to one aspect of the present invention, in the management apparatus, the replica number storage unit stores an upper limit value and a lower limit value of the replica number for each degree of importance, and among the upper limit value and the lower limit value of the replica number At least one of which is set based on the importance of the container.
Further, according to one aspect of the present invention, in the management apparatus, the detection unit periodically detects the free space of the storage system, and the change unit detects the free space of the
また、本発明の一態様は、上記の管理装置と、前記コンテナにおける平均レプリカ数が、前記管理装置によって設定された前記レプリカ数になるように、前記コンテナの配下に格納されている前記オブジェクトのレプリカ数を調整するサーバ装置とを備えること特徴とするストレージシステムである。 Further, according to one aspect of the present invention, there is provided the management device as described above, and the object stored under the container such that the average number of replicas in the container is the number of replicas set by the management device. And a server device that adjusts the number of replicas.
また、本発明の一態様は、上記のストレージシステムにおいて、前記管理装置によって変更された前記レプリカ数に基づいて、格納されている前記オブジェクトの複製が削除又は追加される複数のストレージ装置を備え、前記サーバ装置は、前記ストレージ装置において、前記オブジェクトの複製を削除又は追加する場合に、前記コンテナの配下に格納されている前記オブジェクトのうち、サイズが大きい前記オブジェクトを優先することを特徴とする。 Further, according to one aspect of the present invention, in the storage system described above, the storage system includes a plurality of storage devices in which copies of the stored object are deleted or added based on the number of replicas changed by the management device. The server apparatus is characterized in that, in the storage apparatus, when deleting or adding a duplicate of the object, the object having a large size is prioritized among the objects stored under the container.
また、本発明の一態様は、データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納し、ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部を備えるストレージシステムのストレージ管理方法であって、検出部が、前記ストレージシステムの空き容量を検出する検出ステップと、変更部が、前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップとを含むことを特徴とするストレージ管理方法である。 Further, according to one aspect of the present invention, there is provided a storage number, which is the number of replicas indicating the number of objects to be copied and stored that are a collection of data, and distributed based on the set number of replicas. Change information of the number of replicas including a free space and a decimal value set corresponding to the importance of each container that stores the object under the lower hierarchy, the lower the importance, the lower the importance A storage management method of a storage system comprising: a change information storage unit storing change information of the number of replicas set so that the number of replicas decreases from a state where there is a large amount of free space in the storage system; A detection step of detecting the free space of the storage system; and the stress detected by the change unit at the detection step. The change information of the number of replicas corresponding to the free space of the storage system and the degree of importance of each container storing the object is read from the change information storage unit and determined in advance according to the change information of the read number of replicas And changing the setting of the number of replicas including the decimal value as an average value for each container so as not to fall below the lower limit value of the number of replicas.
また、本発明の一態様は、データのまとまりであるオブジェクトを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、前記オブジェクトを分散して格納し、ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部を備えるストレージシステムのコンピュータに、前記ストレージシステムの空き容量を検出する検出ステップと、前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップとを実行させるためのプログラムである。 Further, according to one aspect of the present invention, there is provided a storage number, which is the number of replicas indicating the number of objects to be copied and stored that are a collection of data, and distributed based on the set number of replicas. Change information of the number of replicas including a free space and a decimal value set corresponding to the importance of each container that stores the object under the lower hierarchy, the lower the importance, the lower the importance The free space of the storage system is detected in a computer of a storage system including a change information storage unit that stores change information of the number of replicas set so that the number of replicas decreases from a state where the free capacity of the storage system is large Detecting step, the free capacity of the storage system detected in the detecting step, and The change information of the number of replicas corresponding to the degree of importance of each container storing objects is read from the change information storage unit, and the lower limit value of the number of replicas determined in advance according to the change information of the read number of replicas And a change step of changing the setting of the number of replicas including the fractional value as an average value for each container so as not to be less than.
本発明によれば、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。 According to the present invention, the reliability of stored data can be dynamically improved while effectively utilizing the surplus capacity of the storage.
以下、本発明の一実施形態によるストレージシステム及び管理装置について図面を参照して説明する。 Hereinafter, a storage system and a management apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[第1の実施形態]
図1は、第1の実施形態によるストレージシステム1の一例を示すブロック図である。
この図に示すように、ストレージシステム1は、プロキシノード20と、複数のストレージノード(31、32、33、・・・)と、管理装置10とを備えている。プロキシノード20と、ストレージノード(31、32、33、・・・)と、管理装置10とは、ネットワークNTを介して互いに接続されている。また、ストレージシステム1は、ネットワークNTを介してクライアント端末2と接続可能になっている。
First Embodiment
FIG. 1 is a block diagram showing an example of a
As shown in this figure, the
ストレージシステム1は、例えば、オブジェクトストレージシステムであり、設定されたレプリカ数に基づいて、データを分散して格納する。ここで、レプリカ数とは、データを複製して格納する数を示し、元データを含めたレプリカ(複製)の数のことである。
また、本実施形態では、データのまとまりを「オブジェクト」と称する。ストレージシステム1は、設定されたレプリカ数に基づいて、1つのオブジェクトを複数のストレージノード(31、32、33、・・・)に分散して格納する。
The
Further, in the present embodiment, a group of data is referred to as an "object". The
なお、ストレージノード31、ストレージノード32、ストレージノード33、・・・は、それぞれ後述するリングファイル記憶部(311、321、331)を備え、オブジェクトを格納する構成に関して同一である。ストレージノード31、ストレージノード32、ストレージノード33、・・・は、ストレージシステム1が備える任意のストレージノードを示す場合、又は特に区別しない場合には、ストレージノード30として説明する。
Each of the
クライアント端末2は、ストレージシステム1が備えるストレージにオブジェクトの書き込み要求や読み出し要求などを送信するコンピュータ装置であり、例えば、エンドユーザの端末装置やネットワークNTを介してリソースの提供などのサービスをエンドユーザに提供するサーバ装置である。クライアント端末2は、オブジェクトの書き込みや読み出し、消去などをプロキシノード20に要求する。
The
プロキシノード20は、例えば、サーバ装置であり、クライアント端末2からの要求に応じて、各ストレージノード30に対して処理を振り分ける。プロキシノード20は、例えば、クライアント端末2からオブジェクトの書き込み要求を受け付けると、全てのストレージノード30から、後述するリングファイルにより指定される複数のストレージノード30を選択し、選択した複数のストレージノード30に同一のオブジェクトの書き込み要求を送信する。なお、図1に示す一例では、ストレージシステム1は、1つのプロキシノード20を備える例を説明するが、複数のプロキシノード20を備えてもよい。
また、プロキシノード20は、記憶部210を備えている。
The
The
記憶部210は、プロキシノード20の各種処理に利用する情報を記憶する。記憶部210は、例えば、リングファイル記憶部211を備えている。
リングファイル記憶部211は、リングファイルを記憶する。ここで、リングファイルとは、例えば、データ(例えば、オブジェクト)とそのデータを格納する物理的な位置(サーバ装置、ディスク)を対応づけるテーブル情報である。リングファイルの詳細については、後述する。リングファイル記憶部211は、例えば、図2に示すように、データの重要度に対応する複数のリングファイルを記憶する。
The
The ring
図2は、本実施形態におけるリングファイル記憶部211の一例を示す図である。
この図に示す例では、リングファイル記憶部211は、複数のリングファイル(「リングファイルA」、「リングファイルB」、・・・)を備えている。なお、リングファイル記憶部211が記憶する各リングファイルは、データの重要度に対応しており、本実施形態では、リングファイル記憶部211は、重要度ごとのリングファイルを記憶するものとする。
FIG. 2 is a diagram showing an example of the ring
In the example shown in this figure, the ring
リングファイルは、例えば、オブジェクトの格納先(デバイス)を指定するテーブルであるリング情報と、デバイス一覧情報とを含んでいる。リング情報は、オブジェクト名から算出されるハッシュ値の先頭部分(接頭辞)と、当該先頭部分に対応するオブジェクトの格納場所(デバイスID、格納場所候補も含む)と、レプリカ数及び重要度とを関連付けた情報である。ここで、ハッシュ値は、格納先が均等に割振られるように、算出されるものとする。 The ring file includes, for example, ring information which is a table for specifying a storage destination (device) of an object, and device list information. The ring information includes the head portion (prefix) of the hash value calculated from the object name, the storage location (including the device ID and storage location candidate) of the object corresponding to the head portion, the number of replicas and the importance It is the associated information. Here, it is assumed that the hash value is calculated so that the storage destination is equally allocated.
図3は、本実施形態におけるリングファイルのリング情報のデータ例を示す図である。
図3に示すように、リング情報は、例えば、「接頭辞」と、当該「接頭辞」に対応するデバイスIDと、「重要度」と、「レプリカ数」とを関連付けた情報である。また、リング情報では、「接頭辞」に対応する「第1のデバイスID」、「第2のデバイスID」、「第3のデバイスID」、・・・を含んでいる。ここで、「接頭辞」は、上述したオブジェクト名から算出されるハッシュ値の先頭部分である。また、「第1のデバイスID」、「第2のデバイスID」、「第3のデバイスID」、・・・は、オブジェクトの格納先のデバイスを識別する識別情報を示す。
FIG. 3 is a diagram showing an example of data of ring information of a ring file in the present embodiment.
As shown in FIG. 3, the ring information is, for example, information in which “prefix”, a device ID corresponding to the “prefix”, “importance level”, and “number of replicas” are associated. Further, the ring information includes “first device ID”, “second device ID”, “third device ID”,... Corresponding to “prefix”. Here, the "prefix" is the head portion of the hash value calculated from the above-described object name. Also, “first device ID”, “second device ID”, “third device ID”,... Indicate identification information for identifying a device in which an object is stored.
図3に示す例では、例えば、「接頭辞」が“00”となるオブジェクトは、格納先として、「第1のデバイスID」が“3”、「第2のデバイスID」が“0”、「第3のデバイスID」が“2”、・・・のデバイスの順に格納されることを示している。また、このリング情報では、「重要度」が“50”で、設定された「レプリカ数」が“3.0”であることを示している。なお、リング情報は、デバイスが稼働していないことなどを考慮して、設定された「レプリカ数」よりも多くのデバイスを各「接頭辞」に対して指定する。 In the example shown in FIG. 3, for example, an object whose “prefix” is “00” has “1st device ID” “3” and “second device ID” “0” as storage destinations. The “third device ID” is stored in the order of “2”,... Devices. Further, in the ring information, it is indicated that the "importance" is "50" and the set "number of replicas" is "3.0". In the ring information, more devices than the set “number of replicas” are designated for each “prefix” in consideration of the fact that the devices are not operating.
また、図4は、本実施形態におけるリングファイルのデバイス一覧情報のデータ例を示す図である。
図4に示すように、デバイス一覧情報は、「デバイスID」と、「IPアドレス」と、「ポート」と、「デバイス名」とを関連付けた情報を複数含んでいる。ここで、「デバイスID」は、デバイス(サーバ装置、ディスク)を識別する識別情報を示している。また、「IPアドレス」及び「ポート」は、デバイスのIPアドレス及びポート番号を示している。また、「デバイス名」は、デバイスの名称を示している。
FIG. 4 is a diagram showing an example of data of device list information of a ring file in the present embodiment.
As shown in FIG. 4, the device list information includes a plurality of pieces of information in which “device ID”, “IP address”, “port”, and “device name” are associated. Here, "device ID" indicates identification information for identifying a device (server apparatus, disk). Also, “IP address” and “port” indicate the IP address and port number of the device. Also, "device name" indicates the name of the device.
図4に示す例では、「デバイスID」の“0”に対応するデバイスの「IPアドレス」が“x.x.x.x”、「ポート」が“8000”、「デバイス名」が“ZZ”であることを示している。
このように、リングファイルは、「レプリカ数」を設定するとともに、オブジェクトの名前から、格納先であるデバイスの「IPアドレス」、「ポート」及び「デバイス名」を特定するようになっている。
In the example shown in FIG. 4, the “IP address” of the device corresponding to “0” of “device ID” is “x.x.x.x”, “port” is “8000”, and “device name” is “ZZ”. It shows that it is ".
As described above, the ring file sets the “number of replicas” and specifies the “IP address”, “port” and “device name” of the storage destination device from the object name.
図1の説明に戻り、ストレージノード30(ストレージ装置の一例)は、例えば、ストレージ(記憶装置)を備えるサーバ装置であり、例えば、プロキシノード20から受信した要求に応じて処理を行う。例えば、プロキシノード20からオブジェクトの書き込み要求や読み出し要求を受信した場合、ストレージノード30は、当該オブジェクトを書き込んだり、読み出してプロキシノード20に送信したりする。
また、ストレージノード30には、オブジェクトを格納する通常のストレージノード33の他に、アカウントを管理するストレージノード31(アカウントサーバ)と、コンテナを管理するストレージノード32(コンテナサーバ)などがある。ここで、コンテナとは、例えば、オブジェクトを格納する入れ物を示し、ファイルシステムで言えばディレクトリやフォルダに相当する。また、アカウントとは、例えば、コンテナを格納する入れ物を示す。このように、オブジェクトの上位の階層構造がコンテナであり、コンテナの上位の階層がアカウントであり、オブジェクト、コンテナ、及びアカウントは、データの階層構造を示している。
Returning to the description of FIG. 1, the storage node 30 (an example of a storage device) is, for example, a server device including a storage (storage device), and performs processing in response to a request received from the
The
ストレージノード31(アカウントサーバ)は、例えば、オブジェクトを格納するとともに、アカウントを管理する。ストレージノード31は、例えば、記憶部310を備えている。
記憶部310は、ストレージノード31の各種処理に利用する情報を記憶する。記憶部310は、例えば、リングファイル記憶部311と、アカウント情報記憶部312とを備えている。
The storage node 31 (account server), for example, stores an object and manages an account. The
The
リングファイル記憶部311は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
アカウント情報記憶部312は、アカウントを管理するアカウント管理情報を記憶する。アカウント情報記憶部312は、アカウント管理情報として、例えば、アカウント情報と、コンテナ一覧情報とを記憶する。
The ring
The account
図5は、本実施形態におけるアカウント情報のデータ例を示す図である。
図5に示すように、アカウント情報記憶部312は、例えば、「アカウント名」と、「コンテナ数」と、「名前のハッシュ値」と、「アカウントID」とを関連付けてアカウント情報として記憶する。ここで、「アカウント名」は、当該アカウントの名称を示し、「名前のハッシュ値」は、「アカウント名」のハッシュ値を示している。また、「コンテナ数」は、当該アカウントの配下に存在するコンテナの数を示し、「アカウントID」は、アカウントを識別する識別情報を示している。
図5に示す例では、「アカウント名」が“ABC”であるアカウントは、配下に“3”個のコンテナを有し、「名前のハッシュ値」が“XXXXXXXXXXXX”、「アカウントID」が“YYYYYYYY”であることを示している。
FIG. 5 is a view showing an example of data of account information in the present embodiment.
As shown in FIG. 5, the account
In the example shown in FIG. 5, the account whose "Account Name" is "ABC" has "3" containers under the "Account Name" has "XXXXXXXXXXXX" and "Account ID" is "YYYYYYYY". It shows that it is ".
また、図6は、本実施形態におけるコンテナ一覧情報のデータ例を示す図である。
図6に示すように、アカウント情報記憶部312は、例えば、「NO.」と、「コンテナ名」と、「作成時刻」と、「削除時刻」と、「名前のハッシュ値」と、「コンテナID」とを関連付けた情報を複数有するコンテナ一覧情報を記憶する。ここで、「NO.」は、コンテナ一覧情報の行番号を示し、「コンテナ名」は、当該コンテナの名称を示している。また、「作成時刻」及び「削除時刻」は、当該コンテナの作成時刻及び消去時刻を示し、「名前のハッシュ値」は、当該「コンテナ名」のハッシュ値を示している。また、「コンテナID」は、コンテナを識別する識別情報を示している。
Moreover, FIG. 6 is a figure which shows the example of data of container list information in this embodiment.
As shown in FIG. 6, the account
図6に示す例では、「NO.」が“1”のコンテナは、「コンテナ名」が“testcont1”であり、「作成時刻」が“2014−10−01 10:00:00”であることを示している。また、「名前のハッシュ値」が“YYYYYYYYYYYY”であり。「コンテナID」が“ZZZZZ”であることを示している。 In the example shown in FIG. 6, in the container where "NO." Is "1", "container name" is "testcont1" and "creation time" is "2014-10-01 10:00:00" Is shown. Also, "name hash value" is "YYYYYYYYYYYY". It indicates that the "container ID" is "ZZZZZ".
再び図1の説明に戻り、ストレージノード32(コンテナサーバ)は、例えば、オブジェクトを格納するとともに、コンテナを管理する。ストレージノード32は、例えば、記憶部320を備えている。
記憶部320は、ストレージノード32の各種処理に利用する情報を記憶する。記憶部320は、例えば、リングファイル記憶部321と、コンテナ情報記憶部322とを備えている。
Returning to the description of FIG. 1 again, the storage node 32 (container server) manages, for example, the object while storing the object. The
The
リングファイル記憶部321は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
コンテナ情報記憶部322(重要度記憶部の一例)は、コンテナを管理するコンテナ管理情報を記憶する。コンテナ情報記憶部322は、コンテナ管理情報として、例えば、コンテナ情報と、オブジェクト一覧情報とを記憶する。
The ring
The container information storage unit 322 (an example of the importance degree storage unit) stores container management information that manages a container. The container
図7は、本実施形態におけるコンテナ情報のデータ例を示す図である。
図7に示すように、コンテナ情報記憶部322は、例えば、「アカウント名」と、「コンテナ名」と、「作成時刻」と、「削除時刻」と、「オブジェクト数」と、「バイト数」と、「名前のハッシュ値」と、「コンテナID」と、「重要度」とを関連付けてコンテナ情報として記憶する。ここで、「アカウント名」は、上位のアカウントの名称を示し、「コンテナ名」は、当該コンテナの名称を示している。また、「作成時刻」、「削除時刻」、「名前のハッシュ値」、及び「コンテナID」は、上述したコンテナ一覧情報と同様である。また、「オブジェクト数」及び「バイト数」は、当該コンテナの配下のオブジェクト数及びデータのバイト数を示し、「重要度」は、当該コンテナの重要度を示している。
このように、コンテナ情報記憶部322は、データを格納するコンテナ(階層構造)と重要度とを関連付けて記憶する。
FIG. 7 is a diagram showing an example of data of container information in the present embodiment.
As shown in FIG. 7, the container
As described above, the container
図7に示す例では、「アカウント名」が“ABC”の配下の「コンテナ名」が“testcont1”であるコンテナ情報を示し、「オブジェクト数」及び「バイト数」が、“14”個及び“8096”バイトであることを示している。また、当該コンテナの「重要度」が“50”であることを示している。 In the example shown in FIG. 7, the container information whose "container name" under "account name" is "ABC" is "testcont1" is shown, and "the number of objects" and "the number of bytes" are "14" and " It indicates that it is 8096 "bytes. It also indicates that the "importance" of the container is "50".
また、図8は、本実施形態におけるオブジェクト一覧情報のデータ例を示す図である。
図8に示すように、コンテナ情報記憶部322は、例えば、「NO.」と、「オブジェクト名」と、「作成時刻」と、「バイト数」と、「コンテンツ種別」と、「ハッシュ値」と、「削除済フラグ」とを関連付けた情報を複数有するオブジェクト一覧情報を記憶する。ここで、「NO.」は、オブジェクト一覧情報の行番号を示し、「オブジェクト名」は、当該オブジェクトの名称を示している。また、「作成時刻」は、当該オブジェクトの作成時刻を示し、「バイト数」及び「コンテンツ種別」は、オブジェクトのバイト数及びオブジェクトの種別(例えば、画像、動画、テキストなど)を示している。また、「ハッシュ値」は、当該「オブジェクト名」のハッシュ値を示し、「削除済フラグ」は、当該オブジェクトが削除されたか否かを示している。
FIG. 8 is a view showing an example of data of object list information in the present embodiment.
As shown in FIG. 8, for example, the container
図8に示す例では、「NO.」が“1”のオブジェクトは、「オブジェクト名」が“obj1”であり、「作成時刻」が“2014−10−02 10:00:00”であることを示している。また、「バイト数」が“3072”バイトであり、「コンテンツ種別」が“image/jpeg”(jpeg画像)であることを示している。また、「ハッシュ値」が“AAAAAAAAAAAA”であり。「削除済フラグ」が“NO”であることを示している。
なお、上述した例では、説明上、アカウント及びコンテナが1つの例を説明したが、ストレージシステム1は、複数のアカウント及びコンテナを含むものであってもよい。
In the example shown in FIG. 8, for an object whose “NO.” Is “1”, the “object name” is “obj1” and the “creation time” is “2014-10-02 10:00:00”. Is shown. Also, it indicates that the “number of bytes” is “3072” bytes and the “content type” is “image / jpeg” (jpeg image). Also, the “hash value” is “AAAAAAAAAAAA”. It indicates that the "deleted flag" is "NO".
In the above-mentioned example, although one account and one container were explained for explanation,
再び、図1の説明に戻り、ストレージノード33(30)は、例えば、オブジェクトを格納し、例えば、記憶部330を備えている。
記憶部330は、ストレージノード33の各種処理に利用する情報を記憶する。記憶部330は、例えば、リングファイル記憶部331を備えている。
リングファイル記憶部331は、上述したリングファイル記憶部211と同様であるので、ここではその説明を省略する。
Referring back to FIG. 1 again, the storage node 33 (30) stores, for example, an object, and includes, for example, a
The
The ring
管理装置10は、ストレージシステム1のレプリカ数を管理するコンピュータ装置である。管理装置10は、例えば、管理記憶部110と、管理制御部120とを備えている。
管理記憶部110は、管理装置10の各種処理に利用する情報を記憶する。管理記憶部110は、例えば、レプリカ数記憶部111と、変更情報記憶部112とを備えている。
The
The
レプリカ数記憶部111は、例えば、図9に示すように、レプリカ数の上限値及び下限値を記憶する。なお、本実施形態では、ストレージシステム1全体でのレプリカ数の上限値及び下限値が予め定められており、レプリカ数記憶部111は、当該ストレージシステム1全体でのレプリカ数の上限値及び下限値を記憶する。
図9は、本実施形態におけるレプリカ数記憶部111のデータ例を示す図である。
この図に示すように、レプリカ数記憶部111は、「上限値」と「下限値」とを関連付けて記憶する。ここでの「上限値」は、ストレージシステム1全体でのレプリカ数の上限値を示し、「下限値」は、ストレージシステム1全体でのレプリカ数の下限値を示している。
図9に示し例では、「上限値」が“5”、「下限値」が“2”であることを示している。
The replica number storage unit 111 stores, for example, the upper limit value and the lower limit value of the number of replicas, as shown in FIG. In the present embodiment, the upper limit value and the lower limit value of the number of replicas in the
FIG. 9 is a view showing an example of data of the replica number storage unit 111 in the present embodiment.
As shown in this figure, the replica number storage unit 111 stores the “upper limit value” and the “lower limit value” in association with each other. Here, “upper limit value” indicates the upper limit value of the number of replicas in the
The example shown in FIG. 9 indicates that the “upper limit value” is “5” and the “lower limit value” is “2”.
再び、図1の説明に戻り、変更情報記憶部112は、ストレージシステム1の空き容量に応じて、レプリカ数の設定を変更するレプリカ数の変更情報を記憶する。変更情報記憶部112は、例えば、レプリカ数記憶部111が記憶する「上限値」と「下限値」との間の範囲において、ストレージシステム1の空き容量に対応したレプリカ数を指定するテーブル情報である。また、変更情報記憶部112は、例えば、各コンテナの重要度に応じた、異なる変更情報を記憶してもよい。変更情報記憶部112は、例えば、図10に示すように、ストレージシステム1の空き容量に応じて変更されるテーブル情報を記憶する。
Referring back to FIG. 1 again, the change
図10は、本実施形態におけるレプリカ数の変更情報の一例を示す図である。
図10に示すグラフは、空き容量に対するレプリカ数の設定を示しており、縦軸がレプリカ数を示し、横軸が空き容量(%)を示している。
この図に示すように、レプリカ数の変更情報は、レプリカ数記憶部111が記憶する「下限値」の“2”と「上限値」の“5”との間で、空き容量が多い程、レプリカ数の値が大きくなるように設定される。なお、この図において、波形W1は、最も重要度が高い場合の変更情報の例を示し、波形W2は、次に重要度が高い場合の変更情報の例を示している。また、波形W3は、最も重要度が低い場合の変更情報の例を示している。
このように、実施形態では、レプリカ数の変更情報は、重要度に対応して設定されており、重要度が低い程、空き容量が多い状態からレプリカ数が低下するように設定されている。
FIG. 10 is a diagram showing an example of change information of the number of replicas in the present embodiment.
The graph shown in FIG. 10 shows the setting of the number of replicas with respect to the free space, the vertical axis shows the number of replicas, and the horizontal axis shows the free space (%).
As shown in this figure, the change information of the number of replicas is larger as the free space is larger between “2” of “lower limit value” and “5” of “upper limit value” stored in replica number storage unit 111, The number of replicas is set to be large. In this figure, the waveform W1 shows an example of change information when the degree of importance is the highest, and the waveform W2 shows an example of change information when the degree of importance is the second highest. Further, the waveform W3 shows an example of change information in the case where the degree of importance is the lowest.
As described above, in the embodiment, the change information of the number of replicas is set according to the degree of importance, and as the degree of importance is lower, the number of replicas is set to decrease from the state where the free space is large.
なお、レプリカ数は、自然数に限定されるものではなく、自然数及び小数を含む実数であってもよい。レプリカ数が小数を含む実数である場合には、ストレージシステム1は、例えば、図11に示すように、コンテナごとに平均値としてレプリカ数を実現できるように各オブジェクトを複製して格納する。
The number of replicas is not limited to a natural number, and may be a real number including a natural number and a decimal. When the number of replicas is a real number including decimals, for example, as shown in FIG. 11, the
図11は、本実施形態におけるストレージの論理階層構造の一例を示す図である。
図11に示す例は、アカウントA1の配下に、例えば、コンテナC1がある場合の一例を示している。コンテナC1は、「オブジェクト1」(OB1)と、「オブジェクト2」(OB2)と「オブジェクト3」(OB3)とが格納されている。ここで、「オブジェクト1」(OB1)及び「オブジェクト2」(OB2)は、それぞれレプリカ数が“3”であり、3カ所に格納されている。また、「オブジェクト3」(OB3)は、レプリカ数が“2”であり、2カ所に格納されている。この場合、コンテナC1全体としてのレプリカ数は、以下の式(1)により、“2.666”となる。
FIG. 11 is a diagram showing an example of the logical hierarchical structure of the storage in this embodiment.
The example illustrated in FIG. 11 illustrates an example in the case where the container C1 is present under the account A1, for example. The container C1 stores "
レプリカ数=(3+3+2)/3=2.666 ・・・(1) Number of replicas = (3 + 3 + 2) /3=2.666 (1)
このように、本実施形態におけるストレージシステム1では、コンテナごとに、小数を含む実数値により、レプリカ数を設定することが可能である。
As described above, in the
再び、図1の説明に戻り、管理制御部120は、例えば、CPU(Central Processing Unit)などを含むプロセッサであり、管理装置10を統括的に制御する。管理制御部120は、例えば、空き容量検出部121と、リング変更部122とを備えている。
Referring back to FIG. 1 again, the
空き容量検出部121(検出部の一例)は、ストレージシステム1の空き容量を検出する。空き容量検出部121は、所定の時間間隔で定期的に、ストレージシステム1の空き容量を検出する。空き容量検出部121は、例えば、各アカウントに対応するアカウントサーバが記憶するアカウント管理情報と、各コンテナに対応するコンテナサーバが記憶するコンテナ管理情報とを取得し、取得したアカウント管理情報及びコンテナ管理情報に基づいて、ストレージシステム1の空き容量を検出する。
The free space detection unit 121 (an example of a detection unit) detects the free space of the
リング変更部122(変更部の一例)は、空き容量検出部121が検出したストレージシステム1の空き容量に応じて、予め定められたレプリカ数の下限値を下回らないように、レプリカ数の設定を変更する。リング変更部122は、例えば、データを格納するコンテナと重要度とを関連付けて記憶するコンテナ情報記憶部322からコンテナごとの重要度を取得する。リング変更部122は、取得したコンテナごとの重要度と、空き容量とに基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。すなわち、リング変更部122は、重要度と、空き容量とに基づいて、コンテナごとのレプリカ数を決定し、リングファイル内のレプリカ数を、決定したレプリカ数に変更して、各ノード(プロキシノード20及びストレージノード30)に配布する。つまり、リング変更部122は、各ノードが記憶するリングファイルを更新する(置き換える)。
The ring changing unit 122 (an example of the changing unit) sets the number of replicas so as not to fall below the predetermined lower limit of the number of replicas according to the free space of the
例えば、リング変更部122は、レプリカ数記憶部111が記憶する上限値と下限値とを取得する。上限値が“5”、下限値が“2”である場合に、リング変更部122は、変更情報記憶部112が記憶する変更情報を参照して、取得したコンテナごとの重要度に対応するレプリカ数(上限値が“5”と下限値が“2”との間にレプリカ数)を決定する。例えば、リング変更部122は、図10に示すように、ストレージシステム1の空き容量に応じて、自然数及び小数を含むレプリカ数に決定する。また、リング変更部122は、決定したレプリカ数を反映したリングファイルを生成する。そして、リング変更部122は、生成したリングファイルを各ノード(プロキシノード20及びストレージノード30)に配布する。
For example, the
上述したプロキシノード20は、リングファイル記憶部211が記憶するリングファイル内のレプリカ数と、コンテナ情報記憶部322が記憶するコンテナ管理情報とを定期的に確認して、リングファイル内のレプリカ数の変更に応じて、各オブジェクトのレプリカ数を変更する。すなわち、プロキシノード20は、定期的に、各コンテナの平均レプリカ数がリングファイル内のレプリカ数と一致するように、各オブジェクトの複製を削除又は追加して調整する。すなわち、プロキシノード20は、コンテナにおける平均レプリカ数が、管理装置10によって設定されたレプリカ数になるように、コンテナの配下に格納されているデータのレプリカ数を調整する。
The
次に、本実施形態によるストレージシステム1の動作について、図面を参照して説明する。
図12は、本実施形態におけるレプリカ数の変更処理の一例を示す図である。
図12において、ストレージシステム1が、「コンテナA」〜「コンテナE」の5つのコンテナを有する場合の一例を示している。この例では、「コンテナA」及び「コンテナB」の重要度が“100”であり、「コンテナC」及び「コンテナD」の重要度が“50”であり、「コンテナC」の重要度が“10”であるものとする。なお、重要度は、値が大きい程、重要度が高いものとする。また、この例では、レプリカ数記憶部111が記憶する「上限値」が“3”、「下限値」が“2”であるものとする。
Next, the operation of the
FIG. 12 is a diagram showing an example of the process of changing the number of replicas in the present embodiment.
In FIG. 12, an example in which the
図12(a)は、ストレージシステム1の空き容量が大きい状態(例えば、80%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“3”に、重要度が“10”に対応するリングファイルのレプリカ数を“3”に、それぞれ設定する。この場合、プロキシノード20は、各コンテナの平均レプリカ数がリングファイル内のレプリカ数と一致するように、各オブジェクトの複製を削除又は追加して調整する。
FIG. 12A shows a state (for example, 80%) in which the free capacity of the
次に、図12(b)は、ストレージシステム1の空き容量が図12(a)に比べて減少した状態(例えば、50%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“3”に、重要度が“10”に対応するリングファイルのレプリカ数を“2.5”に、それぞれ設定する。この場合、プロキシノード20は、「コンテナE」のレプリカ数が、“2.5”と一致するように、「コンテナE」のオブジェクトの複製を削除して調整する。
Next, FIG. 12 (b) shows a state (for example, 50%) in which the free capacity of the
次に、図12(c)は、ストレージシステム1の空き容量が図12(b)から更に減少した状態(例えば、10%)を示している。この場合、管理装置10は、重要度が“100”に対応するリングファイルのレプリカ数を“3”に、重要度が“50”に対応するリングファイルのレプリカ数を“2.6”に、重要度が“10”に対応するリングファイルのレプリカ数を“2”に、それぞれ設定する。この場合、プロキシノード20は、「コンテナC」及び「コンテナD」のレプリカ数が、“2.6”と一致するように、「コンテナC」及び「コンテナD」のオブジェクトの複製を削除して調整する。また、プロキシノード20は、「コンテナE」のレプリカ数が、“2”と一致するように、「コンテナE」のオブジェクトの複製を削除して調整する。
Next, FIG. 12C shows a state (for example, 10%) in which the free capacity of the
このように、管理装置10(リング変更部122)は、ストレージシステム1の空き容量に基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。
Thus, the management apparatus 10 (ring changing unit 122) sets the number of replicas between the upper limit value and the lower limit value stored in the replica number storage unit 111 based on the free space of the
次に、図13を参照して、本実施形態におけるストレージシステム1のオブジェクトの追加処理の動作について説明する。
図13は、本実施形態におけるオブジェクトの追加処理の一例を示すフローチャートである。
Next, with reference to FIG. 13, the operation of the object addition processing of the
FIG. 13 is a flowchart showing an example of the process of adding an object in the present embodiment.
この図において、まず、プロキシノード20は、オブジェクトの追加依頼があるか否かを判定する(ステップS101)。すなわち、プロキシノード20は、例えば、クライアント端末2からネットワークNTを介して、オブジェクトの追加依頼があるか否かを判定する。プロキシノード20は、オブジェクトの追加依頼がある場合(ステップS101:YES)に、処理をステップS102に進める。また、プロキシノード20は、オブジェクトの追加依頼がない場合(ステップS101:NO)に、処理をステップS101に戻す。
In this figure, first, the
ステップS102において、プロキシノード20は、コンテナの管理情報を取得する。すなわち、プロキシノード20は、ストレージノード33(コンテナサーバ)のコンテナ情報記憶部322が記憶するコンテナ管理情報(図7及び図8参照)を取得する。ここでは、プロキシノード20は、例えば、コンテナの重要度を取得する。
In step S102, the
次に、プロキシノード20は、コンテナに対応するリングファイルを参照する(ステップS103)。すなわち、プロキシノード20は、コンテナの重要度に対応するリングファイルを、リングファイル記憶部211から参照する。
Next, the
次に、プロキシノード20は、参照したリングファイルに基づいて、追加するオブジェクトの配置を決定する(ステップS104)。プロキシノード20は、リングファイル内のレプリカ数の設定に基づいて、リングファイル内のリング情報(図3参照)により指定される複数のデバイスを決定する。ここで、プロキシノード20は、リング情報の「デバイスID」に対応するデバイスを図4に示すデバイス一覧情報により特定する。プロキシノード20は、決定したオブジェクトの配置を各ストレージノード30のデバイスに指示する。
Next, the
次に、ストレージノード30は、オブジェクトの配置指示に基づいて、オブジェクトを配置する(ステップS105)。すなわち、ストレージノード30は、オブジェクトの配置指示に基づいて、オブジェクトを追加する。
Next, the
次に、プロキシノード20は、コンテナの管理情報を更新する(ステップS106)。すなわち、プロキシノード20は、例えば、オブジェクトを追加したストレージノード33(コンテナサーバ)のコンテナ情報記憶部322が記憶するコンテナ管理情報にオブジェクトを追加する。プロキシノード20は、例えば、コンテナ情報記憶部322が記憶するコンテナ情報の「オブジェクト数」及び「バイト数」を変更するとともに、オブジェクト一覧情報に追加したオブジェクトに対応する行を追加する。ステップS106の処理後に、プロキシノード20は、処理をステップS101に戻す。
Next, the
なお、上述した図13に示す例では、オブジェクトを追加する場合の一例を説明したが、オブジェクトを削除する場合も基本的には図13に示す処理と同様である。但し、オブジェクトを削除する場合には、プロキシノード20は、コンテナ情報記憶部322が記憶するオブジェクト一覧情報において、削除するオブジェクトに対応する行の「削除済フラグ」を“YES”に変更する。
In the example shown in FIG. 13 described above, an example of adding an object has been described, but deleting an object is basically the same as the process shown in FIG. However, when deleting an object, the
次に、図14を参照して、本実施形態におけるストレージシステム1のレプリカ数の変更処理の動作について説明する。
図14は、本実施形態におけるレプリカ数の変更処理の一例を示すフローチャートである。なお、図14に示す処理は、所定の時間間隔(例えば、数分単位、又は数時間単位)で定期的に実行されるものとする。
Next, with reference to FIG. 14, the operation of the process of changing the number of replicas of the
FIG. 14 is a flowchart showing an example of the process of changing the number of replicas in the present embodiment. In addition, the process shown in FIG. 14 shall be regularly performed by a predetermined time interval (for example, a several-minute unit or several-hour unit).
この図において、まず、管理装置10は、ストレージシステム1の空き容量を検出する(ステップS201)。すなわち、管理装置10の空き容量検出部121は、例えば、各アカウントに対応するアカウントサーバが記憶するアカウント管理情報と、各コンテナに対応するコンテナサーバが記憶するコンテナ管理情報とを取得する。空き容量検出部121は、取得したアカウント管理情報及びコンテナ管理情報に基づいて、ストレージシステム1の空き容量を検出する。
In this figure, first, the
次に、管理装置10は、空き容量に応じてレプリカ数を決定する(ステップS202)。すなわち、管理装置10のリング変更部122は、空き容量検出部121が検出した空き容量に基づいてレプリカ数を決定する。具体的に、リング変更部122は、変更情報記憶部112が記憶する変更情報と、空き容量とに基づいて、レプリカ数記憶部111が記憶するレプリカ数の上限値及び下限値の範囲に収まるように、重要度ごとのレプリカ数を決定する。ここで決定されるレプリカ数は、自然数及び小数を含む実数の値である。
Next, the
次に、リング変更部122は、リングファイルを生成する(ステップS203)。すなわち、リング変更部122は、決定した重要度ごとのレプリカ数に基づいて、重要度ごとのリングファイルを生成する。具体的に、リング変更部122は、例えば、現在のリングファイル内のレプリカ数を変更したリングファイルを生成する。なお、本実施形態では、コンテナ情報記憶部322が記憶するコンテナ情報に「重要度」が記憶されており、コンテナごとに重要度が定められている。そのため、リング変更部122は、リングファイルのレプリカ数を変更することにより、コンテナ単位によりレプリカ数を変更することになる。
Next, the
次に、リング変更部122は、生成したリングファイルを配布する(ステップS204)。すなわち、リング変更部122は、生成した重要度ごとのリングファイルをプロキシノード20及びストレージノード30に送信する。これにより、プロキシノード20及びストレージノード30は、受信したリングファイルをリングファイル記憶部(211、311、321、331)に記憶させて、リングファイルを更新する。これにより、各ノード(プロキシノード20及びストレージノード30)が保持するリングファイル内に設定されたレプリカ数が更新される。ステップS204の処理後に、リング変更部122は、処理を終了する。
Next, the
次に、図15を参照して、ストレージシステム1において、更新されたリングファイルに基づいて、ストレージノード30のコンテナごとのレプリカ数が変更されるレプリカ数の調整処理について説明する。
図15は、本実施形態におけるレプリカ数の調整処理の一例を示すフローチャートである。なお、図15に示す処理は、所定の時間間隔(例えば、数分単位など)で定期的に実行されるものとする。
Next, adjustment processing of the number of replicas in which the number of replicas for each container of the
FIG. 15 is a flowchart showing an example of the adjustment processing of the number of replicas in the present embodiment. In addition, the process shown in FIG. 15 shall be regularly performed by a predetermined time interval (for example, a few minutes etc.).
この図において、まず、ストレージシステム1は、リングファイルを確認する(ステップS301)。例えば、プロキシノード20が、リングファイル記憶部211に記憶されている各リングファイルを確認する。プロキシノード20は、例えば、リングファイルの重要度及びレプリカ数を確認する。
In this figure, first, the
次に、プロキシノード20は、リングファイルに対応するコンテナのオブジェクトを確認する(ステップS302)。プロキシノード20は、例えば、コンテナ情報記憶部322が記憶するコンテナ管理情報を取得して、コンテナ管理情報の重要度が一致するリングファイルにより、コンテナ内のオブジェクトを確認する。プロキシノード20は、例えば、現在のコンテナ内の平均レプリカ数を算出する。
Next, the
次に、プロキシノード20は、オブジェクトの配置の変更が必要である否かを判定する(ステップS303)。すなわち、プロキシノード20は、リングファイルに設定されたレプリカ数と、現在のコンテナ内の平均レプリカ数とが一致するか否かをコンテナごとに判定する。プロキシノード20は、オブジェクトの配置の変更が必要である場合(ステップS303:YES)に、処理をステップS304に進める。また、プロキシノード20は、オブジェクトの配置の変更が必要ない場合(ステップS303:NO)に、処理を終了する。
Next, the
ステップS304において、プロキシノード20は、複製(レプリカ)を増減するオブジェクトを決定する。すなわち、プロキシノード20は、変更は必要なコンテナにおいて、リングファイルに設定されたレプリカ数と、コンテナ内の平均レプリカ数とが一致するように、削除又は追加するオブジェクトを決定する。なお、プロキシノード20は、オブジェクトの複製を削除又は追加する場合に、コンテナ内のオブジェクトのうち、サイズが大きいオブジェクトを優先する。すなわち、プロキシノード20は、ストレージノード30において、オブジェクトの複製を削除又は追加する場合に、コンテナの配下に格納されているオブジェクトのうち、サイズが大きいオブジェクトを優先する。
In step S304, the
次に、プロキシノード20は、決定したオブジェクトを削除又は追加する(ステップS305)。プロキシノード20は、決定したオブジェクトの削除又は追加するストレージノード30に、決定したオブジェクトの削除又は追加を指示する。ストレージノード30は、プロキシノード20からの指示に基づいて、オブジェクトの削除又は追加を実行する。なお、オブジェクトの削除又は追加は、対応するリングファイルにより設定されているデバイスに対して実行される。
Next, the
次に、プロキシノード20は、コンテナの管理情報を更新する(ステップS306)。すなわち、プロキシノード20は、コンテナ情報記憶部322が記憶するコンテナ管理情報のうち、オブジェクトの削除又は追加を実行したコンテナに対応するコンテナ管理情報を更新する。ステップS306の処理後に、プロキシノード20は、処理を終了する。
Next, the
このように、ストレージシステム1では、プロキシノード20が、定期的に、リングファイル及びコンテナ管理情報を確認することにより、リングファイルのレプリカ数の設定の変更に応じた、レプリカ数になるようにコンテナごとに調整する。
As described above, in the
以上説明したように、本実施形態による管理装置10は、設定されたレプリカ数に基づいて、データ(例えば、オブジェクト)を分散して格納するストレージシステム1の管理装置であって、空き容量検出部121(検出部)と、リング変更部122(変更部)とを備えている。ここで、レプリカ数は、例えば、データを複製して格納する数を示す。空き容量検出部121は、ストレージシステム1の空き容量を検出する。リング変更部122は、空き容量検出部121が検出したストレージシステム1の空き容量に応じて、予め定められたレプリカ数の下限値を下回らないように、レプリカ数の設定を変更する。
これにより、本実施形態による管理装置10は、例えば、空き容量が多い場合に、レプリカ数を増やし、例えば、空き容量が少ない場合にレプリカ数を減らす等、空き容量に応じて、格納データの信頼性を高めることができる。よって、本実施形態による管理装置10は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
As described above, the
Thus, the
また、本実施形態では、管理装置10は、レプリカ数の上限値及び下限値を記憶するレプリカ数記憶部111を備えている。リング変更部122は、データを格納するコンテナ(階層構造)と重要度とを関連付けて記憶するコンテナ情報記憶部322(重要度記憶部)からコンテナごとの重要度を取得する。リング変更部122は、取得したコンテナごとの重要度と、空き容量とに基づいて、レプリカ数記憶部111が記憶する上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。
これにより、本実施形態による管理装置10は、レプリカ数記憶部111が記憶する上限値と下限値との間で、コンテナごとの重要度と、空き容量とに基づいて、適切にレプリカ数を変更することができる。
Further, in the present embodiment, the
Thereby, the
また、本実施形態では、リング変更部122は、レプリカ数を変更したリングファイルを生成し、生成したリングファイルをプロキシノード20(代理装置)及びストレージノード30(ストレージ装置)に送信する。
これにより、空き容量及び重要度に応じて、レプリカ数を変更したリングファイルをプロキシノード20及びストレージノード30に提供することにより、本実施形態による管理装置10は、従来のオブジェクトストレージを利用しつつ、より簡易な方法により動的にレプリカ数を変更することができる。
Further, in the present embodiment, the
Thereby, the
また、本実施形態によるストレージシステム1は、上述した管理装置10と、コンテナ(階層構造)における平均レプリカ数が、管理装置10によって設定されたレプリカ数になるように、コンテナの配下に格納されているデータのレプリカ数を調整するプロキシノード20とを備えている。
これにより、本実施形態によるストレージシステム1は、例えば、レプリカ数に小数値を設定することができ、レプリカ数を設定する自由度を上げることができる。
In addition, the
Thus, in the
また、本実施形態によるストレージシステム1は、管理装置10によって変更されたレプリカ数に基づいて、格納されているデータの複製が削除又は追加される複数のストレージノード30(ストレージ装置)を備えている。プロキシノード20は、ストレージノード30において、データの複製を削除又は追加する場合に、コンテナ(階層構造)の配下に格納されているデータのうち、サイズが大きいデータを優先する。
これにより、レプリカ数が変更された場合に、例えば、サイズの大きいオブジェクトからレプリカ数を変更するので、本実施形態によるストレージシステム1は、空き容量の変化により迅速に対応することができる。そのため、本実施形態によるストレージシステム1は、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the
As a result, when the number of replicas is changed, for example, the number of replicas is changed from an object having a large size, so that the
また、本実施形態によるストレージ管理方法は、データを複製して格納する数を示すレプリカ数であって、設定されたレプリカ数に基づいて、データを分散して格納するストレージシステム1のストレージ管理方法であって、検出ステップと、変更ステップとを含んでいる。検出ステップにおいて、管理装置10は、ストレージシステム1の空き容量を検出する。変更ステップにおいて、管理装置10は、検出ステップにて検出したストレージシステム1の空き容量に応じて、予め定められたレプリカ数の下限値を下回らないように、レプリカ数の設定を変更する。
これにより、本実施形態によるストレージ管理方法は、上述した管理装置10及びストレージシステム1と同様に、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the storage management method according to the present embodiment is a storage management method of the
Thereby, the storage management method according to the present embodiment can improve the reliability of stored data dynamically while effectively utilizing the surplus capacity of the storage, similarly to the
[第2の実施形態]
次に、第2の実施形態によるストレージシステム及び管理装置について図面を参照して説明する。
本実施形態では、重要度に応じて、レプリカ数の上限値及び下限値を変更する点が、上述した第1の実施形態と異なる。
Second Embodiment
Next, a storage system and a management apparatus according to a second embodiment will be described with reference to the drawings.
The present embodiment differs from the above-described first embodiment in that the upper limit value and the lower limit value of the number of replicas are changed according to the degree of importance.
図16は、第2の実施形態によるストレージシステム1aの一例を示すブロック図である。
この図に示すように、ストレージシステム1aは、プロキシノード20と、複数のストレージノード(31、32、33、・・・)と、管理装置10aとを備えている。プロキシノード20と、ストレージノード(31、32、33、・・・)と、管理装置10aとは、ネットワークNTを介して互いに接続される。また、ストレージシステム1aは、ネットワークNTを介してクライアント端末2と接続可能になっている。
なお、この図において、図1に示す構成と同一の構成については同一の符号を付し、その説明を省略する。
FIG. 16 is a block diagram showing an example of a
As shown in this figure, the
In this figure, the same components as those shown in FIG. 1 are denoted by the same reference numerals and the description thereof will be omitted.
管理装置10aは、ストレージシステム1aのレプリカ数を管理するコンピュータ装置である。管理装置10aは、例えば、管理記憶部110aと、管理制御部120aとを備えている。
管理記憶部110aは、管理装置10aの各種処理に利用する情報を記憶する。管理記憶部110aは、例えば、レプリカ数記憶部111aと、変更情報記憶部112とを備えている。
The
The
レプリカ数記憶部111aは、例えば、図17に示すように、レプリカ数の上限値及び下限値を記憶する。なお、本実施形態では、重要度ごとに、レプリカ数の上限値及び下限値が予め定められており、レプリカ数記憶部111aは、重要度と、レプリカ数の上限値及び下限値とをかん関連付けて記憶する。
図17は、本実施形態におけるレプリカ数記憶部111aのデータ例を示す図である。
この図に示すように、レプリカ数記憶部111aは、「重要度」と、「上限値」と、「下限値」とを関連付けて記憶する。ここでの「重要度」は、例えば、コンテナごとに設定される重要度のことである。
図17に示し例では、「重要度」が“100”の場合に、「上限値」が“5”、「下限値」が“3”であることを示している。また、「重要度」が“10”の場合に、「上限値」が“3”、「下限値」が“2”であることを示している。
このように、レプリカ数記憶部111aは、重要度ごとのレプリカ数の上限値及び下限値を記憶する。なお、上述した図17に示す例では、重要度ごとに、レプリカ数の上限値及び下限値を変更する一例を説明したが、レプリカ数の上限値及び下限値のうちの少なくとも一方が重要度ごと変更されるようにしてもよい。
The replica
FIG. 17 is a diagram showing an example of data of the replica
As shown in this figure, the replica
In the example shown in FIG. 17, when the “importance level” is “100”, it is indicated that the “upper limit value” is “5” and the “lower limit value” is “3”. Further, when the “importance level” is “10”, it indicates that the “upper limit value” is “3” and the “lower limit value” is “2”.
Thus, the replica
図16の説明に戻り、本実施形態の変更情報記憶部112は、第1の実施形態と同様であるが、重要度ごとのレプリカ数の上限値及び下限値が設定される点において異なる。
Returning to the description of FIG. 16, the change
管理制御部120aは、例えば、CPUなどを含むプロセッサであり、管理装置10aを統括的に制御する。管理制御部120aは、例えば、空き容量検出部121と、リング変更部122aと、重要度変更部123とを備えている。
The
リング変更部122aは、基本的には第1の実施形態におけるリング変更部122と同様であるが、レプリカ数記憶部111aが記憶する重要度ごとの上限値及び下限値を用いる点が異なる。リング変更部122aは、コンテナ情報記憶部322からコンテナごとの重要度を取得し、取得したコンテナごとの重要度に対応するレプリカ数の上限値及び下限値をレプリカ数記憶部111aから取得する。リング変更部122aは、取得したレプリカ数の上限値と下限値との間でレプリカ数の設定をコンテナごとに変更する。
The
重要度変更部123(変更部の一例)は、例えば、クライアント端末2からの変更要求に応じて、コンテナごとの重要度を変更する。重要度変更部123は、取得した変更要求に基づいて、コンテナ情報記憶部322が記憶する「重要度」の値を変更する。なお、重要度変更部123は、クライアント端末2からの変更要求の他に、各コンテナへのアクセス頻度に応じて、重要度を変更するようにしてもよい。すなわち、重要度変更部123は、各コンテナに対するアクセス頻度を検出し、例えば、アクセス頻度の高いコンテナの重要度を高める処理を実行する。本実施形態のストレージシステム1aでは、アクセス頻度の高いコンテナの重要度が高められることにより、当該コンテナに対応するレプリカ数の上限値及び下限値が変更され、格納データの信頼性が向上される。
The importance change unit 123 (an example of a change unit) changes the importance of each container in response to a change request from the
以上説明したように、本実施形態による管理装置10aは、レプリカ数記憶部111aは、重要度ごとのレプリカ数の上限値及び下限値を記憶する。ここで、レプリカ数の上限値及び下限値のうちの少なくとも一方は、コンテナ(階層構造)の重要度に基づいて設定される。
これにより、本実施形態による管理装置10aは、重要度に応じて、レプリカ数をコンテナごとに柔軟に変更することができる。
As described above, in the
As a result, the
また、本実施形態による管理装置10aは、各コンテナへのアクセス頻度に応じて、重要度を変更する重要度変更部123を備えている。
これにより、本実施形態による管理装置10aは、コンテナへのアクセス頻度に応じて、ストレージの余剰容量を有効に活用しつつ、格納データの信頼性を動的に向上させることができる。
Further, the
Thereby, the
なお、本発明は、上記の各実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で変更可能である。
例えば、上記の各実施形態において、階層構造の一例として、コンテナごとに、重要度を設定する例を説明したが、これに限定されるものではなく、オブジェクトごと、アカウントごとに、重要度を設定するようにしてもよい。
In addition, this invention is not limited to said each embodiment, It can change in the range which does not deviate from the meaning of this invention.
For example, in each of the above embodiments, an example of setting the importance level for each container has been described as an example of the hierarchical structure, but the present invention is not limited to this. The importance level is set for each object or account. You may do it.
また、上記の各実施形態において、重要度ごとにリングファイルが設けられている例を説明したが、これに限定されるものではなく、例えば、コンテナごとにリングファイルが設けられていてもよい。
また、上記の各実施形態において、レプリカ数の調整処理をプロキシノード20が実行する例を説明したが、コンテナサーバ(ストレージノード32)などの他の装置が実行するようにしてもよい。
また、プロキシノード20が、レプリカ数の調整処理を定期的に実行する例を説明したが、これに限定されるものではなく、オブジェクトの追加又は削除(消去)の要求がクライアント端末2からあった場合、レプリカ数の調整処理を実行するようにしてもよい。
In each of the above-described embodiments, the ring file is provided for each degree of importance. However, the present invention is not limited to this. For example, a ring file may be provided for each container.
In each of the above embodiments, the
In addition, although an example in which the
また、上記の各実施形態において、管理装置10(10a)は、1つの装置で実現する例を説明したが、複数のサーバ装置により実現されてもよい。また、管理記憶部110(110a)の一部又は全部を管理装置10(10a)の外部に備えるようにしてもよい。
また、管理装置10(10a)は、変更情報記憶部112を備える例を説明したが、変更情報記憶部112を備える代わりに、演算などの他の手段により、上限値と下限値との間のレプリカ数を生成するようにしてもよい。
In each of the above embodiments, the management device 10 (10 a) has been described as an example realized by one device, but may be realized by a plurality of server devices. Further, a part or all of the management storage unit 110 (110a) may be provided outside the management apparatus 10 (10a).
Further, although the management apparatus 10 (10a) has been described as an example including the change
上記の各実施形態において、データ(例えば、オブジェクト)の複製を削除又は追加する場合に、サイズが大きいデータ(例えば、オブジェクト)を優先する例を説明したが、これに限定されるものではい。例えば、削除又は追加するデータ(例えば、オブジェクト)は、ランダムに決定されてもよいし、他のルールに従って決定されてもよい。 In each of the above-described embodiments, when deletion or addition of duplication of data (for example, an object) is described, an example in which large data (for example, an object) is prioritized has been described, but the present invention is not limited thereto. For example, data to be deleted or added (for example, an object) may be randomly determined or determined according to other rules.
なお、上述したストレージシステム1(1a)が備える各構成は、内部に、コンピュータシステムを有している。そして、上述したストレージシステム1(1a)が備える各構成の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述したストレージシステム1(1a)が備える各構成における処理を行ってもよい。ここで、「記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行する」とは、コンピュータシステムにプログラムをインストールすることを含む。ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、インターネットやWAN、LAN、専用回線等の通信回線を含むネットワークを介して接続された複数のコンピュータ装置を含んでもよい。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。このように、プログラムを記憶した記録媒体は、CD−ROM等の非一過性の記録媒体であってもよい。
Each component of the storage system 1 (1a) described above has a computer system inside. Then, a program for realizing the function of each configuration included in the storage system 1 (1a) described above is recorded in a computer readable recording medium, and the program recorded in the recording medium is read into the computer system and executed. By doing this, processing in each configuration provided in the above-described storage system 1 (1a) may be performed. Here, "to read and execute the program recorded on the recording medium into the computer system" includes installing the program on the computer system. The “computer system” mentioned here includes an OS and hardware such as peripheral devices.
Also, the “computer system” may include a plurality of computer devices connected via a network including communication lines such as the Internet, WAN, LAN, and dedicated lines. The term "computer-readable recording medium" refers to a storage medium such as a flexible disk, a magneto-optical disk, a ROM, a portable medium such as a ROM or a CD-ROM, or a hard disk built in a computer system. As described above, the recording medium storing the program may be a non-transitory recording medium such as a CD-ROM.
また、記録媒体には、当該プログラムを配信するために配信サーバからアクセス可能な内部又は外部に設けられた記録媒体も含まれる。なお、プログラムを複数に分割し、それぞれ異なるタイミングでダウンロードした後にストレージシステム1(1a)が備える各構成で合体される構成や、分割されたプログラムのそれぞれを配信する配信サーバが異なっていてもよい。さらに「コンピュータ読み取り可能な記録媒体」とは、ネットワークを介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、上述した機能の一部を実現するためのものであってもよい。さらに、上述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。 The recording medium also includes a recording medium provided internally or externally accessible from the distribution server for distributing the program. The program may be divided into a plurality of parts, and after downloading at different timings, the configuration combined in each configuration of the storage system 1 (1a) may be different, or the distribution server for distributing each of the divided programs may be different. . Furthermore, "computer-readable recording medium" holds a program for a certain period of time, such as a volatile memory (RAM) in a computer system serving as a server or a client when the program is transmitted via a network. We shall include things. Further, the program may be for realizing a part of the functions described above. Furthermore, it may be a so-called difference file (difference program) that can realize the above-described functions in combination with a program already recorded in the computer system.
また、上述した機能の一部又は全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。上述した各機能は個別にプロセッサ化してもよいし、一部、又は全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、又は汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。 In addition, part or all of the above-described functions may be realized as an integrated circuit such as LSI (Large Scale Integration). Each function mentioned above may be processor-ized separately, and part or all may be integrated and processor-ized. Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. In the case where an integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology, integrated circuits based on such technology may also be used.
1、1a ストレージシステム
2 クライアント端末
10、10a 管理装置
20 プロキシノード
30、33 ストレージノード
31 ストレージノード(アカウントサーバ)
32 ストレージノード(コンテナサーバ)
110、110a 管理記憶部
111、111a レプリカ数記憶部
112 変更情報記憶部
120、120a 管理制御部
121 空き容量検出部
122、122a リング変更部
123 重要度変更部
210、310、320、330 記憶部
211、311、321、331 リングファイル記憶部
312 アカウント情報記憶部
322 コンテナ情報記憶部
NT ネットワーク
1,
32 Storage node (container server)
110, 110a
Claims (8)
前記ストレージシステムの空き容量を検出する検出部と、
前記ストレージシステムの空き容量と、下位の階層として前記オブジェクトを配下に格納するコンテナごとの重要度に対応して設定される小数値を含む前記レプリカ数の変更情報であって、前記重要度が低い程、前記ストレージシステムの空き容量が多い状態から前記レプリカ数が低下するように設定されている前記レプリカ数の変更情報を記憶する変更情報記憶部と、
前記検出部が検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更部と
を備えることを特徴とする管理装置。 A management system of a storage system, which is a number of replicas indicating the number of objects to be copied and stored, which is a group of data, and which distributes and stores the objects based on the set number of replicas.
A detection unit that detects the free space of the storage system;
Change information of the number of replicas including the free capacity of the storage system and the decimal value set corresponding to the importance of each container that stores the object thereunder as a lower hierarchy, and the importance is low A change information storage unit for storing change information of the number of replicas set so that the number of replicas decreases from a state where the free capacity of the storage system is large;
The change information of the number of replicas corresponding to the free space of the storage system detected by the detection unit and the degree of importance of each container storing the object is read from the change information storage unit, and the number of replicas read is changed And a change unit configured to change the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below a predetermined lower limit value of the number of replicas according to information. Management device.
前記変更部は、
前記コンテナと重要度とを関連付けて記憶する重要度記憶部から前記コンテナごとの重要度を取得し、取得した前記コンテナごとの重要度と、前記空き容量とに基づいて、前記レプリカ数記憶部が記憶する前記上限値と前記下限値との間で前記レプリカ数の設定を前記コンテナごとに変更する
ことを特徴とする請求項1に記載の管理装置。 A replica number storage unit for storing the upper limit value and the lower limit value of the replica number;
The change unit is
The importance of each container is acquired from the importance storage unit that associates and stores the container and the importance, and the replica number storage unit is based on the acquired importance of each container and the free space. The management apparatus according to claim 1, wherein the setting of the number of replicas is changed for each of the containers between the upper limit value and the lower limit value to be stored.
前記レプリカ数の上限値及び下限値のうちの少なくとも一方は、前記コンテナの重要度に基づいて設定される
ことを特徴とする請求項2に記載の管理装置。 The replica number storage unit stores an upper limit value and a lower limit value of the replica number for each degree of importance,
The management device according to claim 2, wherein at least one of the upper limit value and the lower limit value of the number of replicas is set based on the degree of importance of the container.
前記変更部は、前記検出部が検出したストレージシステム1の空き容量に応じて、前記定期的に前記レプリカ数の設定を変更する
ことを特徴とする請求項1から請求項3のいずれか一項に記載の管理装置。 The detection unit periodically detects the free space of the storage system,
The said change part changes the setting of the said number of replicas regularly according to the free capacity of the storage system 1 which the said detection part detected. The claim any one of the Claims 1-3 characterized by the above-mentioned. Management device described in.
前記コンテナにおける平均レプリカ数が、前記管理装置によって設定された前記レプリカ数になるように、前記コンテナの配下に格納されている前記オブジェクトのレプリカ数を調整するサーバ装置と
を備えること特徴とするストレージシステム。 The management apparatus according to any one of claims 1 to 4.
And a server device for adjusting the number of replicas of the object stored under the container such that the average number of replicas in the container is equal to the number of replicas set by the management device. system.
前記サーバ装置は、前記ストレージ装置において、前記オブジェクトの複製を削除又は追加する場合に、前記コンテナの配下に格納されている前記オブジェクトのうち、サイズが大きいオブジェクトを優先する
ことを特徴とする請求項5に記載のストレージシステム。 The storage apparatus includes a plurality of storage devices to which duplicates of the stored objects are deleted or added based on the number of replicas changed by the management device.
When deleting or adding a duplicate of the object in the storage device, the server device gives priority to an object having a large size among the objects stored under the container. The storage system according to 5.
検出部が、前記ストレージシステムの空き容量を検出する検出ステップと、
変更部が、前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップと
を含むことを特徴とするストレージ管理方法。 It is the number of replicas that indicates the number of objects to be replicated and stored as a set of data, and the objects are distributed and stored based on the set number of replicas, and the free space of the storage system and lower hierarchy Change information of the number of replicas including a decimal value set corresponding to the degree of importance of each container under which the object is stored, wherein the lower the degree of importance, the larger the free space of the storage system A storage management method of a storage system, comprising: a change information storage unit that stores change information of the number of replicas set so that the number of replicas decreases.
A detection step of detecting a free space of the storage system by a detection unit;
The changing unit reads, from the change information storage unit, the change information of the number of replicas corresponding to the free space of the storage system detected in the detection step and the importance of each container storing the object. Changing the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below a predetermined lower limit value of the number of replicas according to change information of the number of replicas; Storage management method characterized by including.
前記ストレージシステムの空き容量を検出する検出ステップと、
前記検出ステップにて検出した前記ストレージシステムの空き容量と、前記オブジェクトを格納するコンテナごとの重要度とに対応する前記レプリカ数の変更情報を前記変更情報記憶部から読み出し、読み出した前記レプリカ数の変更情報に応じて、予め定められた前記レプリカ数の下限値を下回らないように、前記コンテナごとの平均値として前記小数値を含む前記レプリカ数の設定を変更する変更ステップと
を実行させるためのプログラム。 It is the number of replicas that indicates the number of objects to be replicated and stored as a set of data, and the objects are distributed and stored based on the set number of replicas, and the free space of the storage system and lower hierarchy Change information of the number of replicas including a decimal value set corresponding to the degree of importance of each container under which the object is stored, wherein the lower the degree of importance, the larger the free space of the storage system A computer of a storage system comprising: a change information storage unit storing change information of the number of replicas set so that the number of replicas decreases.
A detection step of detecting the free capacity of the storage system;
The change information of the number of replicas corresponding to the free space of the storage system detected in the detection step and the importance of each container storing the object is read from the change information storage unit, and the read number of the replicas is read Changing the setting of the number of replicas including the decimal value as an average value of the containers so as not to fall below a predetermined lower limit value of the number of replicas according to the change information program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019045468A JP6676203B2 (en) | 2019-03-13 | 2019-03-13 | Management device, storage system, storage management method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019045468A JP6676203B2 (en) | 2019-03-13 | 2019-03-13 | Management device, storage system, storage management method, and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014233706A Division JP2016099659A (en) | 2014-11-18 | 2014-11-18 | Management device, storage system, storage management method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019087287A true JP2019087287A (en) | 2019-06-06 |
JP6676203B2 JP6676203B2 (en) | 2020-04-08 |
Family
ID=66764302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019045468A Active JP6676203B2 (en) | 2019-03-13 | 2019-03-13 | Management device, storage system, storage management method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6676203B2 (en) |
-
2019
- 2019-03-13 JP JP2019045468A patent/JP6676203B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP6676203B2 (en) | 2020-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10896102B2 (en) | Implementing secure communication in a distributed computing system | |
KR101099202B1 (en) | Synchronization logical views independent of physical storage representations | |
JP4714778B2 (en) | Archive device, conversion device, and conversion program | |
US20050234867A1 (en) | Method and apparatus for managing file, computer product, and file system | |
US9031906B2 (en) | Method of managing data in asymmetric cluster file system | |
US20160378846A1 (en) | Object based storage cluster with multiple selectable data handling policies | |
CN112565325B (en) | Mirror image file management method, device and system, computer equipment and storage medium | |
JP2008015984A (en) | Data migration device, method and program | |
US20190213240A1 (en) | Multimodal sharing of content between documents | |
JP2010198383A (en) | Storage device, software updating method, and software updating program | |
CN110022338B (en) | File reading method and system, metadata server and user equipment | |
JP2008181213A (en) | Information management system, information management device, and program | |
US11575647B1 (en) | Distributed network address allocation management | |
JP2003216521A (en) | Content disposition method, program for method, and recording medium recording program | |
JP2010231567A (en) | Storage switch and method for changing storage area size | |
CN111930315A (en) | Data access method, data access device and storage medium | |
JP2016099659A (en) | Management device, storage system, storage management method, and program | |
JP6676203B2 (en) | Management device, storage system, storage management method, and program | |
JP2010231690A (en) | Storage system | |
JP2003157194A (en) | File server program | |
CN114415980B (en) | Multi-cloud cluster data management system, method and device | |
JP7491545B2 (en) | Information Processing Method | |
CN117041258B (en) | BIM engineering information management system | |
CN112269758B (en) | File migration method based on file classification and related device | |
US20240004575A1 (en) | Storage system and data management method of storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190313 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200212 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200218 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200311 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6676203 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |