JP2943695B2 - Shared file management device - Google Patents

Shared file management device

Info

Publication number
JP2943695B2
JP2943695B2 JP8145140A JP14514096A JP2943695B2 JP 2943695 B2 JP2943695 B2 JP 2943695B2 JP 8145140 A JP8145140 A JP 8145140A JP 14514096 A JP14514096 A JP 14514096A JP 2943695 B2 JP2943695 B2 JP 2943695B2
Authority
JP
Japan
Prior art keywords
file
shared file
shared
network
computer
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.)
Expired - Fee Related
Application number
JP8145140A
Other languages
Japanese (ja)
Other versions
JPH09305470A (en
Inventor
浩一 谷口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8145140A priority Critical patent/JP2943695B2/en
Publication of JPH09305470A publication Critical patent/JPH09305470A/en
Application granted granted Critical
Publication of JP2943695B2 publication Critical patent/JP2943695B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は、コンピュータネッ
トワークを介して複数のコンピュータに共有される共有
ファイルを管理する共有ファイル管理装置に関し、特に
コンピュータネットワークの負荷分散と共有ファイルの
障害に対する復旧とを自動的に行う共有ファイル管理装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shared file management apparatus for managing shared files shared by a plurality of computers via a computer network, and more particularly, to an automatic load balancing method for a computer network and automatic recovery from a failure of a shared file. The present invention relates to a shared file management device that is dynamically performed.

【0002】[0002]

【従来の技術】複数のコンピュータをネットワークを介
して接続したコンピュータシステムにおいて、システム
を構成する複数のコンピュータで共有される共有ファイ
ルを管理する、この種の共有ファイル管理装置は、シス
テムの信頼性を向上させるために、外部記憶装置内にお
いて共有ファイルを多重化して管理し、1つの共有ファ
イルに障害が発生した場合には他の共有ファイルにて代
替するようにしている。また、従来の共有ファイル管理
装置は、ネットワーク上の1ヶ所に設置された外部記憶
装置に共有ファイルを格納し、当該外部記憶装置内で共
有ファイルを多重化している。
2. Description of the Related Art In a computer system in which a plurality of computers are connected via a network, a shared file management apparatus of this type for managing a shared file shared by a plurality of computers constituting the system increases the reliability of the system. In order to improve this, shared files are multiplexed and managed in the external storage device, and when a failure occurs in one shared file, another shared file is substituted. Further, the conventional shared file management device stores a shared file in an external storage device installed at one place on a network, and multiplexes the shared file in the external storage device.

【0003】従来の共有ファイル管理装置としては、例
えば、特開平4一230542号公報に開示された装置
がある。同公報に記載された共有ファイル管理装置は、
複数のホストコンピュータと、前記ホストコンピュータ
から共有される外部記憶装置とを有する情報処理システ
ムにおいて、前記外部記憶装置には、各種データを格納
する正系ファイルと、前記正系ファイルと同一の内容を
持つ1つまたは複数の副系ファイルを有し、前記正系フ
ァイルおよび前記副系ファイルの障害情報を管理し、フ
ァイルに対するアクセス要求発生時に正常な一方のファ
イルを対象としてデータの入出力を行う。また、前記正
系ファイルまたは前記副系ファイルに障害が発生した時
に前記外部記憶装置上の正常な領域を確保し、障害が発
生したファイルを復旧させる。
[0003] As a conventional shared file management device, there is, for example, a device disclosed in Japanese Patent Application Laid-Open No. Hei 4-230542. The shared file management device described in the publication is
In an information processing system having a plurality of host computers and an external storage device shared by the host computer, the external storage device stores a main file storing various data and the same contents as the main file. It has one or a plurality of sub-system files, manages the failure information of the main system file and the sub-system file, and inputs / outputs data to one normal file when an access request to the file occurs. Further, when a failure occurs in the primary file or the secondary file, a normal area on the external storage device is secured, and the failed file is restored.

【0004】また、従来の共有ファイル管理技術とし
て、共有ファイルを多重化し、ネットワークに接続する
複数のコンピュータに分散させて配置する技術がある。
この従来技術によれば、1つのコンピュータに配置され
た共有ファイルに障害が発生しても、他のコンピュータ
に配置された同一の共有ファイルにアクセスすることが
可能である。この種の従来技術において、1つの共有フ
ァイルに障害が発生した場合、オペレータや利用者によ
り、当該障害の発生した共有ファイルへのアクセスを回
避し、他の多重化共有ファイルにアクセスを振り分ける
ように設定することが必要となる。
Further, as a conventional shared file management technique, there is a technique of multiplexing shared files and distributing the files to a plurality of computers connected to a network.
According to this conventional technique, even if a failure occurs in a shared file located on one computer, it is possible to access the same shared file located on another computer. In this type of conventional technology, when a failure occurs in one shared file, an operator or a user avoids accessing the shared file in which the failure has occurred, and distributes the access to another multiplexed shared file. It is necessary to set.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の共有フ
ァイル管理装置は、外部記憶装置がネットワーク上の1
ヶ所にのみ存在するため、当該1ヶ所の外部記憶装置に
アクセスが集中し、ネットワークの負荷が高くなるとい
う欠点があった。
In the above-mentioned conventional shared file management apparatus, the external storage device is connected to the
Since there is only one external storage device, there is a drawback that access is concentrated on the one external storage device and the load on the network increases.

【0006】また、外部記憶装置が1ヶ所であるため、
外部記憶装置自体に障害が発生した場合に早急に対処す
ることができず、システムの復旧に時間がかかるという
欠点があった。
Also, since there is only one external storage device,
If a failure occurs in the external storage device itself, it cannot be dealt with immediately, and it takes time to restore the system.

【0007】さらに、多重化共有ファイルをネットワー
クに接続する複数のコンピュータに分散させて配置する
従来技術においても、1つの共有ファイルに障害が発生
した場合、オペレータや利用者により、当該障害を回避
するためのシステム設定を行わなければならず、作業が
繁雑であった。
Further, in the prior art in which multiplexed shared files are distributed and arranged on a plurality of computers connected to a network, if a failure occurs in one shared file, the failure is avoided by an operator or a user. System settings must be performed, and the work is complicated.

【0008】本発明の目的は、コンピュータシステムご
とに配置した外部記憶装置を共有して、ネットワークの
負荷を分散させ、システムの運用効率の向上を実現する
共有ファイル管理装置を提供することにある。
An object of the present invention is to provide a shared file management device which shares an external storage device arranged for each computer system, distributes the load on the network, and improves the operation efficiency of the system.

【0009】また、本発明の他の目的は、コンピュータ
システムごとに配置した外部記憶装置を共有して、所定
の外部記憶装置に障害が発生した場合に自動的に他の外
部記憶装置にて代替する共有ファイル管理装置を提供す
ることにある。
Another object of the present invention is to share an external storage device arranged for each computer system and automatically substitute another external storage device when a failure occurs in a predetermined external storage device. To provide a shared file management device.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、ネットワークを介して接続した複数のコ
ンピュータにて共有される共有ファイルを管理する共有
ファイル管理装置において、前記ネットワークに接続し
た全てのコンピュータに搭載され、前記共有ファイルの
状態及び前記共有ファイルを格納したファイル格納手段
の状態を監視し、少なくとも、前記共有ファイルに対す
るアクセス頻度と前記共有ファイルの内容の更新の有無
と前記共有ファイルまたは前記ファイル格納部の障害の
有無とに関する情報を取得するファイル監視手段と、前
記ファイル監視手段の監視結果に基づき、必要に応じて
前記共有ファイルの配置または多重化の見直しを計画す
るシステム管理手段と、前記システム管理手段による見
直し計画にしたがって前記共有ファイルの移動または多
重化を実行するファイルアクセス制御手段とを備える構
成としている。
According to one aspect of the present invention, there is provided a shared file management apparatus for managing a shared file shared by a plurality of computers connected via a network. The state of the shared file and the state of the file storage unit storing the shared file are monitored, and at least the frequency of access to the shared file, the presence or absence of updating of the content of the shared file, and the sharing File monitoring means for acquiring information regarding the presence or absence of a failure in a file or the file storage unit, and system management for planning arrangement or multiplexing of the shared file as required based on the monitoring result of the file monitoring means Means and the review plan by the system management means It has a configuration and a file access control means for executing a move or multiplexing of the shared file Te.

【0011】また、他の態様では、前記ネットワークの
状態を監視し、少なくとも、前記ネットワークの所定の
回線部分における過剰なアクセス負荷の有無及び回線障
害の有無に関する情報を取得するネットワーク監視手段
をさらに備え、前記システム管理手段が、前記ネットワ
ーク監視手段の監視結果に基づき、必要に応じて前記共
有ファイルの配置または多重化の見直しを計画する。
In another aspect, there is further provided a network monitoring means for monitoring a state of the network and acquiring at least information on the presence / absence of an excessive access load and the presence / absence of a line failure in a predetermined line portion of the network. The system management unit plans to review the arrangement or multiplexing of the shared files as needed based on the monitoring result of the network monitoring unit.

【0012】さらに他の態様では、前記システム管理手
段が、前記ファイル監視手段及び前記ネットワーク監視
手段の監視結果により、自コンピュータに配置された共
有ファイルに対し、自コンピュータによるアクセスが少
なく他のコンピュータからのアクセスが多いと判断した
場合、必要に応じて自コンピュータに配置された該共有
ファイルを削除する。
[0012] In still another aspect, the system management means, based on the monitoring results of the file monitoring means and the network monitoring means, has little access to the shared file located on the own computer by the own computer, and the shared file is not transmitted from another computer. When it is determined that there is a large number of accesses, the shared file located on the own computer is deleted as necessary.

【0013】また、他の好ましい態様では、前記システ
ム管理手段が、前記共有ファイルの配置または多重化の
見直しを計画すると共に、新たな共有ファイルの配置位
置に基づいて共有ファイルへのアクセス経路の変更を計
画し、前記ファイルアクセス制御手段が、前記システム
管理手段によって変更された前記共有ファイルへの新た
なアクセス経路を前記ネットワークに接続した全ての他
の前記コンピュータに通知する。
In another preferred aspect, the system management means plans to review the arrangement or multiplexing of the shared file, and changes the access path to the shared file based on the new shared file arrangement position. And the file access control unit notifies all the other computers connected to the network of the new access path to the shared file changed by the system management unit.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施例について図
面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0015】図1は本発明の1実施例による共有ファイ
ル管理装置を搭載したコンピュータネットワークシステ
ムの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a computer network system equipped with a shared file management device according to one embodiment of the present invention.

【0016】図示のように、本実施例の共有ファイル管
理装置は、LANやWAN等のネットワーク10に接続
されたコンピュータ20に搭載され、共有ファイルを格
納するファイル格納部21と、ファイル格納部21に格
納された共有ファイルを監視するファイル監視部22
と、ネットワーク10を監視するネットワーク監視部2
3と、ファイル監視部22及びネットワーク監視部23
の監視結果を参照して共有ファイルの管理を実行するシ
ステム管理部24と、共有ファイルへのアクセスを制御
するファイルアクセス制御部25と、ファイルアクセス
制御部25の制御によりファイルの転送を実行するファ
イル転送部26とを備える。なお、図には本実施例の特
徴的な構成のみを記載し、他の構成については記載を省
略してある。また、特に図示しないが、ネットワーク1
0に接続されている各コンピュータ20は、それぞれ同
様の構成の共有ファイル管理装置を備える。
As shown in the figure, the shared file management apparatus of this embodiment is mounted on a computer 20 connected to a network 10 such as a LAN or WAN, and stores a shared file in a file storage unit 21 and a file storage unit 21. Monitoring unit 22 that monitors shared files stored in the
And a network monitoring unit 2 for monitoring the network 10
3, the file monitoring unit 22 and the network monitoring unit 23
System management unit 24 for managing a shared file by referring to the monitoring result of the file, a file access control unit 25 for controlling access to the shared file, and a file for executing file transfer under the control of the file access control unit 25. And a transfer unit 26. In the drawing, only the characteristic configuration of the present embodiment is described, and the description of other configurations is omitted. Although not particularly shown, the network 1
Each of the computers 20 connected to the shared file management device 0 has a shared file management device having the same configuration.

【0017】ファイル格納部21は、磁気ディスク装置
等の外部記憶装置で実現され、ネットワーク10に接続
された各コンピュータ20にて共有される共有ファイル
を格納する。
The file storage unit 21 is implemented by an external storage device such as a magnetic disk device, and stores a shared file shared by the computers 20 connected to the network 10.

【0018】ファイル監視部22は、プログラム制御さ
れたCPU等で実現され、ファイル格納部21を定期的
に監視し、各ファイルに対するコンピュータシステムご
とのアクセス頻度、かつ各ファイルに対する更新の有
無、及び各ファイルについての障害の有無に関する情報
を取得してシステム管理部24に通知する。
The file monitoring unit 22 is implemented by a program-controlled CPU or the like, and periodically monitors the file storage unit 21 to determine the frequency of access to each file by each computer system, whether or not each file is updated, and whether or not each file is updated. Information on the presence or absence of a failure in the file is obtained and notified to the system management unit 24.

【0019】ネットワーク監視部23は、プログラム制
御されたCPU等で実現され、ネットワーク10を定期
的に監視し、回線をながれるデータの量および回線の障
害の有無に関する情報を取得し、システム管理部24に
通知する。
The network monitoring unit 23 is realized by a program-controlled CPU or the like, monitors the network 10 periodically, acquires information on the amount of data passing through the line and the presence / absence of a line failure, and a system management unit 24. Notify.

【0020】システム管理部24は、プログラム制御さ
れたCPU等で実現され、ファイル監視部22およびネ
ットワーク監視部23から通知された情報に基づいて、
共有ファイルを管理する。具体的な管理の内容として、
以下の動作を実行する。
The system management unit 24 is realized by a program-controlled CPU or the like, and based on information notified from the file monitoring unit 22 and the network monitoring unit 23,
Manage shared files. As specific contents of management,
Perform the following operation.

【0021】第1に、ファイル格納部21の記憶領域の
空きサイズと各共有ファイルの多重度と各共有ファイル
へのアクセス頻度とを入力して解析し、必要に応じて共
有ファイルを多重化し当該多重化した共有ファイルを配
置するコンピュータ20を決定すると共に、ファイルア
クセス制御部24に当該共有ファイルの転送指示及びア
クセス経路を通知する。ここで、共有ファイルの多重化
は、例えば、特定のコンピュータ20共有ファイルへの
アクセスが頻繁に行われ、当該コンピュータ20と当該
コンピュータ20に接続するネットワーク10との負担
が大きくなっている場合に行う。これにより、当該共有
ファイルを多重化して他のコンピュータ20に配置し、
当該コンピュータ20における負荷を分散させる。ま
た、多重化された共有ファイルの配置先は、障害が発生
したネットワークを回避するように決定する。
First, the free size of the storage area of the file storage unit 21, the degree of multiplexing of each shared file, and the frequency of access to each shared file are input and analyzed. The computer 20 on which the multiplexed shared file is to be placed is determined, and the file access control unit 24 is notified of the transfer instruction and the access path of the shared file. Here, the multiplexing of the shared file is performed, for example, when the specific computer 20 frequently accesses the shared file and the load on the computer 20 and the network 10 connected to the computer 20 increases. . Thereby, the shared file is multiplexed and placed on another computer 20,
The load on the computer 20 is distributed. Also, the location of the multiplexed shared file is determined so as to avoid the network in which the failure has occurred.

【0022】第2に、共有ファイルに障害が発生した場
合に、当該ファイルの復旧を行う。所定の共有ファイル
のみに障害がある場合は、多重化された正常な共有ファ
イルから復元する。また、共有ファイルを格納したファ
イル格納部21自体に障害があるときは、上述した共有
ファイルの配置先を決定する動作と同様の動作により正
常なファイル格納装置に代替ファイルを配置するように
ファイルアクセス制御部25に共有ファイルの転送を指
示する。
Second, when a failure occurs in a shared file, the file is restored. If there is a failure in only a predetermined shared file, restoration is performed from a multiplexed normal shared file. Further, when there is a failure in the file storage unit 21 storing the shared file, the file access is performed such that the substitute file is placed in the normal file storage device by the same operation as the above-described operation of determining the placement destination of the shared file. Instructs the control unit 25 to transfer the shared file.

【0023】第3に、多重化されている共有ファイルの
1つが更新された場合に、他の多重化共有ファイルにつ
いても同様に更新するようにファイルアクセス制御部2
5に更新内容の転送を指示する。
Third, when one of the multiplexed shared files is updated, the file access control unit 2 updates the other multiplexed shared files similarly.
5 is instructed to transfer the updated contents.

【0024】ここで、図2及び図3のフローチャートを
参照して、システム管理部24の動作を説明する。図2
はファイル監視部22からの通知に基づく動作であり、
図3はネットワーク監視部23からの通知に基づく動作
である。
Here, the operation of the system management unit 24 will be described with reference to the flowcharts of FIGS. FIG.
Is an operation based on the notification from the file monitoring unit 22,
FIG. 3 shows an operation based on a notification from the network monitoring unit 23.

【0025】ファイル格納部21に格納されている共有
ファイルについてファイル監視部22からの通知を受け
取ると(図2、ステップ201)、当該情報に基づい
て、共有ファイルの障害発生の有無、共有ファイルへの
アクセス頻度、共有ファイルの更新の有無を調べる(ス
テップ202、204、206)。共有ファイルに障害
が発生していることを検出した場合、当該共有ファイル
の配置の見直しを計画する(ステップ202、20
3)。共有ファイルの配置の見直しにより、当該共有フ
ァイルを当該ファイル格納部21の正常な領域に配置し
直すか、または当該共有ファイルを他のコンピュータ2
0のファイル格納部21に配置することとなる。特定の
共有ファイルに対してアクセス頻度が高すぎることを検
出した場合、当該共有ファイルについてさらに多重化を
行うことを計画する(ステップ204、205)。当該
共有ファイルについて最大多重度が指定されている場合
には、その範囲内で多重化を行う。共有ファイルが更新
されていることを検出した場合、当該共有ファイルが多
重化されていれば、当該多重化された他の共有ファイル
を同様に更新する用に計画し、ファイルアクセス制御部
25に通知する(ステップ206、207)。
Upon receiving a notification from the file monitoring unit 22 for the shared file stored in the file storage unit 21 (step 201 in FIG. 2), based on the information, whether a failure has occurred in the shared file, and The access frequency and the presence / absence of update of the shared file are checked (steps 202, 204 and 206). If it is detected that a failure has occurred in the shared file, a review of the arrangement of the shared file is planned (steps 202 and 20).
3). By reviewing the arrangement of the shared file, the shared file is relocated to a normal area of the file storage unit 21 or the shared file is transferred to another computer 2.
0 in the file storage unit 21. If it is detected that the frequency of access to a specific shared file is too high, it is planned to further multiplex the shared file (steps 204 and 205). If the maximum multiplexing degree is specified for the shared file, multiplexing is performed within that range. When it is detected that the shared file has been updated, if the shared file is multiplexed, a plan is made to update the multiplexed other shared file in the same manner, and the file access control unit 25 is notified. (Steps 206 and 207).

【0026】以上のファイル監視部22からの通知に基
づく処理とは別に、ネットワーク10についてネットワ
ーク監視部23からの通知を受け取ると(図3、ステッ
プ301)、当該情報に基づいて、ネットワーク10に
おける障害発生の有無、回線の混雑の有無を調べる(ス
テップ302、304)。ネットワーク10の回線上に
障害が発生していることを検出した場合、障害の発生し
た回線を回避して共有ファイルへのアクセスを実行でき
るように計画する(ステップ302、303)。ここで
は、共有ファイルへのアクセスを行う場合に当該回線部
分を使用しないようにアクセス経路を変更したり、当該
回線部分を使用しないでアクセスできるコンピュータ2
0に共有ファイルを配置したりする。ネットワーク10
の回線の特定の部分を流れるデータの量が多過ぎること
を検出した場合、ネットワーク10の混雑している回線
部分の負荷の分散を計画する(ステップ304、30
5)。ここでは、混雑している回線部分を回避するよう
に共有ファイルへのアクセス経路を変更したり、当該回
線部分を使用しないでアクセスできるコンピュータ20
に必要な共有ファイルを配置し直したり、共有ファイル
を最大多重度の範囲内でさらに多重化したりする。
In addition to the above-described processing based on the notification from the file monitoring unit 22, when a notification about the network 10 is received from the network monitoring unit 23 (FIG. 3, step 301), a failure in the network 10 is determined based on the information. The presence or absence of the occurrence and the presence or absence of line congestion are checked (steps 302 and 304). When it is detected that a failure has occurred on the line of the network 10, a plan is made so as to access the shared file while avoiding the line on which the failure has occurred (steps 302 and 303). Here, when accessing a shared file, the access path is changed so that the line portion is not used, or the computer 2 that can access without using the line portion is used.
0 to place shared files. Network 10
If it is detected that the amount of data flowing through a specific portion of the line is too large, the distribution of the load on the congested line portion of the network 10 is planned (steps 304 and 30).
5). Here, the access route to the shared file is changed so as to avoid the congested line portion, and the computer 20 that can access without using the line portion is used.
The shared files necessary for the operation are rearranged, and the shared files are further multiplexed within the maximum multiplicity.

【0027】ファイルアクセス制御部25は、プログラ
ム制御されたCPUで実現され、共有ファイルに対する
アクセス要求が発生した時に、システム管理部24から
通知されたアクセス経路にしたがって当該共有ファイル
にアクセスし、データの入出力を行う。ここで、アクセ
ス対象である共有ファイルが当該コンピュータ20のフ
ァイル格納部21に格納されている場合はファイル格納
部21にアクセス要求を発行してデータの入出力を行
う。また、アクセス対象である共有ファイルが他のコン
ピュータ20のファイル格納部21に格納されている場
合はファイル転送部26に対して当該他のコンピュータ
20を指定してアクセス要求を発行しデータの入出力を
行う。
The file access control unit 25 is realized by a program-controlled CPU. When a request for access to a shared file is issued, the file access control unit 25 accesses the shared file according to the access path notified from the system management unit 24, and Perform input and output. Here, when the shared file to be accessed is stored in the file storage unit 21 of the computer 20, an access request is issued to the file storage unit 21 to input / output data. If the shared file to be accessed is stored in the file storage unit 21 of another computer 20, an access request is issued to the file transfer unit 26 by designating the other computer 20 to input / output data. I do.

【0028】ここで、図4及び図5のフローチャートを
参照して、ファイルアクセス制御部25の動作を説明す
る。図4はファイルの多重化を実行する際の動作、図5
はファイルアクセス要求を受け付けた場合の動作であ
る。
Here, the operation of the file access control unit 25 will be described with reference to the flowcharts of FIGS. FIG. 4 shows the operation when multiplexing files, and FIG.
Is an operation when a file access request is received.

【0029】システム管理部24からの指示で共有ファ
イルの多重化を行う場合、当該共有ファイルの多重化フ
ァイルを作成し(図4、ステップ401、402)、作
成した多重化ファイルの転送をファイル転送部26に指
示し(ステップ403、404)、さらに当該多重化フ
ァイルへのアクセス経路を他のコンピュータ20に通知
するようにファイル転送部26に指示する(ステップ4
05、406)。
When multiplexing a shared file according to an instruction from the system management unit 24, a multiplexed file of the shared file is created (steps 401 and 402 in FIG. 4), and the created multiplexed file is transferred by file transfer. (Steps 403 and 404), and further instructs the file transfer unit 26 to notify another computer 20 of the access path to the multiplexed file (step 4).
05, 406).

【0030】また、ファイルアクセス制御部25は、当
該コンピュータ20内で発生した共有ファイルへのアク
セス要求を受け付けると(図5、ステップ501)、ま
ずアクセス対象の共有ファイルが当該コンピュータ20
のファイル格納部21に存在するかどうかを確認する
(ステップ502)。当該共有ファイルが当該ファイル
格納部21に存在すれば、通常のアクセス方法によりフ
ァイル格納部21にアクセスし、所望の共有ファイルの
入出力を行う(ステップ504)。
When the file access control unit 25 receives a request to access a shared file generated in the computer 20 (step 501 in FIG. 5), first, the shared file to be accessed is stored in the computer 20.
It is checked whether the file exists in the file storage unit 21 (step 502). If the shared file exists in the file storage unit 21, the file storage unit 21 is accessed by a normal access method, and a desired shared file is input / output (step 504).

【0031】一方、所望の共有ファイルが当該ファイル
格納部21に存在しない場合、ファイルアクセス制御部
25は、当該アクセス要求に従い、ファイル転送部26
を介して当該共有ファイルを所有する他のコンピュータ
20にアクセスし(ステップ503)、データの入出力
を行う(ステップ504)。
On the other hand, when the desired shared file does not exist in the file storage unit 21, the file access control unit 25 responds to the access request and
The other computer 20 that owns the shared file is accessed via (step 503), and data is input / output (step 504).

【0032】ファイル転送部26は、プログラム制御さ
れたCPUとネットワーク10に対応したインターフェ
ース等で実現され、ファイルアクセス制御部25からの
要求にしたがって、指定された他のコンピュータ20に
対してファイルや所定の通知の送信または受信を行う。
The file transfer unit 26 is realized by a program-controlled CPU and an interface corresponding to the network 10, and sends a file or a predetermined file to another computer 20 designated according to a request from the file access control unit 25. Send or receive notifications for.

【0033】次に、図2ないし図5のフローチャート及
び図6を参照して、上記のように構成された本実施例の
具体的な動作について詳細に説明する。
Next, with reference to the flow charts of FIGS. 2 to 5 and FIG. 6, a specific operation of the present embodiment configured as described above will be described in detail.

【0034】図6は、ネットワーク10に接続された複
数のコンピュータ20の関係を示す概略図である。コン
ピュータ20A、20B、20C、20Dは全て上記の
ように構成された共有ファイル管理装置を搭載するもの
とし、以下の説明では、以下の説明では、各コンピュー
タ20A、20B、20C、20Dにおける構成要素
は、当該コンピュータと同一のA、B、C、またはDの
添え字を符号に付して表記する。例えば、コンピュータ
20Aにおいてはファイル格納部21A、ファイル監視
部22Aのように表記し、コンピュータ20Bにおいて
はネットワーク監視部23B、システム管理部24Bの
ように表記する。
FIG. 6 is a schematic diagram showing the relationship between a plurality of computers 20 connected to the network 10. The computers 20A, 20B, 20C, and 20D are all equipped with the shared file management device configured as described above. In the following description, the components in each of the computers 20A, 20B, 20C, and 20D are described below. , The same suffix of A, B, C, or D as that of the computer is attached to the code. For example, in the computer 20A, it is described as a file storage unit 21A and a file monitoring unit 22A, and in the computer 20B, it is described as a network monitoring unit 23B and a system management unit 24B.

【0035】初期状態として、所定の多重化された共有
ファイルがコンピュータ20Aのファイル格納部21A
とコンピュータ20Dのファイル格納部21Dに格納さ
れており、システムの運用上コンピュータ20Aのファ
イル格納部21Aに格納された共有ファイルへのアクセ
ス頻度が高いものとする。また、当該共有ファイルの多
重度を3とする。
As an initial state, a predetermined multiplexed shared file is stored in the file storage unit 21A of the computer 20A.
And the file stored in the file storage unit 21D of the computer 20D, and the frequency of access to the shared file stored in the file storage unit 21A of the computer 20A is high for system operation. The multiplicity of the shared file is set to 3.

【0036】コンピュータ20Aにおいて、ファイル監
視部22Aがファイル格納部21A内の共有ファイルを
監視し、監視結果の通知によりファイル格納部21Aの
共有ファイルへアクセス頻度が高いことが検出されたと
する(図2、ステップ201、204)。これに対し、
システム管理部24Aは、ファイル格納部21Aに対す
るアクセス負荷を下げるため、当該共有ファイルの多重
化を計画する(ステップ205)。
In the computer 20A, it is assumed that the file monitoring unit 22A monitors the shared file in the file storage unit 21A, and it is detected that the frequency of access to the shared file in the file storage unit 21A is high by the notification of the monitoring result (FIG. 2). , Steps 201, 204). In contrast,
The system management unit 24A plans multiplexing of the shared file in order to reduce the access load on the file storage unit 21A (Step 205).

【0037】まず、当該共有ファイルの多重化が可能か
どうかを検討する。ここでは、当該共有ファイルの最大
多重度が3であり、この時点で当該共有ファイルの多重
度は2(コンピュータ20A及びコンピュータ20Dに
存在)であることから、当該共有ファイルをさらに多重
化することが可能である。そこで、当該共有ファイルを
多重化し、ファイル格納部21の負荷が軽いコンピュー
タ20を検索して多重化した共有ファイルを配置する。
ここではコンピュータ20Bのファイル格納部21Bの
負荷が軽いものとする。
First, it is examined whether multiplexing of the shared file is possible. Here, the maximum multiplicity of the shared file is 3, and the multiplicity of the shared file is 2 (present in the computer 20A and the computer 20D) at this point, so that the shared file can be further multiplexed. It is possible. Therefore, the shared file is multiplexed, the computer 20 with a light load on the file storage unit 21 is searched, and the multiplexed shared file is arranged.
Here, it is assumed that the load on the file storage unit 21B of the computer 20B is light.

【0038】システム管理部24Aは、ファイルアクセ
ス制御部25Aに対し、コンピュータ20Bのファイル
格納部21Bに多重化共有ファイルを配置するように指
示する。ファイルアクセス制御部25Aは、ファイル格
納部21Aから当該共有ファイルを読み出し、ファイル
転送部26Aに対して、コンピュータ20Bのファイル
格納部21Bに当該共有ファイルを転送する用に指示す
る(図4、ステップ401、402)。また、当該共有
ファイルを多重化してコンピュータ20Bにも配置する
ことを他のコンピュータ20C、20Dに連絡するよう
に指示する。ファイル転送部26Aは、ファイルアクセ
ス制御部25Aの指示に従って、多重化共有ファイルを
コンピュータ20Bのファイル格納部21Bに転送し、
当該共有ファイルの多重化と配置先を他のコンピュータ
20C、20Dに通知する。
The system management unit 24A instructs the file access control unit 25A to place the multiplexed shared file in the file storage unit 21B of the computer 20B. The file access control unit 25A reads the shared file from the file storage unit 21A and instructs the file transfer unit 26A to transfer the shared file to the file storage unit 21B of the computer 20B (FIG. 4, step 401). , 402). Further, it instructs other computers 20C and 20D to multiplex the shared file and place it on the computer 20B. The file transfer unit 26A transfers the multiplexed shared file to the file storage unit 21B of the computer 20B according to the instruction of the file access control unit 25A,
The other computers 20C and 20D are notified of the multiplexing and arrangement of the shared file.

【0039】次に、上記の操作によりコンピュータ20
A自体からのファイル格納部21Aへのアクセス負荷は
減少したものの、他のコンピュータ20Cからのファイ
ル格納部21Aへのアクセスが多く、ネットワーク10
のコンピュータ20Aの周辺の回線部分の負荷が高い場
合を考える。
Next, the computer 20 is operated by the above operation.
Although the access load to the file storage unit 21A from A itself is reduced, the access to the file storage unit 21A from other computers 20C is large, and the network 10
Consider a case where the load on the line portion around the computer 20A is high.

【0040】ネットワーク監視部23Aからの通知によ
り、コンピュータ20Aの周辺の回線部分の負荷が高い
ことを検出すると(図3、ステップ301、304)、
システム管理部24Aは、ネットワーク10の当該回線
部分の負荷を下げるため、当該回線部分を回避するよう
に当該共有ファイルの配置の見直しを計画する(ステッ
プ305)。ここでは、コンピュータ20B、20Dの
ファイル格納部21B、21Dへのアクセス負荷が軽い
ものとし、コンピュータ20Cからのアクセスをコンピ
ュータ20Bまたは20Dに振り分けるようにする。そ
のため、システム管理部24Aは、ファイルアクセス制
御部25Aに対して、ファイル格納部21Aから当該共
有ファイルを削除するように指示する。ファイルアクセ
ス制御部25Aは、システム管理部24Aの指示に従
い、ファイル格納部21Aから当該共有ファイルを削除
すると共に、ファイル転送部26Aに対し、ファイル格
納部21Aから当該共有ファイルを削除することを他の
コンピュータ20B、20C、20Dに通知するように
指示する。ファイル転送部26Aは、ファイルアクセス
制御部25Aの指示に従って、他のコンピュータ20
B、20C、20Dに対してコンピュータ20A上の多
重化ファイルを削除することを通知する。
When it is detected from the notification from the network monitoring unit 23A that the load on the line portion around the computer 20A is high (FIG. 3, steps 301 and 304),
The system management unit 24A plans to review the layout of the shared file so as to avoid the line portion in order to reduce the load on the line portion of the network 10 (step 305). Here, the access load on the file storage units 21B and 21D of the computers 20B and 20D is assumed to be light, and the access from the computer 20C is distributed to the computer 20B or 20D. Therefore, the system management unit 24A instructs the file access control unit 25A to delete the shared file from the file storage unit 21A. The file access control unit 25A deletes the shared file from the file storage unit 21A and instructs the file transfer unit 26A to delete the shared file from the file storage unit 21A according to an instruction from the system management unit 24A. It instructs computers 20B, 20C, and 20D to notify. The file transfer unit 26A transmits the data to another computer 20 according to the instruction of the file access control unit 25A.
Notify B, 20C and 20D that the multiplexed file on computer 20A will be deleted.

【0041】以上の動作により、本実施例では、共有フ
ァイルを分散させて配置し、ネットワークの負荷を分散
させるように当該共有ファイルへのアクセス経路を決定
する。したがって、ネットワークの特定の箇所の負荷の
みが高くなりことがなくなり、所望の共有ファイルへの
接続効率が向上する。
With the above operation, in this embodiment, the shared files are distributed and arranged, and the access path to the shared files is determined so as to distribute the load on the network. Therefore, the load on only a specific portion of the network does not increase, and the connection efficiency to a desired shared file is improved.

【0042】また、共有ファイルを多重化して複数のコ
ンピュータシステム内のファイル格納部に格納し、ファ
イル監視部により監視するため、特定の共有ファイルに
障害が発生した場合や、特定のコンピュータシステムの
ファイル格納部に障害が発生した場合に、その障害発生
を意識することなく当該共有ファイルへのアクセスがで
きる。
Further, since shared files are multiplexed and stored in file storage units in a plurality of computer systems and monitored by a file monitoring unit, when a failure occurs in a specific shared file or when a file in a specific computer system When a failure occurs in the storage unit, the user can access the shared file without being aware of the failure.

【0043】以上好ましい実施例をあげて本発明を説明
したが、本発明は必ずしも上記実施例に限定されるもの
ではない。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments.

【0044】[0044]

【発明の効果】以上説明したように、本発明の共有ファ
イル管理装置は、第1の効果として、共有ファイルまた
はファイル格納部自体に障害が発生した場合に代替共有
ファイルへのアクセス手段を自動的に提供することによ
り、コンピュータシステムの管理者の負担が減り、また
利用者にとっても管理者への障害の連絡をすることなく
継続して使用できるため、システムの運用効率と操作性
の向上を図ることができるという効果がある。
As described above, the first effect of the shared file management device of the present invention is that the means for automatically accessing a substitute shared file when a failure occurs in the shared file or the file storage unit itself. To reduce the burden on the administrator of the computer system and allow the user to continue using the system without notifying the administrator of the failure, thereby improving system operation efficiency and operability. There is an effect that can be.

【0045】第2の効果として、ネットワークに障害が
発生した場合の代替手段が自動的に提供されることによ
り、コンピュータシステムの管理者の負担が減り、また
利用者にとっても管理者への障害の連絡をすることなく
継続して使用できるため、システムの運用効率と操作性
の向上を図ることができるという効果がある。
As a second effect, by automatically providing an alternative when a failure occurs in the network, the burden on the administrator of the computer system is reduced, and the failure of the administrator is also reduced for the user. Since the system can be used continuously without communication, there is an effect that the operation efficiency and operability of the system can be improved.

【0046】第3の効果として、ファイル格納部及びネ
ットワークの特定部分のアクセス負荷が高い場合に、当
該負荷の分散を自動的に行うことにより、共有ファイル
へのアクセスを快適に行うことができ、システムの運用
効率と操作性の向上を図ることができるという効果があ
る。
As a third effect, when the access load of the file storage unit and the specific part of the network is high, the load is automatically distributed, so that the access to the shared file can be performed comfortably. There is an effect that the operation efficiency and operability of the system can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の1実施例による共有ファイル管理装
置を搭載したコンピュータネットワークシステムの構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a computer network system equipped with a shared file management device according to one embodiment of the present invention.

【図2】 本実施例のシステム管理部の動作を示すフロ
ーチャートであり、ファイル監視結果に対応する処理を
示す図。
FIG. 2 is a flowchart illustrating an operation of a system management unit according to the embodiment, and illustrates a process corresponding to a file monitoring result.

【図3】 本実施例のシステム管理部の動作を示すフロ
ーチャートであり、ネットワーク監視結果に対応する処
理を示す図。
FIG. 3 is a flowchart illustrating an operation of a system management unit according to the embodiment, and is a diagram illustrating a process corresponding to a network monitoring result.

【図4】 本実施例のファイルアクセス制御部の動作を
示すフローチャートであり、共有ファイルの多重化の実
行処理を示す図。
FIG. 4 is a flowchart illustrating an operation of a file access control unit according to the embodiment, and is a diagram illustrating an execution process of multiplexing a shared file.

【図5】 本実施例のファイルアクセス制御部の動作を
示すフローチャートであり、共有ファイルへのアクセス
処理を示す図。
FIG. 5 is a flowchart illustrating an operation of a file access control unit according to the embodiment, and is a diagram illustrating processing for accessing a shared file.

【図6】 本実施例による共有ファイルの多重化を実行
するためのネットワークとコンピュータとの関係を示す
概略図である。
FIG. 6 is a schematic diagram showing a relationship between a network and a computer for multiplexing shared files according to the embodiment.

【符号の説明】[Explanation of symbols]

10 ネットワーク 20 コンピュータ 21 ファイル格納部 22 ファイル監視部 23 ネットワーク監視部 24 システム管理部 25 ファイルアクセス制御部 26 ファイル転送部 DESCRIPTION OF SYMBOLS 10 Network 20 Computer 21 File storage part 22 File monitoring part 23 Network monitoring part 24 System management part 25 File access control part 26 File transfer part

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−48365(JP,A) 特開 平4−230542(JP,A) 特開 平5−28111(JP,A) 特開 平5−274210(JP,A) 特開 平6−175902(JP,A) 特開 平6−222964(JP,A) 特開 平6−259478(JP,A) 特開 平6−301587(JP,A) 特開 平7−334400(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 12/00 ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-4-48365 (JP, A) JP-A-4-230542 (JP, A) JP-A-5-28111 (JP, A) JP-A-5-28111 274210 (JP, A) JP-A-6-175902 (JP, A) JP-A-6-222964 (JP, A) JP-A-6-259478 (JP, A) JP-A-6-301587 (JP, A) JP-A-7-334400 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 12/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ネットワークを介して接続した全てのコ
ンピュータにて共有され、該ネットワーク上の1台また
は複数台のコンピュータに分散して搭載される共有ファ
イルを管理する共有ファイル管理装置において、前記共有ファイル管理装置が、前記ネットワークに接続
した全てのコンピュータに搭載されており、 かつ各コンピュータに搭載されている前記共有ファイル
管理装置が、 前記共有ファイルの状態及び前記共有ファイルを格納し
たファイル格納手段の状態を監視し、少なくとも、前記
共有ファイルに対するアクセス頻度と前記共有ファイル
の内容の更新の有無と前記共有ファイルまたは前記ファ
イル格納部の障害の有無とに関する情報を取得するファ
イル監視手段と、 前記ファイル監視手段の監視結果に基づき、必要に応じ
て前記共有ファイルの配置または前記共有ファイルの多
重化の見直しを計画するシステム管理手段と、 前記システム管理手段による見直し計画にしたがって前
記共有ファイルの移動または前記共有ファイルの多重化
を実行するファイルアクセス制御手段とを備えることを
特徴とする共有ファイル管理装置。
Claims 1. All commands connected via a network
Computer, and one or more on the network
Is a shared file management device that manages shared files distributed and mounted on a plurality of computers , wherein the shared file management device is connected to the network.
The shared file that is installed on all the computers that have been installed and that is installed on each computer
A management device monitors the state of the shared file and the state of the file storage unit that stores the shared file, and at least the frequency of access to the shared file, whether or not the content of the shared file is updated, and the shared file or the file. A file monitoring unit that acquires information on the presence or absence of a failure in the storage unit; and, based on the monitoring result of the file monitoring unit, the location of the shared file or the
System management means for planning the review of duplication , and file access control means for executing the movement of the shared file or the multiplexing of the shared file according to the review plan by the system management means. And a shared file management device.
【請求項2】 前記ネットワークの状態を監視し、少な
くとも、前記ネットワークの所定の回線部分における過
剰なアクセス負荷の有無及び回線障害の有無に関する情
報を取得するネットワーク監視手段をさらに備え、 前記システム管理手段が、前記ネットワーク監視手段の
監視結果に基づき、必要に応じて前記共有ファイルの配
置または前記共有ファイルの多重化の見直しを計画する
ことを特徴とする請求項1に記載の共有ファイル管理装
置。
2. The system management means further comprising: a network monitoring means for monitoring a state of the network and acquiring at least information on the presence / absence of an excessive access load and the presence / absence of a line failure in a predetermined line part of the network. 2. The shared file management device according to claim 1, wherein, based on a monitoring result of the network monitoring unit, the arrangement of the shared file or a review of the multiplexing of the shared file is planned as needed. 3.
【請求項3】 前記システム管理手段が、前記ファイル
監視手段及び前記ネットワーク監視手段の監視結果によ
り、自コンピュータに配置された共有ファイルに対し、
自コンピュータによるアクセスが少なく他のコンピュー
タからのアクセスが多いと判断した場合、必要に応じて
自コンピュータに配置された該共有ファイルを削除する
ことを特徴とする請求項2に記載の共有ファイル管理装
置。
3. The system management means according to a monitoring result of the file monitoring means and the network monitoring means, for a shared file located in its own computer.
3. The shared file management device according to claim 2, wherein when it is determined that the number of accesses by the own computer is small and the number of accesses from another computer is large, the shared file located on the own computer is deleted as necessary. .
【請求項4】 前記システム管理手段が、前記共有ファ
イルの配置または多重化の見直しを計画すると共に、新
たな共有ファイルの配置位置に基づいて共有ファイルへ
のアクセス経路の変更を計画し、 前記ファイルアクセス制御手段が、前記システム管理手
段によって変更された前記共有ファイルへの新たなアク
セス経路を前記ネットワークに接続した全ての他の前記
コンピュータに通知することを特徴とする請求項1ない
し請求項3に記載の共有ファイル管理装置。
4. The system management means plans to review the arrangement or multiplexing of the shared file, and plans to change the access path to the shared file based on the arrangement position of a new shared file. 4. The system according to claim 1, wherein the access control unit notifies a new access path to the shared file changed by the system management unit to all the other computers connected to the network. A shared file management device as described.
JP8145140A 1996-05-15 1996-05-15 Shared file management device Expired - Fee Related JP2943695B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8145140A JP2943695B2 (en) 1996-05-15 1996-05-15 Shared file management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8145140A JP2943695B2 (en) 1996-05-15 1996-05-15 Shared file management device

Publications (2)

Publication Number Publication Date
JPH09305470A JPH09305470A (en) 1997-11-28
JP2943695B2 true JP2943695B2 (en) 1999-08-30

Family

ID=15378347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8145140A Expired - Fee Related JP2943695B2 (en) 1996-05-15 1996-05-15 Shared file management device

Country Status (1)

Country Link
JP (1) JP2943695B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8037183B2 (en) 2004-07-08 2011-10-11 Brother Kogyo Kabushiki Kaisha Processing method and apparatus for communication path load distribution

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4186456B2 (en) 2001-11-28 2008-11-26 沖電気工業株式会社 Distributed file sharing system and control method thereof
WO2004051486A1 (en) * 2002-12-05 2004-06-17 Fujitsu Limited Network load dispersion control method and apparatus thereof
CA2543746C (en) 2003-10-27 2018-01-16 Archivas, Inc. Policy-based management of a redundant array of independent nodes
JP5051197B2 (en) * 2009-08-26 2012-10-17 コニカミノルタビジネステクノロジーズ株式会社 Document management system
JP2011215928A (en) * 2010-03-31 2011-10-27 Nec Corp Content distribution system, information management server and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8037183B2 (en) 2004-07-08 2011-10-11 Brother Kogyo Kabushiki Kaisha Processing method and apparatus for communication path load distribution

Also Published As

Publication number Publication date
JPH09305470A (en) 1997-11-28

Similar Documents

Publication Publication Date Title
JP3726484B2 (en) Storage subsystem
US5778224A (en) Method of executing a plurality of transactions and a distributed processing system for performing such a method
US6976079B1 (en) System and method for upgrading software in a distributed computer system
CN100544342C (en) Storage system
US6430625B1 (en) System and corresponding method for providing redundant storage of a data file over a computer network
US8190852B2 (en) Virtualization controller and data transfer control method
US7761489B2 (en) Storage managing computer and program recording medium therefor
EP1701278B1 (en) Storage network system
US20060224775A1 (en) Contents synchronization system in network enviroment and a method therefor
US20040103254A1 (en) Storage apparatus system and data reproduction method
EP1214663B1 (en) Scalable file server with highly available pairs
JP4232357B2 (en) Computer system
US8301773B2 (en) Server management program, server management method, and server management apparatus
JPH07334436A (en) Automatic distribution system for software
US6920507B1 (en) System and corresponding method for providing redundant storage of a data file over a computer network
US8805927B2 (en) Methods and systems for a distributed group activity network
JP2943695B2 (en) Shared file management device
US6266697B1 (en) System automatically maintaining client under control of client, and a recording medium therefor
US6961749B1 (en) Scalable file server with highly available pairs
JPH06149642A (en) Distributed processor
KR20070010156A (en) Write set boundary management for heterogeneous storage controllers in support of asynchronous update of secondary storage
JP2924779B2 (en) Data hierarchy distribution processing method
JP3835199B2 (en) Distributed management network file system and file method
JPH05225027A (en) Method and device for data management of distributed system
EP4096192B1 (en) Resilient routing systems and methods for hosted applications

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees