JPH0784855A - Selection system for file server - Google Patents

Selection system for file server

Info

Publication number
JPH0784855A
JPH0784855A JP5250144A JP25014493A JPH0784855A JP H0784855 A JPH0784855 A JP H0784855A JP 5250144 A JP5250144 A JP 5250144A JP 25014493 A JP25014493 A JP 25014493A JP H0784855 A JPH0784855 A JP H0784855A
Authority
JP
Japan
Prior art keywords
file
access frequency
file server
computer
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5250144A
Other languages
Japanese (ja)
Other versions
JP3572641B2 (en
Inventor
Toru Murase
亨 村瀬
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP25014493A priority Critical patent/JP3572641B2/en
Publication of JPH0784855A publication Critical patent/JPH0784855A/en
Application granted granted Critical
Publication of JP3572641B2 publication Critical patent/JP3572641B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide the selection system for file servers which can select a file server most suitably for access time, cost, etc., from respective computers. CONSTITUTION:Each computer is provided with an access frequency measuring part 13 which specifies opposite-side computers which have accessed an individual file and measures the logical distance to them and the access frequencies, an access frequency management table 12 which finds the access frequencies by multiplying the logical distances to itself and the access frequencies as to the individual opposite-side computers and the access frequency index obtained by adding them on the basis of information measured by itself and other computers, a file transfer part 15 which compares the access frequency indexes found by itself and other computers according to specific algorithm and determines one computer as a new file server, and a file transfer part 15 which transfers a file substance to the computer determined as the file server.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
のファイルシステム、特にネットワーク経由でアクセス
されるネットワークファイルシステムの実体をいずれの
コンピュータに置くか、即ちいずれのコンピュータをフ
ァイルサーバにするかを選択する技術に関し、より具体
的には、個々のファイルの利用状況に応じてより適切な
ファイルサーバを選択するシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention selects which computer stores a file system of a computer system, particularly a network file system accessed via a network, that is, which computer serves as a file server. More specifically, the present invention relates to a system that selects a more appropriate file server according to the usage status of each file.

【0002】[0002]

【従来の技術】ワークステーションのネットワークファ
イルシステムとして、たとえばSun Micro Systems 社の
NFS 、あるいはTransarc社のAFS 等が普及している。NF
Sは、ファイル実体 (ファイルを構成するデータそのも
の)をファイルサーバと称されるハードウェア、即ちコ
ンピュータの大容量磁気ディスク装置等に格納してお
き、複数のクライアントワークステーションそれぞれが
必要なデータ部分のコピーをLAN を介してアクセス出来
るようにしてファイルデータの共有を図る仕組みになっ
ている。
2. Description of the Related Art As a network file system for workstations, for example, Sun Micro Systems
NFS or AFS of Transarc, Inc. are widely used. NF
S stores the file entity (the data that constitutes the file itself) in hardware called a file server, that is, in a large-capacity magnetic disk device of a computer, and stores the data portion required by each of a plurality of client workstations. It is a mechanism to share file data by making a copy accessible via LAN.

【0003】このような手法では、ファイル実体は常に
ファイルサーバに位置しており、ファイルサイズが増減
することはあってもファイル実体がネットワーク内で他
のハードウェアに移動することはない。しかし、同一構
内でもルータあるいはブリッジと称されるネットワーク
間接続装置を経由してファイルサーバに位置するファイ
ルをワークステーションからアクセスする場合、あるい
は更にAFS のように高域網(WAN) を介して遠隔地からア
クセスする場合には、アクセス時間が著しく増大して同
一LAN で要請されていた制限時間内には収まらなくなる
虞がある。
In such a method, the file entity is always located in the file server, and the file entity may not move to other hardware in the network although the file size may increase or decrease. However, even if files are located on a file server from a workstation via an inter-network connection device called a router or a bridge even within the same premises, or even remotely via a high-speed network (WAN) such as AFS. When accessing from the ground, there is a risk that the access time will significantly increase and it will not be within the time limit required for the same LAN.

【0004】[0004]

【発明が解決しようとする課題】従来、特にAFS におい
ては、ファイルサーバから必要時にファイルの全体また
は一部をクライアントワークステーションの記憶媒体で
あるハードディスク(ローカルディスク)へ予め転送し
ておき、ローカルディスクをキャッシュメモリとして機
能させてデータを使用する手法が採られている。この手
法によれば、ローカルディスクにファイルキャッシュす
ること自体にある程度の時間を要するため、利用者は待
つことを余儀なくされてある種の諦めが生じていたのが
実情である。しかしいずれにせよ、ネットワークを介し
たファイルアクセスでは、ネットワークにアクセスする
ために生じる時間的,経済的コストを勘案すると、ファ
イルがそれが最初に生成されたファイルサーバに留まっ
ていることはデメリットが非常に大きい。
Conventionally, particularly in AFS, the whole or part of a file is transferred from a file server to a hard disk (local disk) as a storage medium of a client workstation in advance when necessary, and the local disk is used. Is used as a cache memory and data is used. According to this method, it takes a certain amount of time to cache the file on the local disk, so that the user is forced to wait, and some kind of abandonment occurs. In any case, however, file access via the network has the disadvantage that the file stays on the file server where it was originally generated, considering the time and economic cost of accessing the network. Is very large.

【0005】本発明はこのような事情に鑑みてなされた
ものであり、ファイルサーバを各コンピュータからのア
クセス時間,費用等の面から最適に選択し得るファイル
サーバの選択システムを提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a file server selection system capable of optimally selecting a file server in terms of access time from each computer, cost, and the like. And

【0006】[0006]

【課題を解決するための手段】本発明に係るファイルサ
ーバの選択システムは、ネットワークを介して接続され
た複数のコンピュータの内のいずれかをファイル実体が
位置すべきファイルサーバとして選択するシステムであ
って、複数のコンピュータはそれぞれ、自身がファイル
サーバである場合に、個々のファイルそれぞれについ
て、それぞれに対してアクセスした相手側コンピュータ
を特定すると共に、特定された相手側コンピュータとの
間の論理的距離及びアクセス回数を計測するアクセス頻
度計測手段と、アクセス頻度計測手段により計測された
情報または他のコンピュータのアクセス頻度計測手段に
より計測された情報を基に、個々の相手側コンピュータ
について自身との間の論理的距離とアクセス回数とを乗
じたアクセス頻度を求め、更にそれらを加算したアクセ
ス頻度指標を求めるアクセス頻度記録手段と、自身及び
他のコンピュータのアクセス頻度記録手段により求めら
れたアクセス頻度指標を所定のアルゴリズムに従って比
較することにより、複数のコンピュータの内のいずれか
を対象ファイルが位置すべきファイルサーバとして決定
するファイル実体位置決定手段と、新たなファイルサー
バとして決定されたコンピュータにファイル実体を転送
するファイル転送手段とを備えている。
A file server selection system according to the present invention is a system for selecting any one of a plurality of computers connected via a network as a file server where a file entity should be located. When each of the plurality of computers is a file server, each computer identifies the partner computer that has accessed each file, and the logical distance from the identified partner computer. Based on the information measured by the access frequency measuring means for measuring the number of accesses and the access frequency measuring means or the information measured by the access frequency measuring means of other computers The access frequency multiplied by the logical distance and the number of accesses Therefore, by comparing the access frequency recording means for obtaining the access frequency index obtained by adding them with the access frequency index obtained by the access frequency recording means of itself and other computers according to a predetermined algorithm, The file entity position determining means for determining any one of the above as a file server where the target file should be located, and the file transfer means for transferring the file entity to the computer determined as a new file server.

【0007】[0007]

【作用】本発明のファイルサーバの選択システムでは、
ファイルサーバであるコンピュータは、自身のアクセス
頻度計測手段により自身にファイル実体が位置するファ
イルに対するアクセス頻度を計測すると共に自身のアク
セス頻度記録手段によりアクセス頻度指標を求め、ファ
イルサーバでないコンピュータは、ファイルサーバであ
るコンピュータのアクセス頻度計測手段により計測され
た情報を受け取って自身のアクセス頻度記録手段により
自身との間の論理的距離とアクセス回数とを乗じたアク
セス頻度を求め、更に自身のアクセス頻度記録手段によ
りそれらを加算したアクセス頻度指標を求め、各コンピ
ュータのファイル実体位置決定手段により新たなファイ
ルサーバとなるべきコンピュータを決定し、それまでフ
ァイルサーバであったコンピュータは、新たにファイル
サーバとして決定されたコンピュータへ自身のファイル
転送手段新によりファイル実体を転送する。
In the file server selection system of the present invention,
The computer that is the file server measures the access frequency to the file in which the file entity is located by its own access frequency measuring means and obtains the access frequency index by its own access frequency recording means. Receiving the information measured by the access frequency measuring means of the computer, and obtaining the access frequency by multiplying the logical distance between itself and the access frequency by the access frequency recording means of itself, and further the access frequency recording means of itself. Then, the access frequency index obtained by adding them is calculated, and the computer that should be the new file server is determined by the file entity position determining means of each computer, and the computer that was the file server until then is newly determined as the file server. To transfer the file entity by the own file transfer means New to the computer.

【0008】[0008]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。図5は本発明に係るファイルサーバの選
択システムが適用されるハードウェア環境の一例を示す
模式図である。図5において、参照符号L1〜L5はLAN(Lo
cal Area Network:ローカルエリアネットワーク) を、
FS1 及びFS2 はファイルサーバとなり得るコンピュータ
を、H1〜H6はホストコンピュータを、R1〜R5はルータ
を、W1はWAN(Wide Area Network:高域ネットワーク) を
それぞれ示している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments thereof. FIG. 5 is a schematic diagram showing an example of a hardware environment to which the file server selection system according to the present invention is applied. In FIG. 5, reference numerals L1 to L5 are LAN (Lo
cal Area Network: local area network)
FS1 and FS2 are computers that can be file servers, H1 to H6 are host computers, R1 to R5 are routers, and W1 is a WAN (Wide Area Network).

【0009】LAN L1にはホストコンピュータH1, H2及び
H3が、LAN L3にはホストコンピュータH5が、LAN L4には
ホストコンピュータH4及びファイルサーバになり得るコ
ンピュータFS2 が、LAN L5にはホストコンピュータH6が
それぞれ接続されており、WAN W1にはファイルサーバに
なり得るコンピュータFS2 が接続されている。LAN L1は
ルータR1を介して、LAN L3はルータR2を介して、LAN L4
はルータR3を介して、WAN W1はルータR4を介してそれぞ
れLAN L2と接続されており、LAN L5はルータR5を介して
WAN W1と接続されている。
LAN L1 has host computers H1, H2 and
H3, LAN L3 is connected to host computer H5, LAN L4 is connected to host computer H4 and computer FS2 which can be a file server, LAN L5 is connected to host computer H6, WAN W1 is connected to a file server. Possible computer FS2 is connected. LAN L1 goes through router R1, LAN L3 goes through router R2, LAN L4
Is connected to LAN L2 via router R3, WAN W1 is connected to LAN L2 via router R4, and LAN L5 is connected via router R5.
It is connected to WAN W1.

【0010】本発明に係るファイルサーバの選択システ
ムにより操作対象となるファイルをファイルAとし、こ
のファイルAの実体が現在配置されているコンピュータ
をファイルサーバFS2 とし、またそれを配置することが
可能なコンピュータをファイルサーバFS2 とする。な
お、現在実際にファイルが配置されているファイルサー
バFS2 をホームサイトとも言う。図5においては、ファ
イルサーバFS2 にファイルAが位置しているとする。即
ち、ファイルサーバFS2 が現在のホームサイトである。
With the file server selection system according to the present invention, the file to be operated is the file A, the computer in which the substance of this file A is currently located is the file server FS2, and it can be located. Let the computer be the file server FS2. The file server FS2 where the files are currently located is also called the home site. In FIG. 5, it is assumed that the file A is located in the file server FS2. That is, the file server FS2 is the current home site.

【0011】また、ファイルAにアクセスする必要があ
り且つアクセス可能なコンピュータをそれぞれホストコ
ンピュータと言い、図5では前述の如くH1〜H6の6台が
配置されている。但し、ファイルAにアクセスしないコ
ンピュータも存在するが、図5では省略してある。
Computers that need and can access the file A are called host computers. In FIG. 5, six computers H1 to H6 are arranged as described above. However, although some computers do not access the file A, they are omitted in FIG.

【0012】図1はファイルサーバFS1, FS2の要部の構
成を示すブロック図である。なお、両ファイルサーバFS
1, FS2は基本的には、磁気ディスク等の大規模記憶装置
を備えたコンピュータシステムである。各ファイルサー
バFS1, FS2には、ファイルシステム管理部11, アクセス
頻度管理テーブル12, アクセス頻度計測部13, ファイル
ホームサイト決定部14, ファイル転送部15, 通信部16等
が備えられている他、図1には示されていないがファイ
ルサーバとしての本来の機能のために、ハードディスク
等の大容量記憶装置が備えられている。
FIG. 1 is a block diagram showing the configuration of the main parts of the file servers FS1 and FS2. Both file servers FS
1, FS2 is basically a computer system equipped with a large-scale storage device such as a magnetic disk. Each file server FS1, FS2 is provided with a file system management unit 11, an access frequency management table 12, an access frequency measurement unit 13, a file home site determination unit 14, a file transfer unit 15, a communication unit 16, and the like. Although not shown in FIG. 1, a large-capacity storage device such as a hard disk is provided for its original function as a file server.

【0013】ファイルシステム管理部11はファイルサー
バFS1, FS2全体の管理を司る。アクセス頻度計測部13は
アクセス頻度計測手段として機能し、対象ファイルそれ
ぞれについて、それをアクセスしたホストコンピュータ
H1〜H6を特定する情報と、そのホストコンピュータH1〜
H6との間の論理距離(アクセスに際して経由したLAN, W
ANの数に所定の係数を乗じた値) と、単位時間内のアク
セス頻度 (回数) とを計測する。但し、ここで言う論理
距離とは、たとえばTPC/IP通信プロトコルで用いられて
いるようなパケットホップカウントで代用される。な
お、パケットホップカウントとは、パケットがネットワ
ーク間中継装置であるルータを経由する都度カウント数
を加算し、不必要にネットワークを経由しているパケッ
トを抹消するための機構である。
The file system management unit 11 controls the entire file servers FS1 and FS2. The access frequency measuring unit 13 functions as an access frequency measuring means, and for each target file, the host computer that accessed it.
Information identifying H1-H6 and its host computer H1-
Logical distance to H6 (via LAN, W
The value obtained by multiplying the number of ANs by a predetermined coefficient) and the access frequency (number of times) per unit time are measured. However, the logical distance referred to here is, for example, a packet hop count used in the TPC / IP communication protocol. The packet hop count is a mechanism for adding a count number each time a packet passes through a router, which is an inter-network relay device, and erasing packets passing the network unnecessarily.

【0014】またアクセス頻度計測部13は、LAN に比し
て伝達速度が遅いWAN(高域網) を経由してホストコンピ
ュータからファイルAに対するアクセスが行われた場合
には、そのコストを表現するためにLAN を経由したアク
セスの場合の論理距離とは異なる高い係数を用いる。な
お、本実施例では、一つのLAN を経由してアクセスが行
われた場合の論理距離の係数を”1”とし、一つのWAN
を経由してアクセスが行われた場合の論理距離の係数
を”5”としている。
Further, the access frequency measuring unit 13 expresses the cost when the file A is accessed from the host computer via the WAN (high-frequency network) whose transmission speed is slower than that of the LAN. Therefore, a high coefficient different from the logical distance in the case of access via LAN is used. In the present embodiment, the coefficient of the logical distance when access is made via one LAN is set to "1", and one WAN is set.
The coefficient of the logical distance is "5" when the access is performed via.

【0015】アクセス頻度管理テーブル12はアクセス頻
度記録手段として機能し、上述のようなアクセス頻度計
測部13による単位時間内の計測の結果を記録する。図2
はアクセス頻度管理テーブル12の記録内容の一例を示す
模式図である。図2 に示されているように、各ファイル
サーバFS1, FS2では、アクセスがあった全てのホストコ
ンピュータに関して、そのホストコンピュータを特定す
る情報, 各ホストコンピュータとの間の論理距離, 各ホ
ストコンピュータからのアクセスの回数をそれぞれのア
クセス頻度管理テーブル12に記録する。この後、アクセ
ス頻度管理テーブル12の論理距離とアクセス頻度とが乗
ぜられて個々のホストコンピュータに対するアクセス頻
度の指標が計算され、最終的に全体としのアクセス頻度
指標が求められる。
The access frequency management table 12 functions as an access frequency recording means, and records the result of measurement within the unit time by the access frequency measuring unit 13 as described above. Figure 2
FIG. 6 is a schematic diagram showing an example of recorded contents of the access frequency management table 12. As shown in Fig.2, in each file server FS1 and FS2, for all the host computers that have been accessed, information that identifies the host computer, logical distance from each host computer, from each host computer The number of times of access is recorded in each access frequency management table 12. After that, the logical distance of the access frequency management table 12 and the access frequency are multiplied to calculate the index of the access frequency for each host computer, and finally the overall access frequency index is obtained.

【0016】ファイルホームサイト決定部14はファイル
実体位置決定手段として機能し、ファイルのホームサイ
トを変更するか否かを決定するが、詳細は後述する。フ
ァイル転送部15はファイル転送手段として機能し、ホー
ムサイトが他のファイルサーバに変更された場合に、そ
れが備えられているファイルサーバから新たにホームサ
イトとなった他のホームサイトへのファイルの転送を制
御する。通信部16は他のファイルサーバとの間の種々の
通信を制御する。
The file home site determining unit 14 functions as a file entity position determining means and determines whether or not to change the file home site, which will be described in detail later. The file transfer unit 15 functions as a file transfer unit, and when the home site is changed to another file server, the file transfer from the file server provided with the file to another home site newly becomes the home site. Control transfer. The communication unit 16 controls various types of communication with other file servers.

【0017】ファイルホームサイト決定部14により行わ
れるホームサイトを変更するか否かの決定は以下のよう
にして行われる。現在のホームサイトであるファイルサ
ーバFS2 のアクセス頻度管理テーブル12において前述の
ようにアクセス頻度指標が求められると、その内の相手
ホストコンピュータを特定する情報, 各ホストコンピュ
ータとの間の論理距離, 各ホストコンピュータからのア
クセスの回数が通信部16により他のファイルサーバ (図
5の例ではファイルサーバFS1)へLAN, WANを経由してア
クセス頻度管理テーブル12のデータが転送される。
The file home site determining unit 14 determines whether or not to change the home site as follows. When the access frequency index is obtained in the access frequency management table 12 of the file server FS2, which is the current home site, as described above, the information identifying the other host computer among them, the logical distance between each host computer, The number of times of access from the host computer is transferred by the communication unit 16 to the other file server (file server FS1 in the example of FIG. 5) of the access frequency management table 12 via LAN and WAN.

【0018】現在はホームサイトではないファイルサー
バFS1 では現在のホームサイトであるファイルサーバFS
2 からこのデータを受け取ると、それぞれのホストコン
ピュータについてのアクセス頻度の指標及び全体のアク
セス頻度指標を計算する。そして、両ファイルサーバFS
1, FS2間で通信部16によりアクセス頻度指標を送信しあ
ってファイルホームサイト決定部14が両者を比較した上
でアクセスコストが最小のものを次のホームサイトとし
て決定する。
The file server FS1 that is not currently the home site is the file server FS that is the current home site.
When this data is received from 2, the access frequency index and the overall access frequency index for each host computer are calculated. And both file server FS
The communication section 16 transmits the access frequency index between the FS1 and the FS2, and the file home site determining section 14 compares the two and determines the one having the lowest access cost as the next home site.

【0019】以上のようにしてファイルホームサイト決
定部14によりホームサイトの変更が決定された場合には
ファイル転送部15によりファイル実体の転送が行われ
る。このファイル実体の転送の間は現在のホームサイト
FS2 から各ホストコンピュータH1〜H6にファイルのサー
ビスを続行し、途絶することのないようにする。ファイ
ル実体の転送が完了した後は、各ホストコンピュータH1
〜H6にファイルAのホームサイトのファイルサーバFS2
からFS1 への変更を通知し、各ホストコンピュータH1〜
H6ではアプリケーションの中でファイルAへのアクセス
が発生する場合は、新ホームサイトであるファイルサー
バFS1 に対してアクセスするように内部情報を変更す
る。
When the file home site determining unit 14 determines to change the home site as described above, the file transfer unit 15 transfers the file entity. The current home site during the transfer of this file entity
Continue to service files from FS2 to each host computer H1 to H6, without interruption. After the transfer of the file entity is completed, each host computer H1
~ H6 file server FS2 of home site of file A
From the host computer H1 to
In H6, when the file A is accessed in the application, the internal information is changed to access the file server FS1 which is the new home site.

【0020】なお、ファイルの物理的位置の変更に影響
を受けないように予め全て論理的位置アルゴリズム名称
等によって表記しておき、ファイル実体の移動で物理/
論理の対応を書き換える等して、容易に実現することが
可能である。
It should be noted that all are described in advance by logical position algorithm names or the like so as not to be affected by the change of the physical position of the file, and the physical /
It can be easily realized by rewriting the logical correspondence.

【0021】なおまた、ファイル利用の前提として、利
用するアプリケーションが同じであれば、アクセス頻度
から近未来の利用頻度を予測することが可能であるとの
前提に立っている。
Further, as a premise of file use, it is premised that it is possible to predict the near future use frequency from the access frequency if the applications to be used are the same.

【0022】以上のように、ファイルのホームサイトを
変更することにより、以前のホームサイトのまま各ホス
トコンピュータからアクセスを続けるよりも、ファイル
にアクセスする時間の短縮と、有料通信網(高域網等)
であれば通信料金の低減を図ることも可能になる。
As described above, by changing the home site of the file, the time for accessing the file is shortened and the pay communication network (high-range network etc)
In that case, it is possible to reduce communication charges.

【0023】以下、実際の手順について、具体的に説明
する。図5において、ファイルサーバFS2 にファイルA
が位置しているとする。即ち、ファイルサーバFS2 が現
ホームサイトである。ファイルサーバFS2 に位置するフ
ァイルAに対する各ホストコンピュータH1〜H6からのア
クセス回数をたとえば1時間に亙って測定し、その度数
をファイルサーバFS2 において記録した。但し、各ホス
トコンピュータH1〜H6からファイルAに対するアクセス
に際してLAN L1〜L5の内のいずれか一つを経由する都度
論理距離の係数”1”をカウントし、WAN W1を通過する
場合は低速且つ有料であるので1回通過する都度論理距
離の係数”5”をカウントするものとする。
The actual procedure will be specifically described below. In FIG. 5, file A is stored in the file server FS2.
Is located. That is, the file server FS2 is the current home site. The number of accesses from each host computer H1 to H6 to the file A located in the file server FS2 was measured over, for example, one hour, and the frequency was recorded in the file server FS2. However, when accessing the file A from each host computer H1 to H6, the coefficient "1" of the logical distance is counted each time it goes through any one of LAN L1 to L5, and it is slow and charged when passing through WAN W1. Therefore, the coefficient "5" of the logical distance is counted each time the vehicle passes once.

【0024】なお、上述のLAN に対する係数”1”及び
WAN に対する係数”5”という数値はファイルのホーム
サイト決定戦略に基づいて重み付けして適宜に設定する
ことが出来る。
The coefficient "1" for the above LAN and
The coefficient "5" for WAN can be set appropriately by weighting it based on the home site decision strategy of the file.

【0025】ここで、ファイルサーバFS2 での記憶機構
で見られた計測結果が図2に示されているような結果に
なっているとする。即ち、ホストコンピュータH1から
は、LAN L1, L2及びWAN W1を経由するので、二つのLAN
L1, L2に対する論理距離の係数”2”とWAN W1に対する
論理距離の係数”5”とで論理距離は”7”になり、ア
クセス頻度が”10”であったとすると、指標は”70”に
なる。
Here, it is assumed that the measurement result found in the storage mechanism of the file server FS2 is as shown in FIG. In other words, from the host computer H1 via LAN L1, L2 and WAN W1, two LAN
If the logical distance coefficient for L1 and L2 is “2” and the logical distance coefficient for WAN W1 is “5”, the logical distance becomes “7” and the access frequency is “10”, then the index becomes “70”. Become.

【0026】ホストコンピュータH2からはLAN L1, L2及
びWAN W1を経由するので論理距離は”7”になり、アク
セス頻度が”20”であるので指標は”140 ”になる。ホ
ストコンピュータH3からはLAN L1, L2及びWAN W1を経由
するので論理距離は”7”になり、アクセス頻度が”1
0”であるので指標は”70”になる。ホストコンピュー
タH4からはLAN L4, L2及びWAN W1を経由するので論理距
離は”7”になり、アクセス頻度が”30”であるので指
標は”210 ”になる。ホストコンピュータH5からはLAN
L3, L2及びWAN W1を経由するので論理距離は”7”にな
り、アクセス頻度が”30”であるので指標は”210 ”に
なる。ホストコンピュータH6からはLAN L5及びWAN W1を
経由するので論理距離は”3”になり、アクセス頻度
が”10”であるので指標は”30”になる。以上から、最
終的なアクセス頻度指標は”730 ”と算出される。
Since the host computer H2 passes through LANs L1, L2 and WAN W1, the logical distance is "7" and the access frequency is "20", so the index is "140". Since the host computer H3 goes through LAN L1, L2 and WAN W1, the logical distance is "7" and the access frequency is "1".
Since it is 0 ", the index is" 70. "Since the host computer H4 goes through LAN L4, L2 and WAN W1, the logical distance is" 7 "and the access frequency is" 30 ", so the index is" 210 ”. LAN from host computer H5
Since it goes through L3, L2 and WAN W1, the logical distance is "7" and the access frequency is "30", so the index is "210". The logical distance is "3" from the host computer H6 via LAN L5 and WAN W1, and the index is "30" because the access frequency is "10". From the above, the final access frequency index is calculated as "730".

【0027】次に、ファイルサーバFS2 はファイルAに
関してホームサイトとなり得るコンピュータ、即ち図5
に示されている例ではファイルサーバFS1 に対して、ア
クセス頻度管理テーブルの内容 (アクセス元のホストコ
ンピュータを特定する情報,アクセス頻度情報) を送
る。ファイルサーバFS1 ではファイルサーバFS2 から送
られてきた情報に基づいて、ファイルFS2 が行ったのと
同様の処理によりアクセス頻度指標を求める。具体的に
は以下のようになる。
Next, the file server FS2 is a computer that can be a home site for the file A, that is, FIG.
In the example shown in, the contents of the access frequency management table (information identifying the access source host computer, access frequency information) are sent to the file server FS1. The file server FS1 obtains the access frequency index based on the information sent from the file server FS2 by the same processing as that performed by the file FS2. Specifically, it is as follows.

【0028】ホストコンピュータH1からはLAN L1, L2及
びL4を経由するので論理距離は”3”になり、アクセス
頻度が”10”であるので指標は”30”になる。ホストコ
ンピュータH2からはLAN L1, L2及びL4を経由するので論
理距離は”3”になり、アクセス頻度が”20”であるの
で指標は”60”になる。ホストコンピュータH3からはLA
N L1, L2及びL4を経由するので論理距離は”3”にな
り、アクセス頻度が”10”であるので指標は”30”にな
る。ホストコンピュータH4からはLAN L4を経由するので
論理距離は”1”になり、アクセス頻度が”30”である
ので指標は”30”になる。ホストコンピュータH5からは
LAN L3, L2及びL4を経由するので論理距離は”3”にな
り、アクセス頻度が”30”であるので指標は”90”にな
る。ホストコンピュータH6からはLAN L6, WAN W1, LAN
L2及びLAN L4を経由するので論理距離は”8”になり、
アクセス頻度が”10”であるので指標は”80”になる。
以上から、ファイルAをファイルサーバFS1 に位置させ
た場合の最終的なアクセス頻度指標は”320 ”と算出さ
れる。
Since the host computer H1 passes through LANs L1, L2 and L4, the logical distance is "3" and the access frequency is "10", so the index is "30". The logical distance is "3" from the host computer H2 via LAN L1, L2 and L4, and the index is "60" because the access frequency is "20". LA from the host computer H3
Since it passes through N L1, L2, and L4, the logical distance is “3”, and the access frequency is “10”, so the index is “30”. The logical distance is "1" from the host computer H4 via LAN L4, and the index is "30" because the access frequency is "30". From the host computer H5
Since it passes through LAN L3, L2 and L4, the logical distance is "3" and the access frequency is "30", so the index is "90". LAN L6, WAN W1, LAN from the host computer H6
Since it goes through L2 and LAN L4, the logical distance becomes "8",
Since the access frequency is "10", the index is "80".
From the above, the final access frequency index when the file A is located in the file server FS1 is calculated as "320".

【0029】両ファイルサーバFS1, FS2は指標を持ち寄
って比較し、コストがより低いファイルサーバFS1 をフ
ァイルAの新たなホームサイトとして決定する。この場
合、上述のようにして求められたアクセス頻度指標のみ
を目安としてもよいし、ファイルサーバFS1, FS2とホス
トコンピュータH1〜H6までの論理的距離に対する重み付
け、あるいは比較論理、たとえば指標差が”500 ”以上
の場合のみ等のように種々の決定方法があり得るので、
利用者が適宜に選択すればよい。
The two file servers FS1 and FS2 bring in an index for comparison and determine the file server FS1 having a lower cost as a new home site for the file A. In this case, only the access frequency index obtained as described above may be used as a guide, or weighting for the logical distance between the file servers FS1 and FS2 and the host computers H1 to H6, or comparison logic, for example, the index difference is " Since there can be various determination methods such as only for 500 "or more,
The user may select it appropriately.

【0030】以上のようにしてファイルAの新ホームサ
イトをファイルサーバFS1 と決定した後、ファイルサー
バFS2 はファイルサーバFS1 へファイルAを転送する。
このファイルAの転送の間、各ホストコンピュータH1〜
H6はファイルサーバFS2 にアクセスし続けている。
After determining the new home site for the file A as the file server FS1 as described above, the file server FS2 transfers the file A to the file server FS1.
During the transfer of this file A, each host computer H1 ~
H6 continues to access file server FS2.

【0031】ファイルAのファイルサーバFS2 からFS1
への転送が完了すると、ファイルサーバFS1 は全ホスト
コンピュータH1〜H6にファイルAのホームサイトである
ことを通知する。これを受けて、各ホストコンピュータ
H1〜H6は自システム内のファイルAのアクセスをファイ
ルサーバFS1 に変更する。
File server FS2 to FS1 of file A
When the transfer is completed, the file server FS1 notifies all the host computers H1 to H6 that it is the home site of the file A. In response to this, each host computer
H1 to H6 change the access of the file A in its own system to the file server FS1.

【0032】なお、上記実施例ではネットワークにファ
イルサーバが二つ接続されている例について説明した
が、二つ以上であればいくつでもよいこは言うまでもな
い。
In the above embodiment, an example in which two file servers are connected to the network has been described, but it goes without saying that any number of file servers may be used.

【0033】[0033]

【発明の効果】以上に詳述したように、旧来の方法では
各ホストからファイルサーバへのアクセスコストが評価
されずに使用を続けていると是正されない不要なアクセ
スコストを積極的に評価して再配置することにより省く
ことが出来る。昨今、ネットワーク構成が複雑化し、直
観的には把握し難いアクセスコストを意識的に計測する
ことにより最適化を図ることが出来る。LAN 内では、ル
ータを経由する都度、ファイルアクセスのリアルタイム
性(同時性)が損なわれ、またWAN の場合にはそれのみ
ならず、有料の通信料金が課金されることを考慮する
と、本発明の有効性は明らかである。
As described above in detail, according to the conventional method, the access cost from each host to the file server is not evaluated and cannot be corrected if it is used continuously. It can be omitted by rearranging. In recent years, network configurations have become complicated, and optimization can be achieved by consciously measuring access costs that are difficult to grasp intuitively. Considering that the real-time property (simultaneity) of file access is deteriorated every time it passes through the router in the LAN and not only in the case of WAN but also the charged communication fee is charged, the present invention The effectiveness is clear.

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

【図1】ファイルサーバの要部の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a main part of a file server.

【図2】ファイルサーバに備えられているアクセス頻度
管理テーブルの記録内容の一例を示す模式図である。
FIG. 2 is a schematic diagram showing an example of recorded contents of an access frequency management table provided in a file server.

【図3】ファイルサーバに備えられているアクセス頻度
管理テーブルの記録内容の具体的な一例を示す模式図で
ある。
FIG. 3 is a schematic diagram showing a specific example of recorded contents of an access frequency management table provided in a file server.

【図4】ファイルサーバに備えられているアクセス頻度
管理テーブルの記録内容の具体的な一例を示す模式図で
ある。
FIG. 4 is a schematic diagram showing a specific example of recorded contents of an access frequency management table provided in a file server.

【図5】本発明に係るファイルサーバの選択システムが
適用されるハードウェア環境の一例を示す模式図であ
る。
FIG. 5 is a schematic diagram showing an example of a hardware environment to which a file server selection system according to the present invention is applied.

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

12 アクセス頻度管理テーブル 13 アクセス頻度計測部 14 ファイルホームサイト決定部 15 ファイル転送部 12 Access frequency management table 13 Access frequency measurement unit 14 File home site determination unit 15 File transfer unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークを介して接続された複数の
コンピュータの内のいずれかをファイル実体が位置すべ
きファイルサーバとして選択するファイルサーバの選択
システムにおいて、 前記複数のコンピュータはそれぞれ、 自身がファイルサーバである場合に、個々のファイルそ
れぞれについて、それぞれに対してアクセスした相手側
コンピュータを特定すると共に、特定された相手側コン
ピュータとの間の論理的距離及びアクセス回数を計測す
るアクセス頻度計測手段と、 前記アクセス頻度計測手段により計測された情報または
他のコンピュータのアクセス頻度計測手段により計測さ
れた情報を基に、個々の相手側コンピュータについて自
身との間の論理的距離とアクセス回数とを乗じたアクセ
ス頻度を求め、更にそれらを加算したアクセス頻度指標
を求めるアクセス頻度記録手段と、 自身及び他のコンピュータのアクセス頻度記録手段によ
り求められたアクセス頻度指標を所定のアルゴリズムに
従って比較することにより、前記複数のコンピュータの
内のいずれかを対象ファイルが位置すべきファイルサー
バとして決定するファイル実体位置決定手段と、 新たなファイルサーバとして決定されたコンピュータに
ファイル実体を転送するファイル転送手段とを備え、 ファイルサーバであるコンピュータは、自身のアクセス
頻度計測手段により自身にファイル実体が位置するファ
イルに対するアクセス頻度を計測すると共に自身のアク
セス頻度記録手段によりアクセス頻度指標を求め、 ファイルサーバでないコンピュータは、ファイルサーバ
であるコンピュータのアクセス頻度計測手段により計測
された情報を受け取って自身のアクセス頻度記録手段に
より自身との間の論理的距離とアクセス回数とを乗じた
アクセス頻度を求め、更に自身のアクセス頻度記録手段
によりそれらを加算したアクセス頻度指標を求め、 各コンピュータのファイル実体位置決定手段により新た
なファイルサーバとなるべきコンピュータを決定し、 それまでファイルサーバであったコンピュータは、新た
にファイルサーバとして決定されたコンピュータへ自身
のファイル転送手段によりファイル実体を転送すること
を特徴とするファイルサーバの選択システム。
1. A file server selection system for selecting one of a plurality of computers connected via a network as a file server in which a file entity should be located, wherein each of the plurality of computers has its own file server. In the case of each of the individual files, an access frequency measuring unit that specifies the partner computer that has accessed each file, and measures the logical distance and the number of accesses to the specified partner computer, Based on the information measured by the access frequency measuring means or the information measured by the access frequency measuring means of another computer, access obtained by multiplying the logical distance between itself and the other partner computer and the number of accesses. The frequency is calculated and the Access frequency recording means for obtaining the access frequency index and the access frequency index obtained by the access frequency recording means of itself and another computer are compared according to a predetermined algorithm, so that any one of the plurality of computers is targeted. Is provided with a file entity position determining means for determining a file server to be located, and a file transferring means for transferring the file entity to the computer determined as a new file server, and the file server computer measures its own access frequency. The access frequency to the file in which the file entity is located is measured by the means, and the access frequency index is obtained by the access frequency recording means of the means. The access obtained by receiving the information measured by the measuring means, obtaining the access frequency by multiplying the logical distance between itself and the number of times of access by the access frequency recording means of its own, and further adding them by the access frequency recording means of its own The frequency index is calculated, and the computer that should be the new file server is determined by the file entity position determining means of each computer. The computer that was the file server until then transfers its own file to the computer that is newly determined as the file server. A file server selection system characterized by transferring a file entity by means.
JP25014493A 1993-09-10 1993-09-10 File server selection system Expired - Fee Related JP3572641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25014493A JP3572641B2 (en) 1993-09-10 1993-09-10 File server selection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25014493A JP3572641B2 (en) 1993-09-10 1993-09-10 File server selection system

Publications (2)

Publication Number Publication Date
JPH0784855A true JPH0784855A (en) 1995-03-31
JP3572641B2 JP3572641B2 (en) 2004-10-06

Family

ID=17203476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25014493A Expired - Fee Related JP3572641B2 (en) 1993-09-10 1993-09-10 File server selection system

Country Status (1)

Country Link
JP (1) JP3572641B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH114258A (en) * 1997-06-12 1999-01-06 Toshiba Corp Communication device, communication method and program recorded medium for making communicating means function for computer
US6826610B1 (en) 1999-06-22 2004-11-30 Mitsubishi Denki Kaisha Method of improving communication using replicated server program
US7472143B2 (en) 2003-04-21 2008-12-30 Hitachi, Ltd. File migration device
JP2011197939A (en) * 2010-03-18 2011-10-06 Toshiba Tec Corp Server device and server application program
JP2015041198A (en) * 2013-08-21 2015-03-02 日本電信電話株式会社 Management device, communication system, management method and management program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH114258A (en) * 1997-06-12 1999-01-06 Toshiba Corp Communication device, communication method and program recorded medium for making communicating means function for computer
US6826610B1 (en) 1999-06-22 2004-11-30 Mitsubishi Denki Kaisha Method of improving communication using replicated server program
US7472143B2 (en) 2003-04-21 2008-12-30 Hitachi, Ltd. File migration device
JP2011197939A (en) * 2010-03-18 2011-10-06 Toshiba Tec Corp Server device and server application program
JP2015041198A (en) * 2013-08-21 2015-03-02 日本電信電話株式会社 Management device, communication system, management method and management program

Also Published As

Publication number Publication date
JP3572641B2 (en) 2004-10-06

Similar Documents

Publication Publication Date Title
Feldmeier Improving gateway performance with a routing-table cache
US6542967B1 (en) Cache object store
US7472143B2 (en) File migration device
JP4489292B2 (en) High performance object cache
US7363352B2 (en) Method for accessing distributed file system
US6925533B2 (en) Virtual disk image system with local cache disk for iSCSI communications
JP4278445B2 (en) Network system and switch
US6389510B1 (en) Method and apparatus for caching web-based information
US20020156980A1 (en) Designing a cache with adaptive reconfiguration
US20020095547A1 (en) Virtual volume storage
JPH1124981A (en) Wide area distributed file system
US20100169567A1 (en) Dynamic disk throttling in a wide area network optimization device
CN114844846A (en) Multi-level cache distributed key value storage system based on programmable switch
US20050120134A1 (en) Methods and structures for a caching to router in iSCSI storage systems
JPH0784855A (en) Selection system for file server
JPH1049422A (en) Cache device for remote file
JP4327869B2 (en) Distributed file system, distributed file system server, and access method to distributed file system
US6915386B2 (en) Processing service level agreement (SLA) terms in a caching component of a storage system
US7428611B1 (en) Methods and apparatus for forwarding access requests in a content addressable computer system
US7240151B1 (en) Methods and apparatus for transferring data in a content addressable computer system
KR20030014513A (en) Meshod and System of Sharing Client Data For Distributing Load of Server
JP7174372B2 (en) Data management method, device and program in distributed storage network
JP4005102B2 (en) Gateway device
JP2000057057A (en) Information processor and information managing method
Soloviev et al. File placement in a Web cache server

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040621

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees