JP2008276604A - Internet storage name service method, internet storage name service server device and program - Google Patents

Internet storage name service method, internet storage name service server device and program Download PDF

Info

Publication number
JP2008276604A
JP2008276604A JP2007120831A JP2007120831A JP2008276604A JP 2008276604 A JP2008276604 A JP 2008276604A JP 2007120831 A JP2007120831 A JP 2007120831A JP 2007120831 A JP2007120831 A JP 2007120831A JP 2008276604 A JP2008276604 A JP 2008276604A
Authority
JP
Japan
Prior art keywords
isns
network entity
request message
database
portal
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
JP2007120831A
Other languages
Japanese (ja)
Inventor
Atsushi Miyama
篤 深山
Yoshihiro Nomoto
義弘 野本
Tomonari Fujita
智成 藤田
Takashi Enomoto
孝 榎本
Kaname Funakoshi
船越  要
Shigemichi Watanabe
茂道 渡邉
Takayuki Nakamura
隆幸 中村
Yuichi Fujino
雄一 藤野
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2007120831A priority Critical patent/JP2008276604A/en
Publication of JP2008276604A publication Critical patent/JP2008276604A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To uniquely identify a computer terminal when there are several computer terminals having the same identifier in a network (WAN). <P>SOLUTION: This Internet storage name service method includes: retrieving an iSNSDB based on the network (NW) entity ID of a device attribute registration request message, and retrieving the iSCSIDB based on the NW entity index corresponding to the NW entity ID when the NW entity ID of the message matches the NW entity ID of the iSNSDB, and deciding whether or not the iSCSI name of the ISCSI node index corresponding to the iSCSI node index associated with the acquired NW entity index matches the iSCSI name of the message. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、インターネットストレージネームサービス方法及びインターネットストレージネームサービスサーバ装置及びプログラムに係り、特に、複数の計算機端末(ホスト)を複数のストレージ装置(デバイス)にIP(インターネットプロトコル)ネットワークで接続するIP−SAN(ストレージエリアネットワーク)において、計算機端末とストレージ装置の接続設定を集中管理するiSNS(インターネットストレージネームサービス)技術における、iSNS方法及びiSNSサーバ装置及びプログラムに関する。   The present invention relates to an Internet storage name service method, an Internet storage name service server apparatus, and a program, and in particular, an IP- that connects a plurality of computer terminals (hosts) to a plurality of storage apparatuses (devices) via an IP (Internet Protocol) network. The present invention relates to an iSNS method, an iSNS server device, and a program in an iSNS (Internet Storage Name Service) technology for centrally managing connection settings between computer terminals and storage devices in a SAN (Storage Area Network).

近年、IP−SANの普及に伴い、IP−SANに接続されるホスト及びデバイスの数が飛躍的に増大しており、その接続先設定の管理、具体的には、どのホストをどのデバイスに接続するのかを各ホストやデバイスに設定する作業が非常に煩雑になってきている。その接続先設定をサーバで集中管理し、この作業付加を軽減するための技術標準として、iSNSが実用化されている(例えば、非特許文献1参照)。
Internet Engineering Task Force, Request For Comments 4171, Internet Storage Name Service (iSNS)
In recent years, with the spread of IP-SAN, the number of hosts and devices connected to IP-SAN has increased dramatically. Management of connection destination settings, specifically, which host is connected to which device The task of setting each host or device to do so has become very complicated. ISNS has been put to practical use as a technical standard for centrally managing the connection destination settings on a server and reducing this work addition (see Non-Patent Document 1, for example).
Internet Engineering Task Force, Request For Comments 4171, Internet Storage Name Service (iSNS)

これまで、上記のIP−SAN技術は主にローカルエリアネットワーク(LAN)の中で用いられており、iSNSも同様にLANの中での使用が主に想定されている。しかし、FTTH(Fiber-To-The-Home)等の広帯域ネットワークの広がりにより、IP−SAN技術を公衆の広域ネットワーク(WAN)の上で用いることが現実的になってきている。このようなWANでの使用を想定した場合、上記の非特許文献1で定義されているiSNS標準、及び、iSNSを実装した既存製品には以下のような課題が存在する。   Until now, the above-mentioned IP-SAN technology has been mainly used in a local area network (LAN), and iSNS is also mainly assumed to be used in a LAN as well. However, with the spread of broadband networks such as FTTH (Fiber-To-The-Home), it has become realistic to use IP-SAN technology on public wide area networks (WAN). Assuming use in such a WAN, the following problems exist in the iSNS standard defined in Non-Patent Document 1 and the existing products in which iSNS is implemented.

従来想定されてきたLAN内での使用では、iSNSクライアントが実行されているホスト及びデバイスの全ての設定項目は、iSNSサーバの動作に支障がないよう官吏されていることが期待できるが、WANでの運用では、ホスト及びデバイスのネットワークアドレスやホスト名を、iSNSサーバ運用者は一切変更できない可能性が高い。例えば、iSNSサービスはストレージサービスプロバイダ(SSP:Storage Service Provider)により提供されており、ホストがSSPのサービス提供を受けているユーザ施設内に存在する場合、SSPはユーザ施設内のホストのIPアドレスやホスト名を変更することはできない。ホストにインストールされたiSNSクライアントは、これら情報からホストの識別子を生成してiSNSサーバへ送信することがあり、ユーザ間で識別子の衝突が起こる可能性がある。標準のiSNSプロトコルでは、これら識別子は一意であることが期待されており、重複する識別子を使用するホストに対してiSNSサービスが提供できなくなる。   With the use in a LAN that has been assumed in the past, it can be expected that all setting items of the host and device on which the iSNS client is executed are enshrined so as not to hinder the operation of the iSNS server. In this operation, it is highly possible that the iSNS server operator cannot change the network address and host name of the host and device. For example, when the iSNS service is provided by a storage service provider (SSP) and the host exists in the user facility receiving the service provision of the SSP, the SSP is the IP address of the host in the user facility. The host name cannot be changed. The iSNS client installed on the host may generate a host identifier from these pieces of information and send it to the iSNS server, and identifier collision may occur between users. In the standard iSNS protocol, these identifiers are expected to be unique, and an iSNS service cannot be provided to hosts using duplicate identifiers.

図13の例では、iSNSクライアントA101とiSNSクライアントB102は、各々NAT装置A111とNAT装置B112を介してiSNSサーバと通信を行っている。このような状況では、iSNSクライアントA101とiSNSクライアントB102が使用しているIPアドレスが重複する可能性がある。iSNSクライアントA101及びiSNSクライアントB102がネットワーククエンティティIDとしてIPアドレスを用いている場合、iSNSクライアントA101がiSNSサーバ10に対してこのネットワークエンティティIDを登録した後に、iSNSクライアントB102が同じネットワークエンティティIDで登録を行った場合、iSNSクライアントA101が最初に登録した内容を別のiSNSクライアントが変更しようとしていると判断され、iSNSクライアントB102による登録が拒否されてしまう。   In the example of FIG. 13, the iSNS client A101 and the iSNS client B102 communicate with the iSNS server via the NAT device A111 and the NAT device B112, respectively. In such a situation, there is a possibility that the IP addresses used by the iSNS client A101 and the iSNS client B102 overlap. When iSNS client A101 and iSNS client B102 use IP addresses as network entity IDs, after iSNS client A101 registers this network entity ID with iSNS server 10, iSNS client B102 registers with the same network entity ID. When it is performed, it is determined that another iSNS client is going to change the content that the iSNS client A101 first registered, and registration by the iSNS client B102 is rejected.

本発明は、上記の点に鑑みなされたもので、ネットワーク(WAN)内に同一の識別子を持つ計算機端末が複数ある場合に、計算機端末とストレージ装置の接続設定を集中管理することにより、計算機端末を一意に識別することが可能なiSNS方法及びiSNSサーバ装置及びプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and when there are a plurality of computer terminals having the same identifier in the network (WAN), the computer terminal can be managed by centrally managing connection settings of the computer terminal and the storage device. It is an object of the present invention to provide an iSNS method, an iSNS server device, and a program that can uniquely identify a client.

上記の課題を解決するために、本発明のISNSサーバ装置は、iSNSクライアントから送られてきた情報とiSNSデータベースに存在する情報を照合する際に、上記のような識別の重複が起こりやすいiSNSオブジェクトの照合の場合には、それと関連するiSCSIノードの識別子が同一であるかを確認する。図13のように、複数の独立したネットワークに存在するiSNSクライアントを一台のiSNSサーバ装置で収容するというような状況では、各ホスト及びデバイスに割り振られるiSCSI(Internet Small Computer System Interface)ノードの識別子はiSNSサーバ装置の管理者により一意性を保った形で管理されていることが期待できる。このことを利用し、各iSNSクライアントをiSNSデータベース内で表現するiSNSオブジェクト階層の最上位オブジェクトであるネットワークエンティティの照合には、その下位に登録されているiSCSIノードまたはその下位に登録されようとしているiSCSIノードの集合に重なりがないことを条件として加える。また、iSCSIノード以外(ポータル)のiSNSオブジェクトの照合には、最上位のネットワークエンティティが同一であることを条件として加えるものである。   In order to solve the above-described problem, the ISSNS server apparatus according to the present invention is an iSNS object in which duplication of identification is likely to occur when information sent from an iSNS client is collated with information existing in an iSNS database. In the case of collation, it is confirmed whether or not the identifiers of the associated iSCSI nodes are the same. As shown in FIG. 13, in a situation where iSNS clients existing in a plurality of independent networks are accommodated by one iSNS server device, an identifier of an iSCSI (Internet Small Computer System Interface) node allocated to each host and device. Can be expected to be managed in a form that maintains uniqueness by the administrator of the iSNS server device. Utilizing this fact, the network entity that is the highest level object in the iSNS object hierarchy that represents each iSNS client in the iSNS database is going to be registered in the iSCSI node registered in the lower level or in the lower level. The condition is that there is no overlap in the set of iSCSI nodes. In addition, the collation of iSNS objects other than the iSCSI node (portal) is added on condition that the highest network entity is the same.

図1は、本発明の原理を説明するための図である。   FIG. 1 is a diagram for explaining the principle of the present invention.

本発明(請求項1)は、iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置におけるiSNS方法であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースを有するiSNSサーバ装置において、
iSNSクライアントからデバイス属性登録要求メッセージを受信する登録要求メッセージ受信ステップ(ステップ1)と、
デバイス属性登録要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索する第1の検索ステップ(ステップ2)と、
デバイス属性登録要求メッセージのネットワークエンティティIDとiSNSデータベースのネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には(ステップ3、Yes)、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいてiSCSIノードテーブルを検索し(ステップ4)、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得する(ステップ4)第2の検索ステップと、
第2の検索ステップで取得したiSCSI名とデバイス属性登録要求メッセージに含まれるiSCSI名が一致するか判定し(ステップ6)、一致する場合は(ステップ6、Yes)、該デバイス属性登録要求メッセージの内容でiSNSデータベースを更新し(ステップ7)、一致しない場合は(ステップ6、No)、該デバイス要求メッセージの内容を新たに該iSNSデータベースに登録する(ステップ8)データベース更新ステップと、を行う。
The present invention (Claim 1) establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network. An iSNS method in an iSNS server device for performing
In an iSNS server device having an iSNS database storing a network entity table and an iSCSI node table,
a registration request message receiving step (step 1) for receiving a device attribute registration request message from the iSNS client;
A first search step (step 2) for searching the iSNS database based on the network entity ID of the device attribute registration request message;
If the network entity ID of the device attribute registration request message matches the network entity ID of the network entity table of the iSNS database (step 3, Yes), based on the network entity index corresponding to the network entity ID of the network entity table Search the iSCSI node table (step 4), obtain the iSCSI node index corresponding to the network entity index, and obtain the iSCSI name of the ISCSI node index (step 4); a second search step;
It is determined whether the iSCSI name acquired in the second search step matches the iSCSI name included in the device attribute registration request message (step 6). If they match (Yes in step 6), the device attribute registration request message The iSNS database is updated with the contents (step 7). If they do not match (step 6, No), the contents of the device request message are newly registered in the iSNS database (step 8), and the database update step is performed.

本発明(請求項2)は、iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置におけるiSNS方法であって、
ネットワークエンティティテーブル及び、ポータルテーブルを格納したiSNSデータベースを有するiSNSサーバ装置において、
新たなポータルを登録するデバイス属性登録要求メッセージを受信する受信ステップと、
デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートに基づいて、iSNSデータベースを検索する第1の検索ステップと、
デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートとiSNSデータベースのポータルテーブルのポータルIPアドレス並びに、ポータルTCPポートが一致する場合には、該ポータルテーブルのポータルIPアドレスとポータルTCPポートに対応するネットワークエンティティインデックスをネットワークエンティティテーブルから検索する第2の検索ステップと、
デバイス属性登録要求メッセージに含まれるiSCSI名に基づいてiSCSIノードテーブルから対応するネットワークエンティティインデックスを検索する第3の検索ステップと、
第2及び第3の検索ステップで取得したネットワークエンティティインデックスが一致するか判定し、一致する場合は、該デバイス属性登録要求メッセージの内容でiSNSデータベースを更新し、一致しない場合は、該デバイス属性登録要求メッセージの内容を新たに該iSNSデータベースに登録するデータベース更新ステップと、を行う。
The present invention (Claim 2) establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches the iSNS database when there are a plurality of computer terminals having the same identifier in the network. An iSNS method in an iSNS server device for performing
In an iSNS server device having an iSNS database storing a network entity table and a portal table,
A receiving step of receiving a device attribute registration request message for registering a new portal;
A first search step of searching the iSNS database based on the portal IP address of the device attribute registration request message and the portal TCP port;
If the portal IP address of the device attribute registration request message, the portal TCP port, the portal IP address of the portal table of the iSNS database, and the portal TCP port match, correspond to the portal IP address and portal TCP port of the portal table. A second search step for searching the network entity index from the network entity table;
A third search step of searching for a corresponding network entity index from the iSCSI node table based on the iSCSI name included in the device attribute registration request message;
It is determined whether the network entity indexes acquired in the second and third search steps match. If they match, the iSNS database is updated with the content of the device attribute registration request message. If they do not match, the device attribute registration is performed. A database update step of newly registering the content of the request message in the iSNS database.

本発明(請求項3)は、iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置におけるiSNS方法であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースを有するiSNSサーバ装置において、
iSNSクライアントからデバイス削除要求メッセージを受信する削除要求メッセージ受信ステップと、
デバイス削除要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索する第1の検索ステップと、
デバイス削除要求メッセージのネットワークエンティティIDとiSNSデータベースのネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいてiSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得する第2の検索ステップと、
第2の検索ステップで取得したiSCSI名とデバイス削除要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、iSNSデータベースのネットワークエンティティテーブル、iSCSIノードテーブルからネットワークエンティティインデックスに対応する情報を削除する削除ステップと、を行う。
The present invention (Claim 3) establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network. An iSNS method in an iSNS server device for performing
In an iSNS server device having an iSNS database storing a network entity table and an iSCSI node table,
a deletion request message receiving step of receiving a device deletion request message from the iSNS client;
A first search step of searching the iSNS database based on the network entity ID of the device deletion request message;
When the network entity ID of the device deletion request message matches the network entity ID of the network entity table of the iSNS database, the iSCSI node table is searched based on the network entity index corresponding to the network entity ID of the network entity table; A second search step of obtaining an iSCSI node index corresponding to the network entity index and obtaining an iSCSI name of the ISCSI node index;
It is determined whether the iSCSI name acquired in the second search step matches the iSCSI name included in the device deletion request message. If they match, information corresponding to the network entity index from the network entity table and iSCSI node table of the iSNS database. And a delete step to delete.

図2は、本発明の原理構成図である。   FIG. 2 is a principle configuration diagram of the present invention.

本発明(請求項4)は、iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベース29と、
iSNSクライアントからデバイス属性登録要求メッセージを受信する登録要求メッセージ受信手段23と、
デバイス属性登録要求メッセージのネットワークエンティティIDに基づいてiSNSデータベース29を検索し、該デバイス属性登録要求メッセージのネットワークエンティティIDとiSNSデータベース29のネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいてiSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得するデータベース検索手段28と、
データベース検索手段28で取得したiSCSI名とデバイス属性登録要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、該デバイス属性登録要求メッセージの内容でiSNSデータベース29を更新し、一致しない場合は、該デバイス要求メッセージの内容を新たに該iSNSデータベース29に登録する登録手段22と、を有する。
The present invention (Claim 4) establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches the iSNS database when there are a plurality of computer terminals having the same identifier in the network. An iSNS server device that performs
An iSNS database 29 storing a network entity table and an iSCSI node table;
registration request message receiving means 23 for receiving a device attribute registration request message from an iSNS client;
The iSNS database 29 is searched based on the network entity ID of the device attribute registration request message, and when the network entity ID of the device attribute registration request message matches the network entity ID of the network entity table of the iSNS database 29, the network Database search means 28 for searching the iSCSI node table based on the network entity index corresponding to the network entity ID of the entity table, acquiring the iSCSI node index corresponding to the network entity index, and acquiring the iSCSI name of the ISCSI node index When,
It is determined whether the iSCSI name acquired by the database search means 28 matches the iSCSI name included in the device attribute registration request message. If they match, the iSNS database 29 is updated with the contents of the device attribute registration request message, and they do not match. A registration unit 22 for newly registering the content of the device request message in the iSNS database 29.

本発明(請求項5)は、iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置であって、
ネットワークエンティティテーブル,iSCSIノードテーブル及び、ポータルテーブルを格納したiSNSデータベースと、
新たなポータルを登録するデバイス属性登録要求メッセージを受信する受信手段と、
デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートに基づいて、iSNSデータベースを検索する第1の検索手段と、該デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートと該iSNSデータベースのポータルテーブルのポータルIPアドレス並びに、ポータルTCPポートが一致する場合には、該ポータルテーブルのポータルIPアドレスとポータルTCPポートに対応するネットワークエンティティインデックスをネットワークエンティティテーブルから検索する第2の検索手段と、該デバイス属性登録要求メッセージに含まれるiSCSI名に基づいてiSCSIノードテーブルから対応するネットワークエンティティインデックスを検索する第3の検索手段と、を有するデータベース検索手段と、
第2及び第3の検索手段で取得したネットワークエンティティインデックスが一致するか判定し、一致する場合は、デバイス属性登録要求メッセージの内容でiSNSデータベースを更新し、一致しない場合は、該デバイス属性登録要求メッセージの内容を新たに該iSNSデータベースに登録するデータベース更新手段と、を有する。
The present invention (Claim 5) establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches the iSNS database when there are a plurality of computer terminals having the same identifier in the network. An iSNS server device that performs
An iSNS database storing a network entity table, an iSCSI node table, and a portal table;
Receiving means for receiving a device attribute registration request message for registering a new portal;
Based on the portal IP address of the device attribute registration request message and the portal TCP port, a first search means for searching the iSNS database, the portal IP address of the device attribute registration request message, the portal TCP port, and the iSNS database A second search means for searching a network entity index corresponding to the portal IP address and the portal TCP port of the portal table from the network entity table when the portal IP address of the portal table and the portal TCP port match; Third search means for searching for a corresponding network entity index from the iSCSI node table based on the iSCSI name included in the device attribute registration request message; A database search means comprising:
It is determined whether the network entity indexes acquired by the second and third search means match. If they match, the iSNS database is updated with the contents of the device attribute registration request message. If they do not match, the device attribute registration request Database updating means for newly registering the content of the message in the iSNS database.

本発明(請求項6)は、iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースと、
iSNSクライアントからデバイス削除要求メッセージを受信する削除要求メッセージ受信手段と、
デバイス削除要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索し、該デバイス削除要求メッセージのネットワークエンティティIDとiSNSデータベースのネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいてiSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得するデータベース検索手段と、
データベース検索手段で取得したiSCSI名とデバイス削除要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、iSNSデータベースのネットワークエンティティテーブル、iSCSIノードテーブルからネットワークエンティティインデックスに対応する情報を削除する削除手段と、を有する。
The present invention (Claim 6) establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches the iSNS database when there are a plurality of computer terminals having the same identifier in the network. An iSNS server device that performs
An iSNS database storing a network entity table and an iSCSI node table;
delete request message receiving means for receiving a device delete request message from an iSNS client;
The iSNS database is searched based on the network entity ID of the device deletion request message, and when the network entity ID of the device deletion request message matches the network entity ID of the network entity table of the iSNS database, the network of the network entity table Database search means for searching an iSCSI node table based on a network entity index corresponding to an entity ID, acquiring an iSCSI node index corresponding to the network entity index, and acquiring an iSCSI name of the ISCSI node index;
It is determined whether the iSCSI name acquired by the database search means matches the iSCSI name included in the device deletion request message. If they match, the information corresponding to the network entity index is deleted from the network entity table and iSCSI node table of the iSNS database. Deleting means.

本発明(請求項7)は、コンピュータを、請求項4乃至6記載のiSNSサーバ装置として機能させるこプログラムである。   The present invention (Claim 7) is a program for causing a computer to function as the iSNS server apparatus according to Claims 4 to 6.

上記のように本発明によれば、ネットワーク(WAN)内に同一の識別子を持つ計算機端末が複数ある場合に、デバイス属性要求メッセージに含まれる入力ネットワークエンティティ情報と、iSNSデータベースに含まれる参照ネットワークエンティティ情報を照合することにより、計算機端末を一意に識別することができる。   As described above, according to the present invention, when there are a plurality of computer terminals having the same identifier in the network (WAN), the input network entity information included in the device attribute request message and the reference network entity included in the iSNS database By collating the information, the computer terminal can be uniquely identified.

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

以下では、異なるiSNSクライアントが同一のネットワークエンティティIDまたはポータルIPアドレスならびに、ポータルTCP(Transmission Control Protocol)ポートを有する場合の処理について説明する。   In the following, processing when different iSNS clients have the same network entity ID or portal IP address and portal TCP (Transmission Control Protocol) port will be described.

図3は、本発明の一実施の形態におけるiSNSサーバの構成を示す。   FIG. 3 shows the configuration of the iSNS server in one embodiment of the present invention.

同図に示すiSNSサーバ20は、デバイス属性登録部22、TCP通信部23、データベース検索部28、iSNSデータベース29から構成される。   The iSNS server 20 shown in FIG. 1 includes a device attribute registration unit 22, a TCP communication unit 23, a database search unit 28, and an iSNS database 29.

また、iSNSクライアントC103は、iSNSサーバ20に対して、入力ネットワークエンティティ情報と参照ネットワークエンティティ情報を含むデバイス属性登録要求メッセージを送信する端末として説明する。   The iSNS client C103 will be described as a terminal that transmits a device attribute registration request message including input network entity information and reference network entity information to the iSNS server 20.

[第1の実施の形態]
本実施の形態では、新たにネットワークエンティティをiSNSデータベース29に登録する場合について説明する。
[First Embodiment]
In this embodiment, a case where a new network entity is registered in the iSNS database 29 will be described.

以下では、データベース検索部28が、iSNSクライアントC103から送信されたデバイス属性登録要求メッセージ含まれる入力ネットワークエンティティ情報とiSNSデータベース29に含まれる参照ネットワークエンティティ情報を照合する際の詳細な動作を説明する。   Hereinafter, a detailed operation when the database search unit 28 collates the input network entity information included in the device attribute registration request message transmitted from the iSNS client C103 and the reference network entity information included in the iSNS database 29 will be described.

図4は、本発明の第1の実施の形態におけるiSNSサーバの概要のフローチャートである。   FIG. 4 is a flowchart of the outline of the iSNS server in the first embodiment of the invention.

iSNSサーバ20のデバイス属性登録部12は、iSNSクライアントC103よりTCP通信部23を介してiSNS要求メッセージの一種であるデバイス属性登録要求メッセージを受け付け(ステップ101)、その中にネットワークエンティティIDが記載されている場合は、当該デバイス属性登録要求メッセージが、当該ネットワークエンティティIDに対応するネットワークエンティティを新たに登録するよう要求するものであるのか、あるいは、iSNSデータベース29に既に登録されている既存のネットワークエンティティ情報の更新を要求するものであるかを判断する必要がある。そのため、デバイス属性登録部22は、データベース検索部18に対して当該デバイス属性登録要求メッセージに含まれるネットワークエンティティ情報を伝達し(ステップ102)、iSNSデータベース29に登録されているネットワークエンティティ情報と逐一照合する(ステップ103)ことで、同一のネットワークエンティティがiSNSデータベース29に既に登録されていないかを検索する必要がある。その結果、同一のネットワークエンティティが発見されれば(ステップ104、Yes)、データベース検索部18より発見されたネットワークエンティティ情報がデバイス属性登録部22に返却され(ステップ105)、デバイス属性登録部22は、iSNSデータベース29の当該ネットワークエンティティに対する更新処理を行う(ステップ106)。一方、同一のネットワークエンティティが発見されなかった場合は、データベース検索部28よりネットワークエンティティ情報がデバイス属性登録部22に返却されず、デバイス属性登録部22は、デバイス属性登録要求メッセージの内容を取得して(ステップ107)に従って、新たなネットワークエンティティをiSNSデータベース29へ新たに登録する処理を行う(ステップ108)。   The device attribute registration unit 12 of the iSNS server 20 receives a device attribute registration request message, which is a kind of iSNS request message, from the iSNS client C103 via the TCP communication unit 23 (step 101), and the network entity ID is described therein. If the device attribute registration request message is a request to newly register a network entity corresponding to the network entity ID, or an existing network entity already registered in the iSNS database 29 It is necessary to determine whether the request is for updating information. Therefore, the device attribute registration unit 22 transmits the network entity information included in the device attribute registration request message to the database search unit 18 (step 102), and collates with the network entity information registered in the iSNS database 29 one by one. (Step 103), it is necessary to search whether the same network entity is already registered in the iSNS database 29. As a result, if the same network entity is found (step 104, Yes), the network entity information discovered by the database search unit 18 is returned to the device attribute registration unit 22 (step 105), and the device attribute registration unit 22 Then, an update process for the network entity in the iSNS database 29 is performed (step 106). On the other hand, if the same network entity is not found, the network entity information is not returned to the device attribute registration unit 22 from the database search unit 28, and the device attribute registration unit 22 acquires the content of the device attribute registration request message. (Step 107), a new network entity is newly registered in the iSNS database 29 (step 108).

図5は、本発明の第1の実施の形態におけるiSNSデータベースのテーブルの例を示す。   FIG. 5 shows an example of a table of the iSNS database according to the first embodiment of the present invention.

同図には、例として、iSNSクライアントA101及びiSNSクライアントB102が既にデバイス属性登録要求メッセージをiSNSサーバ20に送信し、iSNSデータベース29への登録が完了している状態の、iSNSデータベース29を構成するネットワークエンティティテーブル(A)、iSCSIノードテーブル(B)、ポータルテーブル(C)の登録内容を示している。   In the figure, as an example, the iSNS client A 101 and the iSNS client B 102 have already transmitted the device attribute registration request message to the iSNS server 20 and configured the iSNS database 29 in a state where the registration to the iSNS database 29 has been completed. The registration contents of the network entity table (A), iSCSI node table (B), and portal table (C) are shown.

同図(A)に示すネットワークエンティティテーブルは、ネットワークエンティティインデクスと、ネットワークエンティティIDを格納する。同図(B)に示すiSCSIノードテーブルは、iSCSIノードインデックス、iSCSI名、ネットワークエンティティインデックスを格納する。同図(C)に示すポータルテーブルは、ポータルインデックス、ポータルIPアドレス、ポータルTCPポート、ネットワークエンティティインデックスを格納する(第2の実施の形態で詳述する)。   The network entity table shown in FIG. 5A stores a network entity index and a network entity ID. The iSCSI node table shown in FIG. 5B stores an iSCSI node index, an iSCSI name, and a network entity index. The portal table shown in FIG. 5C stores a portal index, a portal IP address, a portal TCP port, and a network entity index (detailed in the second embodiment).

また、図6は、本発明の第1の実施の形態におけるデバイス属性登録要求メッセージの例を示す。同図に示すデバイス属性登録要求メッセージは、属性名、属性値、属性種別を有する。属性名としては、iSCSCI名、ネットワークエンティティID等がある。   FIG. 6 shows an example of a device attribute registration request message in the first embodiment of the present invention. The device attribute registration request message shown in the figure has an attribute name, an attribute value, and an attribute type. Examples of attribute names include iSCSI names and network entity IDs.

ここで、図6に示すようなiSNS属性が記載されたデバイス属性登録要求メッセージがiSNSクライアントC103よりiSNSサーバ20に送信され、デバイス属性登録部22に伝達された場合を説明する。   Here, a case where a device attribute registration request message in which an iSNS attribute as shown in FIG. 6 is described is transmitted from the iSNS client C103 to the iSNS server 20 and transmitted to the device attribute registration unit 22 will be described.

図7は、本発明の第1の実施の形態におけるデバイス属性登録要求メッセージを受信した場合の動作のフローチャートである。   FIG. 7 is a flowchart of the operation when a device attribute registration request message is received according to the first embodiment of this invention.

デバイス属性登録部22は、デバイス属性登録要求メッセージのメッセージキー属性に関連付けられているネットワークエンティティIDの値が"Example-Host"であるネットワークエンティティに関する更新または新規登録要求であると判定する(ステップ201)。この入力ネットワークエンティティが既にiSNSデータベース29に存在するか確認するため、デバイス属性登録部22は、データベース検索部28に対して、ネットワークエンティティID"Example-Host"を検索するように指示する(ステップ202)。データベース検索部28は、図5(A)のネットワークエンティティテーブルを検索することにより、ネットワークエンティティインデックスの値が"2"であるネットワークエンティティとネットワークエンティティIDが一致すると判定する(ステップ203、Yes)。なお、一致するネットワークエンティティIDがiSNSデータベース29にない場合には、当該デバイス属性登録要求メッセージに関する情報はiSNSデータベース29に格納されていないと判断し、iSNSデータベース29に新規登録する(ステップ210)。   The device attribute registration unit 22 determines that the request is an update or new registration request regarding a network entity whose value of the network entity ID associated with the message key attribute of the device attribute registration request message is “Example-Host” (step 201). ). In order to confirm whether the input network entity already exists in the iSNS database 29, the device attribute registration unit 22 instructs the database search unit 28 to search for the network entity ID “Example-Host” (step 202). ). The database search unit 28 searches the network entity table of FIG. 5A to determine that the network entity whose network entity index value is “2” matches the network entity ID (Yes in step 203). If there is no matching network entity ID in the iSNS database 29, it is determined that the information related to the device attribute registration request message is not stored in the iSNS database 29, and is newly registered in the iSNS database 29 (step 210).

通常、前述の非特許文献1で定義されるISNSプロトコル標準では、この段階で入力ネットワークエンティティは、ネットワークエンティティインデックス"2"のネットワークエンティティと同一であると判断される。   Normally, according to the ISNS protocol standard defined in the above-mentioned Non-Patent Document 1, the input network entity is determined to be the same as the network entity with the network entity index “2” at this stage.

しかし、本発明では、この後、デバイス属性登録部22は、さらに、図5の(B)のiSCSIノードテーブルより、ネットワークエンティティインデックスの値"2"を検索する(ステップ204)。該当するiSCSIノードとして、iSCSIノードインデックスが"2"及び"3"の2つのiSCSIノードが検索される(ステップ205、Yes,ステップ206、Yes)。   However, in the present invention, thereafter, the device attribute registration unit 22 further searches the iSCSI node table of FIG. 5B for the network entity index value “2” (step 204). As the relevant iSCSI nodes, two iSCSI nodes having iSCSI node indexes “2” and “3” are searched (step 205, Yes, step 206, Yes).

次に、これら2つのiSCSIノードのiSCSI名"Node_B_1"及び"Node_B_2"と、図6に示すデバイス属性登録要求メッセージに記述されているiSCSI名"Node_C_1"及び"Node_C_2"が一致するかを照合する(ステップ207)。この例の場合は、一致するものがないため(ステップ208、No)、本発明では入力ネットワークエンティティは、iSNSデータベース29には存在しないと判断され、デバイス登録部22より新たなネットワークエンティティが図8のように登録される(ステップ210)。一方、iSCSIノードテーブルのネットワークエンティティインデックスに関連付けられたiSCSI名とデバイス属性登録要求メッセージのiSCSI名が一致する場合には、当該デバイス属性登録要求メッセージの内容でiSNSデータベース29を更新する(ステップ209)。   Next, it is checked whether the iSCSI names “Node_B_1” and “Node_B_2” of these two iSCSI nodes match the iSCSI names “Node_C_1” and “Node_C_2” described in the device attribute registration request message shown in FIG. (Step 207). In this example, since there is no match (step 208, No), it is determined in the present invention that the input network entity does not exist in the iSNS database 29, and a new network entity is displayed by the device registration unit 22 in FIG. (Step 210). On the other hand, if the iSCSI name associated with the network entity index of the iSCSI node table matches the iSCSI name of the device attribute registration request message, the iSNS database 29 is updated with the content of the device attribute registration request message (step 209). .

ネットワークエンティティが新たにiSNSデータベース29に登録されると、図8に示すように、ネットワークエンティティテーブル(A)には、ネットワークインデックス"3"が、ネットワークエンティティID"Example-Host"が登録され、iSCSIノードテーブル(B)には、iSCSIノードインデックス"4"、iSCSI名"Node_C_1"、ネットワークエンティティインデックス"3"と、iSCSIノードインデックス"5"、iSCSI名"Node_C_2"、ネットワークエンティティインデックス"3"が登録される。   When a new network entity is registered in the iSNS database 29, the network index “3” and the network entity ID “Example-Host” are registered in the network entity table (A) as shown in FIG. In the node table (B), an iSCSI node index “4”, an iSCSI name “Node_C_1”, a network entity index “3”, an iSCSI node index “5”, an iSCSI name “Node_C_2”, and a network entity index “3” are registered. Is done.

[第2の実施の形態]
本実施の形態におけるiSNSサーバの構成は、図3の構成と同様であるのでその説明を省略する。
[Second Embodiment]
Since the configuration of the iSNS server in the present embodiment is the same as the configuration of FIG. 3, the description thereof is omitted.

本実施の形態では、デバイス属性要求メッセージとしてポータルの登録を要求する例を説明する。以下では、「ポータル登録要求メッセージ」と記す。   In the present embodiment, an example of requesting portal registration as a device attribute request message will be described. Hereinafter, it is referred to as a “portal registration request message”.

本実施の形態で参照するiSNSデータベース29のテーブルは、図8のネットワークエンティティテーブルとポータルテーブルとiSCSIノードテーブル及び、図9のポータル登録要求メッセージである。   The tables in the iSNS database 29 referred to in the present embodiment are the network entity table, portal table, iSCSI node table in FIG. 8, and portal registration request message in FIG.

図10は、本発明の第2の実施の形態におけるポータル登録要求メッセージを受信した場合の動作のフローチャートである。   FIG. 10 is a flowchart of the operation when a portal registration request message is received according to the second embodiment of this invention.

データベース検索部28において、ポータル登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートを抽出する(ステップ301)。抽出されたポータルIPアドレス並びに、ポータルTCPポートに基づいて、図8(C)のポータルテーブルからポータルインデックスを検索する(ステップ302)。   The database search unit 28 extracts the portal IP address and portal TCP port of the portal registration request message (step 301). Based on the extracted portal IP address and portal TCP port, the portal index is searched from the portal table of FIG. 8C (step 302).

検索の結果、ポータルテーブルからポータルインデックス"1"と"4"が検索される(ステップ303、Yes)。通常はこのどちらのポータルもポータル登録要求メッセージのポータルと同一であると見做され得る。   As a result of the search, portal indexes “1” and “4” are searched from the portal table (step 303, Yes). Normally, both of these portals can be regarded as the same as the portal of the portal registration request message.

しかし、本発明では、さらに、ポータルテーブルから取得したポータルインデックス"1"と"4"に各々対応するネットワークエンティティインデックス"1"と"3"をポータルテーブル(図8(C))から取得する(ステップ304)。   However, in the present invention, the network entity indexes “1” and “3” respectively corresponding to the portal indexes “1” and “4” acquired from the portal table are acquired from the portal table (FIG. 8C) (FIG. 8C). Step 304).

ポータル登録要求メッセージに含まれるiSCSI名に基づいて、図8(B)のiSCSIノードテーブルから検索し、そのiSCSI名に対応するiSCSIノードインデックス"5"とネットワークエンティティインデックス"3"を検索する(ステップ305)。これを、図8(C)のポータルテーブルから検索された、ポータルインデックス"1"に対応するネットワークエンティティインデックス"1"、及び、ポータルインデックス"4"に対応するネットワークエンティティインデックス"3"と比較すると、後者の、ポータルインデックス"4"に対応するネットワークエンティティインデックス"3"と一致するため(ステップ306、Yes)、ポータルインデックス"4"のポータルがポータル登録要求メッセージ記載のポータルと同一のポータルと見做され、図8(C)のポータルテーブルのポータルインデックス"4"がポータル登録要求メッセージの内容に従って更新される(ステップ307)。   Based on the iSCSI name included in the portal registration request message, the iSCSI node table of FIG. 8B is searched, and the iSCSI node index “5” and the network entity index “3” corresponding to the iSCSI name are searched (step) 305). When this is compared with the network entity index “1” corresponding to the portal index “1” and the network entity index “3” corresponding to the portal index “4” retrieved from the portal table of FIG. Because the latter matches the network entity index “3” corresponding to the portal index “4” (Yes in step 306), the portal with the portal index “4” is regarded as the same portal as the portal described in the portal registration request message. The portal index “4” in the portal table of FIG. 8C is updated according to the content of the portal registration request message (step 307).

もし、ステップ306において、ステップ304で検索されたいずれのポータルについても、対応するネットワークエンティティインデックスがステップ305で検索されたものと一致しなかった場合(ステップ306、No)、新たに、ポータルIPアドレス"192.168.0.1"、ポータルTCPポート"12345"を持つポータルが、新規な値のポータルインデックスとステップ305で検索されたネットワークエンティティインデックスとともに登録される(ステップ308)。   If any of the portals retrieved in step 304 does not match the corresponding network entity index retrieved in step 305 in step 306 (step 306, No), a new portal IP address is obtained. A portal having “192.168.0.1” and portal TCP port “12345” is registered together with a portal index having a new value and the network entity index retrieved in step 305 (step 308).

以上のように、本発明により、ネットワークエンティティIDやポータルIPアドレス、ポータルTCPポートが衝突した場合でも、iSNSデータベースへの登録が可能となる。   As described above, according to the present invention, even when the network entity ID, the portal IP address, and the portal TCP port collide, registration to the iSNS database is possible.

[第3の実施の形態]
本実施の形態では、削除処理について説明する。
[Third Embodiment]
In the present embodiment, the deletion process will be described.

ISNSデータベース29の状態が図8に示す状態であると仮定する。このとき、図11に示す属性を持ったデバイス削除要求メッセージをiSNSサーバ20が受信したとする。当該デバイス削除要求メッセージは、属性名、属性値、属性種別から構成される。図11の例において、デバイス削除要求メッセージは、ネットワークエンティティID"Example-Host"について、iSNSデータベース29からの削除を要求するものであるため、iSNSサーバ20のデータベース検索部28は、当該ネットワークエンティティをネットワークエンティティテーブル(図8(A))から検索する。結果として、ネットワークエンティティインデックスが"2"と"3"のものが検索される。ここで、本発明のiSNSサーバ20は、図11に示すメッセージに記載のiSCSI名"Node_B_1"と検索されたネットワークエンティティ各々に関連付けられているiSCSIノードの集合を比較する。   Assume that the state of the ISNS database 29 is as shown in FIG. At this time, it is assumed that the iSNS server 20 receives a device deletion request message having the attributes shown in FIG. The device deletion request message includes an attribute name, an attribute value, and an attribute type. In the example of FIG. 11, the device deletion request message requests deletion of the network entity ID “Example-Host” from the iSNS database 29. Therefore, the database search unit 28 of the iSNS server 20 selects the network entity. Search from the network entity table (FIG. 8A). As a result, the network entity indexes “2” and “3” are searched. Here, the iSNS server 20 of the present invention compares the iSCSI name “Node_B_1” described in the message shown in FIG. 11 with the set of iSCSI nodes associated with each searched network entity.

図12は、本発明の第3の実施の形態におけるデバイス削除要求メッセージを受信した場合の動作のフローチャートである。   FIG. 12 is a flowchart of the operation when a device deletion request message is received according to the third embodiment of the present invention.

具体的な比較方法は以下のような処理になる。   A specific comparison method is as follows.

1)デバイス削除要求メッセージのネットワークエンティティID"Example-Host"でネットワークエンティティテーブル(図5(A))からネットワークインデックス"2"を検索する(ステップ402)。   1) The network index “2” is searched from the network entity table (FIG. 5A) with the network entity ID “Example-Host” in the device deletion request message (step 402).

2)検索されたネットワークインデックス"2"でiSCSIノードテーブル(図5(B))を検索し、iSCSIノードインデックスが"2""3"のiSCSIのノード"Node_B_1""Node_B_2"が得られる(ステップ404)。   2) The iSCSI node table (FIG. 5B) is searched with the searched network index “2”, and iSCSI nodes “Node_B_1” and “Node_B_2” with the iSCSI node indexes “2” and “3” are obtained (steps). 404).

3)これらのiSCSI名"Node_B_1""Node_B_2"と図11のデバイス削除要求メッセージの属性名である"iSCSI名"の属性値"Node_B_1"を照合すると(ステップ406)、iSCSIノードインデックスが"2"のiSCSIノードと一致する(ステップ407、Yes)。この場合、当該iSCSIノードテーブルのISCSIノードインデックスのデータを削除する。   3) When these iSCSI names “Node_B_1” “Node_B_2” and the attribute value “Node_B_1” of “iSCSI name” which is the attribute name of the device deletion request message in FIG. 11 are collated (step 406), the iSCSI node index is “2”. (Step 407, Yes). In this case, the ISCSI node index data in the iSCSI node table is deleted.

一方、上記の2)のiSCSIノードインデックス"3"のネットワークエンティティについて同様の処理を行った場合には、図5(B)のiSCSIノードインデックス"3"のiSCSI名は"Node_B_2"であるため一致しない(ステップ407、No)。つまり、iSCSI名が一致するiSCSIノードは検索されない。   On the other hand, when the same processing is performed for the network entity having the iSCSI node index “3” of 2) above, the iSCSI name of the iSCSI node index “3” in FIG. 5B is “Node_B_2”, which matches. No (Step 407, No). That is, an iSCSI node with a matching iSCSI name is not searched.

上記の結果から、図11のデバイス削除要求メッセージは、ネットワークエンティティインデックスの値が"2"であるネットワークエンティティの削除要求であることが判断できる。   From the above result, it can be determined that the device deletion request message in FIG. 11 is a deletion request for a network entity whose network entity index value is “2”.

なお、上記の第1〜第3の実施の形態のiSNSサーバの機能をプログラムとして構築し、iSNSサーバとして利用されるコンピュータにインストールする、または、ネットワークを介して流通させることが可能である。   In addition, the function of the iSNS server of said 1st-3rd embodiment can be constructed | assembled as a program, and it can install in the computer utilized as an iSNS server, or can distribute | circulate it via a network.

また、構築されたプログラムをハードディスクや、フレキシブルディスク、CD−ROM等の可搬記憶媒体に格納し、コンピュータにインストールする、または、配布することが可能である。   Further, the constructed program can be stored in a portable storage medium such as a hard disk, a flexible disk, or a CD-ROM, and can be installed or distributed in a computer.

なお、本発明は、上記の実施の形態及び実施例に限定されることなく、特許請求の範囲内において種々変更・応用が可能である。   The present invention is not limited to the above-described embodiments and examples, and various modifications and applications can be made within the scope of the claims.

本発明は、複数のストレージ装置にIP接続するネットワーク内に同一の識別子を持つ複数の計算機を有するシステムにおいて、計算機を一意に識別するための技術に適用可能である。   The present invention is applicable to a technique for uniquely identifying a computer in a system having a plurality of computers having the same identifier in a network that is IP-connected to a plurality of storage apparatuses.

本発明の原理を説明するための図である。It is a figure for demonstrating the principle of this invention. 本発明の原理構成図である。It is a principle block diagram of this invention. 本発明の第1の実施の形態におけるiSNSサーバの構成図である。It is a block diagram of the iSNS server in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるiSNSサーバの動作のフローチャートである。It is a flowchart of operation | movement of the iSNS server in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるiSNSデータベースのテーブルの例である。It is an example of the table of the iSNS database in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるデバイス属性登録要求メッセージの例である。It is an example of the device attribute registration request message in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるデバイス属性登録要求メッセージを受信した場合の動作のフローチャートである。It is a flowchart of operation | movement at the time of receiving the device attribute registration request message in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるネットワークエンティティが新規登録されたiSNSデータベースの例である。It is an example of the iSNS database in which the network entity in the 1st Embodiment of this invention was newly registered. 本発明の第2の実施の形態におけるポータル登録要求メッセージの例である。It is an example of the portal registration request message in the 2nd Embodiment of this invention. 本発明の第2の実施の形態におけるポータル登録要求メッセージを受信した場合の動作のフローチャートである。It is a flowchart of operation | movement at the time of receiving the portal registration request message in the 2nd Embodiment of this invention. 本発明の第3の実施の形態におけるデバイス削除要求メッセージの例である。It is an example of the device deletion request message in the 3rd Embodiment of this invention. 本発明の第3の実施の形態におけるデバイス削除要求メッセージを受信した場合の動作のフローチャートである。It is a flowchart of operation | movement at the time of receiving the device deletion request message in the 3rd Embodiment of this invention. 従来のiSNSの構成例である。It is a structural example of the conventional iSNS.

符号の説明Explanation of symbols

10 iSNSサーバ
11 TCP接続管理部
12 デバイス属性登録部
13 デバイス削除部
14 状態変更通知登録部
15 状態変更通知削除部
16 エンティティ状態問い合わせ部
17 状態変更通知部
18 データベース検索部
19 iSNSデータベース
20 iSNSサーバ
22 登録手段、デバイス属性登録部
23 登録要求メッセージ受信手段、TCP通信部
28 データベース検索手段、データベース検索部
29 iSNSデータベース
101 iSNSクライアントA
102 iSNSクライアントB
103 iSNSクライアントC
111 NAT装置A
112 NAT装置B
DESCRIPTION OF SYMBOLS 10 iSNS server 11 TCP connection management part 12 Device attribute registration part 13 Device deletion part 14 State change notification registration part 15 State change notification deletion part 16 Entity state inquiry part 17 State change notification part 18 Database search part 19 iSNS database 20 iSNS server 22 Registration unit, device attribute registration unit 23 registration request message reception unit, TCP communication unit 28 database search unit, database search unit 29 iSNS database 101 iSNS client A
102 iSNS client B
103 iSNS client C
111 NAT device A
112 NAT device B

Claims (7)

iSNS(インターネットストレージネームサービス)クライアントとTCP(Transmission Control Protocol)接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置におけるiSNS方法であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースを有するiSNSサーバ装置において、
前記iSNSクライアントからデバイス属性登録要求メッセージを受信する登録要求メッセージ受信ステップと、
前記デバイス属性登録要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索する第1の検索ステップと、
前記デバイス属性登録要求メッセージのネットワークエンティティIDと前記iSNSデータベースの前記ネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいて前記iSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得する第2の検索ステップと、
前記第2の検索ステップで取得した前記iSCSI名と前記デバイス属性登録要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、該デバイス属性登録要求メッセージの内容で前記iSNSデータベースを更新し、一致しない場合は、該デバイス要求メッセージの内容を新たに該iSNSデータベースに登録するデータベース更新ステップと、
を行うことを特徴とするiSNS方法。
iSNS (Internet Storage Name Service) client establishes TCP (Transmission Control Protocol) connection, performs iSNS communication using the TCP connection, and updates the iSNS database when there are multiple computer terminals with the same identifier in the network An iSNS method in an iSNS server device that performs a search,
In an iSNS server device having an iSNS database storing a network entity table and an iSCSI node table,
A registration request message receiving step of receiving a device attribute registration request message from the iSNS client;
A first search step of searching an iSNS database based on a network entity ID of the device attribute registration request message;
If the network entity ID of the device attribute registration request message matches the network entity ID of the network entity table of the iSNS database, the iSCSI node is based on the network entity index corresponding to the network entity ID of the network entity table. Searching a table, obtaining an iSCSI node index corresponding to the network entity index, and obtaining an iSCSI name of the ISCSI node index;
It is determined whether the iSCSI name acquired in the second search step matches the iSCSI name included in the device attribute registration request message. If they match, the iSNS database is updated with the content of the device attribute registration request message. If they do not match, a database update step for newly registering the contents of the device request message in the iSNS database;
ISNS method characterized by performing.
iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置におけるiSNS方法であって、
ネットワークエンティティテーブル及び、ポータルテーブルを格納したiSNSデータベースを有するiSNSサーバ装置において、
新たなポータルを登録するデバイス属性登録要求メッセージを受信する受信ステップと、
前記デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートに基づいて、iSNSデータベースを検索する第1の検索ステップと、
前記デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートと前記iSNSデータベースの前記ポータルテーブルのポータルIPアドレス並びに、ポータルTCPポートが一致する場合には、該ポータルテーブルのポータルIPアドレスとポータルTCPポートに対応するネットワークエンティティインデックスを前記ネットワークエンティティテーブルから検索する第2の検索ステップと、
前記デバイス属性登録要求メッセージに含まれるiSCSI名に基づいて前記iSCSIノードテーブルから対応するネットワークエンティティインデックスを検索する第3の検索ステップと、
前記第2及び前記第3の検索ステップで取得した前記ネットワークエンティティインデックスが一致するか判定し、一致する場合は、該デバイス属性登録要求メッセージの内容で前記iSNSデータベースを更新し、一致しない場合は、該デバイス属性登録要求メッセージの内容を新たに該iSNSデータベースに登録するデータベース更新ステップと、
を行うことを特徴とするiSNS方法。
An iSNS method in an iSNS server device that establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network. There,
In an iSNS server device having an iSNS database storing a network entity table and a portal table,
A receiving step of receiving a device attribute registration request message for registering a new portal;
A first search step of searching an iSNS database based on a portal IP address of the device attribute registration request message and a portal TCP port;
If the portal IP address and portal TCP port of the device attribute registration request message match the portal IP address and portal TCP port of the portal table of the iSNS database, the portal IP address and portal TCP port of the portal table A second search step of searching the network entity table for a network entity index corresponding to
A third search step of searching a corresponding network entity index from the iSCSI node table based on an iSCSI name included in the device attribute registration request message;
It is determined whether or not the network entity indexes acquired in the second and third search steps match, and if they match, the iSNS database is updated with the content of the device attribute registration request message. A database update step for newly registering the contents of the device attribute registration request message in the iSNS database;
ISNS method characterized by performing.
iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置におけるiSNS方法であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースを有するiSNSサーバ装置において、
前記iSNSクライアントからデバイス削除要求メッセージを受信する削除要求メッセージ受信ステップと、
前記デバイス削除要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索する第1の検索ステップと、
前記デバイス削除要求メッセージのネットワークエンティティIDと前記iSNSデータベースの前記ネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいて前記iSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得する第2の検索ステップと、
前記第2の検索ステップで取得した前記iSCSI名と前記デバイス削除要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、前記前記iSNSデータベースの前記ネットワークエンティティテーブル、前記iSCSIノードテーブルから前記ネットワークエンティティインデックスに対応する情報を削除する削除ステップと、
を行うことを特徴とするiSNS方法。
An iSNS method in an iSNS server device that establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network. There,
In an iSNS server device having an iSNS database storing a network entity table and an iSCSI node table,
A deletion request message receiving step of receiving a device deletion request message from the iSNS client;
A first search step of searching an iSNS database based on a network entity ID of the device deletion request message;
If the network entity ID of the device deletion request message matches the network entity ID of the network entity table of the iSNS database, the iSCSI node table is based on the network entity index corresponding to the network entity ID of the network entity table. A second search step of obtaining an iSCSI node index corresponding to the network entity index and obtaining an iSCSI name of the ISCSI node index;
It is determined whether the iSCSI name acquired in the second search step matches the iSCSI name included in the device deletion request message. If they match, from the network entity table and the iSCSI node table of the iSNS database. A deletion step of deleting information corresponding to the network entity index;
ISNS method characterized by performing.
iSNS(インターネットストレージネームサービス)クライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースと、
前記iSNSクライアントからデバイス属性登録要求メッセージを受信する登録要求メッセージ受信手段と、
前記デバイス属性登録要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索し、該デバイス属性登録要求メッセージのネットワークエンティティIDと前記iSNSデータベースの前記ネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいて前記iSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得するデータベース検索手段と、
前記データベース検索手段で取得した前記iSCSI名と前記デバイス属性登録要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、該デバイス属性登録要求メッセージの内容で前記iSNSデータベースを更新し、一致しない場合は、該デバイス要求メッセージの内容を新たに該iSNSデータベースに登録する登録手段と、
を有することを特徴とするiSNSサーバ装置。
An iSNS (Internet Storage Name Service) client establishes a TCP connection, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network A server device,
An iSNS database storing a network entity table and an iSCSI node table;
Registration request message receiving means for receiving a device attribute registration request message from the iSNS client;
The iSNS database is searched based on the network entity ID of the device attribute registration request message, and when the network entity ID of the device attribute registration request message matches the network entity ID of the network entity table of the iSNS database, Database search for searching the iSCSI node table based on the network entity index corresponding to the network entity ID of the network entity table, acquiring the iSCSI node index corresponding to the network entity index, and acquiring the iSCSI name of the ISCSI node index Means,
It is determined whether the iSCSI name acquired by the database search means matches the iSCSI name included in the device attribute registration request message. If they match, the iSNS database is updated with the content of the device attribute registration request message. If they do not match, registration means for newly registering the contents of the device request message in the iSNS database;
An iSNS server device characterized by comprising:
iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置であって、
ネットワークエンティティテーブル,iSCSIノードテーブル及び、ポータルテーブルを格納したiSNSデータベースと、
新たなポータルを登録するデバイス属性登録要求メッセージを受信する受信手段と、
前記デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートに基づいて、iSNSデータベースを検索する第1の検索手段と、該デバイス属性登録要求メッセージのポータルIPアドレス並びに、ポータルTCPポートと該iSNSデータベースの前記ポータルテーブルのポータルIPアドレス並びに、ポータルTCPポートが一致する場合には、該ポータルテーブルのポータルIPアドレスとポータルTCPポートに対応するネットワークエンティティインデックスを前記ネットワークエンティティテーブルから検索する第2の検索手段と、該デバイス属性登録要求メッセージに含まれるiSCSI名に基づいて前記iSCSIノードテーブルから対応するネットワークエンティティインデックスを検索する第3の検索手段と、を有するデータベース検索手段と、
前記第2及び前記第3の検索手段で取得した前記ネットワークエンティティインデックスが一致するか判定し、一致する場合は、前記デバイス属性登録要求メッセージの内容で前記iSNSデータベースを更新し、一致しない場合は、該デバイス属性登録要求メッセージの内容を新たに該iSNSデータベースに登録するデータベース更新手段と、
を有することを特徴とするiSNSサーバ装置。
An iSNS server device that establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network,
An iSNS database storing a network entity table, an iSCSI node table, and a portal table;
Receiving means for receiving a device attribute registration request message for registering a new portal;
First search means for searching an iSNS database based on a portal IP address and a portal TCP port of the device attribute registration request message; a portal IP address of the device attribute registration request message; a portal TCP port and the iSNS database When the portal IP address of the portal table and the portal TCP port match, the second search means for searching the network entity index corresponding to the portal IP address of the portal table and the portal TCP port from the network entity table And a corresponding network entity index is retrieved from the iSCSI node table based on the iSCSI name included in the device attribute registration request message. Database search means having third search means;
It is determined whether or not the network entity indexes acquired by the second and third search means match, and if they match, the iSNS database is updated with the content of the device attribute registration request message. Database update means for newly registering the contents of the device attribute registration request message in the iSNS database;
An iSNS server device characterized by comprising:
iSNSクライアントとTCP接続を確立して該TCP接続を用いたiSNS通信を行い、ネットワーク内に同一の識別子を持つ計算機端末が複数ある場合のiSNSデータベースの更新・検索を行うiSNSサーバ装置であって、
ネットワークエンティティテーブル及び、iSCSIノードテーブルを格納したiSNSデータベースと、
前記iSNSクライアントからデバイス削除要求メッセージを受信する削除要求メッセージ受信手段と、
前記デバイス削除要求メッセージのネットワークエンティティIDに基づいてiSNSデータベースを検索し、該デバイス削除要求メッセージのネットワークエンティティIDと前記iSNSデータベースの前記ネットワークエンティティテーブルのネットワークエンティティIDが一致した場合には、該ネットワークエンティティテーブルのネットワークエンティティIDに対応するネットワークエンティティインデックスに基づいて前記iSCSIノードテーブルを検索し、該ネットワークエンティティインデックスに対応するiSCSIノードインデックスを取得し、該ISCSIノードインデックスのiSCSI名を取得するデータベース検索手段と、
前記データベース検索手段で取得した前記iSCSI名と前記デバイス削除要求メッセージに含まれるiSCSI名が一致するか判定し、一致する場合は、前記前記iSNSデータベースの前記ネットワークエンティティテーブル、前記iSCSIノードテーブルから前記ネットワークエンティティインデックスに対応する情報を削除する削除手段と、
を有することを特徴とするiSNSサーバ装置。
An iSNS server device that establishes a TCP connection with an iSNS client, performs iSNS communication using the TCP connection, and updates / searches an iSNS database when there are a plurality of computer terminals having the same identifier in the network,
An iSNS database storing a network entity table and an iSCSI node table;
Delete request message receiving means for receiving a device delete request message from the iSNS client;
The iSNS database is searched based on the network entity ID of the device deletion request message, and when the network entity ID of the device deletion request message matches the network entity ID of the network entity table of the iSNS database, the network entity Database search means for searching the iSCSI node table based on a network entity index corresponding to a network entity ID of the table, acquiring an iSCSI node index corresponding to the network entity index, and acquiring an iSCSI name of the ISCSI node index; ,
It is determined whether the iSCSI name acquired by the database search means matches the iSCSI name included in the device deletion request message. If they match, the network entity table and the iSCSI node table of the iSNS database are used for the network. A deletion means for deleting information corresponding to the entity index;
An iSNS server device characterized by comprising:
コンピュータを、
請求項4乃至6記載のiSNSサーバ装置として機能させることを特徴とするプログラム。
Computer
A program that functions as the iSNS server device according to claim 4.
JP2007120831A 2007-05-01 2007-05-01 Internet storage name service method, internet storage name service server device and program Pending JP2008276604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007120831A JP2008276604A (en) 2007-05-01 2007-05-01 Internet storage name service method, internet storage name service server device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007120831A JP2008276604A (en) 2007-05-01 2007-05-01 Internet storage name service method, internet storage name service server device and program

Publications (1)

Publication Number Publication Date
JP2008276604A true JP2008276604A (en) 2008-11-13

Family

ID=40054464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007120831A Pending JP2008276604A (en) 2007-05-01 2007-05-01 Internet storage name service method, internet storage name service server device and program

Country Status (1)

Country Link
JP (1) JP2008276604A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109373506A (en) * 2018-10-29 2019-02-22 珠海格力电器股份有限公司 A kind of control method and system of air-conditioning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6010025459, Internet Storage Name Service (iSNS), 20050930, US, IETF *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109373506A (en) * 2018-10-29 2019-02-22 珠海格力电器股份有限公司 A kind of control method and system of air-conditioning

Similar Documents

Publication Publication Date Title
EP3311544B1 (en) Managing dynamic ip address assignments
US8423581B2 (en) Proxy support for special subtree entries in a directory information tree using attribute rules
EP1589691B1 (en) Method, system and apparatus for managing computer identity
US7469260B2 (en) File storage service system, file management device, file management method, ID denotative NAS server and file reading method
TWI734744B (en) Method, device and system for synchronizing routing table
JP5932841B2 (en) Site-aware access to distributed file systems from outside the corporate network
JP2005332220A5 (en)
JP2006252085A (en) File server for converting user identification information
JP2011192238A (en) Device management apparatus, device management system, information management method, information management program, and recording medium with the program recorded therein
JP5146020B2 (en) Information processing apparatus, resource identification program, and resource identification method
US9300522B2 (en) Information technology asset management
JP6022218B2 (en) Method and apparatus for communication between content requester and content respondent in network based on hierarchical name structure
JP2016144186A (en) Communication information controller, relay system, communication information control method, and communication information control program
US9607072B2 (en) System and method for implementing nested relationships within a schemaless database
JP4272105B2 (en) Storage group setting method and apparatus
CN107395645B (en) For fire wall system and method and be stored with the medium of corresponding program
JP2003101566A (en) Network equipment management method and system
JP2008276604A (en) Internet storage name service method, internet storage name service server device and program
JP4485875B2 (en) Storage connection changing method, storage management system and program
JP2007328736A (en) Resource retrieval system
Cisco Database Tables
JP2002183138A (en) System and method for collecting information, and storage medium
JP5466191B2 (en) Access control system, server management device, data storage device, access control method, server management program, and data storage program
CN107846290B (en) Topological relation management method and management equipment
JP2022162518A (en) Program for determining target device information using response of device, apparatus and method, and database construction apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100720

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110104