JPH05334161A - Multi-server system - Google Patents

Multi-server system

Info

Publication number
JPH05334161A
JPH05334161A JP4137299A JP13729992A JPH05334161A JP H05334161 A JPH05334161 A JP H05334161A JP 4137299 A JP4137299 A JP 4137299A JP 13729992 A JP13729992 A JP 13729992A JP H05334161 A JPH05334161 A JP H05334161A
Authority
JP
Japan
Prior art keywords
update information
file server
master
server device
disk
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
JP4137299A
Other languages
Japanese (ja)
Inventor
Tatsuya Onishi
達也 大西
Yasunobu Tanaka
康宣 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4137299A priority Critical patent/JPH05334161A/en
Publication of JPH05334161A publication Critical patent/JPH05334161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To provide a multi-server system for automatically holding the contents of files in plural file server devices in the same state. CONSTITUTION:In a master file server, a writing processing part 12 or an updating information processing part 14 receives a writing request or updating information to a self-disk and rewrites the disk through an I/O processing part 11. An updating information forming part 13 informs the updating information to another file server device. In a slave file server, a writing processing part 12 receives a writing request to its own disk and an updating information forming part 13 forms updating information for the disk and informs the updating information to the other file server device. An updating information processing part 14 receives the updating information and rewrites the disk through an I/O processing part 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークファイル
システムにおいて他のホストコンピュータから自らのデ
ィスクにアクセスを可能とするマルチサーバシステムで
あって、複数のファイルサーバ装置間でファイル内容の
同一性を保つためのファイル更新情報の伝搬に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a multi-server system that enables a host computer to access its own disk in a network file system, and maintains the same file contents among a plurality of file server devices. Related to the propagation of file update information for.

【0002】[0002]

【従来の技術】近年、コンピュータネットワークにおい
て集中的に管理されたデータベースを複数の個人用コン
ピュータが共同で利用する形態が増えてきている。この
ため、コンピュータの自システム内のファイル装置にア
クセスすると同様に、ネットワークに接続された他のコ
ンピュータのファイル装置にアクセスする機能を備えた
ファイルサーバが種々開発されている。
2. Description of the Related Art In recent years, a plurality of personal computers jointly use a database that is centrally managed in a computer network. For this reason, various file servers having a function of accessing a file device of another computer connected to the network as well as accessing a file device in the computer's own system have been developed.

【0003】従来、クライアントのホストコンピュータ
(以下クライアントと呼ぶ)がファイルサーバ(以下サ
ーバと呼ぶ)上のファイルシステムをマウントしてサー
バのディスクの内容を読み書きできるネットワークシス
テムとしてNFS(Network File System: 米国サンマイ
クロシステムズ社、Networking on the Sun Workstatio
n,Sun User's Manual)がある。NFSではサーバ上にア
プリケーションソフトウェアやユーザの共通ファイルを
置き、複数のクライアントから利用することが可能にな
る。
Conventionally, an NFS (Network File System: USA) has been used as a network system in which a host computer of a client (hereinafter referred to as a client) can mount a file system on a file server (hereinafter referred to as a server) and read / write the contents of a disk of the server. Sun Microsystems, Networking on the Sun Workstatio
n, Sun User's Manual). In NFS, application software and common files for users can be placed on the server and used by multiple clients.

【0004】このようなファイルサーバにおいては、ア
プリケーションソフトウェアなどは多くのクライアント
から頻繁に利用されるため、サーバの負荷を考慮して複
数のサーバ(以下マルチサーバシステムと呼ぶ)に分散
しておくことが多い。以下図面を参照しながら、従来の
システムの一例について説明する。図12に従来のファ
イルサーバを用いたシステムの一構成例を示す。同図に
おいてクライアントaはサーバAを、クライアントbは
サーバBをマウントしている。2台のサーバをクライア
ント2台がマウントしている場合を示すものである。2
台のサーバを備えているのは、アプリケーションソフト
ウェアなどは多くのクライアントから頻繁に利用される
ため、サーバの負荷を考慮して複数のサーバに分散して
おくためである。
In such a file server, application software and the like are frequently used by many clients. Therefore, in consideration of the load on the server, it should be distributed to a plurality of servers (hereinafter referred to as a multi-server system). There are many. An example of a conventional system will be described below with reference to the drawings. FIG. 12 shows an example of the configuration of a system using a conventional file server. In the figure, the client a mounts the server A and the client b mounts the server B. It shows a case where two clients mount two servers. Two
One server is provided because application software and the like are frequently used by many clients, and are distributed to a plurality of servers in consideration of the load on the server.

【0005】[0005]

【発明が解決しようとする課題】しかしながら従来の技
術によれば、次の2つの問題点がある。1つは、複数の
サーバに同じ内容のファイルが存在する場合に、それら
のファイルの更新を各々のサーバで独立して行うことに
なるので、サーバ間でアプリケーションソフトウェアの
内容が異なってしまうという問題点である。例えば、サ
ーバA、B上に同じ内容のファイルXがあり、クライア
ントaがサーバAのファイルXの内容をX’に更新した
場合、更新をサーバBに伝搬することはしないので、サ
ーバ間でファイルの内容がXとX’のように異なってし
まう。これを避けるには、サーバA、Bが同一のファイ
ルを提供している場合、ファイルの更新はそれぞれにつ
いて同じ更新作業を別個に手動で行わなければならず、
二度手間になる。
However, the conventional technique has the following two problems. One is that, when files having the same content exist in a plurality of servers, the files are updated independently in each server, so that the content of the application software differs between the servers. It is a point. For example, if a file X having the same content exists on the servers A and B, and the client a updates the content of the file X of the server A to X ′, the update is not propagated to the server B, and therefore the file is transmitted between the servers. Contents are different like X and X '. To avoid this, if the servers A and B are providing the same file, the update of the file must be performed manually for each of the same update operations.
It will be troublesome twice.

【0006】もう1つは、クライアントがマウントして
いるサーバがダウンしたりサーバの負荷が高くなったり
したときにクライアントがマウントするサーバを切替え
てもそれまでと同様の環境でのファイルアクセスができ
なくなってしまうという問題点である。例えば、サーバ
Bがダウンしたり負荷が高くなったりした場合にクライ
アントbがサーバAにマウントを切替えても、サーバA
とサーバBのファイルの内容が同一であることが保証さ
れないので、クライアントbはそれまでと同様の環境で
ファイルアクセスを行うことができない。
Another is that even if the server mounted by the client goes down or the load on the server becomes high, even if the server mounted by the client is switched, file access in the same environment as before can be performed. The problem is that it will disappear. For example, even if the client b switches the mount to the server A when the server B goes down or the load increases, the server A
Since it is not guaranteed that the file contents of the server B and the server B are the same, the client b cannot access the file in the same environment as before.

【0007】本発明は上記問題点に鑑み、ファイルの内
容をサーバ間で自動的に同一に保つことを可能にするマ
ルチサーバシステムを提供することを目的とする。
In view of the above problems, it is an object of the present invention to provide a multi-server system that enables the contents of files to be automatically kept the same between servers.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
本発明のマルチサーバシステムは、コンピュータネット
ワークにおいて、他のコンピュータから自らのディスク
にアクセス可能な複数のファイルサーバ装置を設けたマ
ルチサーバシステムであって、ネットワーク上の他のコ
ンピュータから自らのディスクに対して書き込み要求を
受けると、又は他のファイルサーバ装置から更新情報を
受けると、自らのディスクに書き込むとともに書き込み
要求と同内容の更新情報を他のファイルサーバ装置に与
えるマスターファイルサーバ装置と、ネットワーク上の
他のコンピュータから自らのディスクに対して書き込み
要求を受けると、書き込み要求と同内容の更新情報をマ
スターファイルサーバ装置に与え、マスターファイルサ
ーバ装置から更新情報を受けると、自らのディスクに書
き込むスレーブファイルサーバ装置とからなっている。
In order to solve the above-mentioned problems, a multi-server system of the present invention is a multi-server system provided with a plurality of file server devices capable of accessing their own disks from other computers in a computer network. Therefore, when another computer on the network receives a write request for its own disc, or when it receives update information from another file server device, it writes it to its own disc and updates the same update information as the write request. When a master file server device to be given to another file server device and a write request to its own disk from another computer on the network are received, update information having the same contents as the write request is given to the master file server device to give a master file. Update from server device Upon receiving the broadcast, it is made from the slave file server device to write to their own disk.

【0009】前記マスターファイルサーバ装置は、ディ
スクにデータを読み書きする入出力処理手段と、ネット
ワーク上の他のコンピュータから自らのディスクに対し
て書き込み要求を受信し、入出力処理手段を通じてディ
スクを書き換えるマスター書込処理手段と、他のファイ
ルサーバ装置からの更新情報を受信し、入出力処理手段
を通じてディスクを書き換えるマスター更新情報処理手
段と、マスター書込処理手段から通知される書き込み要
求と同内容の更新情報を生成し、その更新情報を他のフ
ァイルサーバ装置に通知するマスター更新情報生成手段
とからなっていてもよい。
The master file server device receives input / output processing means for reading / writing data from / to the disk and a write request for the own disk from another computer on the network, and rewrites the disk through the input / output processing means. A write processing unit, a master update information processing unit that receives update information from another file server device, and rewrites the disk through the input / output processing unit, and an update having the same content as the write request notified from the master write processing unit. The master update information generating means may generate information and notify other file server devices of the update information.

【0010】前記スレーブファイルサーバ装置は、ディ
スクにデータを読み書きする入出力処理手段と、ネット
ワーク上の他のコンピュータから自らのディスクに対し
て書き込み要求を受信するスレーブ受信手段と、スレー
ブ受信手段から通知される書き込み要求と同内容の更新
情報を生成し、その更新情報をマスターファイルサーバ
装置に通知するスレーブ更新情報生成手段と、マスター
ファイルサーバ装置からの更新情報を受信し、入出力処
理手段を通じてディスクを書き換えるスレーブ更新情報
処理手段と、からなっていてもよい。
The slave file server device has an input / output processing means for reading / writing data from / to a disk, a slave receiving means for receiving a write request to its own disk from another computer on the network, and a notification from the slave receiving means. Generated update information having the same contents as the write request and notifying the master file server device of the update information, and the update information from the master file server device and receiving the update information from the master file server device. And a slave update information processing means for rewriting

【0011】更に、前記マスターファイルサーバ装置に
おいて、マスター更新情報生成手段は、生成する更新情
報に通し番号を付加し、また、スレーブファイルサーバ
装置に通知した更新情報に対する正常な応答が無い場合
に、その更新情報を保持し、前記スレーブファイルサー
バ装置において、スレーブ更新情報処理手段は、受信し
た更新情報の通し番号が番号順であるか否かを判断し、
スレーブ更新情報生成手段は、更新情報の通し番号が番
号順でないと判断された場合に、飛んでいる番号の更新
情報を要求するリクエスト情報をマスターファイルサー
バ装置に通知するようになっていてもよい。
Further, in the master file server device, the master update information generating means adds a serial number to the update information to be generated, and when there is no normal response to the update information notified to the slave file server device, Retaining update information, in the slave file server device, the slave update information processing means determines whether or not the serial numbers of the received update information are in numerical order,
The slave update information generation means may notify the master file server device of request information requesting update information of a flying number when it is determined that the serial numbers of the update information are not in numerical order.

【0012】[0012]

【作用】上記の手段により本発明のマルチサーバシステ
ムは、マスターファイルサーバ装置は、ネットワーク上
の他のコンピュータから自らのディスクに対して書き込
み要求を受けると、又は他のファイルサーバ装置から更
新情報を受けると、自らのディスクに書き込むとともに
書き込み要求と同内容の更新情報を他のファイルサーバ
装置に与える。スレーブファイルサーバ装置は、ネット
ワーク上の他のコンピュータから自らのディスクに対し
て書き込み要求を受けると、書き込み要求と同内容の更
新情報をマスターファイルサーバ装置に与え、マスター
ファイルサーバ装置から更新情報を受けると、自らのデ
ィスクに書き込む。
According to the multi-server system of the present invention, the master file server device receives the update request from the other computer on the network for its own disk or the update information from the other file server device. When it receives it, it writes it to its own disk and gives update information having the same contents as the write request to another file server device. When the slave file server device receives a write request for its own disk from another computer on the network, the slave file server device gives update information having the same contents as the write request to the master file server device and receives the update information from the master file server device. And write it on your own disc.

【0013】すなわち、マスターファイルサーバ装置に
おいては、マスター書込処理手段・マスター更新情報処
理手段は、自らのディスクに対して書き込み要求・更新
情報を受信し、マスター入出力処理手段を通じてディス
クを書き換える。更に、マスター更新情報生成手段は、
その更新情報を他のファイルサーバ装置に通知する。ス
レーブファイルサーバ装置においては、スレーブ書込処
理手段は、自らのディスクに対して書き込み要求を受信
し、スレーブ更新情報生成手段は、その更新情報を生成
し他のファイルサーバ装置に通知する。スレーブ更新情
報処理手段は、更新情報を受信し、スレーブ入出力処理
手段を通じてディスクを書き換える。
That is, in the master file server device, the master write processing means / master update information processing means receives the write request / update information for its own disk and rewrites the disk through the master input / output processing means. Furthermore, the master update information generation means is
The update information is notified to another file server device. In the slave file server device, the slave write processing means receives a write request for its own disk, and the slave update information generation means generates the update information and notifies the other file server device. The slave update information processing means receives the update information and rewrites the disk through the slave input / output processing means.

【0014】[0014]

【実施例】以下本発明のマルチサーバシステムの実施例
について、図面を参照しながら説明する。マルチサーバ
システムは、1台のマスターファイルサーバ装置とそれ
以外のスレーブファイルサーバ装置からなる。図1は本
発明の実施例におけるマルチサーバシステムに用いられ
るファイルサーバ装置(マスター及びスレーブを兼ね備
えている)の構成を示すブロック図である。
Embodiments of the multi-server system of the present invention will be described below with reference to the drawings. The multi-server system includes one master file server device and other slave file server devices. FIG. 1 is a block diagram showing the configuration of a file server device (having both a master and a slave) used in a multi-server system according to an embodiment of the present invention.

【0015】11は入出力処理部で、ディスクへの入出
力処理を行う。12は書き込み処理部で、クライアント
からの書き込み要求を処理する。13は更新情報生成部
で、クライアントからの書き込み要求に対して他サーバ
へのファイル更新情報の生成・蓄積を行う。14は更新
情報処理部で、他サーバからの更新情報を処理する。
An input / output processing unit 11 performs input / output processing to / from the disk. A write processing unit 12 processes a write request from the client. An update information generation unit 13 generates / stores file update information to another server in response to a write request from the client. An update information processing unit 14 processes update information from another server.

【0016】図2はマスターファイルサーバ装置の構成
を示すブロック図である。21はマスター入出力処理部
で、ディスクへの入出力処理を行う。22はマスター書
き込み処理部で、ネットワーク上の他のコンピュータか
ら自らのディスクに対して書き込み要求を受信し、マス
ター入出力処理部21を通じてディスクに書き込む。
FIG. 2 is a block diagram showing the configuration of the master file server device. Reference numeral 21 denotes a master input / output processing unit that performs input / output processing to / from the disk. A master write processing unit 22 receives a write request for its own disk from another computer on the network, and writes it to the disk through the master input / output processing unit 21.

【0017】23はマスター更新情報生成部で、マスタ
ー書込処理部22から通知される書き込み要求、又はマ
スター更新情報処理部24から通知される更新情報と同
内容の更新情報を生成し、その更新情報を他のファイル
サーバ装置に通知する。この更新情報には通し番号を付
加される。スレーブファイルサーバ装置に通知した更新
情報に対する正常な応答が無い場合には、その更新情報
を保持する。
Reference numeral 23 denotes a master update information generation unit, which generates a write request notified from the master write processing unit 22 or update information having the same contents as the update information notified from the master update information processing unit 24, and updates the update information. The information is notified to another file server device. A serial number is added to this update information. When there is no normal response to the update information notified to the slave file server device, the update information is held.

【0018】マスター更新情報処理部24は、他のファ
イルサーバ装置からの更新情報を受信し、マスター入出
力処理部21を通じてディスクへ書き込む。図3はスレ
ーブファイルサーバ装置の構成を示すブロック図であ
る。31はスレーブ入出力処理部で、ディスクにデータ
を読み書きする。32はスレーブ書き込み処理部(スレ
ーブ受信部)で、ネットワーク上の他のコンピュータか
ら自らのディスクに対して書き込み要求を受信する。
The master update information processing section 24 receives update information from another file server device and writes it to the disk through the master input / output processing section 21. FIG. 3 is a block diagram showing the configuration of the slave file server device. Reference numeral 31 is a slave input / output processing unit that reads / writes data from / to the disk. A slave write processing unit (slave receiving unit) 32 receives a write request from another computer on the network to its own disk.

【0019】33はスレーブ更新情報生成部で、スレー
ブ受信部32から通知される書き込み要求と同内容の更
新情報を生成し、その更新情報をマスターファイルサー
バ装置に通知する。またスレーブ更新情報処理部34が
マスターファイルサーバ装置から受信した更新情報の通
し番号が番号順でないと判断された場合に、飛んでいる
番号の更新情報を要求するリクエスト情報を生成し、マ
スターファイルサーバ装置に通知する。
A slave update information generator 33 generates update information having the same content as the write request notified from the slave receiver 32, and notifies the master file server device of the update information. When the slave update information processing unit 34 determines that the serial numbers of the update information received from the master file server device are not in numerical order, it generates request information requesting update information of the flying number, and the master file server device To notify.

【0020】34はスレーブ更新情報処理部で、マスタ
ーファイルサーバ装置からの更新情報を受信し、スレー
ブ入出力処理部31を通じてディスクに書き込む。この
とき、受信した更新情報の通し番号が番号順であるか否
かを判断し、番号順でない場合にはディスクへ書き込ま
ないでその更新情報を一旦記憶し、その旨スレーブ更新
情報生成部33に通知する。
Reference numeral 34 denotes a slave update information processing unit, which receives update information from the master file server device and writes it to the disk through the slave input / output processing unit 31. At this time, it is determined whether or not the serial numbers of the received update information are in the numerical order, and if they are not in the numerical order, the update information is temporarily stored without being written to the disk, and the slave update information generation unit 33 is notified to that effect. To do.

【0021】本実施例におけるマルチサーバシステム
は、複数のファイルサーバ装置(1台はマスターファイ
ルサーバ装置、他はスレーブファイルサーバ装置)から
なり、コンピュータネットワークに接続され、ネットワ
ーク状のコンピュータから自由にアクセスされる。ここ
では、具体例としてファイルサーバ装置3台からなり、
図4、図6、図8のようにファイルサーバ装置Aがマス
ターファイルサーバ装置であり、ファイルサーバ装置B
及びCがスレーブファイルサーバ装置であるものとする
(以下サーバA、サーバB、サーバCと呼ぶ)。
The multi-server system in this embodiment is composed of a plurality of file server devices (one is a master file server device and the other is a slave file server device), is connected to a computer network, and can be freely accessed from a network-like computer. To be done. Here, as a specific example, it is composed of three file server devices,
As shown in FIGS. 4, 6 and 8, the file server device A is the master file server device and the file server device B is
And C are slave file server devices (hereinafter referred to as server A, server B, and server C).

【0022】以上のように構成されたマルチサーバシス
テムについて、その動作を(1)マスターサーバに対し
て書込要求があった場合、(2)スレーブサーバに対し
て書込要求があった場合、(3)サーバの1台がダウン
していた場合に分けて説明する。 (1)マスタサーバAのディスクに対して書き込み要求
があった場合。
Regarding the operation of the multi-server system configured as described above, (1) when there is a write request to the master server, (2) when there is a write request to the slave server, (3) Description will be given separately when one of the servers is down. (1) When a write request is made to the disk of the master server A.

【0023】この場合の更新情報が伝搬する様子を図4
に示し、サーバ間を伝搬する情報のシーケンスを図5に
示す。クライアントaのコンピュータからの書き込み要
求がサーバAに対して通知される(図4の41、図5の
S51)と、サーバAのマスター書込処理部22は、マ
スター入出力処理部21を通じて要求された書き込みを
自分のディスクのファイルに対して行い(42)、マス
ター入出力処理部21からその書き込みが正常に終了し
た旨受け取ると、マスター情報更新部23に更新情報レ
コードの生成を指示する。マスター情報更新部23は、
それに対応する更新情報レコードを生成してサーバB、
Cに送信する(43、S52、S53)。この更新情報
レコードのフォーマットを図10に示す。510は更新
情報レコードであり、更新情報であることを示す情報5
11と、更新の順序を指示する識別番号512と、更新
内容を示す複数の情報513、514、515(ファイ
ルのパス名、更新の種類、データ)からなる。
FIG. 4 shows how the update information in this case propagates.
FIG. 5 shows a sequence of information shown in FIG. When the write request from the computer of the client a is notified to the server A (41 in FIG. 4, S51 in FIG. 5), the master write processing unit 22 of the server A is requested via the master input / output processing unit 21. The master information updating unit 23 is instructed to generate an update information record when the master I / O processing unit 21 receives the fact that the writing is normally completed (42). The master information updating unit 23
A corresponding update information record is generated and the server B,
It is transmitted to C (43, S52, S53). The format of this update information record is shown in FIG. Reference numeral 510 is an update information record, which is information 5 indicating that it is update information.
11, an identification number 512 indicating the update order, and a plurality of information 513, 514, 515 (file path name, update type, data) indicating the update content.

【0024】更新情報レコード510を受け取ったサー
バB、Cでは、まず更新情報処理部4でそのレコードの
内容を解析し、入出力処理部1を通じてディスクへの書
き込みを行う(44)とともに、返答レコード520を
生成し、サーバAへ送出する(S54、S55)。この
返答レコード520は図10に示すように、更新情報レ
コード510に対する返答であることを示す情報521
と、スレーブサーバの識別番号を示す522と、更新情
報の識別番号523からなる。返答レコードが到着する
と、サーバAは正常に更新が行われたことを知る。この
ようにしてサーバAのファイルに対して行われた書き込
みはサーバB、Cの同じファイルにも反映され同一内容
が保たれる。
In the servers B and C that have received the update information record 510, the update information processing unit 4 first analyzes the content of the record and writes it to the disk through the input / output processing unit 1 (44) and returns the response record. 520 is generated and sent to the server A (S54, S55). This reply record 520, as shown in FIG. 10, is information 521 indicating that it is a reply to the update information record 510.
And 522 indicating the identification number of the slave server and the identification number 523 of the update information. When the reply record arrives, the server A knows that the update has been normally performed. In this way, the writing performed on the file of the server A is reflected in the same file of the servers B and C, and the same content is maintained.

【0025】また、サーバAが送出する更新情報レコー
ド510には順に識別番号512が付けられている。こ
の番号を利用して、サーバB、Cは、受信した更新情報
レコード510よりも若い番号の更新情報レコードのう
ちまだ受信していないものがあるときは、受け取った更
新情報レコードを一旦記憶しておき、リクエストレコー
ド530をサーバAに送出することにより、受信してい
ない更新情報レコードをサーバAから受信し、番号順に
レコードを処理することによって処理の順序を保証す
る。このリクエストレコード530は図10に示すよう
に、リクエストであることを示す情報531と、スレー
ブサーバの識別番号を示す532と、リクエストする更
新情報レコード51の識別番号を示す533からなる。
Further, the update information record 510 sent by the server A is provided with an identification number 512 in order. By using this number, the servers B and C temporarily store the received update information record when there is an update information record with a number smaller than the received update information record 510 that has not been received yet. Then, by sending the request record 530 to the server A, the update information record that has not been received is received from the server A, and the records are processed in numerical order to guarantee the processing order. As shown in FIG. 10, the request record 530 includes information 531 indicating a request, 532 indicating the identification number of the slave server, and 533 indicating the identification number of the update information record 51 to be requested.

【0026】(2)スレーブサーバBのディスクに対し
て書き込み要求があった場合。この場合の更新情報が伝
搬する様子を図6に示し、サーバ間を伝搬する情報のシ
ーケンスを図7に示す。クライアントbのコンピュータ
から自ホストのディスクへの書き込み要求を受信する
(61、S71)と、サーバBのスレーブ受信部32
は、スレーブ更新情報生成部33へ更新情報の生成を要
求する。スレーブ更新情報生成部33はその要求を元に
更新情報レコード510を生成し、サーバAへ送出する
(62、S72)。
(2) When there is a write request to the disk of slave server B. FIG. 6 shows how the update information propagates in this case, and FIG. 7 shows a sequence of information propagated between the servers. When receiving a write request from the computer of the client b to the disk of its own host (61, S71), the slave receiving unit 32 of the server B is received.
Requests the slave update information generator 33 to generate update information. The slave update information generation unit 33 generates an update information record 510 based on the request and sends it to the server A (62, S72).

【0027】更新情報レコードを受け取ったサーバAで
は図10に示す返答レコード520を生成し、サーバB
へ送出する(S73)。サーバAではその後マスター更
新情報処理部24で更新情報レコードの内容を解析し、
マスター入出力処理部21を通じてディスクへの書き込
みを行う(63)。書き込みが正常終了すればマスター
更新情報生成部23で更新情報レコード510を生成
し、サーバB、Cへ送出する(64、S74、S7
5)。
The server A that has received the update information record generates the reply record 520 shown in FIG.
(S73). In the server A, the master update information processing unit 24 then analyzes the content of the update information record,
Writing to the disk is performed through the master input / output processing unit 21 (63). If the writing is completed normally, the master update information generation unit 23 generates the update information record 510 and sends it to the servers B and C (64, S74, S7).
5).

【0028】これを受けてサーバB、Cでは上記(1)
と同様の処理により自分のディスクに対する書き込みを
行い(65)、返答レコード520をサーバAに送出す
る(S76、S77)。 (3)サーバの1台がダウンしている場合。スレーブサ
ーバの1つがダウンしている場合に更新情報が伝搬する
様子を図8に示し、サーバ間を伝搬する情報のシーケン
スを図9に示す。
In response to this, the servers B and C perform the above (1).
By the same process as described above, writing is performed on the disc of its own (65) and the reply record 520 is sent to the server A (S76, S77). (3) When one of the servers is down. FIG. 8 shows how update information is propagated when one of the slave servers is down, and FIG. 9 shows a sequence of information propagated between the servers.

【0029】マスタサーバAがスレーブサーバB、Cに
更新情報レコード510を送出した際(S92)にサー
バBがダウンしていた場合、サーバCからは正常な応答
が返ってくる(S93)が、サーバBからは無応答とな
る。このような場合マスターサーバAは、一定時間経っ
ても応答がないと、マスター更新情報生成部23はサー
更新情報レコードを保存レコード610としてディスク
またはメモリに保存する。この保存レコードのフォーマ
ットを図11に示す。保存レコード61は、更新情報レ
コードを送出すべきサーバの識別番号のリスト611
と、送出すべき更新情報レコード612からなり、更新
情報レコード510に応答がなかったサーバの識別番号
リストを付加した形式になっている。
When the master server A sends the update information record 510 to the slave servers B and C (S92) and the server B is down, a normal response is returned from the server C (S93). There is no response from the server B. In such a case, if the master server A receives no response even after a certain period of time, the master update information generation unit 23 saves the service update information record as a save record 610 in the disk or the memory. The format of this saved record is shown in FIG. The saved record 61 is a list 611 of identification numbers of servers to which the update information record should be sent.
And the update information record 612 to be transmitted, and the update information record 510 has a format in which an identification number list of servers that have not responded is added.

【0030】この後、マスターサーバAが他の更新情報
をサーバB、Cに送出する(S95)と、サーバCから
は正常な応答が返ってくる(S96)が、サーバBから
は上記(1)で説明したようにリクエスト情報530が
返ってくることになる(S97)。これを受けてマスタ
ーサーバAは先の更新情報を送出する(S98)。サー
バBは、先の更新情報によりディスクに書き込み正常応
答を返し(S99)、後の更新情報によりディスクに書
き込む。このようにして、ダウンしていたサーバが復旧
した場合にもファイルの同一性を保つことができる。
After that, when the master server A sends other update information to the servers B and C (S95), a normal response is returned from the server C (S96), but from the server B, the above (1) The request information 530 is returned as described in () (S97). In response to this, the master server A sends the previous update information (S98). The server B returns a write normal response to the disk by the previous update information (S99), and writes it on the disk by the subsequent update information. In this way, it is possible to maintain the file identity even if the server that was down is restored.

【0031】上記(3)では、サーバBが無応答の場合
にマスターサーバAは、次の更新情報もサーバBに対し
て送信し、サーバBからのリクエスト情報を待って、保
存レコード610を送出し、マスターサーバAからダウ
ンしているサーバBの復旧を積極的に検出していない。
そこで、マスターサーバAは、サーバBが無応答だった
場合、周期的にサーバBに対して復旧確認情報(更新情
報でも構わない)を送出して応答の有無により復旧した
かを判断し、復旧した場合には保存レコードを識別番号
順にサーバBに送出する。このようにして、サーバBが
ダウンしていた間のファイル更新をサーバBのディスク
に反映させてファイルの同一性を保つことができる。
In the above (3), when the server B does not respond, the master server A also sends the next update information to the server B, waits for the request information from the server B, and sends the saved record 610. However, the recovery of the server B that is down from the master server A is not actively detected.
Therefore, when the server B does not respond, the master server A periodically sends recovery confirmation information (update information may be sent) to the server B to determine whether or not the response has been received, and restores. In this case, the stored records are sent to the server B in the order of identification numbers. In this way, the file update while the server B is down can be reflected on the disk of the server B to maintain the file identity.

【0032】[0032]

【発明の効果】以上のように本発明によれば、ネットワ
ークファイルシステムにおいて他のホストコンピュータ
から自らのディスクにアクセスを可能とするマルチサー
バシステムにおいて、更新情報を伝搬させることによっ
て複数のファイルサーバ装置間でファイル内容の同一性
を自動的に保つことができるという効果がある。
As described above, according to the present invention, in a multi-server system in which another host computer can access its own disk in a network file system, a plurality of file server devices are propagated by propagating update information. There is an effect that the identity of the file contents can be automatically maintained between them.

【0033】加えて、マスターサーバから送出される更
新情報に通し番号をつけることによって、スレーブサー
バは、更新情報を通し番号を元に並べかえてその順に自
らのディスクに反映させる機能とを備えることにより、
同一ファイルの更新順序をサーバ間で同一にすることが
できるという効果がある。さらに、他のファイルサーバ
がダウンしていた場合にそのファイルサーバへの更新情
報を保存することによって、一時的にダウンしていたサ
ーバとの間で同一ファイルの内容を同一に保つことがで
きるという効果がある。
In addition, by adding serial numbers to the update information sent from the master server, the slave server has a function of rearranging the update information based on the serial numbers and reflecting it in its own disk in that order.
There is an effect that the update order of the same file can be made the same between servers. Furthermore, when another file server is down, by saving the update information to that file server, the contents of the same file can be kept the same with the temporarily down server. effective.

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

【図1】 本発明の実施例におけるファイルサーバ装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a file server device according to an embodiment of the present invention.

【図2】 同実施例におけるマスターファイルサーバ装
置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a master file server device in the embodiment.

【図3】 同実施例におけるスレーブファイルサーバ装
置の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a slave file server device in the embodiment.

【図4】 同実施例においてマスターサーバのディスク
に対して書き込み要求があった場合の更新情報が伝搬す
る様子示す図である。
FIG. 4 is a diagram showing how update information is propagated when a write request is made to the disk of the master server in the embodiment.

【図5】 同実施例においてマスターサーバのディスク
に対して書き込み要求があった場合の、サーバ間を伝搬
する情報のシーケンスを示す図である。
FIG. 5 is a diagram showing a sequence of information propagated between servers when a write request is made to a disk of a master server in the embodiment.

【図6】 同実施例においてスレーブサーバのディスク
に対して書き込み要求があった場合の更新情報が伝搬す
る様子示す図である。
FIG. 6 is a diagram showing how update information is propagated when a write request is made to a disk of a slave server in the embodiment.

【図7】 同実施例においてスレーブサーバのディスク
に対して書き込み要求があった場合の、サーバ間を伝搬
する情報のシーケンスを示す図である。
FIG. 7 is a diagram showing a sequence of information propagating between servers when a write request is made to a disk of a slave server in the embodiment.

【図8】 同実施例においてスレーブサーバの1つがダ
ウンしている場合の更新情報が伝搬する様子示す図であ
る。
FIG. 8 is a diagram showing how update information is propagated when one of the slave servers is down in the embodiment.

【図9】 同実施例においてスレーブサーバの1つがダ
ウンしている場合の、サーバ間を伝搬する情報のシーケ
ンスを示す図である。
FIG. 9 is a diagram showing a sequence of information propagating between servers when one of the slave servers is down in the embodiment.

【図10】 同実施例においてサーバ間で交換されるデ
ータのフォーマット例を示す図である。
FIG. 10 is a diagram showing an example of a format of data exchanged between servers in the embodiment.

【図11】 同実施例においてスレーブサーバがダウン
していた場合にマスタサーバで保存されるデータのフォ
ーマット例を示す図である。
FIG. 11 is a diagram showing a format example of data stored in the master server when the slave server is down in the embodiment.

【図12】 従来のサーバとクライアントのコンピュー
タ間の通信の概念図である。
FIG. 12 is a conceptual diagram of communication between a conventional server and a client computer.

【符号の説明】 11 入出力処理部 12 書き込み処理部 13 更新情報生成部 14 更新情報処理部 21 マスター入出力処理部 22 マスター書き込み処理部 23 マスター更新情報生成部 24 マスター更新情報処理部 31 スレーブ入出力処理部 32 スレーブ書き込み処理部(スレーブ受信部) 33 スレーブ更新情報生成部 34 スレーブ更新情報処理部 510 マスタサーバからスレーブサーバへ送られる更
新情報レコード 520 返答レコード 530 更新情報リクエストレコード 610 更新情報保存レコード
[Explanation of Codes] 11 Input / Output Processing Unit 12 Write Processing Unit 13 Update Information Generation Unit 14 Update Information Processing Unit 21 Master Input / Output Processing Unit 22 Master Write Processing Unit 23 Master Update Information Generation Unit 24 Master Update Information Processing Unit 31 Slave Input Output processing unit 32 Slave writing processing unit (slave reception unit) 33 Slave update information generation unit 34 Slave update information processing unit 510 Update information record 520 Response record 530 Update information request record 610 Update information storage record sent from master server to slave server

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータネットワークにおいて、他
のコンピュータから自らのディスクにアクセス可能な複
数のファイルサーバ装置を設けたマルチサーバシステム
であって、 ネットワーク上の他のコンピュータから自らのディスク
に対して書き込み要求を受けると、又は他のファイルサ
ーバ装置から更新情報を受けると、自らのディスクに書
き込むとともに書き込み要求と同内容の更新情報を他の
ファイルサーバ装置に与えるマスターファイルサーバ装
置と、 ネットワーク上の他のコンピュータから自らのディスク
に対して書き込み要求を受けると、書き込み要求と同内
容の更新情報をマスターファイルサーバ装置に与え、マ
スターファイルサーバ装置から更新情報を受けると、自
らのディスクに書き込むスレーブファイルサーバ装置と
からなることを特徴とするマルチサーバシステム。
1. A multi-server system in a computer network, comprising a plurality of file server devices capable of accessing its own disk from another computer, wherein a write request is made to the own disk from another computer on the network. When receiving the update information from another file server device, the master file server device that writes the update information having the same content as the write request to the other file server device and writes it to its own disc When a computer receives a write request for its own disc, it gives update information having the same contents as the write request to the master file server device, and when it receives update information from the master file server device, it writes it to its own disc. When Multiserver system, characterized in that Ranaru.
【請求項2】 前記マスターファイルサーバ装置は、 ディスクにデータを読み書きする入出力処理手段と、 ネットワーク上の他のコンピュータから自らのディスク
に対して書き込み要求を受信し、入出力処理手段を通じ
てディスクを書き換えるマスター書込処理手段と、 他のファイルサーバ装置からの更新情報を受信し、入出
力処理手段を通じてディスクを書き換えるマスター更新
情報処理手段と、 マスター書込処理手段から通知される書き込み要求と同
内容の更新情報を生成し、その更新情報を他のファイル
サーバ装置に通知するマスター更新情報生成手段とから
なることを特徴とする請求項1記載のマルチサーバシス
テム。
2. The master file server device receives input / output processing means for reading / writing data from / to the disk and write request to its own disk from another computer on the network, and writes the disk through the input / output processing means. Master write processing means for rewriting, master update information processing means for receiving update information from another file server device, and rewriting the disk through the input / output processing means, and write request notified from the master write processing means. 2. The multi-server system according to claim 1, further comprising: master update information generation means for generating the update information of and updating the update information to other file server devices.
【請求項3】 前記スレーブファイルサーバ装置は、 ディスクにデータを読み書きする入出力処理手段と、 ネットワーク上の他のコンピュータから自らのディスク
に対して書き込み要求を受信するスレーブ受信手段と、 スレーブ受信手段から通知される書き込み要求と同内容
の更新情報を生成し、その更新情報をマスターファイル
サーバ装置に通知するスレーブ更新情報生成手段と、 マスターファイルサーバ装置からの更新情報を受信し、
入出力処理手段を通じてディスクを書き換えるスレーブ
更新情報処理手段と、からなることを特徴とする請求項
1記載のマルチサーバシステム。
3. The slave file server device comprises an input / output processing means for reading / writing data from / to a disk, a slave receiving means for receiving a write request from another computer on the network to the own disk, and a slave receiving means. Generate update information having the same content as the write request notified from the slave update information generating means for notifying the master file server device of the update information, and receiving the update information from the master file server device,
2. The multi-server system according to claim 1, further comprising slave update information processing means for rewriting the disk through the input / output processing means.
【請求項4】請求項2のマスターファイルサーバ装置に
おいて、 マスター更新情報生成手段は、生成する更新情報に通し
番号を付加し、また、スレーブファイルサーバ装置に通
知した更新情報に対する正常な応答が無い場合に、その
更新情報を保持し、 請求項3のスレーブファイルサーバ装置において、 スレーブ更新情報処理手段は、受信した更新情報の通し
番号が番号順であるか否かを判断し、 スレーブ更新情報生成手段は、更新情報の通し番号が番
号順でないと判断された場合に、飛んでいる番号の更新
情報を要求するリクエスト情報をマスターファイルサー
バ装置に通知することを特徴とするマルチサーバシステ
ム。
4. The master file server device according to claim 2, wherein the master update information generating means adds a serial number to the update information to be generated, and when there is no normal response to the update information notified to the slave file server device. In the slave file server device according to claim 3, the slave update information processing means determines whether or not the serial numbers of the received update information are in numerical order, and the slave update information generating means A multi-server system characterized in that, when it is determined that the serial numbers of the update information are not in numerical order, the master file server device is notified of request information requesting update information of the flying numbers.
JP4137299A 1992-05-28 1992-05-28 Multi-server system Pending JPH05334161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4137299A JPH05334161A (en) 1992-05-28 1992-05-28 Multi-server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4137299A JPH05334161A (en) 1992-05-28 1992-05-28 Multi-server system

Publications (1)

Publication Number Publication Date
JPH05334161A true JPH05334161A (en) 1993-12-17

Family

ID=15195444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4137299A Pending JPH05334161A (en) 1992-05-28 1992-05-28 Multi-server system

Country Status (1)

Country Link
JP (1) JPH05334161A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07105147A (en) * 1993-08-11 1995-04-21 Nec Corp Automatic delivery system for master file of decentralized processing system
JPH07239799A (en) * 1994-02-22 1995-09-12 Internatl Business Mach Corp <Ibm> Method for provision of remote data shadowing and remote data duplex system
JPH07244597A (en) * 1994-02-22 1995-09-19 Internatl Business Mach Corp <Ibm> Method and related system for forming consistent group for providing disaster restoration function
JPH0926881A (en) * 1995-07-12 1997-01-28 Fuji Xerox Co Ltd Client server system
JPH113262A (en) * 1997-06-12 1999-01-06 Omron Corp Simple distributed fa data base management system
JPH11508071A (en) * 1995-06-09 1999-07-13 オクトパス テクノロジーズ インコーポレイテッド Real-time data protection system and method
JPH11232158A (en) * 1998-02-12 1999-08-27 Mitsubishi Electric Corp Data base maintenance and management system
JPH11288393A (en) * 1998-04-01 1999-10-19 Mitsubishi Electric Corp Network game system
JP2001160183A (en) * 1999-12-03 2001-06-12 Toshiba Tec Corp Commodity sales data processing system
USRE37811E1 (en) 1994-11-30 2002-07-30 Bull S.A. Distributed application load distribution aid tool
WO2004051480A1 (en) * 2002-11-29 2004-06-17 Canon Kabushiki Kaisha Information processing method and apparatus
JP2007249514A (en) * 2006-03-15 2007-09-27 Brother Ind Ltd Delivery system, delivery system control method, accumulation device, program for accumulation device, node device and program for node device
US7952734B2 (en) 2006-02-23 2011-05-31 Konica Minolta Business Technologies, Inc. Image processor updating a master file stored in a file server, method of controlling the same, and a program product for processing images
JP2013025519A (en) * 2011-07-20 2013-02-04 Nec Biglobe Ltd Storage device sharing system, management device, access control device, and method and program therefor
JP5562454B1 (en) * 2013-02-13 2014-07-30 三菱電機株式会社 Redundant system server
JP2016068335A (en) * 2014-09-29 2016-05-09 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method and printing system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07105147A (en) * 1993-08-11 1995-04-21 Nec Corp Automatic delivery system for master file of decentralized processing system
JPH07239799A (en) * 1994-02-22 1995-09-12 Internatl Business Mach Corp <Ibm> Method for provision of remote data shadowing and remote data duplex system
JPH07244597A (en) * 1994-02-22 1995-09-19 Internatl Business Mach Corp <Ibm> Method and related system for forming consistent group for providing disaster restoration function
USRE37811E1 (en) 1994-11-30 2002-07-30 Bull S.A. Distributed application load distribution aid tool
JPH11508071A (en) * 1995-06-09 1999-07-13 オクトパス テクノロジーズ インコーポレイテッド Real-time data protection system and method
US7100072B2 (en) 1995-06-09 2006-08-29 Emc Corporation Backing up selected files of a computer system
JPH0926881A (en) * 1995-07-12 1997-01-28 Fuji Xerox Co Ltd Client server system
JPH113262A (en) * 1997-06-12 1999-01-06 Omron Corp Simple distributed fa data base management system
JPH11232158A (en) * 1998-02-12 1999-08-27 Mitsubishi Electric Corp Data base maintenance and management system
JPH11288393A (en) * 1998-04-01 1999-10-19 Mitsubishi Electric Corp Network game system
JP2001160183A (en) * 1999-12-03 2001-06-12 Toshiba Tec Corp Commodity sales data processing system
WO2004051480A1 (en) * 2002-11-29 2004-06-17 Canon Kabushiki Kaisha Information processing method and apparatus
JP2004185131A (en) * 2002-11-29 2004-07-02 Canon Inc Information processing method and device
US7584243B2 (en) 2002-11-29 2009-09-01 Canon Kabushiki Kaisha Information processing method and apparatus maintaining consistency of shared data
US7952734B2 (en) 2006-02-23 2011-05-31 Konica Minolta Business Technologies, Inc. Image processor updating a master file stored in a file server, method of controlling the same, and a program product for processing images
JP2007249514A (en) * 2006-03-15 2007-09-27 Brother Ind Ltd Delivery system, delivery system control method, accumulation device, program for accumulation device, node device and program for node device
JP2013025519A (en) * 2011-07-20 2013-02-04 Nec Biglobe Ltd Storage device sharing system, management device, access control device, and method and program therefor
JP5562454B1 (en) * 2013-02-13 2014-07-30 三菱電機株式会社 Redundant system server
JP2016068335A (en) * 2014-09-29 2016-05-09 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method and printing system

Similar Documents

Publication Publication Date Title
JPH05334161A (en) Multi-server system
CN100378679C (en) Method and system of redirection for storage access requests
US8255420B2 (en) Distributed storage
US8046421B2 (en) High performance storage access environment
US20070220072A1 (en) Computer-readable recording medium containing database copying program, and database copying apparatus and method
JPH11120048A (en) Device and method for data caching of clinet-server decentralized system and medium where data caching program is recorded
CN110968586A (en) Distributed transaction processing method and device
CN1146816A (en) Data storage
CN103312624A (en) Message queue service system and method
US6330625B1 (en) System for initiating multiple read operation requests to multiple copies of a data item and identifying a first one of the requests as having the fastest response time
CN113885797B (en) Data storage method, device, equipment and storage medium
EP1313033A2 (en) File system, control method, and program
CN114265814A (en) Data lake file system based on object storage
JP2004272668A (en) Distributed file system
US7752232B2 (en) Data processing apparatus, data processing system, data processing method, and recording medium
JPS63289657A (en) Common file access system
CN112596882A (en) Method, device and system for scheduling delayed tasks
JP2003157194A (en) File server program
JP2004013867A (en) Replicated data system, database device, and database updating method and its program used for the same
US7130931B2 (en) Method, system, and article of manufacture for selecting replication volumes
KR100324276B1 (en) method for data backup of DBMS in switching system
KR100368721B1 (en) Device and method of remote memory access channel for network virtual memory
JPH1198448A (en) Video server system and access processing method therefor
JPWO2015097991A1 (en) Transaction distributed processing apparatus, method, system, and storage medium
JPH07175641A (en) Distributed program development integration update managing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20060210

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A02 Decision of refusal

Effective date: 20071002

Free format text: JAPANESE INTERMEDIATE CODE: A02