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
JP4675664B2 - Processor load balancing system and processor load balancing method - Google Patents
[go: Go Back, main page]

JP4675664B2 - Processor load balancing system and processor load balancing method - Google Patents

Processor load balancing system and processor load balancing method Download PDF

Info

Publication number
JP4675664B2
JP4675664B2 JP2005111480A JP2005111480A JP4675664B2 JP 4675664 B2 JP4675664 B2 JP 4675664B2 JP 2005111480 A JP2005111480 A JP 2005111480A JP 2005111480 A JP2005111480 A JP 2005111480A JP 4675664 B2 JP4675664 B2 JP 4675664B2
Authority
JP
Japan
Prior art keywords
port
target image
initiator
information table
connection
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
JP2005111480A
Other languages
Japanese (ja)
Other versions
JP2006293570A (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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Computer Peripherals Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Computer Peripherals Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP2005111480A priority Critical patent/JP4675664B2/en
Publication of JP2006293570A publication Critical patent/JP2006293570A/en
Application granted granted Critical
Publication of JP4675664B2 publication Critical patent/JP4675664B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、複数のイニシエータから複数のポートを介して複数のターゲットにアクセスするコンピュータシステムにおけるプロセッサ負荷分散システム及びプロセッサ負荷分散方法に係り、具体的には、複数のポートを搭載したiSCSI記憶装置に複数のホストからアクセスを行う際のポートを介する負荷を分散することができるプロセッサ負荷分散システム及びプロセッサ負荷分散方法に関する。   The present invention relates to a processor load distribution system and a processor load distribution method in a computer system that accesses a plurality of targets from a plurality of initiators via a plurality of ports. Specifically, the present invention relates to an iSCSI storage device equipped with a plurality of ports. The present invention relates to a processor load distribution system and a processor load distribution method capable of distributing loads via ports when accessing from a plurality of hosts.

近年、コンピュータシステムの外部記憶装置としては、多数の磁気ディスク装置を内蔵したストレージシステムが知られている。このストレージシステムは、多数の磁気ディスク装置を内蔵し、RAIDと呼ばれる複数の磁気ディスク装置を組み合わせて冗長化した磁気ディスク装置として管理する技術が採用され、例えばネットワークシステムに接続され、多数のホストコンピュータ(以下、ホストと呼ぶ)からデータの記憶領域として使用されている。   In recent years, as an external storage device of a computer system, a storage system incorporating a large number of magnetic disk devices is known. This storage system incorporates a large number of magnetic disk devices and employs a technology for managing as a redundant magnetic disk device by combining a plurality of magnetic disk devices called RAID. For example, the storage system is connected to a network system and is connected to a large number of host computers. (Hereinafter referred to as a host) is used as a data storage area.

このストレージシステムは、外部接続用の複数のポートが用意され、任意のホストからスイッチを介して任意のポートを介して任意の磁気ディスク装置にアクセスするように構成されている。   This storage system has a plurality of ports for external connection, and is configured to access an arbitrary magnetic disk device from an arbitrary host via an arbitrary port via a switch.

一方、前記ストレージシステムをネットワーク接続する技術して、近年、「iSCSI(アイスカジー)」と呼ばれる技術が提案されている。このiSCSIとは、SCSIコマンドやデータをTCP/IPパケットの伝送フレーム中に包み込み(SCSIコマンド等を外部から隠蔽)、ストレージシステムをネットワーク網に直結して、ストレージシステムとホスト間におけるSCSIコマンドをIPネットワーク経由で送受信を行うための規格である。   On the other hand, a technique called “iSCSI (ice caddy)” has recently been proposed as a technique for connecting the storage systems to the network. This iSCSI wraps a SCSI command and data in a TCP / IP packet transmission frame (hides the SCSI command and the like from the outside), connects the storage system directly to the network, and transfers the SCSI command between the storage system and the host to the IP. This is a standard for sending and receiving over a network.

他方、例えば複数のサーバにネットワークを介して複数のクライアントがアクセスするコンビュータシステムにおいて、特定のサーバに負荷が集中することを防止するため、接続状態の負荷を監視し、監視した負荷状態に応じて負荷を分散する技術が記載された文献としては、例えば下記特許公報が挙げられる。
特開平10−312365号公報 特開平11−187340号公報
On the other hand, for example, in a computer system in which a plurality of clients access a plurality of servers via a network, in order to prevent the load from being concentrated on a specific server, the load in the connection state is monitored, and according to the monitored load state As a document describing a technique for distributing a load, for example, the following patent publications can be cited.
JP 10-31365 A JP-A-11-187340

前述のストレージシステムをネットワークを介して複数のホストとiSCSI接続を行うシステムにおいては、前記iSCSIシステムの接続情報を管理するiSNSサーバがホスト(イニシエータとも呼ぶ)からの問い合わせに対して予め設定されている磁気ディスク装置(ターゲットとも呼ぶ)の一覧を返し、ホストが前記一覧から任意の磁気ディスク装置(ターゲット)のポートを選択してデータの送受信を行うように構成されているため、あるポートに多数のホストが接続されて当該ポートのプロセッサ負荷が増大し、ネットワークにおけるデータ送受信効率が低下する可能性があると言う不具合があった。   In a system in which the storage system described above is connected to a plurality of hosts via a network via iSCSI, an iSNS server that manages connection information of the iSCSI system is set in advance in response to an inquiry from the host (also referred to as an initiator). A list of magnetic disk devices (also called targets) is returned, and the host selects an arbitrary magnetic disk device (target) port from the list to send and receive data. There is a problem that the host is connected and the processor load of the port increases, which may reduce the data transmission / reception efficiency in the network.

他方、前述した一般のコンピュータシステムにおける負荷分散の手法は、データ転送路に負荷を監視する専用装置を設け、この監視専用装置が負荷分散を制御するものであるが、前述したストレージシステム内部における特定のポートに対する負荷分散を行うことは考慮されておらず、前記特定のポートに対して負荷が集中する可能性があると言う不具合があった。   On the other hand, the load distribution method in the general computer system described above has a dedicated device for monitoring the load in the data transfer path, and this dedicated monitoring device controls the load distribution. However, there is a problem that there is a possibility that the load is concentrated on the specific port.

本発明の目的は、前述の従来技術による不具合を除去することであり、iSCSI技術を用いてネットワーク接続されたストレージシステム内部における特定のポートに対する負荷集中を防止し、負荷分散を行うことができるプロセッサ負荷分散システム及びプロセッサ負荷分散方法を提供することである。   An object of the present invention is to eliminate the above-mentioned problems caused by the prior art, and a processor capable of preventing load concentration on a specific port in a network-connected storage system using iSCSI technology and performing load distribution. A load distribution system and a processor load distribution method are provided.

前記目的を達成するため請求項1記載の発明は、複数のポート及び該ポートを介した複数のターゲットイメージを備え、接続中イニシエータとの動的な接続状態を表す接続情報を含む構成情報テーブルを含むiSCS装置と、該iSCS装置に対して前記ポートを介して接続する複数のイニシエータと、前記iSCS装置のポートとターゲットイメージとの物理的接続状態を表す登録接続情報を格納した登録情報テーブルを含むiSNSサーバを備え、イニシエータが前記iSNSサーバの登録情報テーブルを参照してiSCS装置のターゲットイメージに接続するコンピュータシステムにおけるプロセッサ負荷分散システムであって、
ポートの制御を行うプロセッサが構成情報テーブルの接続情報を参照し、ポートに所定閾値以上の負荷を検出したとき、前記登録情報テーブルの登録接続情報から前記特定のポートに接続されているターゲットイメージとの登録情報を削除すると共に、当該ターゲットイメージが接続されているポートとイニシエータとの接続を切断し、該切断したイニシエータが前記登録情報テーブルを参照して当該ターゲットイメージに経路を切り替えて再接続するように制御することを第1の特徴とする。
In order to achieve the above object, the invention according to claim 1 includes a configuration information table including a plurality of ports and a plurality of target images via the ports, and including connection information indicating a dynamic connection state with the connected initiator. A registration information table storing registration connection information representing a physical connection state between the iSCSI server, the plurality of initiators connected to the iSCSI device via the port, and the port of the iSCSI device and the target image; a processor load balancing system in a computer system comprising an iSNS server, wherein an initiator refers to a registration information table of the iSNS server and connects to a target image of an iSCS device;
When the processor that controls the port refers to the connection information in the configuration information table and detects a load of a predetermined threshold or more on the port, the target image connected to the specific port from the registered connection information in the registration information table The registration information is deleted, the connection between the port to which the target image is connected and the initiator is disconnected, and the disconnected initiator refers to the registration information table and switches the path to the target image to reconnect. Such control is the first feature.

請求項2記載の発明は、複数のポート及び該ポートを介した複数のターゲットイメージを備え、接続中イニシエータとの動的な接続状態を表す接続情報を含む構成情報テーブルを含むiSCS装置と、該iSCS装置に対して前記ポートを介して接続する複数のイニシエータと、前記iSCS装置のポートとターゲットイメージとの物理的接続状態を表す登録接続情報を格納した登録情報テーブルiSNSサーバとを備え、イニシエータが前記iSNSサーバの登録情報テーブルを参照してiSCS装置のターゲットイメージに接続するコンピュータシステムにおけるプロセッサ負荷分散方法であって、
ポートの制御を行うプロセッサが構成情報テーブルの接続情報を参照して特定のポートに所定閾値以上の接続が行われているとき、前記登録情報テーブルの登録接続情報から前記特定のポートに接続されているターゲットイメージとの登録情報を削除する工程と、当該ターゲットイメージが接続されているポートとイニシエータとの接続を切断する工程と、該切断したイニシエータが前記登録情報テーブルを参照してターゲットイメージと接続する工程とを実行することを特徴とする。
The invention according to claim 2 includes an iSCSI system including a configuration information table including a plurality of ports and a plurality of target images via the ports and including connection information indicating a dynamic connection state with the connected initiator, a plurality of initiators connected to the iSCSI device via the port, and a registration information table iSNS server storing registered connection information indicating a physical connection state between the port of the iSCSI device and the target image. A processor load distribution method in a computer system for referring to a registration information table of the iSNS server and connecting to a target image of an iSCSI device,
When the processor that controls the port refers to the connection information in the configuration information table and the connection to the specific port is greater than or equal to a predetermined threshold, the processor is connected to the specific port from the registered connection information in the registration information table. Deleting the registration information with the target image, disconnecting the connection between the port to which the target image is connected and the initiator, and connecting the target image with the disconnected initiator referring to the registration information table And performing the process .

本発明によるプロセッサ負荷分散システム及びプロセッサ負荷分散方法は、過負荷のポートを検出し、過負荷ポートが検出されたとき、前記登録情報テーブルの登録接続情報から前記特定のポートに接続されているターゲットイメージとの登録接続情報を削除すると共に、当該ターゲットイメージが接続されているポートとイニシエータとの接続を切断し、該切断したイニシエータが前記登録情報テーブルを参照してターゲットイメージと接続するように制御することによって、ポートのプロセッサへの過負荷を分散することができる。   The processor load distribution system and the processor load distribution method according to the present invention detect an overload port, and when an overload port is detected, a target connected to the specific port from the registered connection information in the registration information table. Deletes the registered connection information with the image, disconnects the connection between the port to which the target image is connected and the initiator, and controls the disconnected initiator to connect to the target image with reference to the registration information table By doing so, it is possible to distribute the overload to the processor of the port.

以下、本発明の一実施形態によるプロセッサ負荷分散システム及びプロセッサ負荷分散方法を図面を参照して詳細に説明する。図1は本発明によるプロセッサ負荷分散方法を適用したプロセッサ負荷分散システムの全体構成を説明するための図、図2は本実施形態によるiSCSIストレージの構成情報テーブルを示す図、図3は本実施形態によるiSNSサーバの登録情報テーブルを示す図、図4は本実施形態によるポート切り替え時のフローチャート図、図5は本実施形態による同切り替え時のiSNSサーバ動作フローチャート図、図6は本実施形態によるログアウト受信時のイニシエータ動作フローチャート図、図7は同切り替え時のシーケンス図、図8〜図13は本実施形態によるプロセッサ負荷分散システムの動作説明図。   Hereinafter, a processor load distribution system and a processor load distribution method according to an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram for explaining the overall configuration of a processor load balancing system to which a processor load balancing method according to the present invention is applied, FIG. 2 is a diagram showing a configuration information table of iSCSI storage according to the present embodiment, and FIG. 4 shows a registration information table of the iSNS server according to the present embodiment, FIG. 4 is a flow chart at the time of port switching according to the present embodiment, FIG. 5 is a flow chart of the iSNS server operation at the time of the switching according to the present embodiment, and FIG. FIG. 7 is a sequence diagram at the time of switching, and FIGS. 8 to 13 are operation explanatory diagrams of the processor load distribution system according to the present embodiment.

本実施形態によるプロセッサ負荷分散システムは、図1に示す如く、複数のホストに相当するイニシエータ10a〜10cと、該イニシエータ10a〜10cとスイッチ20を介して接続され、この接続中の情報を管理するiSCSIストレージシステム40とiSNSサーバ30とから構成され、前記iSCSIストレージシステム40は、磁気ディスク装置に相当する複数のターゲットイメージ43a〜43cと、前記スイッチ20と接続するポート41a〜41bと、該ポート41aに設けられたプロセッサ42aと、前ポート41bに設けられたプロセッサ42bとから成り、プロセッサ42a及びプロセッサ42bが個々にターゲットイメージ43a〜43cに接続する様に構成されている。   As shown in FIG. 1, the processor load distribution system according to the present embodiment is connected to initiators 10a to 10c corresponding to a plurality of hosts, and the initiators 10a to 10c via a switch 20, and manages information during the connection. The iSCSI storage system 40 includes an iSCSI storage system 40 and an iSNS server 30. The iSCSI storage system 40 includes a plurality of target images 43a to 43c corresponding to a magnetic disk device, ports 41a to 41b connected to the switch 20, and the port 41a. And the processor 42b provided in the front port 41b, and the processor 42a and the processor 42b are individually connected to the target images 43a to 43c.

前記イニシエータ10a〜10cは、目的とするターゲットイメージ43a〜43cに対してコマンドを発行するデバイスを意味し、例えばホストコンピュータを指し、前記iSNSサーバ30は、前記iSCSIストレージシステム40における各ポート41a〜41b対応に論理的に接続されたターゲットイメージ43a〜43cの接続状態を登録接続情報として予め登録する登録情報テーブルを有し、イニシエータ10a〜10cからの問い合わせに対して前記登録情報テーブルを参照して物理的に接続可能なポートを応答として返送する機能と、前記接続情報を構成情報テーブルに格納する機能とを備える。 The initiators 10a to 10c refer to devices that issue commands to target target images 43a to 43c. For example, the initiators 10a to 10c indicate host computers. The iSNS server 30 includes ports 41a to 41b in the iSCSI storage system 40. Corresponding logically connected target images 43a to 43c having a registration information table for registering in advance as registration connection information, and referring to the registration information table for inquiries from the initiators 10a to 10c. A function for returning a connectable port as a response, and a function for storing the connection information in a configuration information table.

前記登録情報は、例えば図2に示す如く、iSCSIストレージシステム40のポート41a〜41bのIPアドレスである[ポート情報]と、ターゲットイメージ43a〜43cのiSCSIネームである[ターゲット情報]と、どのイニシエータがどのターゲットイメージにログインしているかを管理するための[ログイン中イニシエータ情報]とを含むiSCSIストレージ構成情報テーブルと、図3に示す如く、ターゲットイメージ(iSCSIネーム)対応のIPアドレスを格納したiSNSサーバ登録情報テーブルとから成る。iSCSIストレージ構成情報テーブルはiSCSIストレージシステム40(iSCSI装置)が管理し、iSNSサーバ登録情報はiSNSサーバ30が管理し、各々に含まれる。iSNSサーバ30は、iSCSIストレージシステム40からの要求にしたがってiSNSサーバ登録情報の更新を行う。   For example, as shown in FIG. 2, the registration information includes [port information] that is the IP address of the ports 41a to 41b of the iSCSI storage system 40, [target information] that is the iSCSI name of the target images 43a to 43c, and which initiator. An iSCSI storage configuration information table including [initiator information during login] for managing which target image is logged in, and an iSNS storing an IP address corresponding to the target image (iSCSI name) as shown in FIG. It consists of a server registration information table. The iSCSI storage configuration information table is managed by the iSCSI storage system 40 (iSCSI device), and the iSNS server registration information is managed by the iSNS server 30 and is included in each. The iSNS server 30 updates the iSNS server registration information in accordance with a request from the iSCSI storage system 40.

さて、この様に構成された本実施形態によるプロセッサ負荷分散システムは、例えば図8に示す如く、イニシエータ10a〜10cがスイッチ20及びポート41aを介して3台のターゲットイメージ43a〜43cに接続されている場合、前述のiSCSIストレージ構成情報テーブルに、符号501で示す如く、[ログイン中イニシエータ情報]において全イニシエータ10a〜10cがポート41aを介して接続されていることを登録する。   Now, in the processor load distribution system according to the present embodiment configured as described above, for example, as shown in FIG. 8, the initiators 10a to 10c are connected to the three target images 43a to 43c via the switch 20 and the port 41a. In the above-described iSCSI storage configuration information table, as indicated by reference numeral 501, it is registered that all the initiators 10a to 10c are connected via the port 41a in [Initiator information during login].

この状態において本プロセッサ負荷分散システムは、図4に示す如く、ポート41aに対して過負荷状態か否かを判定(ステップ101)し、過負荷状態と判定した場合、前記iSCSIストレージ構成情報テーブル105を参照して、接続しているイニシエータの検索を行う処理(ステップ102)を実行し、次いで接続イニシエータの切り替え優先順位(切り替えを行っても支障が少ないイニシエータ選択の優先順位)を決定する処理(ステップ103)と、この優先順位が高いターゲットイメージがイニシエータ10aと決定したとき、当該イニシエータ10aがログインしているターゲットイメージを検索する処理(ステップ104)を実行する。この検索を基に本システムは、ターゲットイメージ43aが複数のポートに接続されたターゲットであるか否かを判定(ステップ105)し、次いで切り替え先のポートが過負荷か否かを判定するためにポート41bの負荷が閾値(例えば2)以下か否か判定(ステップ106)する。この負荷監視はポートの制御を行うプロセッサが行う。   In this state, as shown in FIG. 4, the processor load distribution system determines whether or not the port 41a is overloaded (step 101). If it is determined that the port 41a is overloaded, the iSCSI storage configuration information table 105 is determined. , A process for searching for connected initiators (step 102) is executed, and then a switching priority order of connected initiators (priority order for selecting an initiator with little trouble even if switching is performed) is determined ( Step 103), and when the target image having a higher priority is determined to be the initiator 10a, a process of searching for the target image to which the initiator 10a is logged in (step 104) is executed. Based on this search, the system determines whether or not the target image 43a is a target connected to a plurality of ports (step 105), and then determines whether or not the switching destination port is overloaded. It is determined whether the load of the port 41b is equal to or less than a threshold value (for example, 2) (step 106). This load monitoring is performed by the processor that controls the port.

この判定の結果、ポート41bの負荷が閾値以下の場合、本システムは、iSNSサーバ30に、登録情報削除要求(図9のテーブル502の最上段の項目[1]:ターゲットイメージ43a[eui.0001]のポートのIPアドレス[102.168.0.100]を介する設定の削除要求)を発する(ステップ107)。この登録情報削除要求を受けたiSNSサーバ30は、図5の符号Aに示す如く、登録情報削除要求の有無の判定(ステップ205)を行い、当該ターゲット情報(図9の情報テーブル502の項目[1])の削除(図9の「[3]情報削除」)を実行する。   As a result of this determination, if the load on the port 41b is equal to or less than the threshold, the system sends a registration information deletion request (the uppermost item [1] of the table 502 in FIG. 9: target image 43a [eu.0001] to the iSNS server 30. ] (Setting deletion request via the IP address [102.168.100] of the port) (step 107). Upon receiving this registration information deletion request, the iSNS server 30 determines whether or not there is a registration information deletion request (step 205) as indicated by reference symbol A in FIG. 1]) (“[3] Information deletion” in FIG. 9) is executed.

次いで本プロセッサ負荷分散システムは、図4に戻ってターゲットイメージ43aがイニシエータ10aに対するログアウトを発行(ステップ108、図10の「[4]ログアウト発行」を参照)する。このログアウトを受けたイニシエータ10aは、図6の符号Bに示す如く、ログアウトの受領の有無を判定(ステップ301)し、指定されたターゲットイメージに対するコネクションの切断処理(ステップ302、図6の「[5]コネクション切断処理」)を行った後に、iSNSサーバ30にターゲット情報の取得要求(ステップ303)を行い、この取得要求を受けたiSNSサーバ30が、図5の符号Dに示す如く、情報取得要求の有無を判定(ステップ201)を経てターゲット情報の送信処理(ステップ202)を実行する。   Next, the processor load distribution system returns to FIG. 4, and the target image 43a issues a logout to the initiator 10a (see step 108, “[4] logout issue” in FIG. 10). Upon receiving this logout, the initiator 10a determines whether or not a logout has been received (step 301) and disconnects the connection to the specified target image (step 302, “[ 5] Connection disconnection processing ”), the target information acquisition request (step 303) is made to the iSNS server 30, and the iSNS server 30 that has received this acquisition request acquires the information as indicated by reference numeral D in FIG. After determining whether there is a request (step 201), a target information transmission process (step 202) is executed.

このターゲット情報の送信処理を受けたイニシエータ10aは、図6の符号Eに示す如く、ターゲット情報取得処理304及びターゲットへのログイン処理(図11の「[7]情報取得」)を実行し、イニシエータ10aがiSNSサーバ登録情報テーブル502を参照した際に前記項目[1]が削除されているため次の項目[2]、即ちポート41bを介する登録情報が参照されることによりターゲットの決定(図12の「[8]ログイン先ターゲット決定」)を行い、ポート41bを介してターゲットイメージ43aへ再接続を行う(ステップ305、図12の「[9]ログイン処理」)。   The initiator 10a that has received this target information transmission processing executes target information acquisition processing 304 and target login processing ("[7] information acquisition" in FIG. 11) as shown by symbol E in FIG. Since the item [1] is deleted when the 10a refers to the iSNS server registration information table 502, the target is determined by referring to the next item [2], that is, the registration information via the port 41b (FIG. 12). [[8] Login destination target determination] and reconnects to the target image 43a via the port 41b (step 305, "[9] login process" in FIG. 12).

このように即ち本実施形態によるプロセッサ負荷分散システムは、過負荷のポートを検出し、過負荷ポートが検出されたとき、当該過負荷ポートに接続されているイニシエータとポートとの関係を登録した情報テーブル502の一部を削除すると共に、ターゲットイメージ側からイニシエータに対してログオフを行なうことを契機にイニシエータが再度ログオンを行い、この再度ログオン時に参照される情報テーブル502には前記過負荷状態であった登録情報(イニシエータとポートとの関係を示す項目[1])が削除されているため、イニシエータ10aが前記登録情報中からターゲットイメージ43a(eui.0001)が接続されている他の登録情報、具体的には図9の登録情報テーブル502の項目[2]を選択してログオンを行うことによって、ポートプロセッサ42aの過負荷を分散することができる。   In this way, that is, the processor load distribution system according to the present embodiment detects an overload port, and when an overload port is detected, information that registers the relationship between the initiator and the port connected to the overload port. In addition to deleting a part of the table 502, the initiator logs on again when the target image side logs off the initiator, and the information table 502 referred to at the time of logging on again is in the overload state. Since the registration information (item [1] indicating the relationship between the initiator and the port) has been deleted, other registration information to which the initiator 10a is connected to the target image 43a (eui.0001) from the registration information, Specifically, log on by selecting item [2] in registration information table 502 of FIG. By Ukoto, it is possible to distribute the overload of the port processor 42a.

他方、図4に戻り、前記ステップ105又は106において、ターゲットイメージ43aが複数ポートに接続されていない又は負荷が閾値以下と判定した場合、本システムは、ステップ103で決定した優先順位に従って他のイニシエータに対して前記ステップ101〜108を繰り返して実行するため処理対象とするイニシエータの切り替え処理(ステップ109)を行う。   On the other hand, returning to FIG. 4, if it is determined in step 105 or 106 that the target image 43 a is not connected to a plurality of ports or the load is equal to or lower than the threshold value, the system determines other initiators according to the priority order determined in step 103. On the other hand, an initiator switching process (step 109) to be processed is performed in order to repeatedly execute steps 101 to 108.

また本システムは、前記ステップ101において、ポート41aが過負荷状態でないと判定した場合、ポート41aの負荷が閾値以下か否かの判定(ステップ110)を行い、閾値以下と判定したとき、前記ステップ107等による登録削除中のターゲットイメージがあるか否かを判定(ステップ111)し、あると判定したときにiSNSサーバ30に前記過負荷が解消されたポートとターゲットイメージの組合せの登録情報(登録情報テーブル502の項目[1])の情報登録の要求(ステップ112)を行い、この要求によって、iSNSサーバ30が、図5の符号Cに示す如く、情報登録要求の有無を判定(ステップ203)を行ってから前記ターゲット情報登録の処理(ステップ204、図13の「[10]情報登録要求」)を行い、これによって過負荷状態でないポートの登録情報を復帰することができる。本実施形態によるプロセッサ負荷分散システムによる前述の一連の動作は、図7に示す如く、イニシエータ10a〜10cからのポート41aを介するターゲットイメージ43a〜43cにログインを行っているポート41aのプロセッサ過負荷の状態において、当該過負荷状態を検出し、ポート切り替えを行うイニシエータを優先順位の判定に応じて決定し、ターゲット43a自身が当該接続の登録情報を削除する要求を行い、これに応じてiSNSサーバ30の該当の登録情報を削除してから当該ポート41aを介したターゲットイメージ43aの接続を切断し、イニシエータ10aが再度の接続を行う際にポート41bを介する接続を確立し、従ってポートの過負荷を回避することができる。   Further, when it is determined in step 101 that the port 41a is not in an overload state, the system determines whether or not the load of the port 41a is equal to or less than a threshold value (step 110). It is determined whether or not there is a target image whose registration has been deleted by 107 or the like (step 111). The information registration request (step 112) of the item [1]) of the information table 502 is made, and the iSNS server 30 determines whether or not there is an information registration request as shown by reference C in FIG. 5 (step 203). After performing the target information registration process (step 204, “[10] Information registration request” in FIG. 13). It can thereby return port registration information is not overloaded. The above-described series of operations by the processor load distribution system according to the present embodiment is performed as shown in FIG. In the state, the overload state is detected, the initiator that performs the port switching is determined according to the priority determination, and the target 43a itself makes a request to delete the registration information of the connection, and the iSNS server 30 responds accordingly. After the corresponding registration information is deleted, the connection of the target image 43a through the port 41a is disconnected, and when the initiator 10a performs the connection again, the connection through the port 41b is established, so that the port is overloaded. It can be avoided.

以上述べた如く本実施形態によれば、iSCSIストレージシステム40の各ポート41a及び41bを介するイニシエータ10a〜10cからの接続状態を監視し、あるポートを介するログインが所定値以上又は所定値未満の場合にiSNSサーバ30の登録情報テーブル502を動的に書き換えることによって、特定のポートへの過負荷を自動的に分散することができる。   As described above, according to the present embodiment, the connection state from the initiators 10a to 10c via the ports 41a and 41b of the iSCSI storage system 40 is monitored, and the login via a certain port is greater than or less than a predetermined value. In addition, by dynamically rewriting the registration information table 502 of the iSNS server 30, an overload to a specific port can be automatically distributed.

前記実施形態においては、本発明のプロセッサ負荷分散システム及びプロセッサ負荷分散方法を、複数の磁気ディスク装置をターゲットイメージとする例を説明したが、イニシエータ及びターゲットイメージはホストコンピュータや磁気ディスク装置に限られるものではなく、iSCSI接続が可能な多種多様な周辺機器等の制御に適用することができる。   In the above-described embodiment, the processor load distribution system and the processor load distribution method of the present invention have been described with an example in which a plurality of magnetic disk devices are used as target images, but the initiator and target image are limited to a host computer or a magnetic disk device. However, the present invention can be applied to control of a wide variety of peripheral devices capable of iSCSI connection.

本発明によるプロセッサ負荷分散方法を適用したプロセッサ負荷分散システムの全体構成を説明するための図。The figure for demonstrating the whole structure of the processor load distribution system to which the processor load distribution method by this invention is applied. 本実施形態によるiSCSIストレージの構成情報テーブルを示す図。The figure which shows the structure information table of the iSCSI storage by this embodiment. 本実施形態によるiSNSサーバの登録情報テーブルを示す図。The figure which shows the registration information table of the iSNS server by this embodiment. 本実施形態によるポート切り替え時のフローチャート図。The flowchart figure at the time of port switching by this embodiment. 本実施形態による同切り替え時のiSNSサーバ動作フローチャート図。The iSNS server operation | movement flowchart figure at the time of the switching by this embodiment. 本実施形態によるログアウト受信時のイニシエータ動作フローチャート図。The initiator operation | movement flowchart figure at the time of logout reception by this embodiment. 同切り替え時のイニシエータ動作シーケンス図。The initiator operation | movement sequence diagram at the time of the switching. 本実施形態によるプロセッサ負荷分散システムの動作説明図。Operation | movement explanatory drawing of the processor load distribution system by this embodiment. 本実施形態によるプロセッサ負荷分散システムの動作説明図。Operation | movement explanatory drawing of the processor load distribution system by this embodiment. 本実施形態によるプロセッサ負荷分散システムの動作説明図。Operation | movement explanatory drawing of the processor load distribution system by this embodiment. 本実施形態によるプロセッサ負荷分散システムの動作説明図。Operation | movement explanatory drawing of the processor load distribution system by this embodiment. 本実施形態によるプロセッサ負荷分散システムの動作説明図。Operation | movement explanatory drawing of the processor load distribution system by this embodiment. 本実施形態によるプロセッサ負荷分散システムの動作説明図。Operation | movement explanatory drawing of the processor load distribution system by this embodiment.

10a〜10c:イニシエータ、43a〜43c:ターゲットイメージ、41a〜41b:ポート、20:スイッチ、30:iSNSサーバ、40:ストレージシステム、42a:プロセッサ、42b:プロセッサ、502:サーバ登録情報テーブル、502:登録情報テーブル。
10a to 10c: initiator, 43a to 43c: target image, 41a to 41b: port, 20: switch, 30: iSNS server, 40: storage system, 42a: processor, 42b: processor, 502: server registration information table, 502: Registration information table.

Claims (2)

複数のポート及び該ポートを介した複数のターゲットイメージを備え、接続中イニシエータとの動的な接続状態を表す接続情報を含む構成情報テーブルを含むiSCS装置と、該iSCS装置に対して前記ポートを介して接続する複数のイニシエータと、前記iSCS装置のポートとターゲットイメージとの物理的接続状態を表す登録接続情報を格納した登録情報テーブルを含むiSNSサーバを備え、イニシエータが前記iSNSサーバの登録情報テーブルを参照してiSCS装置のターゲットイメージに接続するコンピュータシステムにおけるプロセッサ負荷分散システムであって、
ポートの制御を行うプロセッサが構成情報テーブルの接続情報を参照し、ポートに所定閾値以上の負荷を検出したとき、前記登録情報テーブルの登録接続情報から前記特定のポートに接続されているターゲットイメージとの登録情報を削除すると共に、当該ターゲットイメージが接続されているポートとイニシエータとの接続を切断し、該切断したイニシエータが前記登録情報テーブルを参照して当該ターゲットイメージに経路を切り替えて再接続するように制御することを特徴とするプロセッサ負荷分散システム。
An iSCSI device including a plurality of ports and a plurality of target images via the ports, and including a configuration information table including connection information indicating a dynamic connection state with the connected initiator, and the ports to the iSCSI device. And an iSNS server including a registration information table storing registration connection information representing a physical connection state between a port and a target image of the iSCSI server, and the initiator is a registration information table of the iSNS server. A processor load balancing system in a computer system connected to a target image of an iSCSI device with reference to
When the processor that controls the port refers to the connection information in the configuration information table and detects a load of a predetermined threshold or more on the port, the target image connected to the specific port from the registered connection information in the registration information table The registration information is deleted, the connection between the port to which the target image is connected and the initiator is disconnected, and the disconnected initiator refers to the registration information table and switches the path to the target image to reconnect. The processor load distribution system characterized by controlling as follows.
複数のポート及び該ポートを介した複数のターゲットイメージを備え、接続中イニシエータとの動的な接続状態を表す接続情報を含む構成情報テーブルを含むiSCS装置と、該iSCS装置に対して前記ポートを介して接続する複数のイニシエータと、前記iSCS装置のポートとターゲットイメージとの物理的接続状態を表す登録接続情報を格納した登録情報テーブルiSNSサバとを備え、イニシエータが前記iSNSサーバの登録情報テーブルを参照してiSCS装置のターゲットイメージに接続するコンピュータシステムにおけるプロセッサ負荷分散方法であって、
ポートの制御を行うプロセッサが構成情報テーブルの接続情報を参照して特定のポートに所定閾値以上の接続が行われているとき、前記登録情報テーブルの登録接続情報から前記特定のポートに接続されているターゲットイメージとの登録情報を削除する工程と、当該ターゲットイメージが接続されているポートとイニシエータとの接続を切断する工程と、該切断したイニシエータが前記登録情報テーブルを参照してターゲットイメージと接続する工程とを実行することを特徴とするプロセッサ負荷分散方法。
An iSCSI device including a plurality of ports and a plurality of target images via the ports, and including a configuration information table including connection information indicating a dynamic connection state with the connected initiator, and the ports to the iSCSI device. a plurality of initiators connected through the a registration information table iSNS servers that the registration connection information indicating a physical connection state stored in the port and the target image iSCS device, registration initiator of the iSNS server information A processor load balancing method in a computer system for referring to a table and connecting to a target image of an iSCSI device, comprising:
When the processor that controls the port refers to the connection information in the configuration information table and the connection to the specific port is greater than or equal to a predetermined threshold, the processor is connected to the specific port from the registered connection information in the registration information table. Deleting the registration information with the target image, disconnecting the connection between the port to which the target image is connected and the initiator, and connecting the target image with the disconnected initiator referring to the registration information table And a step of executing the processor load distribution method.
JP2005111480A 2005-04-08 2005-04-08 Processor load balancing system and processor load balancing method Expired - Fee Related JP4675664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005111480A JP4675664B2 (en) 2005-04-08 2005-04-08 Processor load balancing system and processor load balancing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005111480A JP4675664B2 (en) 2005-04-08 2005-04-08 Processor load balancing system and processor load balancing method

Publications (2)

Publication Number Publication Date
JP2006293570A JP2006293570A (en) 2006-10-26
JP4675664B2 true JP4675664B2 (en) 2011-04-27

Family

ID=37414098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005111480A Expired - Fee Related JP4675664B2 (en) 2005-04-08 2005-04-08 Processor load balancing system and processor load balancing method

Country Status (1)

Country Link
JP (1) JP4675664B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4871758B2 (en) * 2007-02-26 2012-02-08 株式会社日立製作所 Volume allocation method
JP2009048530A (en) * 2007-08-22 2009-03-05 Nippon Telegr & Teleph Corp <Ntt> iSCSI connection management system and iSCSI connection management method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4704659B2 (en) * 2002-04-26 2011-06-15 株式会社日立製作所 Storage system control method and storage control device
US8239552B2 (en) * 2003-08-21 2012-08-07 Microsoft Corporation Providing client access to devices over a network

Also Published As

Publication number Publication date
JP2006293570A (en) 2006-10-26

Similar Documents

Publication Publication Date Title
JP4430710B2 (en) Failover and load balancing
US8627136B2 (en) Non-disruptive failover of RDMA connection
US6421723B1 (en) Method and system for establishing a storage area network configuration
US8484510B2 (en) Enhanced cluster failover management
US7890645B2 (en) Monitoring-target-apparatus management system, management server, and monitoring-target-apparatus management method
US20160352834A1 (en) Locally providing cloud storage array services
JP2008083939A (en) Computer system and dynamic port allocation method
US8903982B2 (en) Computer system, management server and configuration information acquisition method
US7519167B2 (en) System and method for communicating system management information during network interface teaming
JP2008523520A (en) Operating system migration with minimal storage area network reconfiguration
KR100927498B1 (en) Intelligent failover in a load balanced network environment
US9229660B2 (en) Storage system and method for controlling storage system
CN1972312A (en) Selecting storage clusters to use to access storage
CN101808119A (en) Method and equipment for multiple storage array load balancing
JP5983782B2 (en) Computer system, communication control server, communication control method and program
US12489813B2 (en) Performance-driven storage provisioning
US7363382B1 (en) Apparatus, methods, and articles incorporating multiple path failover driver mechanism
WO2016082078A1 (en) Path management system, device and method
KR20070055590A (en) How to Manage Distributed Storage Systems
US9300530B2 (en) Management device, management method, and medium
US10180853B2 (en) Session reliability for a redirected mass storage device
US11461012B2 (en) Non-disruptive data migration from a source storage array to a destination storage array
JP4675664B2 (en) Processor load balancing system and processor load balancing method
CN104243473B (en) A kind of method and device of data transmission
JP5034495B2 (en) Storage system, program and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080404

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20091211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101221

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

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

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

Free format text: PAYMENT UNTIL: 20140204

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees