[go: up one dir, main page]

JP2008234264A - Load balancing device for file server, program for load balancing, and load balancing method - Google Patents

Load balancing device for file server, program for load balancing, and load balancing method Download PDF

Info

Publication number
JP2008234264A
JP2008234264A JP2007072271A JP2007072271A JP2008234264A JP 2008234264 A JP2008234264 A JP 2008234264A JP 2007072271 A JP2007072271 A JP 2007072271A JP 2007072271 A JP2007072271 A JP 2007072271A JP 2008234264 A JP2008234264 A JP 2008234264A
Authority
JP
Japan
Prior art keywords
file
file server
load
server
relocation
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.)
Pending
Application number
JP2007072271A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Tsubota
和義 坪田
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu Ltd
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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP2007072271A priority Critical patent/JP2008234264A/en
Publication of JP2008234264A publication Critical patent/JP2008234264A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To distribute load among file servers even if the file servers are full in capacity in a storage system including a file server group. <P>SOLUTION: The load balancing device 300 is provided between a client 100 and a storage system 200. The load balancing device 300, when detecting connection of a new file server 201d to file servers 201a-201c, performs first file relocation so that load is distributed among the file servers 201a-201d including the file server 201d, and clears out the file server 201d, after completion of the first file relocation, and performs second file relocation so that the load is distributed within the original file servers 201a-201c. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明はファイルサーバの負荷分散装置、負荷分散装置用プログラム、及び負荷分散方法に関し、特に、ファイルサーバの着脱を伴う負荷分散システムにおけるファイルサーバの負荷分散装置、負荷分散装置用プログラム、及び負荷分散方法に関する。   The present invention relates to a load distribution device for a file server, a program for the load distribution device, and a load distribution method, and more particularly to a load distribution device for a file server, a program for the load distribution device, and a load distribution in a load distribution system involving attachment / detachment of a file server. Regarding the method.

NAS(Network Attached Storage)のような、ネットワーク内のファイルサーバ群(クラスタ)全体を1つの仮想ファイルサーバとするストレージシステムでは、一部のファイルサーバにアクセス負荷が高いデータが偏在すると、ファイルサーバ群全体としてのアクセス性能が低下するという問題がある。   In a storage system such as NAS (Network Attached Storage) in which the entire file server group (cluster) in the network is a single virtual file server, if data with a high access load is unevenly distributed to some file servers, the file server group There is a problem that access performance as a whole deteriorates.

このような問題を解決するため、従来、ネットワーク内の各ファイルサーバのアクセス負荷の偏りを防ぎ、ファイルサーバ群全体としてのアクセス性能を向上する負荷分散技術が考案されている。   In order to solve such a problem, conventionally, a load distribution technique has been devised that prevents uneven access load of each file server in the network and improves the access performance of the entire file server group.

例えば、特許文献1には、ネットワーク上に複数の記憶装置を有するファイル蓄積管理システムにおいて、記憶装置上の各ファイルのアクセス要求の傾向をモニタし、ファイルの配置を動的に変化させることにより、アクセス負荷の偏りを防ぎ、ファイルアクセスを高速化するシステムが開示されている。   For example, in Patent Document 1, in a file storage management system having a plurality of storage devices on a network, by monitoring the tendency of access requests for each file on the storage device and dynamically changing the file arrangement, A system for preventing uneven access load and speeding up file access is disclosed.

特開平10−320261号公報JP-A-10-320261

しかしながら、上述した従来の負荷分散技術においては、各ファイルサーバの容量に余裕がない場合は、ファイルサーバ間でのファイルの移動ができないため、アクセス負荷の分散が困難になるという問題があった。
(発明の目的)
本発明の目的は、上述の従来の課題である、ファイルサーバの容量に余裕がない場合に、アクセス負荷の分散ができなくなるという問題を解決したファイルサーバの負荷分散装置、負荷分散装置用プログラム、及び負荷分散方法を提供することにある。
However, the above-described conventional load distribution technique has a problem that it is difficult to distribute the access load because the file cannot be moved between the file servers when the capacity of each file server is not sufficient.
(Object of invention)
An object of the present invention is a load distribution device for a file server, a program for the load distribution device, which solves the problem that the access load cannot be distributed when the capacity of the file server is not sufficient, which is the above-described conventional problem, And providing a load balancing method.

本発明の第1の負荷分散装置は、ストレージシステム内の複数のファイルサーバへのファイルアクセスを監視し、ファイル毎のアクセス負荷をアクセス負荷記憶手段に保存するアクセス負荷監視手段と、前記ストレージシステムへの追加ファイルサーバの接続を検出するプラグ監視手段と、前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、前記アクセス負荷記憶手段の内容を基に、前記追加ファイルサーバを除いた複数のファイルサーバから、前記ストレージシステム内の全てのファイルサーバ間のアクセス負荷が分散されるようにファイルを選択して、前記追加ファイルサーバへ移動する第一のファイル再配置を行い、前記第一のファイル再配置終了後、前記追加ファイルサーバへ移動したファイルを、前記追加ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該複数のファイルサーバから移動先となるファイルサーバを選択して移動する第二のファイル再配置を行うファイル再配置手段と、を備えたことを特徴とする。   The first load distribution apparatus of the present invention monitors file access to a plurality of file servers in a storage system and stores an access load for each file in an access load storage unit, and to the storage system Monitoring means for detecting the connection of the additional file server, and when the connection of the additional file server is detected by the plug monitoring means, a plurality of files excluding the additional file server based on the contents of the access load storage means The file is selected from the file server so that the access load among all the file servers in the storage system is distributed, and the first file is relocated to be moved to the additional file server. After the file rearrangement, the file moved to the additional file server is added to the additional file server. File relocation means for performing second file relocation that selects and moves a file server as a migration destination from the plurality of file servers so that the access load among the plurality of file servers excluding the file server is distributed And.

本発明の第2の負荷分散装置は、第1の負荷分散装置において、前記ファイル再配置手段が、前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、モード記憶手段に保存されたファイル再配置操作に関するモードが追加モードの場合は、前記第一のファイル再配置のみを行い、前記モードが一時追加モードの場合は、前記第一のファイル再配置と前記第二のファイル再配置を行う、ことを特徴とする。   According to a second load distribution apparatus of the present invention, in the first load distribution apparatus, when the file relocation unit detects connection of the additional file server by the plug monitoring unit, the file storage unit stores the file storage unit in the mode storage unit. When the mode related to the file relocation operation is the addition mode, only the first file relocation is performed. When the mode is the temporary addition mode, the first file relocation and the second file relocation are performed. It is characterized by performing.

本発明の第3の負荷分散装置は、第2の負荷分散装置において、前記ファイル再配置手段が、クライアントから削除対象ファイルサーバを指定した空作成モードを指示された場合、前記アクセス負荷記憶手段の内容を基に、前記削除対象ファイルサーバのファイルを、前記削除対象ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該削除対象のファイルサーバから移動先となるファイルサーバを選択して移動する、ことを特徴とする。   According to a third load distribution apparatus of the present invention, in the second load distribution apparatus, when the file relocation unit is instructed by the client to an empty creation mode in which the file server to be deleted is designated, the access load storage unit Based on the contents, the file server to be moved from the file server to be deleted so that the access load among the plurality of file servers excluding the file server to be deleted is distributed. It is characterized by selecting and moving.

本発明の第1の負荷分散装置用プログラムは、コンピュータを、ストレージシステム内の複数のファイルサーバへのファイルアクセスを監視し、ファイル毎のアクセス負荷をアクセス負荷記憶手段に保存するアクセス負荷監視手段と、前記ストレージシステムへの追加ファイルサーバの接続を検出するプラグ監視手段と、前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、前記アクセス負荷記憶手段の内容を基に、前記追加ファイルサーバを除いた複数のファイルサーバから、前記ストレージシステム内の全てのファイルサーバ間のアクセス負荷が分散されるようにファイルを選択して、前記追加ファイルサーバへ移動する第一のファイル再配置を行い、前記第一のファイル再配置終了後、前記追加ファイルサーバへ移動したファイルを、前記追加ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該複数のファイルサーバから移動先となるファイルサーバを選択して移動する第二のファイル再配置を行うファイル再配置手段と、して機能させることを特徴とする。   The first load distribution device program of the present invention comprises: an access load monitoring unit that monitors a file access to a plurality of file servers in a storage system and stores an access load for each file in an access load storage unit; A plug monitoring unit for detecting connection of the additional file server to the storage system; and when the connection of the additional file server is detected by the plug monitoring unit, the additional file is based on the contents of the access load storage unit. Select a file from a plurality of file servers excluding servers so that the access load among all the file servers in the storage system is distributed, and perform the first file relocation to move to the additional file server After the first file relocation, the additional file server In order to distribute the access load among the plurality of file servers excluding the additional file server, the second file re-transferring the moved file by selecting the file server as the destination from the plurality of file servers. It is characterized by functioning as a file relocation means for performing the arrangement.

本発明の第2の負荷分散装置用プログラムは、第1の負荷分散装置用プログラムにおいて、前記ファイル再配置手段が、前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、モード記憶手段に保存されたファイル再配置操作に関するモードが追加モードの場合は、前記第一のファイル再配置のみを行い、前記モードが一時追加モードの場合は、前記第一のファイル再配置と前記第二のファイル再配置を行う、ことを特徴とする。   According to a second load distribution device program of the present invention, in the first load distribution device program, when the file relocation unit detects the connection of the additional file server by the plug monitoring unit, the mode storage unit When the mode relating to the file relocation operation stored in the file is the addition mode, only the first file relocation is performed. When the mode is the temporary addition mode, the first file relocation and the second file relocation operation are performed. The file relocation is performed.

本発明の第3の負荷分散装置用プログラムは、第2の負荷分散装置用プログラムにおいて、前記ファイル再配置手段が、クライアントから削除対象ファイルサーバを指定した空作成モードを指示された場合、前記アクセス負荷記憶手段の内容を基に、前記削除対象ファイルサーバのファイルを、前記削除対象ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該削除対象のファイルサーバから移動先となるファイルサーバを選択して移動する、ことを特徴とする。   According to a third load balancer program of the present invention, in the second load balancer program, when the file relocation unit is instructed by a client to an empty creation mode designating a file server to be deleted, the access Based on the contents of the load storage means, the file of the deletion target file server is moved from the deletion target file server so that the access load among the plurality of file servers excluding the deletion target file server is distributed. A file server to be selected is selected and moved.

本発明の第1の負荷分散方法は、負荷分散装置が、ストレージシステム内の複数のファイルサーバへのファイルアクセスを監視し、ファイル毎のアクセス負荷をアクセス負荷記憶手段に保存するアクセス負荷監視ステップと、前記ストレージシステムへの追加ファイルサーバの接続を検出するプラグ監視ステップと、前記プラグ監視ステップにより前記追加ファイルサーバの接続が検出された場合、前記アクセス負荷記憶手段の内容を基に、前記追加ファイルサーバを除いた複数のファイルサーバから、前記ストレージシステム内の全てのファイルサーバ間のアクセス負荷が分散されるようにファイルを選択して、前記追加ファイルサーバへ移動する第一のファイル再配置を行い、前記第一のファイル再配置終了後、前記追加ファイルサーバへ移動したファイルを、前記追加ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該複数のファイルサーバから移動先となるファイルサーバを選択して移動する第二のファイル再配置を行うファイル再配置ステップと、を含むことを特徴とする。   According to a first load distribution method of the present invention, an access load monitoring step in which a load distribution apparatus monitors file access to a plurality of file servers in a storage system and stores an access load for each file in an access load storage unit; A plug monitoring step for detecting connection of an additional file server to the storage system, and when the connection of the additional file server is detected by the plug monitoring step, the additional file is determined based on the contents of the access load storage means. Select a file from a plurality of file servers excluding servers so that the access load among all the file servers in the storage system is distributed, and perform the first file relocation to move to the additional file server After the first file relocation, the additional file server In order to distribute the access load among the plurality of file servers excluding the additional file server, the second file re-transferring the moved file by selecting the file server as the destination from the plurality of file servers. And a file rearrangement step for performing the arrangement.

本発明の第2の負荷分散方法は、第1の負荷分散方法において、前記ファイル再配置ステップが、前記プラグ監視ステップにより前記追加ファイルサーバの接続が検出された場合、モード記憶手段に保存されたファイル再配置操作に関するモードが追加モードの場合は、前記第一のファイル再配置のみを行い、前記モードが一時追加モードの場合は、前記第一のファイル再配置と前記第二のファイル再配置を行う、ことを特徴とする。   According to a second load distribution method of the present invention, in the first load distribution method, the file rearrangement step is stored in a mode storage unit when the connection of the additional file server is detected by the plug monitoring step. When the mode related to the file relocation operation is the addition mode, only the first file relocation is performed. When the mode is the temporary addition mode, the first file relocation and the second file relocation are performed. It is characterized by performing.

本発明の第3の負荷分散方法は、第2の負荷分散方法において、前記ファイル再配置ステップが、クライアントから削除対象ファイルサーバを指定した空作成モードを指示された場合、前記アクセス負荷記憶手段の内容を基に、前記削除対象ファイルサーバのファイルを、前記削除対象ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該削除対象のファイルサーバから移動先となるファイルサーバを選択して移動する、ことを特徴とする。   According to a third load distribution method of the present invention, in the second load distribution method, when the file relocation step is instructed by the client to an empty creation mode in which the file server to be deleted is designated, the access load storage means Based on the contents, the file server to be moved from the file server to be deleted so that the access load among the plurality of file servers excluding the file server to be deleted is distributed. It is characterized by selecting and moving.

本発明の効果は、ネットワークにより接続された複数のファイルサーバから成るファイルサーバ群により構成されるストレージシステムにおいて、各ファイルサーバの容量に余裕がない場合でも、各ファイルサーバの間で負荷分散を実行できることである。   The effect of the present invention is that, in a storage system composed of a group of file servers composed of a plurality of file servers connected by a network, load distribution is performed among the file servers even if the capacity of each file server is not sufficient. It can be done.

その理由は、負荷分散装置が、新たなファイルサーバの接続を検出したことをトリガに、当該ファイルサーバを含めて負荷分散がされるように第一のファイル再配置を行い、第一のファイル再配置が完了したところで、当該ファイルサーバ内のファイルを空にして元のファイルサーバ群内で負荷分散されるように第二のファイル再配置を行うためである。   The reason is that when the load balancer detects a new file server connection as a trigger, the first file relocation is performed so that the load is distributed including that file server. This is because when the placement is completed, the second file is rearranged so that the file in the file server is emptied and the load is distributed in the original file server group.

次に、本発明の最良の実施の形態について図面を参照して詳細に説明する。   Next, the best mode for carrying out the present invention will be described in detail with reference to the drawings.

図1に本発明の実施の形態における負荷分散システムの構成を示す。図1を参照すると、本発明の実施の形態における負荷分散システムは、クライアント100、ストレージシステム200、負荷分散装置300により構成される。クライアント100と負荷分散装置300、ストレージシステム200と負荷分散装置300は、それぞれネットワークを介して接続される。ここで、クライアント100は、ストレージシステム200の利用者側の装置である。ストレージシステム200は、複数のファイルサーバ201をネットワークで接続し、全体として仮想ファイルサーバを提供するものである。ファイルサーバ201は、固定型の記憶媒体を持つ記憶装置202を実装したサーバで、クライアント100の要求に従い、記憶装置202上のデータのリード/ライトといったアクセスを行う。   FIG. 1 shows a configuration of a load distribution system according to an embodiment of the present invention. Referring to FIG. 1, the load distribution system according to the embodiment of the present invention includes a client 100, a storage system 200, and a load distribution apparatus 300. The client 100 and the load balancer 300, and the storage system 200 and the load balancer 300 are connected to each other via a network. Here, the client 100 is a device on the user side of the storage system 200. The storage system 200 connects a plurality of file servers 201 via a network and provides a virtual file server as a whole. The file server 201 is a server on which a storage device 202 having a fixed storage medium is mounted, and performs access such as reading / writing data on the storage device 202 in accordance with a request from the client 100.

負荷分散装置300は、クライアント100がファイルサーバ201を利用する上でのアクセスポイントであり、ファイルのアクセス負荷監視とファイル再配置によるアクセス負荷分散を行う。負荷分散装置300は、プログラム制御により動作する情報処理装置であり、モード指定実行部301、アクセス負荷監視部302、ファイルサーバ負荷計算部303、プラグ監視部304、イベント処理部305、ファイル再配置部306、ファイルアクセス制御部307、モード記憶部351、アクセス負荷記憶部352、ファイルサーバ負荷記憶部353、プラグ状態記憶部354、及びファイル所在記憶部355により構成される。   The load distribution apparatus 300 is an access point when the client 100 uses the file server 201, and performs access load distribution through file access load monitoring and file relocation. The load distribution apparatus 300 is an information processing apparatus that operates under program control, and includes a mode designation execution unit 301, an access load monitoring unit 302, a file server load calculation unit 303, a plug monitoring unit 304, an event processing unit 305, and a file rearrangement unit. 306, a file access control unit 307, a mode storage unit 351, an access load storage unit 352, a file server load storage unit 353, a plug state storage unit 354, and a file location storage unit 355.

ここで、モード記憶部351は、ファイルサーバ201の接続、切断時のファイル再配置操作に関して、ユーザが指定したモードを記憶管理する。アクセス負荷記憶部352は、図9に示すように、ファイル毎のアクセス負荷を記憶管理する。アクセス負荷としては、単位時間あたりのアクセス回数(アクセス頻度)やデータ転送量を用いることができる。ファイルサーバ負荷記憶部353は、図10に示すようにファイルサーバ201毎のアクセス負荷情報を記憶管理する。プラグ状態記憶部354は、図11に示すように、ストレージシステム200内で認識されているファイルサーバ201の接続状態を記憶管理する。ファイル所在記憶部355は、図12に示すように、ファイル毎にその所在(どのファイルサーバ201にあるか)を記憶管理する。   Here, the mode storage unit 351 stores and manages the mode designated by the user regarding the file rearrangement operation when the file server 201 is connected or disconnected. As shown in FIG. 9, the access load storage unit 352 stores and manages the access load for each file. As the access load, the number of accesses per unit time (access frequency) and the data transfer amount can be used. The file server load storage unit 353 stores and manages access load information for each file server 201 as shown in FIG. The plug status storage unit 354 stores and manages the connection status of the file server 201 recognized in the storage system 200, as shown in FIG. As shown in FIG. 12, the file location storage unit 355 stores and manages the location (which file server 201 is present) for each file.

モード指定実行部301は、ユーザよりファイルサーバ201の接続時のファイル再配置操作に関するモード(「追加モード」、「一時追加モード」)を受付け、モード記憶部351に格納する。また、ユーザより取り外しの準備動作の要求(「空作成モード」)を受付け、イベント処理部305に通知する。   The mode designation execution unit 301 accepts a mode (“addition mode”, “temporary addition mode”) related to the file relocation operation when the file server 201 is connected from the user, and stores it in the mode storage unit 351. Also, a request for removal preparation operation (“empty creation mode”) is received from the user and notified to the event processing unit 305.

アクセス負荷監視部302は、各ファイルを常時監視してファイル毎のアクセス負荷を取得し、アクセス負荷記憶部352の内容を更新する。   The access load monitoring unit 302 constantly monitors each file, acquires the access load for each file, and updates the contents of the access load storage unit 352.

ファイルサーバ負荷計算部303は、アクセス負荷記憶部352の内容を参照してファイルサーバ201毎のアクセス負荷を計算し、ファイルサーバ負荷記憶部353の内容を更新する。   The file server load calculation unit 303 calculates the access load for each file server 201 with reference to the contents of the access load storage unit 352 and updates the contents of the file server load storage unit 353.

プラグ監視部304は、ストレージシステム200へのファイルサーバ201の物理的な接続状態を常時監視し、ファイルサーバ201の接続あるいは切断の事象が新たに発生した場合、プラグ状態記憶部354の内容を更新する。また、ファイルサーバ201の接続の事象が発生した場合、即時にイベント処理部305に通知する。   The plug monitoring unit 304 constantly monitors the physical connection state of the file server 201 to the storage system 200, and updates the contents of the plug state storage unit 354 when a new connection or disconnection event of the file server 201 occurs. To do. Further, when a connection event of the file server 201 occurs, the event processing unit 305 is notified immediately.

イベント処理部305は、プラグ監視部304からファイルサーバ201の接続の事象の通知を受けた場合、あるいは、モード指定実行部301から準備動作の通知を受けた場合、モード記憶部351とプラグ状態記憶部354を参照し、ファイル再配置部306の実行内容を決定し、ファイル再配置部306にファイル再配置の実行を指示する。   When the event processing unit 305 receives a notification of the connection event of the file server 201 from the plug monitoring unit 304 or receives a notification of the preparation operation from the mode designation execution unit 301, the event processing unit 305 and the plug status storage The execution content of the file relocation unit 306 is determined with reference to the unit 354, and the file relocation unit 306 is instructed to execute the file relocation.

ファイル再配置部306は、イベント処理部305からの指示に基づき、ファイルをファイルサーバ201間で移動・再配置する。また、再配置後のファイルの所在に応じて、ファイル所在記憶部355の内容を更新する。   The file rearrangement unit 306 moves and rearranges files between the file servers 201 based on an instruction from the event processing unit 305. Further, the contents of the file location storage unit 355 are updated according to the location of the file after the rearrangement.

ファイルアクセス制御部307は、クライアント100からの要求によりデータアクセスを行う場合にファイル所在記憶部355を参照し、ストレージシステム200内のどのファイルサーバ201にデータがあるかを判断し、データへのアクセスを行う。   The file access control unit 307 refers to the file location storage unit 355 when performing data access in response to a request from the client 100, determines which file server 201 in the storage system 200 has data, and accesses the data I do.

次に、本発明の実施の形態の動作について図面を参照して説明する。   Next, the operation of the embodiment of the present invention will be described with reference to the drawings.

本発明の実施の形態においては、モード記憶部351に記憶されるモードとして、「追加モード」、「空作成モード」、及び「一時追加モード」の3つを使用するものとする。「追加モード」は、ストレージシステム200にファイルサーバ201を追加して負荷分散を行うものであり、図2に示すように、空のファイルサーバ201をストレージシステム200に追加すると、自動的に、追加されたファイルサーバ201も含めた全てのファイルサーバ201間でアクセス負荷の分散を行うようにファイルの再配置を行う。「空きサーバ作成モード」は、ストレージシステム200からファイルサーバ201を切り離す準備として使用するものであり、図3に示すように、ユーザにより指定されたファイルサーバ201が空となるようにファイルの再配置を行う。「一時追加モード」は、ストレージシステム200内のファイルサーバ201の容量に余裕がない時に、一時的に追加された空きのファイルサーバ201を利用してアクセス負荷の分散を行うものであり、図4に示すように、空のファイルサーバ201を追加すると、自動的に、追加されたファイルサーバ201も含めた全てのファイルサーバ201間でアクセス負荷の分散を行うようにファイルの再配置を行い、次に、追加されたファイルサーバ201が空となるように、再度、ファイルの再配置を行う。以下、各モードの動作を詳細に説明する。   In the embodiment of the present invention, three modes of “addition mode”, “empty creation mode”, and “temporary addition mode” are used as modes stored in the mode storage unit 351. The “addition mode” is for adding the file server 201 to the storage system 200 to perform load distribution. As shown in FIG. 2, when an empty file server 201 is added to the storage system 200, it is automatically added. The files are rearranged so that the access load is distributed among all the file servers 201 including the file server 201 that has been changed. The “free server creation mode” is used as a preparation for detaching the file server 201 from the storage system 200. As shown in FIG. 3, the file rearrangement is performed so that the file server 201 designated by the user is empty. I do. In the “temporary addition mode”, when the capacity of the file server 201 in the storage system 200 is not sufficient, the access load is distributed using the temporarily added free file server 201. FIG. As shown, when an empty file server 201 is added, the files are automatically rearranged so that the access load is distributed among all the file servers 201 including the added file server 201. In addition, the files are rearranged again so that the added file server 201 becomes empty. Hereinafter, the operation in each mode will be described in detail.

「追加モード」
図5に「追加モード」の動作フローを示す。ここでは、ストレージシステム200上のファイルサーバ201a〜201cに、空のファイルサーバ201dが追加される場合を例に説明する。
"Additional mode"
FIG. 5 shows an operation flow of the “addition mode”. Here, a case where an empty file server 201d is added to the file servers 201a to 201c on the storage system 200 will be described as an example.

アクセス負荷監視部302は、ストレージシステム200内の各ファイルサーバ201のファイルアクセスを監視し、アクセス負荷の情報と統計をアクセス負荷記憶部352にファイル毎に記録しているものとする。ただし、負荷分散のために実行されるファイル再配置に関するファイルアクセスは、アクセス負荷の統計に計上しない。   The access load monitoring unit 302 monitors file access of each file server 201 in the storage system 200 and records access load information and statistics in the access load storage unit 352 for each file. However, file access related to file relocation executed for load distribution is not counted in the access load statistics.

モード指定実行部301は、事前にクライアント100から、ユーザによる「追加モード」の指定を受付ける(ステップS101)。モード指定実行部301は指定されたモードをモード記憶部351に保存する(ステップS102)。   The mode designation execution unit 301 receives the designation of “additional mode” by the user from the client 100 in advance (step S101). The mode designation execution unit 301 stores the designated mode in the mode storage unit 351 (step S102).

ファイルサーバ201dがストレージシステム200に追加されると、プラグ監視部304は、ファイルサーバ201dの接続を検出し、プラグ状態記憶部354にファイルサーバ201dを追加し(ステップS103)、イベント処理部305にファイルサーバ201dの接続を通知する(ステップS104)。   When the file server 201d is added to the storage system 200, the plug monitoring unit 304 detects the connection of the file server 201d, adds the file server 201d to the plug state storage unit 354 (step S103), and adds it to the event processing unit 305. The connection of the file server 201d is notified (step S104).

イベント処理部305は、モード記憶部351の内容から「追加モード」であることを確認する(ステップS105)。イベント処理部305は、プラグ状態記憶部354を参照し、ファイルサーバ201dが存在することを確認し、ファイルサーバ201dにアクセスし、ファイルサーバ201dが空であることを確認する(ステップS106)。イベント処理部305は、ファイルサーバ負荷計算部303に、各ファイルサーバ201の負荷計算を指示する(ステップS107)。   The event processing unit 305 confirms the “additional mode” from the contents of the mode storage unit 351 (step S105). The event processing unit 305 refers to the plug state storage unit 354, confirms that the file server 201d exists, accesses the file server 201d, and confirms that the file server 201d is empty (step S106). The event processing unit 305 instructs the file server load calculation unit 303 to calculate the load of each file server 201 (step S107).

ファイルサーバ負荷計算部303は、アクセス負荷記憶部352及びファイル所在記憶部355を参照し、ファイル毎のアクセス負荷を取得し、ファイルサーバ201毎に集計してファイルサーバ負荷記憶部353に記録する(ステップS108)。   The file server load calculation unit 303 refers to the access load storage unit 352 and the file location storage unit 355, acquires the access load for each file, aggregates the files for each file server 201, and records them in the file server load storage unit 353 ( Step S108).

イベント処理部305は、ファイルサーバ201dを指定し、ファイルサーバ201の接続に伴うファイル再配置(ファイルサーバ201a〜201cからファイルサーバ201dへファイル再配置)を行うことをファイル再配置部306に指示する(ステップS109)。   The event processing unit 305 designates the file server 201d and instructs the file relocation unit 306 to perform file relocation (file relocation from the file servers 201a to 201c to the file server 201d) accompanying the connection of the file server 201. (Step S109).

ファイル再配置部306は、アクセス負荷記憶部352、ファイルサーバ負荷記憶部353の内容を基に、ファイルサーバ201a〜201cから追加されたファイルサーバ201dへ移動するファイルを決定する(ステップS110)。ファイルサーバ201dへ移動するファイルは、移動後のファイルサーバ201a〜201dのアクセス負荷が分散されるように選択される。ファイル再配置部306は、選択したファイルをファイルサーバ201a〜201cからファイルサーバ201dへ移動する(ステップS111)。ファイル再配置部306は、再配置後のファイルの所在に応じて、ファイル所在記憶部355を更新する(ステップS112)。   The file relocation unit 306 determines a file to be moved from the file servers 201a to 201c to the added file server 201d based on the contents of the access load storage unit 352 and the file server load storage unit 353 (step S110). The file to be moved to the file server 201d is selected so that the access loads of the moved file servers 201a to 201d are distributed. The file rearrangement unit 306 moves the selected file from the file servers 201a to 201c to the file server 201d (step S111). The file rearrangement unit 306 updates the file location storage unit 355 according to the location of the file after the rearrangement (step S112).

イベント処理部305は、移動が完了すると、移動完了をモード指定実行部301を通じてクライアント100に通知する(ステップS114、115)。   When the movement is completed, the event processing unit 305 notifies the client 100 of the movement completion through the mode designation execution unit 301 (steps S114 and S115).

クライアント100からデータアクセスを行う要求があった場合、ファイルアクセス制御部307は、ファイル所在記憶部355を参照し、ストレージシステム200内のどのファイルサーバ201にデータがあるかを判断し、データへのアクセスを行う。   When there is a request for data access from the client 100, the file access control unit 307 refers to the file location storage unit 355, determines which file server 201 in the storage system 200 has the data, and Access.

「空作成モード」
図6に「空作成モード」の動作フローを示す。ここでは、ストレージシステム200上のファイルサーバ201a〜201dから、ファイルサーバ201dを取り外す場合を例に説明する。
"Empty creation mode"
FIG. 6 shows an operation flow of the “empty creation mode”. Here, a case where the file server 201d is removed from the file servers 201a to 201d on the storage system 200 will be described as an example.

モード指定実行部301は、クライアント100から、ユーザによる「空作成モード」の指定を取り外し対象のファイルサーバ201の情報(ファイルサーバ201d)と共に受付ける(ステップS201)。モード指定実行部301は、指定されたモードをモード記憶部351に保存し、イベント処理部305に「空作成モード」が指定されたことを通知する(ステップS202)。   The mode designation execution unit 301 receives designation of the “empty creation mode” by the user from the client 100 together with information on the file server 201 to be removed (file server 201d) (step S201). The mode designation execution unit 301 saves the designated mode in the mode storage unit 351, and notifies the event processing unit 305 that “empty creation mode” has been designated (step S202).

イベント処理部305は、プラグ状態記憶部354を参照し、指定されたファイルサーバ201dが存在することを確認し、ファイルサーバ201dにアクセスし、ファイルサーバ201dが空で無いことを確認する(ステップS203)。イベント処理部305は、ファイルサーバ負荷計算部303に、各ファイルサーバ201の負荷計算を指示する(ステップS204)。   The event processing unit 305 refers to the plug state storage unit 354, confirms that the designated file server 201d exists, accesses the file server 201d, and confirms that the file server 201d is not empty (step S203). ). The event processing unit 305 instructs the file server load calculation unit 303 to calculate the load of each file server 201 (step S204).

ファイルサーバ負荷計算部303は、アクセス負荷記憶部352及びファイル所在記憶部355を参照し、ファイル毎のアクセス負荷を取得し、ファイルサーバ201毎に集計してファイルサーバ負荷記憶部353に記録する(ステップS205)。   The file server load calculation unit 303 refers to the access load storage unit 352 and the file location storage unit 355, acquires the access load for each file, aggregates the files for each file server 201, and records them in the file server load storage unit 353 ( Step S205).

イベント処理部305は、ファイルサーバ201dを指定し、ファイルサーバ201の切断に伴うファイル再配置(ファイルサーバ201dを空にし、ファイルサーバ201a〜201cでファイル再配置)を行うことをファイル再配置部306に指示する(ステップS206)。   The event processing unit 305 designates the file server 201d and performs the file rearrangement (the file server 201d is emptied and the file servers 201a to 201c are rearranged) when the file server 201 is disconnected. (Step S206).

ファイル再配置部306は、アクセス負荷記憶部352、ファイルサーバ負荷記憶部353の内容を基に、ファイルサーバ201dの全てのファイルについて、移動先のファイルサーバ201a〜201cを決定する(ステップS207)。ファイルサーバ201d内のファイルの移動先は、移動後のファイルサーバ201a〜201cのアクセス負荷が分散されるように選択される。ここで、再配置すべきファイルが移動先ファイルサーバ201a〜201cの容量の限界を超える場合は、ファイル再配置部306は、移動先ファイルシステムの容量超過のため、移動不可能であることをイベント処理部305、モード指定実行部301を通じてクライアント100に通知しても良い。ファイル再配置部306は、選択された移動先に従って、ファイルサーバ201dからファイルサーバ201a〜201cへファイルの移動を行う(ステップS208)。ファイル再配置部306は、再配置後のファイルの所在に応じて、ファイル所在記憶部355を更新する(ステップS209)。   Based on the contents of the access load storage unit 352 and the file server load storage unit 353, the file relocation unit 306 determines the destination file servers 201a to 201c for all the files of the file server 201d (step S207). The migration destination of the file in the file server 201d is selected so that the access load of the migrated file servers 201a to 201c is distributed. Here, when the file to be relocated exceeds the capacity limit of the transfer destination file servers 201a to 201c, the file relocation unit 306 determines that the transfer is not possible because the capacity of the transfer destination file system is exceeded. The client 100 may be notified through the processing unit 305 and the mode designation execution unit 301. The file rearrangement unit 306 moves the file from the file server 201d to the file servers 201a to 201c according to the selected destination (step S208). The file rearrangement unit 306 updates the file location storage unit 355 according to the location of the file after the rearrangement (step S209).

イベント処理部305は、移動が完了した場合、移動完了をモード指定実行部301を通じてクライアント100に通知する(ステップS211、212)。   When the movement is completed, the event processing unit 305 notifies the client 100 of the movement completion through the mode designation execution unit 301 (steps S211 and S212).

ファイルサーバ201dがストレージシステム200から取り外されると、プラグ監視部304は、ファイルサーバ201dの切断を検知し、プラグ状態記憶部354からファイルサーバ201dを削除する(ステップS213)。   When the file server 201d is removed from the storage system 200, the plug monitoring unit 304 detects the disconnection of the file server 201d, and deletes the file server 201d from the plug state storage unit 354 (step S213).

「一時追加モード」
図7、図8に「一時追加モード」の動作フローを示す。ここでは、ストレージシステム200上のファイルサーバ201a〜201cに、空のファイルサーバ201dを一時的に追加する場合を例に説明する。
"Temporary addition mode"
7 and 8 show an operation flow of the “temporary addition mode”. Here, a case where an empty file server 201d is temporarily added to the file servers 201a to 201c on the storage system 200 will be described as an example.

モード指定実行部301は、事前にクライアント100から、ユーザによる「一時追加モード」の指定を受付ける(ステップS301)。モード指定実行部301は指定されたモードをモード記憶部351に保存する(ステップS302)。   The mode designation execution unit 301 accepts the designation of “temporary addition mode” by the user from the client 100 in advance (step S301). The mode designation execution unit 301 stores the designated mode in the mode storage unit 351 (step S302).

ファイルサーバ201dがストレージシステム200に追加されると、プラグ監視部304は、ファイルサーバ201dの接続を検出し、プラグ状態記憶部354にファイルサーバ201dを追加し(ステップS303)、イベント処理部305にファイルサーバ201dの接続を通知する(ステップS304)。   When the file server 201d is added to the storage system 200, the plug monitoring unit 304 detects the connection of the file server 201d, adds the file server 201d to the plug state storage unit 354 (step S303), and sends it to the event processing unit 305. The connection of the file server 201d is notified (step S304).

イベント処理部305は、モード記憶部351の内容から「一時追加モード」であることを確認する(ステップS305)。イベント処理部305は、プラグ状態記憶部354を参照し、ファイルサーバ201dが存在することを確認し、ファイルサーバ201dにアクセスし、ファイルサーバ201dが空であることを確認する(ステップS306)。イベント処理部305は、ファイルサーバ負荷計算部303に、各ファイルサーバ201の負荷計算を指示する(ステップS307)。   The event processing unit 305 confirms the “temporary addition mode” from the contents of the mode storage unit 351 (step S305). The event processing unit 305 refers to the plug state storage unit 354, confirms that the file server 201d exists, accesses the file server 201d, and confirms that the file server 201d is empty (step S306). The event processing unit 305 instructs the file server load calculation unit 303 to calculate the load of each file server 201 (step S307).

ファイルサーバ負荷計算部303は、アクセス負荷記憶部352及びファイル所在記憶部355を参照し、ファイル毎のアクセス負荷を取得し、ファイルサーバ201毎に集計してファイルサーバ負荷記憶部353に記録する(ステップS308)。   The file server load calculation unit 303 refers to the access load storage unit 352 and the file location storage unit 355, acquires the access load for each file, aggregates the files for each file server 201, and records them in the file server load storage unit 353 ( Step S308).

イベント処理部305は、ファイルサーバ201dを指定し、ファイルサーバ201の接続に伴うファイル再配置(ファイルサーバ201a〜201cからファイルサーバ201dへファイル再配置)を行うことをファイル再配置部306に指示する(ステップS309)。   The event processing unit 305 designates the file server 201d and instructs the file relocation unit 306 to perform file relocation (file relocation from the file servers 201a to 201c to the file server 201d) accompanying the connection of the file server 201. (Step S309).

ファイル再配置部306は、アクセス負荷記憶部352、ファイルサーバ負荷記憶部353の内容を基に、ファイルサーバ201a〜201cから追加されたファイルサーバ201dへ移動するファイルを決定する(ステップS310)。ファイルサーバ201dへ移動するファイルは、移動後のファイルサーバ201a〜201dのアクセス負荷が分散されるように選択される。ファイル再配置部306は、選択したファイルをファイルサーバ201a〜201cからファイルサーバ201dへ移動する(ステップS311)。ファイル再配置部306は、再配置後のファイルの所在に応じて、ファイル所在記憶部355を更新する(ステップS312)。   The file relocation unit 306 determines a file to be moved from the file servers 201a to 201c to the added file server 201d based on the contents of the access load storage unit 352 and the file server load storage unit 353 (step S310). The file to be moved to the file server 201d is selected so that the access loads of the moved file servers 201a to 201d are distributed. The file rearrangement unit 306 moves the selected file from the file servers 201a to 201c to the file server 201d (step S311). The file rearrangement unit 306 updates the file location storage unit 355 according to the location of the file after the rearrangement (step S312).

イベント処理部305は、移動が完了すると、ファイルサーバ負荷計算部303に、各ファイルサーバ201の負荷計算を再度指示する(ステップS314)。   When the movement is completed, the event processing unit 305 instructs the file server load calculation unit 303 to calculate the load of each file server 201 again (step S314).

ファイルサーバ負荷計算部303は、アクセス負荷記憶部352及びファイル所在記憶部355を参照し、ファイル毎のアクセス負荷を取得し、ファイルサーバ201毎に集計してファイルサーバ負荷記憶部353に記録する(ステップS315)。   The file server load calculation unit 303 refers to the access load storage unit 352 and the file location storage unit 355, acquires the access load for each file, aggregates the files for each file server 201, and records them in the file server load storage unit 353 ( Step S315).

イベント処理部305は、イベント処理部305は、ファイルサーバ201dを指定し、ファイルサーバ201の切断に伴うファイル再配置(ファイルサーバ201dを空にし、ファイルサーバ201a〜201cでファイル再配置)を行うことをファイル再配置部306に指示する(ステップS316)。   The event processing unit 305 designates the file server 201d and performs file relocation (empty the file server 201d and file relocation by the file servers 201a to 201c) when the file server 201 is disconnected. Is instructed to the file rearrangement unit 306 (step S316).

ファイル再配置部306は、アクセス負荷記憶部352、ファイルサーバ負荷記憶部353の内容を基に、ファイルサーバ201dの全てのファイルについて、移動先のファイルサーバ201a〜201cを決定する(ステップS317)。ファイルサーバ201d内のファイルの移動先は、移動後のファイルサーバ201a〜201cのアクセス負荷が分散されるように選択される。ファイル再配置部306は、選択された移動先に従って、ファイルサーバ201dからファイルサーバ201a〜201cへファイルの移動を行う(ステップS318)。ファイル再配置部306は、再配置後のファイルの所在に応じて、ファイル所在記憶部355を更新する(ステップS319)。   Based on the contents of the access load storage unit 352 and the file server load storage unit 353, the file relocation unit 306 determines the destination file servers 201a to 201c for all the files of the file server 201d (step S317). The migration destination of the file in the file server 201d is selected so that the access load of the migrated file servers 201a to 201c is distributed. The file relocation unit 306 moves the file from the file server 201d to the file servers 201a to 201c according to the selected movement destination (step S318). The file rearrangement unit 306 updates the file location storage unit 355 according to the location of the file after the rearrangement (step S319).

イベント処理部305は、移動が完了した場合、移動完了をモード指定実行部301を通じてクライアント100に通知する(ステップS321、322)。   When the movement is completed, the event processing unit 305 notifies the client 100 of the movement completion through the mode designation execution unit 301 (steps S321 and S322).

ファイルサーバ201dがストレージシステム200から取り外されると、プラグ監視部304は、ファイルサーバ201dの切断を検知し、プラグ状態記憶部354からファイルサーバ201dを削除する(ステップS323)。   When the file server 201d is removed from the storage system 200, the plug monitoring unit 304 detects the disconnection of the file server 201d and deletes the file server 201d from the plug state storage unit 354 (step S323).

以上により、本発明の実施の形態の動作が完了する。   Thus, the operation of the embodiment of the present invention is completed.

本発明の実施の形態によれば、ネットワークにより接続された複数のファイルサーバから成るファイルサーバ群により構成されるストレージシステムにおいて、各ファイルサーバの容量に余裕がない場合でも、各ファイルサーバの間で負荷分散を実行できる。   According to the embodiment of the present invention, in a storage system configured by a file server group composed of a plurality of file servers connected by a network, even when there is no room for each file server, the file servers Can perform load balancing.

その理由は、負荷分散装置が、新たなファイルサーバの接続を検出したことをトリガに、当該ファイルサーバを含めて負荷分散がされるように第一のファイル再配置を行い、第一のファイル再配置が完了したところで、当該ファイルサーバ内のファイルを空にして元のファイルサーバ群内で負荷分散されるように第二のファイル再配置を行うためである。   The reason is that when the load balancer detects a new file server connection as a trigger, the first file relocation is performed so that the load is distributed including that file server. This is because when the placement is completed, the second file is rearranged so that the file in the file server is emptied and the load is distributed in the original file server group.

また、本発明の実施の形態によれば、ネットワークにより接続された複数のファイルサーバから成るファイルサーバ群により構成されるストレージシステムにおいて、ファイルサーバの追加による負荷分散、またはファイルサーバの一時的な追加による負荷分散をユーザが容易に実行することができる。その理由は、ユーザがファイルサーバ接続検出時の動作を決める動作モードを負荷分散装置に対して設定し、負荷分散装置は、新たなファイルサーバの接続を検出したことをトリガに、当該動作モードに応じて、当該ファイルサーバを含めて負荷分散がされるような第一のファイル再配置を行うか、第一のファイル再配置に加えて、当該ファイルサーバ内のファイルを空にして元のファイルサーバ群内で負荷分散されるように第二のファイル再配置を行うように動作するためである。   Further, according to the embodiment of the present invention, in a storage system composed of a file server group composed of a plurality of file servers connected by a network, load distribution by adding file servers or temporary addition of file servers The user can easily execute the load distribution according to. The reason is that the user sets an operation mode for determining the operation when a file server connection is detected for the load balancer, and the load balancer enters the operation mode triggered by the detection of a new file server connection. In response to the first file rearrangement including load distribution including the file server, or in addition to the first file rearrangement, empty the file in the file server to the original file server This is because the second file relocation is performed so that the load is distributed within the group.

本発明は、ファイルサーバ群あるいはデータベースサーバ群を仮想ファイルサーバとみなす、ネットワークを利用したクラスタ形態のファイルサーバシステムに利用できる。また、小規模のファイルサーバシステムから、音楽配信、ビデオオンデマンド用などに代表される大容量ファイルサーバシステムまで、ストレージシステムの規模を問わず広範囲に適用できる。   The present invention can be applied to a cluster-type file server system using a network in which a file server group or a database server group is regarded as a virtual file server. Further, the present invention can be applied in a wide range from a small file server system to a large capacity file server system represented by music distribution, video on demand, etc., regardless of the scale of the storage system.

本発明の実施の形態を示す構成図である。It is a block diagram which shows embodiment of this invention. 本発明の実施の形態における「追加モード」の動作の概略を示す図である。It is a figure which shows the outline of operation | movement of the "addition mode" in embodiment of this invention. 本発明の実施の形態における「空作成モード」の動作の概略を示す図である。It is a figure which shows the outline of operation | movement of the "empty creation mode" in embodiment of this invention. 本発明の実施の形態における「一時追加モード」の動作の概略を示す図である。It is a figure which shows the outline of operation | movement of the "temporary addition mode" in embodiment of this invention. 本発明の実施の形態における「追加モード」の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the "additional mode" in embodiment of this invention. 本発明の実施の形態における「空作成モード」の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the "empty creation mode" in embodiment of this invention. 本発明の実施の形態における「一時追加モード」の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the "temporary addition mode" in embodiment of this invention. 本発明の実施の形態における「一時追加モード」の動作(図7の続き)を示すフローチャートである。It is a flowchart which shows the operation | movement (continuation of FIG. 7) of the "temporary addition mode" in embodiment of this invention. 本発明の実施の形態において、アクセス負荷記憶部が記憶管理する内容を示す図である。In embodiment of this invention, it is a figure which shows the content which an access load memory | storage part carries out memory management. 本発明の実施の形態において、ファイルサーバ負荷記憶部が記憶管理する内容を示す図である。In embodiment of this invention, it is a figure which shows the content which a file server load memory | storage part carries out memory management. 本発明の実施の形態において、プラグ状態記憶部が記憶管理する内容を示す図である。In embodiment of this invention, it is a figure which shows the content which a plug state memory | storage part manages and manages. 本発明の実施の形態において、ファイル所在記憶部が記憶管理する内容を示す図である。In embodiment of this invention, it is a figure which shows the content which a file location memory | storage part stores and manages.

符号の説明Explanation of symbols

100 クライアント
200 ストレージシステム
201 ファイルサーバ
202 記憶装置
300 負荷分散装置
301 モード指定実行部
302 アクセス負荷監視部
303 ファイルサーバ負荷計算部
304 プラグ監視部
305 イベント処理部
306 ファイル再配置部
307 ファイルアクセス制御部
351 モード記憶部
352 アクセス負荷記憶部
353 ファイルサーバ負荷記憶部
354 プラグ状態記憶部
355 ファイル所在記憶部
DESCRIPTION OF SYMBOLS 100 Client 200 Storage system 201 File server 202 Storage apparatus 300 Load distribution apparatus 301 Mode designation execution part 302 Access load monitoring part 303 File server load calculation part 304 Plug monitoring part 305 Event processing part 306 File rearrangement part 307 File access control part 351 Mode storage unit 352 Access load storage unit 353 File server load storage unit 354 Plug status storage unit 355 File location storage unit

Claims (9)

ストレージシステム内の複数のファイルサーバへのファイルアクセスを監視し、ファイル毎のアクセス負荷をアクセス負荷記憶手段に保存するアクセス負荷監視手段と、
前記ストレージシステムへの追加ファイルサーバの接続を検出するプラグ監視手段と、
前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、前記アクセス負荷記憶手段の内容を基に、前記追加ファイルサーバを除いた複数のファイルサーバから、前記ストレージシステム内の全てのファイルサーバ間のアクセス負荷が分散されるようにファイルを選択して、前記追加ファイルサーバへ移動する第一のファイル再配置を行い、前記第一のファイル再配置終了後、前記追加ファイルサーバへ移動したファイルを、前記追加ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該複数のファイルサーバから移動先となるファイルサーバを選択して移動する第二のファイル再配置を行うファイル再配置手段と、
を備えたことを特徴とする負荷分散装置。
An access load monitoring unit that monitors file access to a plurality of file servers in the storage system and stores an access load for each file in an access load storage unit;
Plug monitoring means for detecting connection of an additional file server to the storage system;
When connection of the additional file server is detected by the plug monitoring means, all file servers in the storage system are selected from a plurality of file servers excluding the additional file server based on the contents of the access load storage means. The file is selected so that the access load between the files is distributed, the first file is relocated to the additional file server, and the file is moved to the additional file server after the first file relocation is completed. In order to distribute the access load among the plurality of file servers excluding the additional file server, the second file rearrangement is performed by selecting and moving the file server as the migration destination from the plurality of file servers. File relocation means;
A load balancer comprising:
前記ファイル再配置手段は、前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、モード記憶手段に保存されたファイル再配置操作に関するモードが追加モードの場合は、前記第一のファイル再配置のみを行い、前記モードが一時追加モードの場合は、前記第一のファイル再配置と前記第二のファイル再配置を行う、
ことを特徴とする請求項1記載の負荷分散装置。
When the plug monitoring unit detects the connection of the additional file server, and when the mode relating to the file relocation operation stored in the mode storage unit is the addition mode, the file relocation unit is configured to perform the first file relocation. When only the placement is performed and the mode is the temporary addition mode, the first file rearrangement and the second file rearrangement are performed.
The load distribution apparatus according to claim 1.
前記ファイル再配置手段は、クライアントから削除対象ファイルサーバを指定した空作成モードを指示された場合、前記アクセス負荷記憶手段の内容を基に、前記削除対象ファイルサーバのファイルを、前記削除対象ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該削除対象のファイルサーバから移動先となるファイルサーバを選択して移動する、
ことを特徴とする請求項2記載の負荷分散装置。
When the file relocation unit is instructed by the client to be in an empty creation mode in which a deletion target file server is specified, the file relocation unit converts the file of the deletion target file server into the deletion target file server based on the contents of the access load storage unit. Select and move the destination file server from the file server to be deleted so that the access load among multiple file servers excluding
The load distribution apparatus according to claim 2.
コンピュータを、
ストレージシステム内の複数のファイルサーバへのファイルアクセスを監視し、ファイル毎のアクセス負荷をアクセス負荷記憶手段に保存するアクセス負荷監視手段と、
前記ストレージシステムへの追加ファイルサーバの接続を検出するプラグ監視手段と、
前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、前記アクセス負荷記憶手段の内容を基に、前記追加ファイルサーバを除いた複数のファイルサーバから、前記ストレージシステム内の全てのファイルサーバ間のアクセス負荷が分散されるようにファイルを選択して、前記追加ファイルサーバへ移動する第一のファイル再配置を行い、前記第一のファイル再配置終了後、前記追加ファイルサーバへ移動したファイルを、前記追加ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該複数のファイルサーバから移動先となるファイルサーバを選択して移動する第二のファイル再配置を行うファイル再配置手段と、
して機能させることを特徴とする負荷分散装置用プログラム。
Computer
An access load monitoring unit that monitors file access to a plurality of file servers in the storage system and stores an access load for each file in an access load storage unit;
Plug monitoring means for detecting connection of an additional file server to the storage system;
When connection of the additional file server is detected by the plug monitoring means, all file servers in the storage system are selected from a plurality of file servers excluding the additional file server based on the contents of the access load storage means. The file is selected so that the access load between the files is distributed, the first file is relocated to the additional file server, and the file is moved to the additional file server after the first file relocation is completed. In order to distribute the access load among the plurality of file servers excluding the additional file server, the second file rearrangement is performed by selecting and moving the file server as the migration destination from the plurality of file servers. File relocation means;
A program for a load balancer characterized in that the program is made to function.
前記ファイル再配置手段は、前記プラグ監視手段により前記追加ファイルサーバの接続が検出された場合、モード記憶手段に保存されたファイル再配置操作に関するモードが追加モードの場合は、前記第一のファイル再配置のみを行い、前記モードが一時追加モードの場合は、前記第一のファイル再配置と前記第二のファイル再配置を行う、
ことを特徴とする請求項4記載の負荷分散装置用プログラム。
When the plug monitoring unit detects the connection of the additional file server, and when the mode relating to the file relocation operation stored in the mode storage unit is the addition mode, the file relocation unit is configured to perform the first file relocation. When only the placement is performed and the mode is the temporary addition mode, the first file rearrangement and the second file rearrangement are performed.
The program for a load balancer according to claim 4.
前記ファイル再配置手段は、クライアントから削除対象ファイルサーバを指定した空作成モードを指示された場合、前記アクセス負荷記憶手段の内容を基に、前記削除対象ファイルサーバのファイルを、前記削除対象ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該削除対象のファイルサーバから移動先となるファイルサーバを選択して移動する、
ことを特徴とする請求項5記載の負荷分散装置用プログラム。
When the file relocation unit is instructed by the client to be in an empty creation mode in which a deletion target file server is specified, the file relocation unit converts the file of the deletion target file server into the deletion target file server based on the contents of the access load storage unit. Select and move the destination file server from the file server to be deleted so that the access load among multiple file servers excluding
The program for a load balancer according to claim 5.
負荷分散装置が、
ストレージシステム内の複数のファイルサーバへのファイルアクセスを監視し、ファイル毎のアクセス負荷をアクセス負荷記憶手段に保存するアクセス負荷監視ステップと、
前記ストレージシステムへの追加ファイルサーバの接続を検出するプラグ監視ステップと、
前記プラグ監視ステップにより前記追加ファイルサーバの接続が検出された場合、前記アクセス負荷記憶手段の内容を基に、前記追加ファイルサーバを除いた複数のファイルサーバから、前記ストレージシステム内の全てのファイルサーバ間のアクセス負荷が分散されるようにファイルを選択して、前記追加ファイルサーバへ移動する第一のファイル再配置を行い、前記第一のファイル再配置終了後、前記追加ファイルサーバへ移動したファイルを、前記追加ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該複数のファイルサーバから移動先となるファイルサーバを選択して移動する第二のファイル再配置を行うファイル再配置ステップと、
を含むことを特徴とする負荷分散方法。
The load balancer
An access load monitoring step of monitoring file access to a plurality of file servers in the storage system and storing an access load for each file in an access load storage means;
A plug monitoring step of detecting connection of an additional file server to the storage system;
When connection of the additional file server is detected by the plug monitoring step, all file servers in the storage system are selected from a plurality of file servers excluding the additional file server based on the contents of the access load storage means. The file is selected so that the access load between the files is distributed, the first file is relocated to the additional file server, and the file is moved to the additional file server after the first file relocation is completed. In order to distribute the access load among the plurality of file servers excluding the additional file server, the second file rearrangement is performed by selecting and moving the file server as the migration destination from the plurality of file servers. A file relocation step;
A load balancing method comprising:
前記ファイル再配置ステップは、前記プラグ監視ステップにより前記追加ファイルサーバの接続が検出された場合、モード記憶手段に保存されたファイル再配置操作に関するモードが追加モードの場合は、前記第一のファイル再配置のみを行い、前記モードが一時追加モードの場合は、前記第一のファイル再配置と前記第二のファイル再配置を行う、
ことを特徴とする請求項7記載の負荷分散方法。
In the file rearrangement step, when the plug monitoring step detects the connection of the additional file server, when the mode related to the file rearrangement operation stored in the mode storage means is the addition mode, the first file relocation step is performed. When only the placement is performed and the mode is the temporary addition mode, the first file rearrangement and the second file rearrangement are performed.
The load distribution method according to claim 7.
前記ファイル再配置ステップは、クライアントから削除対象ファイルサーバを指定した空作成モードを指示された場合、前記アクセス負荷記憶手段の内容を基に、前記削除対象ファイルサーバのファイルを、前記削除対象ファイルサーバを除いた複数のファイルサーバ間のアクセス負荷が分散されるように、当該削除対象のファイルサーバから移動先となるファイルサーバを選択して移動する、
ことを特徴とする請求項8記載の負荷分散方法。
In the file rearrangement step, when an empty creation mode designating a deletion target file server is instructed from a client, the file of the deletion target file server is changed to the deletion target file server based on the contents of the access load storage means. Select and move the destination file server from the file server to be deleted so that the access load among multiple file servers excluding
9. The load distribution method according to claim 8, wherein:
JP2007072271A 2007-03-20 2007-03-20 Load balancing device for file server, program for load balancing, and load balancing method Pending JP2008234264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007072271A JP2008234264A (en) 2007-03-20 2007-03-20 Load balancing device for file server, program for load balancing, and load balancing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007072271A JP2008234264A (en) 2007-03-20 2007-03-20 Load balancing device for file server, program for load balancing, and load balancing method

Publications (1)

Publication Number Publication Date
JP2008234264A true JP2008234264A (en) 2008-10-02

Family

ID=39906963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007072271A Pending JP2008234264A (en) 2007-03-20 2007-03-20 Load balancing device for file server, program for load balancing, and load balancing method

Country Status (1)

Country Link
JP (1) JP2008234264A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114748A (en) * 2010-11-25 2012-06-14 Ntt Docomo Inc Telephone number management system and telephone number management method
US8704640B2 (en) 2010-02-18 2014-04-22 Samsung Electronics Co., Ltd Passive wireless memory device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04165541A (en) * 1990-10-30 1992-06-11 Hitachi Ltd File rearranging method
JP2001051890A (en) * 1999-08-10 2001-02-23 Toshiba Corp Virtual distributed file server system
JP2003050733A (en) * 2001-08-08 2003-02-21 Toshiba Corp File server system and control method thereof
JP2003157194A (en) * 2001-11-21 2003-05-30 Fujitsu Prime Software Technologies Ltd File server program
JP2005196602A (en) * 2004-01-09 2005-07-21 Hitachi Ltd System configuration change method in non-shared database management system
JP2005538469A (en) * 2002-09-10 2005-12-15 イグザグリッド システムズ, インコーポレイテッド Method and apparatus for server share transfer and server recovery using hierarchical storage management
JP2006172217A (en) * 2004-12-16 2006-06-29 Nec Corp Data arrangement management method, system, device and program
JP2007042115A (en) * 2001-11-02 2007-02-15 Nec Corp Switching method, device and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04165541A (en) * 1990-10-30 1992-06-11 Hitachi Ltd File rearranging method
JP2001051890A (en) * 1999-08-10 2001-02-23 Toshiba Corp Virtual distributed file server system
JP2003050733A (en) * 2001-08-08 2003-02-21 Toshiba Corp File server system and control method thereof
JP2007042115A (en) * 2001-11-02 2007-02-15 Nec Corp Switching method, device and program
JP2003157194A (en) * 2001-11-21 2003-05-30 Fujitsu Prime Software Technologies Ltd File server program
JP2005538469A (en) * 2002-09-10 2005-12-15 イグザグリッド システムズ, インコーポレイテッド Method and apparatus for server share transfer and server recovery using hierarchical storage management
JP2005196602A (en) * 2004-01-09 2005-07-21 Hitachi Ltd System configuration change method in non-shared database management system
JP2006172217A (en) * 2004-12-16 2006-06-29 Nec Corp Data arrangement management method, system, device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8704640B2 (en) 2010-02-18 2014-04-22 Samsung Electronics Co., Ltd Passive wireless memory device
JP2012114748A (en) * 2010-11-25 2012-06-14 Ntt Docomo Inc Telephone number management system and telephone number management method

Similar Documents

Publication Publication Date Title
US7934071B2 (en) Method of managing storage capacity in a storage system, a storage device and a computer system
US7107323B2 (en) System and method of file distribution for a computer system in which partial files are arranged according to various allocation rules
US7475108B2 (en) Slow-dynamic load balancing method
JP6434131B2 (en) Distributed processing system, task processing method, storage medium
EP1837751B1 (en) Storage system, storage extent release method and storage apparatus
JP2002175203A (en) Disk storage access system
US20190155922A1 (en) Server for torus network-based distributed file system and method using the same
JP2005275829A (en) Storage system
CN111190745A (en) A data processing method, apparatus and computer readable storage medium
JP2010250854A (en) System, method and software for distributed loading of databases
JP2012069056A (en) Cloud service relocation system and method, and program
US20120166492A1 (en) Database transfers using constraint free data
JP4232357B2 (en) Computer system
JP6582445B2 (en) Thin client system, connection management device, virtual machine operating device, method, and program
US12061810B2 (en) Information processing apparatus and method in hybrid cloud system including hosts provided in cloud and storage apparatus provided at a location other than the cloud
JP2017162257A (en) Load monitoring program, load monitoring method, information processing apparatus, and information processing system
US8700572B2 (en) Storage system and method for controlling storage system
US20080215843A1 (en) Storage area management method for a storage system
JP5193801B2 (en) Storage system performance improvement or management method, system, apparatus and program
US20090063793A1 (en) Storage system, data management apparatus and management allocation method thereof
US8788667B2 (en) Computer system and management method
JP2008234264A (en) Load balancing device for file server, program for load balancing, and load balancing method
JP2017167706A (en) Information processing device, storage system, information processing program, and information processing method
JP4160817B2 (en) Disk subsystem, computer system, storage management method for managing the same, and management program
JP4813975B2 (en) Method of changing configuration of non-shared database system, management server, and non-shared database system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110301