Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4375267B2 - Shared file system, setting method and setting program - Google Patents
[go: Go Back, main page]

JP4375267B2 - Shared file system, setting method and setting program - Google Patents

Shared file system, setting method and setting program Download PDF

Info

Publication number
JP4375267B2
JP4375267B2 JP2005093193A JP2005093193A JP4375267B2 JP 4375267 B2 JP4375267 B2 JP 4375267B2 JP 2005093193 A JP2005093193 A JP 2005093193A JP 2005093193 A JP2005093193 A JP 2005093193A JP 4375267 B2 JP4375267 B2 JP 4375267B2
Authority
JP
Japan
Prior art keywords
host
client
identification information
server
client host
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
JP2005093193A
Other languages
Japanese (ja)
Other versions
JP2006277143A (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
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2005093193A priority Critical patent/JP4375267B2/en
Publication of JP2006277143A publication Critical patent/JP2006277143A/en
Application granted granted Critical
Publication of JP4375267B2 publication Critical patent/JP4375267B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、SAN(ストレージエリアネットワーク)上の共有ファイルシステム及び設定方法に関する。   The present invention relates to a shared file system on a SAN (Storage Area Network) and a setting method.

SAN上の共有ファイルシステムとは、特に周辺装置とサーバ及びクライアントとの間をストレージ専用のネットワーク(SAN・ストレージエリアネットワーク)で構成したネットワークファイルシステムを意味する。SAN上の共有ファイルシステムの一例が特許第3440865号に開示されている。   The shared file system on the SAN means a network file system in which the peripheral device, the server, and the client are configured with a storage-dedicated network (SAN / storage area network). An example of a shared file system on a SAN is disclosed in Japanese Patent No. 3440865.

前記特許第3440865号に開示されている共有ファイルシステムは、1または複数のサーバと、1または複数のクライアントと、1または複数の周辺装置とを備えるネットワークにおいて、サーバ内に備えられ、クライアントから送られてきた周辺装置に対するデータ入出力の要求に対して、少なくともクライアントからみた周辺装置に対するネットワークのアドレスに関する情報を付加した拡張入出力命令を発行し、クライアントへ転送する手段と、クライアント内に備えられ、サーバから転送されてきた拡張入出力命令を、周辺装置に対する入出力命令に変換して、周辺装置に対し入出力命令を発行し、サーバを介さずに、周辺装置との間で直接データの転送を行う手段とを備えている。   The shared file system disclosed in Japanese Patent No. 3440865 is provided in a server in a network including one or more servers, one or more clients, and one or more peripheral devices. Provided in the client is a means for issuing an extended input / output command to which information related to the network address for the peripheral device viewed from the client is added and transferring it to the client in response to a data input / output request to the peripheral device. The extended input / output command transferred from the server is converted into an input / output command for the peripheral device, the input / output command is issued to the peripheral device, and the data is directly transferred to / from the peripheral device without going through the server. Means for performing the transfer.

そして、前記クライアントが、クライアント内のユーザプログラムからのデータ転送要求に応じて前記周辺装置に対するデータ入出力の要求を発行し、サーバから転送されてきた拡張入出力命令を変換して得た入出力命令を周辺装置に対して発行し、周辺装置との間のデータの転送が終了したときにサーバに対して完了通知を行い、サーバから前記データ入出力要求の完了通知を受け、それに応じてデータ転送要求の完了をユーザプログラムへ通知するようになっている。
特許第3440865号
The client issues a data input / output request to the peripheral device in response to a data transfer request from a user program in the client, and an input / output obtained by converting the extended input / output command transferred from the server When a command is issued to the peripheral device and the transfer of data to and from the peripheral device is completed, a completion notification is sent to the server, and the completion notification of the data input / output request is received from the server. The user program is notified of the completion of the transfer request.
Japanese Patent No. 3440865

ところで、サーバ上のデバイスファイル名と、クライアント上のデバイスファイル名とはそれぞれ異なるため、SAN共有ファイルシステムを運用する準備段階において、サーバ上のデイスク識別情報データ、及びクライアント上のデイスク識別情報データを、使用者があらかじめ調査して、同一の論理デイスクを指し示す、サーバ上のデバィスファイル名を特定し、それぞれサーバ、クライアントに設定しておく必要がある。   By the way, since the device file name on the server and the device file name on the client are different from each other, the disk identification information data on the server and the disk identification information data on the client are stored in the preparation stage for operating the SAN shared file system. The user needs to investigate in advance, specify the device file name on the server that points to the same logical disk, and set it to the server and client respectively.

しかしながら、使用者がサーバ及びクライアントの設定を行うためには、サーバ及びクライアントから認識されている、同一の論理デイスクを指し示すデバイスファイル名を、それぞれ何らかの手段で使用者自身が調査する必要があり、人為的な設定ミスなどから、IOエラーを引き起こすことがあった。   However, in order for the user to set the server and the client, the user himself / herself needs to investigate the device file name that indicates the same logical disk recognized by the server and the client by some means, An IO error may occur due to a human setting error.

本発明の目的は、使用者が行っていたサーバホストとクライアントホストとの間で使用する共有ファイルシステムが構築されている論理デイスクのデバイスファイル名の対応を自動的に検出し、自動的にサーバホスト及びクライアントホストに論理デイスク及びクライアントホストを設定するためのSAN(ストレージエリアネットワーク)上の共有ファイルシステム及び設定方法並びに設定プログラムを提供することにある。   An object of the present invention is to automatically detect the correspondence between device file names of logical disks on which a shared file system used between a server host and a client host used by a user is constructed, and automatically To provide a shared file system, a setting method, and a setting program on a SAN (storage area network) for setting a logical disk and a client host in a host and a client host.

前記目的を達成するため、本発明に係る共有ファイルシステムは、サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムにおいて、
前記サーバホストは、取得手段と、交換手段と、設定手段とを有し、
前記クライアントホストは、交換手段と、設定手段とを有し、
前記サーバホストの前記取得手段は、前記サーバホストが前記ストレージエリアネットワークを介してアクセスしている前記共有ファイルシステムに対応する論理デイスクの識別情報を取得するものであり、
前記サーバホストの前記交換手段は、前記サーバホストの前記取得手段から出力される前記論理デイスクの識別情報を前記クライアントホストへ送信するものであり、
前記クライアントホストの前記交換手段は、前記サーバホストの前記交換手段から前記論理デイスクの識別情報を受信すると、前記クライアントホストが認識している全ての論理デイスクについて、その識別情報を取得し、その情報を前記クライアントホストの前記設定手段に出力するとともに、前記クライアントホストの前記設定手段から出力される追加または更新したデバィスファイル名を前記サーバホストの前記交換手段に出力するものであり、
前記クライアントホストの前記設定手段は、前記クライアントホストが認識している全ての論理デイスクの識別情報と、前記サーバホストの前記交換手段から送信された前記論理デイスクの識別情報とを比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名を取得し、前記クライアントホスト側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名を前記クライアントホストの前記交換手段に出力するものであり、
前記サーバホストの前記設定手段は、前記サーバホストの前記交換手段が受信した、前記クライアントホストの前記交換手段から送信される前記デバイスファイル名及び送信元のIPアドレスを前記サーバホスト側のデイスク識別情報データに追加または更新するものであることを特徴とする。
To achieve the above object, a shared file system according to the present invention is a shared file system on a storage area network to which a server host and a client host are connected .
The server host has acquisition means, exchange means, and setting means,
The client host has an exchange means and a setting means,
The acquisition unit of the server host acquires identification information of a logical disk corresponding to the shared file system that the server host is accessing via the storage area network,
The exchange means of the server host transmits identification information of the logical disk output from the acquisition means of the server host to the client host,
When the exchanging means of the client host receives the identification information of the logical disk from the exchanging means of the server host, the exchanging means acquires the identification information for all logical disks recognized by the client host, and the information Is output to the setting means of the client host, and the added or updated device file name output from the setting means of the client host is output to the exchange means of the server host,
The setting means of the client host compares the identification information of all logical disks recognized by the client host with the identification information of the logical disks transmitted from the exchange means of the server host, and A device file name on the client host side is acquired, the device file name is added or updated to the disk identification information data on the client host side, and the device file name is exchanged with the client host. Output to the means,
The setting means of the server host uses the device file name and the source IP address transmitted from the exchanging means of the client host received by the exchanging means of the server host as disk identification information on the server host side. It is added or updated to data .

本発明に係る設定方法は、サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムを用いて、論理デイスクを指し示すデバイスファイル名を設定する設定方法であって、
前記サーバホストの取得手段により、前記サーバホストが前記ストレージエリアネットワークを介してアクセスしている前記共有ファイルシステムに対応する論理デイスクの識別情報を取得し、
前記サーバホストの交換手段により、前記サーバホストの前記取得手段から出力される前記論理デイスクの識別情報を前記クライアントホストへ送信し、
前記クライアントホストの前記交換手段により、前記サーバホストの前記交換手段から前記論理デイスクの識別情報を受信すると、前記クライアントホストが認識している全ての論理デイスクについて、その識別情報を取得し、その情報を前記クライアントホストの設定手段に出力するとともに、前記クライアントホストの前記設定手段から出力される追加または更新したデバィスファイル名を前記サーバホストの前記交換手段に出力し、
前記クライアントホストの前記設定手段により、前記クライアントホストが認識している全ての論理デイスクの識別情報と、前記サーバホストの前記交換手段から送信された前記論理デイスクの識別情報とを比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名を取得し、前記クライアントホスト側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名を前記クライアントホストの前記交換手段に出力し、
前記サーバホストの前記設定手段により、前記サーバホストの前記交換手段が受信した、前記クライアントホストの前記交換手段から送信される前記デバイスファイル名及び送信元のIPアドレスを前記サーバホスト側のデイスク識別情報データに追加または更新し、
以上の処理を経て、前記サーバホストと前記クライアントホストとに、同一の論理デイスクを指し示すデバイスファイル名を設定することを特徴とする。
A setting method according to the present invention is a setting method for setting a device file name indicating a logical disk using a shared file system on a storage area network to which a server host and a client host are connected,
The server host obtaining means obtains logical disk identification information corresponding to the shared file system that the server host is accessing via the storage area network,
The server host exchange means transmits the logical disk identification information output from the acquisition means of the server host to the client host,
When the exchange means of the client host receives the identification information of the logical disk from the exchange means of the server host, the identification information is acquired for all logical disks recognized by the client host, and the information Is output to the setting means of the client host, and the added or updated device file name output from the setting means of the client host is output to the exchanging means of the server host,
The setting means of the client host compares the identification information of all logical disks recognized by the client host with the identification information of the logical disks transmitted from the exchange means of the server host. A device file name on the client host side is acquired, the device file name is added or updated to the disk identification information data on the client host side, and the device file name is exchanged with the client host. Output to the means,
The server host-side disk identification information includes the device file name and the source IP address transmitted from the client host exchange means, received by the server host setting means. Add or update data,
Through the above processing, a device file name indicating the same logical disk is set in the server host and the client host .

本発明に係る設定プログラムは、サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムステムを用いて、論理デイスクを指し示すデバイスファイル名を設定する制御を行うプログラムであって、
前記クライアントサーバを構成するコンピュータに、
前記サーバホストから前記論理デイスクの識別情報を受信すると、前記クライアントホストが認識している全ての論理デイスクについて、その識別情報を取得し、その情報を前記クライアントホストの前記設定手段に出力するとともに、前記クライアントホストの前記設定手段から出力される追加または更新したデバィスファイルを前記サーバホストに出力する交換手段と、
前記クライアントホストの前記設定手段は、前記クライアントホストが認識している全ての論理デイスクの識別情報と、前記サーバホストの前記交換手段から送信された前記論理デイスクの識別情報とを比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名を取得し、前記クライアントホスト側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名を前記クライアントホストの前記交換手段に出力する設定手段とを実行させることを特徴とする。
A setting program according to the present invention is a program for performing control to set a device file name indicating a logical disk using a shared file system system on a storage area network to which a server host and a client host are connected,
In the computer constituting the client server,
Upon receiving the identification information of the logical disk from the server host, the identification information is acquired for all the logical disks recognized by the client host, and the information is output to the setting unit of the client host. Exchange means for outputting an added or updated device file output from the setting means of the client host to the server host;
The setting means of the client host compares the identification information of all logical disks recognized by the client host with the identification information of the logical disks transmitted from the exchange means of the server host, and A device file name on the client host side is acquired, the device file name is added or updated to the disk identification information data on the client host side, and the device file name is exchanged with the client host. And setting means for outputting to the means .

本発明に係る設定プログラムは、サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムステムを用いて、論理デイスクを指し示すデバイスファイル名を設定する制御を行うプログラムであって、
前記サーバホストを構成するコンピュータに、
前記サーバホストが前記ストレージエリアネットワークを介してアクセスしている前記共有ファイルシステムに対応する前記論理デイスクの識別情報を取得する取得手段と、
前記サーバホストの前記取得手段から出力される前記論理デイスクの識別情報を前記クライアントホストへ送信する交換手段と、
前記交換手段が受信した、前記クライアントホストから送信される前記デバイスファイル名及び送信元のIPアドレスを前記サーバホスト側のデイスク識別情報データに追加または更新する設定手段とを実行させることを特徴とする。
A setting program according to the present invention is a program for performing control to set a device file name indicating a logical disk using a shared file system system on a storage area network to which a server host and a client host are connected,
In the computer constituting the server host,
Obtaining means for obtaining identification information of the logical disk corresponding to the shared file system accessed by the server host via the storage area network;
Exchange means for transmitting identification information of the logical disk output from the acquisition means of the server host to the client host;
And a setting unit that adds or updates the device file name and the source IP address transmitted from the client host, received by the exchange unit, to the disk identification information data on the server host side. .

以上説明したように本発明によれば、共有ファイルシステムで使用する物理的なストレージデバイスの識別情報を取得して、サーバホストとクライアントホスト間で、そのストレージデバイスの情報を交換および登録するため、サーバホストとクライアントホスト間で使用する共有ファイルシステムが構築されている論理デイスクのデバイスファイル名の対応を自動的に検出し、自動的にサーバホストおよびクライアントホストに論理デイスクおよびクライアントホストを設定できる。   As described above, according to the present invention, in order to acquire the identification information of the physical storage device used in the shared file system, and to exchange and register the storage device information between the server host and the client host, It is possible to automatically detect the device file name correspondence of a logical disk on which a shared file system used between the server host and the client host is constructed, and to automatically set the logical disk and client host to the server host and client host.

以下、本発明の実施形態を図に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

一般に、デイスク装置には、デイスク装置毎に付加されるユニークな番号であるシリアル番号、及びそのデイスク装置内の論理デイスクを識別するLUN(論理ユニット番号)が存在する。このシリアル番号およびLUNは、サーバホストおよびクライアントホストに含まれるストレージエリアネットワークアクセス機構を用いて、SCSI(Small Computer System Interface)コマンドに含まれる要求(Inquiry)コマンドにより取得することができる。   Generally, a disk device has a serial number that is a unique number added to each disk device, and a LUN (logical unit number) that identifies a logical disk in the disk device. The serial number and LUN can be acquired by a request (Inquiry) command included in a SCSI (Small Computer System Interface) command using a storage area network access mechanism included in the server host and the client host.

そこで、本発明の実施形態は、前記ストレージエリアネットワークアクセス機構を利用して、最初の1回目のRawIO要求、または、論理デイスクの識別エラーを検出したときにのみに所要の機能を動作させる構成をしたものである。すなわち、本発明の実施形態に係る共有ファイルシステムは、SAN(ストレージエリアネットワーク)上の共有ファイルシステムにおいて、前記共有ファイルシステムで使用する物理的なストレージデバイスの識別情報を取得する取得手段と、前記取得手段で取得したストレージデバイスの識別情報をサーバホストとクライアントホストとの間で交換する交換手段と、前記交換手段からのストレージデバイスの識別情報に基づいて、前記サーバホストと前記クライアントホストとにSAN(ストレージエリアネットワーク)上の共有ファイルシステムの実行に必要な設定を行う設定手段とを有することを特徴とするものである。   Therefore, in the embodiment of the present invention, the storage area network access mechanism is used to operate a required function only when an initial first RawIO request or a logical disk identification error is detected. It is a thing. That is, a shared file system according to an embodiment of the present invention includes an acquisition unit that acquires identification information of a physical storage device used in the shared file system in a shared file system on a SAN (Storage Area Network), An exchange unit for exchanging the storage device identification information acquired by the acquisition unit between the server host and the client host, and the SAN and the client host are connected to the SAN based on the storage device identification information from the exchange unit. And setting means for performing settings necessary for execution of the shared file system on the (storage area network).

本発明の実施形態に係る共有ファイルシステムの設定方法は、上述した本発明の実施形態に係る共有ファイルシステムを用いて前記所要の機能を動作させることにより、前記サーバホストと前記クライアントホストとにSAN(ストレージエリアネットワーク)上の共有ファイルシステムの実行に必要な設定を行うものである。   The shared file system setting method according to the embodiment of the present invention operates the required functions using the shared file system according to the above-described embodiment of the present invention, thereby allowing the server host and the client host to perform SAN. Settings necessary for executing the shared file system on the (storage area network).

具体的に説明すると、先ず、前記取得手段のうち、サーバホスト1側の前記取得手段は、サーバホスト1側でアクセスしているデイスク装置3の共有ファイルシステム321に対応する論理デイスク32のシリアル番号およびLUN(論理ユニット番号)をSCSIコマンドのInquiryコマンドにより取得する。ここに、論理デイスク32のシリアル番号およびLUNは、共有ファイルシステム321で使用する物理的なストレージデバイスの識別情報に相当するものである。 Specifically, among the acquisition means , the acquisition means on the server host 1 side is the serial number of the logical disk 32 corresponding to the shared file system 321 of the disk device 3 accessed on the server host 1 side. And LUN (logical unit number) are acquired by the inquiry command of the SCSI command. Here, the serial number and LUN of the logical disk 32 correspond to identification information of a physical storage device used in the shared file system 321 .

前記交換手段のうち、サーバホスト1側の交換手段は、前記取得手段から出力される論理デイスクのシリアル番号およびLUNの情報を、RawIO要求とともに、サーバホスト1からクライアントホスト2へ送信する。ここに、RawIOとは、SCSI(スカジー)コマンドのLBA(ロジカルブロックアドレス)指定でのアクセスを意味する。   Among the exchange means, the exchange means on the server host 1 side transmits the serial number and LUN information of the logical disk output from the acquisition means together with the RawIO request from the server host 1 to the client host 2. Here, “RawIO” means an access by LBA (logical block address) designation of a SCSI (squeezed) command.

クライアントホスト2は、サーバーホスト1側の前記交換手段からのRawIO要求を受信すると、そのRawIO要求をトリガーとして、クライアントホスト2側の交換手段は、SCSIコマンドのInquiryコマンドを使用して、クライアントホスト2側で認識している全ての論理デイスクについて、そのシリアル番号およびLUNを取得し、その情報をクライアントホスト2側の設定手段に出力する。 When the client host 2 receives the RawIO request from the exchange means on the server host 1 side, the exchange means on the client host 2 side uses the SCSI command Inquiry command to trigger the client host 2 using the RawIO request as a trigger. The serial numbers and LUNs of all logical disks recognized on the side are acquired, and the information is output to setting means on the client host 2 side.

クライアントホスト2側の設定手段は、クライアントホスト2側で認識している全ての論理デイスクのシリアル番号およびLUNと、サーバホスト1側からから送信された論理デイスクのシリアル番号およびLUNとを比較して、該当する論理デイスクを特定して、クライアントホスト2側のデバイスファイル名を取得する。そして、クライアントホスト2側の設定手段は、RawIOを実行した後、クライアントホスト2側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名をクライアントホスト2側の交換手段に出力する。   The setting means on the client host 2 side compares the serial numbers and LUNs of all logical disks recognized on the client host 2 side with the serial numbers and LUNs of the logical disks transmitted from the server host 1 side. The corresponding logical disk is specified, and the device file name on the client host 2 side is acquired. Then, after executing RawIO, the setting means on the client host 2 side adds or updates the device file name to the disk identification information data on the client host 2 side, and uses the device file name as the exchange means on the client host 2 side. Output.

クライアントホスト2側の交換手段は、前記デバイスファイル名をRawIO結果とともにサーバホスト1側に送信する。   The exchange means on the client host 2 side sends the device file name to the server host 1 side together with the RawIO result.

サーバホスト1側の交換手段は、クライアントホスト2側の交換手段から送信される正常終了のRawIO結果に含まれるデバイスファイル名及び送信元のIPアドレスを、サーバホスト側の設定手段に出力する。   The exchange means on the server host 1 side outputs the device file name and the source IP address included in the normally-terminated RawIO result transmitted from the exchange means on the client host 2 side to the setting means on the server host side.

サーバホスト1側の設定手段は、クライアントホスト2側の交換手段から送信される正常終了のRawIO結果に含まれるデバイスファイル名及び送信元のIPアドレスを、サーバホスト1側のデイスク識別情報データに追加または更新する。   The setting means on the server host 1 side adds the device file name and the IP address of the transmission source included in the normally completed RawIO result transmitted from the exchange means on the client host 2 side to the disk identification information data on the server host 1 side. Or update.

これらの機能により、ユーザが介在することなく、共有ファイルシステムの設定を自動的に行うことが可能となる。   With these functions, the shared file system can be automatically set without user intervention.

次に、本発明の実施形態に係る共有ファイルシステムと、そのシステムを用いて設定を行う方法について具体的に説明する。   Next, a shared file system according to an embodiment of the present invention and a method for setting using the system will be described in detail.

図1に示すように、本発明の実施形態に係る共有ファイルシステムは、サーバホスト1と、クライアントホスト2と、デイスク装置3と、それらを接続するストレージエリアネットワーク4と、サーバホスト1とクライアントホスト2とを接続するLAN5とを有している。なお、図1においては、サーバホスト1とクライアントホスト2とをそれぞれ1台のみ図示したが、この台数に限られるものではない。サーバホスト1とクライアントホスト2は1台以上設置され、それらがLAN5,ストレージエリアネットワーク4を介して相互に接続されている。また、サーバホスト1とクライアントホスト2とはコンピュータにより構成されている。   As shown in FIG. 1, a shared file system according to an embodiment of the present invention includes a server host 1, a client host 2, a disk device 3, a storage area network 4 connecting them, a server host 1, and a client host. 2 is connected to the LAN 5. In FIG. 1, only one server host 1 and one client host 2 are shown, but the number is not limited to this. One or more server hosts 1 and client hosts 2 are installed, and they are connected to each other via a LAN 5 and a storage area network 4. The server host 1 and the client host 2 are configured by a computer.

図1に示すように、デイスク装置3は、ディスクコントローラ31と、論理ディスクユニット32とを含んでいる。ディスクコントローラ31は、装置識別番号情報311を備えている。論理デイスク32上には、SAN共有ファイルシステム321が構築されている。装置識別番号情報311は、デイスク装置毎に付加されるユニークな番号であるシリアル番号、及びそのデイスク装置内の論理デイスクを識別するLUN(論理ユニット番号)に相当する情報である。   As shown in FIG. 1, the disk device 3 includes a disk controller 31 and a logical disk unit 32. The disk controller 31 includes device identification number information 311. A SAN shared file system 321 is constructed on the logical disk 32. The device identification number information 311 is information corresponding to a serial number, which is a unique number added to each disk device, and a LUN (logical unit number) for identifying a logical disk in the disk device.

図1に示すサーバホスト1は図2に示すように構成される。すなわち、図2に示すようにサーバホスト1は、SAN共有ファイルシステムサーバ機構101と、ローカルファイルシステム102と、ディスクドライバ103と、ストレージエリアネットワークアクセス機構104と、LANアクセス機構105と、SAN共有ファイルシステムサーバドライバ106と、デイスク識別情報データ(サーバ)107とを含んでいる。   The server host 1 shown in FIG. 1 is configured as shown in FIG. That is, as shown in FIG. 2, the server host 1 includes a SAN shared file system server mechanism 101, a local file system 102, a disk driver 103, a storage area network access mechanism 104, a LAN access mechanism 105, and a SAN shared file. A system server driver 106 and disk identification information data (server) 107 are included.

図2に示すように、サーバホスト1は、ストレージエリアネットワークアクセス機構104により図1のストレージエリアネットワーク4に接続されている。さらにサーバホスト1は、LANアクセス機構105により図1のLAN5に接続されている。そして、サーバホストIPアドレス1051がLANアクセス機構105に割り当てられている。   As shown in FIG. 2, the server host 1 is connected to the storage area network 4 of FIG. Further, the server host 1 is connected to the LAN 5 in FIG. A server host IP address 1051 is assigned to the LAN access mechanism 105.

図2に示すように、サーバホスト1のローカルファイルシステム102は、ディスクドライバ103及びストレージエリアネットワークアクセス機構104を使用して、図1のデイスク装置3に含まれるSAN共有ファイルシステム321をサーバホスト1のローカルファイルシステムとしてマウントしている。   As shown in FIG. 2, the local file system 102 of the server host 1 uses the disk driver 103 and the storage area network access mechanism 104 to transfer the SAN shared file system 321 included in the disk device 3 of FIG. Mounted as a local file system.

図1に示すクライアントホスト2は図3に示すように構成される。すなわち、図3に示すようにクライアントホスト2は、SAN共有ファイルシステムクライアント機構201と、ディスクドライバ202と、ストレージエリアネットワークアクセス機構203と、LANアクセス機構204と、SAN共有ファイルシステムクライアントドライバ205と、デイスク識別情報データ(クライアント)206とを有している。また図3に示すようにクライアントホスト2は、図1のデイスク装置3に含まれるSAN共有ファイルシステム321をアクセスするためソフトウエアであるIO要求プロセス207が動作するようになっている。このIO要求プロセス207は、IO用メモリ領域2071を使用する。   The client host 2 shown in FIG. 1 is configured as shown in FIG. That is, as shown in FIG. 3, the client host 2 includes a SAN shared file system client mechanism 201, a disk driver 202, a storage area network access mechanism 203, a LAN access mechanism 204, a SAN shared file system client driver 205, Disk identification information data (client) 206. As shown in FIG. 3, the client host 2 is configured to operate an IO request process 207 that is software for accessing the SAN shared file system 321 included in the disk device 3 of FIG. This IO request process 207 uses an IO memory area 2071.

図3に示すように、クライアントホスト2は、ストレージエリアネットワークアクセス機構203により図1のストレージエリアネットワーク4に接続されている。またクライアントホスト2は、LANアクセス機構204により図1のLAN5に接続されている。そして、クライアントホストIPアドレス2041がLANアクセス機構204に割り当てられている。   As shown in FIG. 3, the client host 2 is connected to the storage area network 4 of FIG. 1 by a storage area network access mechanism 203. The client host 2 is connected to the LAN 5 in FIG. A client host IP address 2041 is assigned to the LAN access mechanism 204.

図3に示すように、クライアントホスト2のSAN共有ファイルシステムクライアントドライバ205は、ディスクドライバ202及びストレージエリアネットワークアクセス機構203を使用して、図1に示すデイスク装置3に含まれる論理デイスク32にRawIOでアクセスすることが可能になっている。   As shown in FIG. 3, the SAN shared file system client driver 205 of the client host 2 uses the disk driver 202 and the storage area network access mechanism 203 to transfer the RawIO to the logical disk 32 included in the disk device 3 shown in FIG. It is possible to access with.

前記共有ファイルシステムで使用する物理的なストレージデバイスの識別情報を取得する取得手段と、前記取得手段で取得したストレージデバイスの識別情報をサーバホストとクライアントホストとの間で交換する交換手段と、前記交換手段からのストレージデバイスの識別情報に基づいて、前記サーバホストと前記クライアントホストとにSAN(ストレージエリアネットワーク)上の共有ファイルシステムの実行に必要な設定を行う設定手段とは、サーバホストとクライアントホストとにそれぞれ設けられる。   An acquisition unit for acquiring identification information of a physical storage device used in the shared file system; an exchange unit for exchanging the identification information of the storage device acquired by the acquisition unit between a server host and a client host; Based on the storage device identification information from the exchange means, the setting means for making settings necessary for execution of the shared file system on the SAN (storage area network) in the server host and the client host are the server host and the client. It is provided for each host.

サーバホスト側の取得手段は、ストレージエリアネットワークアクセス機構104により構成される。クライアントホスト側の取得手段は、ストレージエリアネットワークアクセス機構203により構成される。   The acquisition means on the server host side is configured by the storage area network access mechanism 104. The acquisition means on the client host side is configured by the storage area network access mechanism 203.

サーバホスト側の交換手段は、SAN共有ファイルシステムサーバドライバ106及びLAN機構105などにより構成される。クライアントホスト側の交換手段は、SAN共有ファイルシステムサーバドライバ205及びLAN機構204などにより構成される。   The exchange means on the server host side includes a SAN shared file system server driver 106, a LAN mechanism 105, and the like. The exchange means on the client host side includes a SAN shared file system server driver 205 and a LAN mechanism 204.

サーバホスト側の設定手段は、SAN共有ファイルサーバ機構101及びSAN共有ファイルシステムサーバドライバ106などにより構成される。クライアントホスト側の設定手段は、SAN共有ファイルサーバ機構201及びSAN共有ファイルシステムサーバドライバ205などにより構成される。   Setting means on the server host side includes the SAN shared file server mechanism 101, the SAN shared file system server driver 106, and the like. Setting means on the client host side includes a SAN shared file server mechanism 201, a SAN shared file system server driver 205, and the like.

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

図3に示すクライアントホスト2においてIO要求プロセス207が、クライアントホスト2を駆動制御するOS(オペレーションシステム)上で動作して、その動作に伴って図1に示すデイスク装置3に含まれるSAN共有ファイルシステム321にアクセスする場合について説明する。図3において、IO要求プロセス207は前記OS上で動作して、IO用メモリ領域2071を確保し、入出力に必要なデータを準備する。クライアントホスト2は、IO要求プロセス207が動作すると、その動作に伴う指令をSAN共有ファイルシステムクライアント機構201に入力する。SAN共有ファイルシステムクライアント機構201は、前記指令を受け取ると、ファイルの読出(READ)または書込(WRITE)システムコールを発行してIO要求をSAN共有ファイルシステムクライアントドライバ205に出力する。 In the client host 2 shown in FIG. 3, the IO request process 207 operates on an OS (operation system) that drives and controls the client host 2, and the SAN shared file included in the disk device 3 shown in FIG. A case of accessing the system 321 will be described. In FIG. 3, an IO request process 207 operates on the OS to secure an IO memory area 2071 and prepare data necessary for input / output. When the IO request process 207 operates, the client host 2 inputs a command associated with the operation to the SAN shared file system client mechanism 201. When the SAN shared file system client mechanism 201 receives the command, it issues a file read (READ) or write (WRITE) system call and outputs an IO request to the SAN shared file system client driver 205.

図3に示すSAN共有ファイルシステムクライアントドライバ205は、前記IO要求を受け取ると、このIO要求を図4に示すようにネットワークに転送可能なSAN共有ファイルシステムへのIO要求61に変換して、そのIO要求61をLANアクセス機構204に出力する。LANアクセス機構204は、前記IO要求61をLAN5に経由させてサーバホスト1に送信する(図9のステップA1)。   When the SAN shared file system client driver 205 shown in FIG. 3 receives the IO request, it converts the IO request into an IO request 61 to the SAN shared file system that can be transferred to the network as shown in FIG. The IO request 61 is output to the LAN access mechanism 204. The LAN access mechanism 204 transmits the IO request 61 to the server host 1 via the LAN 5 (step A1 in FIG. 9).

図7に示すように、サーバホスト1に送信するIO要求61は、SAN要求ファイルシステムアクセス要求データパケット71を使用する。このSAN要求ファイルシステムアクセス要求データパケット71は図7に示すように、ファイルハンドル7101、IO種別7102、データオフセット7103、メモリオフセット7104、IOサイズ7105のデータから構成される。   As shown in FIG. 7, the IO request 61 transmitted to the server host 1 uses a SAN request file system access request data packet 71. As shown in FIG. 7, the SAN request file system access request data packet 71 includes data of a file handle 7101, an IO type 7102, a data offset 7103, a memory offset 7104, and an IO size 7105.

図2に示すように、サーバホスト1のLANアクセス機構105は、LAN5に経由して送信されるSAN共有ファイルシステムへのIO要求61を受け取り、このIO要求61をSAN共有ファイルシステムサーバ機構101に出力する。   As shown in FIG. 2, the LAN access mechanism 105 of the server host 1 receives an IO request 61 to the SAN shared file system transmitted via the LAN 5, and sends this IO request 61 to the SAN shared file system server mechanism 101. Output.

図2に示すように、SAN共有ファイルシステムサーバ機構101は、前記IO要求61を受け取ると、そのIO要求を、ローカルファイルシステム102が保有するSAN共有ファイルシステム321の情報と、デイスク識別情報データ107を参照して、デイスク位置情報であるSCSIのLBAと、IOサイズ等に変換して、その変換情報をSAN共有ファイルシステムサーバドライバ106に出力する。   As shown in FIG. 2, when the SAN shared file system server mechanism 101 receives the IO request 61, the SAN shared file system server mechanism 101 sends the IO request to the SAN shared file system 321 information held by the local file system 102 and the disk identification information data 107. , The disk location information is converted into the SCSI LBA and IO size, and the converted information is output to the SAN shared file system server driver 106.

図2に示すように、SAN共有ファイルシステムサーバドライバ106は、前記変換情報を受け取ると、その情報を図4に示すようなネットワークに転送可能な論理デイスクへのRawIO要求62に変換して、そのRawIO要求62をLANアクセス機構105に出力する。LANアクセス機構105は、RawIO要求62を受け取ると、LAN5に経由して図4に示すようにクライアントホスト2に送信する。前記論理デイスクは、図1に示すデイスク装置に含まれる論理デイスク32に相当する。   As shown in FIG. 2, upon receiving the conversion information, the SAN shared file system server driver 106 converts the information into a RawIO request 62 to a logical disk that can be transferred to the network as shown in FIG. The RawIO request 62 is output to the LAN access mechanism 105. Upon receiving the RawIO request 62, the LAN access mechanism 105 transmits the request to the client host 2 via the LAN 5 as shown in FIG. The logical disk corresponds to the logical disk 32 included in the disk device shown in FIG.

図8に示すように、前記論理デイスクへのRawIO要求62は、論理デイスクRawIO要求・応答データパケット81を使用する。この論理デイスクRawIO要求・応答データパケット81は図8に示すように、デバイスファイル名8101、IO種別8102、デイスク位置8103、メモリオフセット8104、IOサイズ8105、フラグまたはエラーコード8106、シリアル番号8107、LUN8108のデータから構成される。   As shown in FIG. 8, the RawIO request 62 to the logical disk uses a logical disk RawIO request / response data packet 81. As shown in FIG. 8, the logical disk RawIO request / response data packet 81 includes a device file name 8101, an IO type 8102, a disk location 8103, a memory offset 8104, an IO size 8105, a flag or error code 8106, a serial number 8107, and a LUN 8108. It consists of data.

図2に示すSAN共有ファイルシステムサーバドライバ106は、RawIO要求62に変換する際に、図2に示すデイスク認識情報データ(サーバ)107を参照して、論理デイスク32を示すデバイスファイル名1071のクライアント情報へのポインタ1074の先に、クライアント2の情報が存在するかどうかを調べる(図9のステップA2)。   The SAN shared file system server driver 106 shown in FIG. 2 refers to the disk recognition information data (server) 107 shown in FIG. 2 when converting to the RawIO request 62, and the client of the device file name 1071 showing the logical disk 32 Whether the information of the client 2 exists ahead of the information pointer 1074 is checked (step A2 in FIG. 9).

前記デイスク認識情報データ(サーバ)107は図5に示すように、デバイスファイル名1071、シリアル番号1072、LUN1073、クライアント情報へのポインタ1074、次のデイスク認識情報データへのポインタ1075のデータから構成され、これらのデータがリスト構造をとる。さらに、クライアント情報へのポインタ1074には、クライアントのIPアドレス1076、クライアントのデバイスファイル名1077、次のクライアント情報へのポインタ1078から構成され、これらのデータがリスト構造をとる。   As shown in FIG. 5, the disk recognition information data (server) 107 includes device file name 1071, serial number 1072, LUN 1073, pointer 1074 to client information, and pointer 1075 to next disk recognition information data. These data take a list structure. The client information pointer 1074 includes a client IP address 1076, a client device file name 1077, and a pointer 1078 to the next client information. These data have a list structure.

図9のステップA2において、SAN共有ファイルシステムサーバドライバ106は、前記デイスク認識情報データ(サーバ)107にクライアントホスト2の情報が存在しない場合に、図8に示す論理デイスクRawIO要求・応答データパケット81のデバイスファイル名8101を、”UNKNOWN”に設定し(図9のステップA3)、サーバホスト1にアクセスしている共有ファイルシステム321に対応する論理デイスク32の装置識別番号情報311、すなわちシリアル番号およびLUNを、SCSIコマンドのInquiryコマンドにより取得し、取得したシリアル番号、LUNをそれぞれ、論理デイスクRawIO要求・応答データパケット81のシリアル番号8107、LUN8108にセットして、クライアントホスト2に送信する(図9のステップA4)。   In step A2 of FIG. 9, the SAN shared file system server driver 106 determines that the logical disk RAWIO request / response data packet 81 shown in FIG. 8 is present when the information of the client host 2 does not exist in the disk recognition information data (server) 107. Is set to “UNKNOWN” (step A3 in FIG. 9), and the device identification number information 311 of the logical disk 32 corresponding to the shared file system 321 accessing the server host 1, that is, the serial number and The LUN is acquired by the SCSI command Inquiry command, and the acquired serial number and LUN are set in the serial number 8107 and LUN 8108 of the logical disk RawIO request / response data packet 81, respectively, and sent to the client host 2. (Step A4 in FIG. 9).

次に、図3に示すクライアントホスト2のLANアクセス機構204が、サーバホスト1からの論理デイスクのRawIO要求62を受け取ると、そのRawIO要求62をSAN共有ファイルシステムクライアントドライバ205に出力する。   Next, when the LAN access mechanism 204 of the client host 2 shown in FIG. 3 receives the RawIO request 62 of the logical disk from the server host 1, it outputs the RawIO request 62 to the SAN shared file system client driver 205.

図3に示すSAN共有ファイルシステムクライアントドライバ205は、RawIO要求62を受け取ったときに、論理デイスクRawIO要求・応答データパケット81のデバイスファイル名に、”UNKNOWN”が設定されていた場合(図9のステップA5)、シリアル番号8107とLUN8108より、クライアントホスト2からみたデバイスファイル名の検索を行い、デイスク識別情報データ(クライアント)206に登録処理を行う(図9のステップA6)。   When the SAN shared file system client driver 205 shown in FIG. 3 receives the RawIO request 62, “UNKNOWN” is set in the device file name of the logical disk RawIO request / response data packet 81 (FIG. 9). In step A5), the device file name viewed from the client host 2 is searched from the serial number 8107 and LUN 8108, and registration processing is performed on the disk identification information data (client) 206 (step A6 in FIG. 9).

図6に示すように、前記デイスク識別情報データ(クライアント)206は、デバイスファイル名2061、シリアル番号2062、LUN2063、次のデイスク認識情報データへのポインタ2064から構成され、これらのデータがリスト構造をとる。   As shown in FIG. 6, the disk identification information data (client) 206 is composed of a device file name 2061, a serial number 2062, a LUN 2063, and a pointer 2064 to the next disk recognition information data. These data have a list structure. Take.

図3に示すSAN共有ファイルシステムクライアントドライバ205は、登録処理時には、SCSIコマンドのInquiryコマンドを使用して、クライアントホスト2側で認識している論理デイスク32を含む、すべての論理デイスクについて、シリアル番号およびLUNを取得し、サーバホストから送信された、シリアル番号8107およびLUN8108と比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名2061を取得する。   The SAN shared file system client driver 205 shown in FIG. 3 uses serial numbers for all logical disks including the logical disk 32 recognized on the client host 2 side by using the SCSI command Inquiry command during the registration process. And LUN are acquired, and compared with the serial number 8107 and LUN 8108 transmitted from the server host, the corresponding logical disk is specified, and the device file name 2061 on the client host side is acquired.

更にSAN共有ファイルシステムクライアントドライバ205は、正しく登録できた場合に、論理デイスクRawIO要求・応答データパケット81の、IO種別8102、デイスク位置8103、IOサイズ8104に従い、ディスクドライバ202、ストレージエリアネットワークアクセス機構203を使用して、ストレージエリアネットワーク4を経由して論理ユニット32にRawIOアクセスする。またSAN共有ファイルシステムクライアント機構201は、必要な情報をIO用メモリ領域2071へ入出力する(図9のステップA7)。   Further, if the SAN shared file system client driver 205 can be correctly registered, the disk driver 202 and the storage area network access mechanism according to the IO type 8102, the disk location 8103, and the IO size 8104 of the logical disk RawIO request / response data packet 81 are registered. 203, RawIO access is made to the logical unit 32 via the storage area network 4. The SAN shared file system client mechanism 201 inputs / outputs necessary information to / from the IO memory area 2071 (step A7 in FIG. 9).

図3に示すLANアクセス機構204は、SAN共有ファイルシステムクライアントドライバ205からRawIO要求の結果応答63を受け取ると、図4に示すようにRawIO要求の結果応答63をサーバホスト1にLAN5を経由して送信する。   When the LAN access mechanism 204 shown in FIG. 3 receives the RawIO request result response 63 from the SAN shared file system client driver 205, the RawIO request result response 63 is sent to the server host 1 via the LAN 5 as shown in FIG. Send.

RawIOの応答結果63は、図8に示す論理デイスクRaw要求・応答パケット81を使用してサーバホスト1に送信される。この場合、クライアントホスト2で登録したデバイスファイル名2061を、論理デイスクRawIO要求・応答データパケット81のデバイスファイル名8101に格納し、さらにデバイスを新規に登録したことを示すフラグ”DEVICE_REGIST”を、フラグまたはエラーコード8106に格納して、サーバホスト1に送信する(図9のステップA8)。   The raw IO response result 63 is transmitted to the server host 1 using the logical disk raw request / response packet 81 shown in FIG. In this case, the device file name 2061 registered in the client host 2 is stored in the device file name 8101 of the logical disk RawIO request / response data packet 81, and a flag “DEVICE_REGIST” indicating that a device is newly registered is set in the flag Alternatively, it is stored in the error code 8106 and transmitted to the server host 1 (step A8 in FIG. 9).

図2に示すように、SAN共有ファイルシステムサーバドライバ106は、前記RawIO要求の結果応答63をLAN機構105から受け取る。SAN共有ファイルシステムサーバドライバ106は、論理デイスクRawIO要求・応答データパケット81の、フラグまたはエラーコード8106に、”DEVICE_REGIST”が設定されていた場合(図9のステップA9)、デイスク識別情報データ(サーバ)107に、登録処理を行う(図9のステップA10)。   As shown in FIG. 2, the SAN shared file system server driver 106 receives the result response 63 of the RawIO request from the LAN mechanism 105. When the “DEVICE_REGIST” is set in the flag or error code 8106 of the logical disk RawIO request / response data packet 81 (step A9 in FIG. 9), the SAN shared file system server driver 106 sets the disk identification information data (server ) 107 is registered (step A10 in FIG. 9).

SAN共有ファイルシステムサーバドライバ106は、登録処理時に、LANアクセス機構105が受信した、クライアント2のIPアドレス2041と、RawIO要求・応答データパケット81のデバイスファイル名8101を、デイスク識別情報データ(サーバ)107のクライアント情報へのポインタ1074をたどり、NULLが指し示す最終領域の先に、クライアントIPアドレス1076、クライアントデバイスファイル名1077、クライアント情報へのポインタ1078のメモリ領域を確保して、リストをつなげ、クライアント2のIPアドレス2041をクライアントIPアドレス1076に、クライアントデバイスファイル名8101を、クライアントデバイスファイル名1077にコピーする。   The SAN shared file system server driver 106 receives the IP address 2041 of the client 2 and the device file name 8101 of the RawIO request / response data packet 81 received by the LAN access mechanism 105 during the registration process, and the disk identification information data (server). The client information pointer 1074 is traced, the memory area of the client IP address 1076, the client device file name 1077, and the client information pointer 1078 is secured ahead of the final area pointed to by NULL, and the list is connected. 2 IP address 2041 is copied to client IP address 1076, and client device file name 8101 is copied to client device file name 1077.

最後に、クライアントホスト2に、図4に示すようにSAN共有ファイルシステムへのIO要求の結果応答64を送信する(図9のステップA11)。   Finally, a result response 64 of the IO request to the SAN shared file system is transmitted to the client host 2 as shown in FIG. 4 (step A11 in FIG. 9).

クライアントホスト2は、SAN共有ファイルシステムへのIO要求の結果応答64を受信し、SAN共有ファイルシステムのアクセスは終了する。   The client host 2 receives the result response 64 of the IO request to the SAN shared file system, and the access to the SAN shared file system ends.

また、図9に示す動作、すなわちストレージエリアネットワーク上の共有ファイルシステムで使用する物理的なストレージデバイスの識別情報を取得する取得機能と、前記取得ステップで取得したストレージデバイスの識別情報をサーバホスト1とクライアントホスト2との間で交換する交換機能と、交換される前記ストレージデバイスの識別情報に基づいて、前記サーバホスト1と前記クライアントホスト2とにストレージエリアネットワーク上の共有ファイルシステムの実行に必要な設定を行う設定機能とをサーバホスト1及びクライアントホスト2に実行させる機能を共有ファイルシステムの設定プログラムとして構築することが可能である。   Further, the operation shown in FIG. 9, that is, the acquisition function for acquiring the identification information of the physical storage device used in the shared file system on the storage area network, and the storage device identification information acquired in the acquisition step are stored in the server host 1. Necessary for executing a shared file system on the storage area network to the server host 1 and the client host 2 based on the exchange function exchanged between the client host 2 and the identification information of the exchanged storage device It is possible to construct a function for causing the server host 1 and the client host 2 to execute a setting function for performing appropriate settings as a setting program for the shared file system.

上述した本発明の実施形態によれば、サーバホスト、クライアントホスト間で、論理デイスクのシリアル番号およびLUNと、デバイスファイル名を交換するように構成されているため、ユーザ介入なしで、SAN上の論理デイスクの設定ができる。   According to the above-described embodiment of the present invention, the device file name is exchanged between the server host and the client host so that the serial number and LUN of the logical disk and the device file name are exchanged. A logical disk can be set.

なお、本発明は上述した実施形態に限られるものではない。以上の説明では、論理デイスク32が1台の場合について言及したが、2台以上のデイスク装置に対しても同様の手順で自動設定ができる。また1つのクライアントホストに言及したが、2以上のクライアントホストに対しても同様の手順で自動設定ができる。   The present invention is not limited to the embodiment described above. In the above description, the case where there is one logical disk 32 has been mentioned. However, automatic setting can be performed for two or more disk devices in the same procedure. Although one client host has been mentioned, automatic setting can be performed for two or more client hosts in the same procedure.

さらに事前にデイスク識別情報データが登録されていない場合について言及したが、運用中にデバイスファイルの名前が変更され、或いは削除された場合にも自動設定することができる。この場合、デイスク識別情報データ(サーバ)、デイスク識別情報データ(クライアント)のデータのオーバライト機能をサポートすればよい。さらに本発明によれば、ストレージエリアネットワークのデバイス自動認識を用途にも適用できる。   Furthermore, although the case where the disk identification information data is not registered in advance is mentioned, it can be automatically set even when the name of the device file is changed or deleted during operation. In this case, the data overwriting function of the disk identification information data (server) and the disk identification information data (client) may be supported. Furthermore, according to the present invention, automatic device recognition of a storage area network can also be applied to applications.

以上説明したように本発明によれば、ユーザが行っていたサーバホストとクライアントホストとの間で使用する共有ファイルシステムが構築されている論理デイスクのデバイスファイル名の対応を自動的に検出し、自動的にサーバホスト及びクライアントホストに論理デイスク及びクライアントホストを設定することができる。   As described above, according to the present invention, the correspondence between the device file name of the logical disk in which the shared file system used between the server host and the client host that the user has been operating is constructed, A logical disk and a client host can be automatically set in the server host and the client host.

本発明の実施形態に係る共有ファイルシステムを示す構成図である。It is a block diagram which shows the shared file system which concerns on embodiment of this invention. 本発明の実施形態に係る共有ファイルシステムに用いるサーバホストを示す構成図である。It is a block diagram which shows the server host used for the shared file system which concerns on embodiment of this invention. 本発明の実施形態に係る共有ファイルシステムに用いるクライアントホストを示す構成図である。It is a block diagram which shows the client host used for the shared file system which concerns on embodiment of this invention. 本発明の実施形態に係る共有ファイルシステムにおいて、サーバホストとクライアントホストとの間でのデータの遣り取りを示す図である。It is a figure which shows exchange of data between a server host and a client host in the shared file system which concerns on embodiment of this invention. 本発明の実施形態におけるデイスク認識情報データ(サーバ)を示す図である。It is a figure which shows the disk recognition information data (server) in embodiment of this invention. 本発明の実施形態におけるデイスク認識情報データ(クライアント)を示す図である。It is a figure which shows the disk recognition information data (client) in embodiment of this invention. 本発明の実施形態におけるSAN共有ファイルシステムアクセス要求データパケットを示す図である。It is a figure which shows the SAN shared file system access request data packet in embodiment of this invention. 本発明の実施形態における論理デイスクRawIOデータパケットを示す図である。It is a figure which shows the logical disk RawIO data packet in embodiment of this invention. 本発明の実施形態に係る共有ファイルシステムにおける設定方法を説明するフローチャートである。It is a flowchart explaining the setting method in the shared file system which concerns on embodiment of this invention.

1 サーバホスト
2 クライアントホスト
3 デイスク装置
32 論理デイスク
101 SAN共有ファイルシステムサーバ機構
105 LAN機構
106 SAN共有ファイルシステムサーバドライバ
107 デイスク識別情報データ(サーバ)
201 SAN共有ファイルシステムクライアント機構
204 LAN機構(クライアント)
205 SAN共有ファイルシステムクライアントドライバ
206 デイスク識別情報データ(クライアント)
DESCRIPTION OF SYMBOLS 1 Server host 2 Client host 3 Disk apparatus 32 Logical disk 101 SAN shared file system server mechanism 105 LAN mechanism 106 SAN shared file system server driver 107 Disk identification information data (server)
201 SAN shared file system client mechanism 204 LAN mechanism (client)
205 SAN shared file system client driver 206 Disk identification information data (client)

Claims (11)

サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムにおいて、
前記サーバホストは、取得手段と、交換手段と、設定手段とを有し、
前記クライアントホストは、交換手段と、設定手段とを有し、
前記サーバホストの前記取得手段は、前記サーバホストが前記ストレージエリアネットワークを介してアクセスしている前記共有ファイルシステムに対応する論理デイスクの識別情報を取得するものであり、
前記サーバホストの前記交換手段は、前記サーバホストの前記取得手段から出力される前記論理デイスクの識別情報を前記クライアントホストへ送信するものであり、
前記クライアントホストの前記交換手段は、前記サーバホストの前記交換手段から前記論理デイスクの識別情報を受信すると、前記クライアントホストが認識している全ての論理デイスクについて、その識別情報を取得し、その情報を前記クライアントホストの前記設定手段に出力するとともに、前記クライアントホストの前記設定手段から出力される追加または更新したデバィスファイルを前記サーバホストの前記交換手段に出力するものであり、
前記クライアントホストの前記設定手段は、前記クライアントホストが認識している全ての論理デイスクの識別情報と、前記サーバホストの前記交換手段から送信された前記論理デイスクの識別情報とを比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名を取得し、前記クライアントホスト側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名を前記クライアントホストの前記交換手段に出力するものであり、
前記サーバホストの前記設定手段は、前記サーバホストの前記交換手段が受信した、前記クライアントホストの前記交換手段から送信される前記デバイスファイル名及び送信元のIPアドレスを前記サーバホスト側のデイスク識別情報データに追加または更新するものであることを特徴とする共有ファイルシステム。
In a shared file system on a storage area network to which a server host and a client host are connected ,
The server host includes an acquisition unit, an exchange unit, and a setting unit,
The client host has an exchange means and a setting means,
The acquisition unit of the server host acquires identification information of a logical disk corresponding to the shared file system that the server host is accessing via the storage area network,
The exchange means of the server host transmits identification information of the logical disk output from the acquisition means of the server host to the client host,
When the exchanging means of the client host receives the identification information of the logical disk from the exchanging means of the server host, the exchanging means acquires the identification information for all logical disks recognized by the client host, and the information Is output to the setting means of the client host, and the added or updated device file output from the setting means of the client host is output to the exchanging means of the server host,
The setting means of the client host compares the identification information of all logical disks recognized by the client host with the identification information of the logical disks transmitted from the exchange means of the server host, and A device file name on the client host side is acquired, the device file name is added or updated to the disk identification information data on the client host side, and the device file name is exchanged with the client host. Output to the means,
The setting means of the server host uses the device file name and the source IP address transmitted from the exchanging means of the client host received by the exchanging means of the server host as disk identification information on the server host side. A shared file system characterized by being added or updated to data .
前記サーバホストの前記取得手段、前記交換手段及び前記設定手段と、前記クライアントホストの前記交換手段及び前記設定手段とは、前記論理デイスクへの最初の1回目のファイルの読出又は書込み要求、又は前記論理デイスクの識別エラーが検出された際に、動作するものである請求項1に記載の共有ファイルシステム。 The acquisition means, the exchange means and the setting means of the server host, and the exchange means and the setting means of the client host are the first read or write request of the file to the logical disk, or 2. The shared file system according to claim 1, wherein the shared file system operates when a logical disk identification error is detected . 前記クライアントの前記交換手段は、前記クライアントホストが認識すべき全ての論理デイスクの識別情報を前記クライアントホストの取得手段により取得するものである請求項1に記載の共有ファイルシステム。 2. The shared file system according to claim 1, wherein the exchange unit of the client acquires identification information of all logical disks to be recognized by the client host by the acquisition unit of the client host . サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムを用いて、論理デイスクを指し示すデバイスファイル名を設定する設定方法であって、
前記サーバホストの取得手段により、前記サーバホストが前記ストレージエリアネットワークを介してアクセスしている前記共有ファイルシステムに対応する論理デイスクの識別情報を取得し、
前記サーバホストの交換手段により、前記サーバホストの前記取得手段から出力される前記論理デイスクの識別情報を前記クライアントホストへ送信し、
前記クライアントホストの前記交換手段により、前記サーバホストの前記交換手段から前記論理デイスクの識別情報を受信すると、前記クライアントホストが認識している全ての論理デイスクについて、その識別情報を取得し、その情報を前記クライアントホストの設定手段に出力するとともに、前記クライアントホストの前記設定手段から出力される追加または更新したデバィスファイル名を前記サーバホストの前記交換手段に出力し、
前記クライアントホストの前記設定手段により、前記クライアントホストが認識している全ての論理デイスクの識別情報と、前記サーバホストの前記交換手段から送信された前記論理デイスクの識別情報とを比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名を取得し、前記クライアントホスト側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名を前記クライアントホストの前記交換手段に出力し、
前記サーバホストの前記設定手段により、前記サーバホストの前記交換手段が受信した、前記クライアントホストの前記交換手段から送信される前記デバイスファイル名及び送信元のIPアドレスを前記サーバホスト側のデイスク識別情報データに追加または更新し、
以上の処理を経て、前記サーバホストと前記クライアントホストとに、同一の論理デイスクを指し示すデバイスファイル名を設定することを特徴とする設定方法。
A setting method for setting a device file name indicating a logical disk using a shared file system on a storage area network to which a server host and a client host are connected,
The server host obtaining means obtains logical disk identification information corresponding to the shared file system that the server host is accessing via the storage area network,
The server host exchange means transmits the logical disk identification information output from the acquisition means of the server host to the client host,
When the exchange means of the client host receives the identification information of the logical disk from the exchange means of the server host, the identification information is acquired for all logical disks recognized by the client host, and the information Is output to the setting means of the client host, and the added or updated device file name output from the setting means of the client host is output to the exchanging means of the server host,
The setting means of the client host compares the identification information of all logical disks recognized by the client host with the identification information of the logical disks transmitted from the exchange means of the server host. A device file name on the client host side is acquired, the device file name is added or updated to the disk identification information data on the client host side, and the device file name is exchanged with the client host. Output to the means,
The server host-side disk identification information includes the device file name and the source IP address transmitted from the client host exchange means, received by the server host setting means. Add or update data,
Through the above processing, a device file name indicating the same logical disk is set in the server host and the client host .
前記論理デイスクへの最初の1回目のファイルの読出又は書込み要求、又は前記論理デイスクの識別エラーが検出された際に、前前記サーバホストと前記クライアントホストとに、同一の論理デイスクを指し示すデバイスファイル名を設定する請求項4に記載の設定方法。 A device file indicating the same logical disk to the previous server host and the client host when a first read or write request of the file to the logical disk or an identification error of the logical disk is detected The setting method according to claim 4, wherein a name is set . 前記クライアントホストが認識すべき全ての論理デイスクの識別情報を前記クライアントホストの取得手段により取得する請求項4に記載の設定方法。 The setting method according to claim 4, wherein identification information of all logical disks to be recognized by the client host is acquired by an acquisition unit of the client host . サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムステムを用いて、論理デイスクを指し示すデバイスファイル名を設定する制御を行うプログラムであって、
前記クライアントサーバを構成するコンピュータに、
前記サーバホストから前記論理デイスクの識別情報を受信すると、前記クライアントホストが認識している全ての論理デイスクについて、その識別情報を取得し、その情報を前記クライアントホストの前記設定手段に出力するとともに、前記クライアントホストの前記設定手段から出力される追加または更新したデバィスファイル名を前記サーバホストに出力する交換手段と、
前記クライアントホストの前記設定手段は、前記クライアントホストが認識している全ての論理デイスクの識別情報と、前記サーバホストの前記交換手段から送信された前記論理デイスクの識別情報とを比較して、該当する論理デイスクを特定して、クライアントホスト側のデバイスファイル名を取得し、前記クライアントホスト側のデイスク識別情報データに前記デバイスファイル名を追加または更新し、そのデバイスファイル名を前記クライアントホストの前記交換手段に出力する設定手段とを実行させることを特徴とする設定プログラム。
A program for performing control to set a device file name indicating a logical disk using a shared file system system on a storage area network to which a server host and a client host are connected,
In the computer constituting the client server,
Upon receiving the identification information of the logical disk from the server host, the identification information is acquired for all the logical disks recognized by the client host, and the information is output to the setting unit of the client host. Exchanging means for outputting the added or updated device file name output from the setting means of the client host to the server host;
The setting means of the client host compares the identification information of all logical disks recognized by the client host with the identification information of the logical disks transmitted from the exchange means of the server host, and A device file name on the client host side is acquired, the device file name is added or updated to the disk identification information data on the client host side, and the device file name is exchanged with the client host. A setting program for causing a setting means to output to the means .
前記コンピュータに、前記論理デイスクへの最初の1回目のファイルの読出又は書込み要求、又は前記論理デイスクの識別エラーが検出された際に、前記交換手段及び前記設定手段とを実行させる請求項7に記載の設定プログラム。 8. The computer according to claim 7 , wherein the exchange unit and the setting unit are executed when a first file read or write request to the logical disk or an identification error of the logical disk is detected. The setting program described. 前記コンピュータに、前記クライアントホストが認識すべき全ての論理デイスクの識別情報を取得させる取得手段を実行させる請求項7に記載の設定プログラム。 The setting program according to claim 7, wherein the setting unit causes the computer to acquire identification information of all logical disks to be recognized by the client host . サーバホスト及びクライアントホストが接続されるストレージエリアネットワーク上の共有ファイルシステムステムを用いて、論理デイスクを指し示すデバイスファイル名を設定する制御を行うプログラムであって、
前記サーバホストを構成するコンピュータに、
前記サーバホストが前記ストレージエリアネットワークを介してアクセスしている前記共有ファイルシステムに対応する論理デイスクの識別情報を取得する取得手段と、
前記サーバホストの前記取得手段から出力される前記論理デイスクの識別情報を前記クライアントホストへ送信する交換手段と、
前記交換手段が受信した、前記クライアントホストから送信される前記デバイスファイル名及び送信元のIPアドレスを前記サーバホスト側のデイスク識別情報データに追加または更新する設定手段とを実行させることを特徴とする設定プログラム。
A program for performing control to set a device file name indicating a logical disk using a shared file system system on a storage area network to which a server host and a client host are connected,
In the computer constituting the server host,
Obtaining means for obtaining identification information of a logical disk corresponding to the shared file system accessed by the server host via the storage area network;
Exchange means for transmitting identification information of the logical disk output from the acquisition means of the server host to the client host;
And a setting unit that adds or updates the device file name and the source IP address transmitted from the client host, received by the exchange unit, to the disk identification information data on the server host side. Configuration program.
前記コンピュータに、前記論理デイスクへの最初の1回目のファイルの読出又は書込み要求、又は前記論理デイスクの識別エラーが検出された際に、前記取得手段、前記交換手段及び前記設定手段を実行させる請求項10に記載の設定プログラム。 The computer causes the acquisition means, the exchange means, and the setting means to be executed when a first file read or write request to the logical disk or an identification error of the logical disk is detected. Item 13. The setting program according to item 10.
JP2005093193A 2005-03-28 2005-03-28 Shared file system, setting method and setting program Expired - Fee Related JP4375267B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005093193A JP4375267B2 (en) 2005-03-28 2005-03-28 Shared file system, setting method and setting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005093193A JP4375267B2 (en) 2005-03-28 2005-03-28 Shared file system, setting method and setting program

Publications (2)

Publication Number Publication Date
JP2006277143A JP2006277143A (en) 2006-10-12
JP4375267B2 true JP4375267B2 (en) 2009-12-02

Family

ID=37211867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005093193A Expired - Fee Related JP4375267B2 (en) 2005-03-28 2005-03-28 Shared file system, setting method and setting program

Country Status (1)

Country Link
JP (1) JP4375267B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6027897B2 (en) * 2013-01-15 2016-11-16 株式会社日立製作所 Computer system and automatic detection method
JP2019161015A (en) 2018-03-13 2019-09-19 東芝メモリ株式会社 Storage device and method of manufacturing the same

Also Published As

Publication number Publication date
JP2006277143A (en) 2006-10-12

Similar Documents

Publication Publication Date Title
CN101958918B (en) Virtual media with folder sharing function and method
US7334100B2 (en) Storage system and data backup method for the same
US9696942B2 (en) Accessing remote storage devices using a local bus protocol
US9727503B2 (en) Storage system and server
TWI594600B (en) Network switch and method of updating a device using a network switch
US8972615B2 (en) Communication with input/output system devices
US20170131991A1 (en) System and method for unified firmware managment
US20170031694A1 (en) System and method for remote system configuration managment
CN106445577A (en) Update method, server system, and non-transitory computer-readable medium
JP2007334878A (en) Systems and methods for long-term data archiving
CN101373448B (en) Computer system with remote management
JP2007094803A (en) Diskless computer operation management system
JP4828709B2 (en) Automatic OS installation method and computer network system
CN110737396A (en) Method, apparatus and computer program product for data replication
JP4375267B2 (en) Shared file system, setting method and setting program
TWI553490B (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
CN117544336A (en) Device access method, data exchange method and related devices
JP2009258922A (en) Multi-point computer management system and method
US11487466B2 (en) Information processing apparatus reading data using host physcal address and guest physical address and computer-readable recording medium recording control program reading data using host physical address and guest physical address
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
CN114124301A (en) Virtual media transmission system with data check and error retransmission mechanism
JP4625271B2 (en) Cache device for network boot
JP4529911B2 (en) Environment reproduction system, management server, environment reproduction method and program
CN101154144A (en) Peripheral device, method for identifying peripheral device, and computer product
JP4900805B2 (en) OS image deployment machine and method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090324

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090525

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: 20090818

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090831

R150 Certificate of patent or registration of utility model

Ref document number: 4375267

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130918

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees