JP2003316715A - Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system - Google Patents

Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system

Info

Publication number
JP2003316715A
JP2003316715A JP2002122961A JP2002122961A JP2003316715A JP 2003316715 A JP2003316715 A JP 2003316715A JP 2002122961 A JP2002122961 A JP 2002122961A JP 2002122961 A JP2002122961 A JP 2002122961A JP 2003316715 A JP2003316715 A JP 2003316715A
Authority
JP
Japan
Prior art keywords
port
computer
processor
association
ports
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
JP2002122961A
Other languages
Japanese (ja)
Inventor
Susumu Tsuruta
進 鶴田
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP2002122961A priority Critical patent/JP2003316715A/en
Publication of JP2003316715A publication Critical patent/JP2003316715A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To effectively distribute the load of each port. <P>SOLUTION: In this method, a computer has a plurality of data I/O ports connected to an external device and a plurality of processors playing a role of the data I/O processing of the each port. The computer stores correspondence X between the port and a plurality of external ID given to the port so that the external device specifies the port. The computer changes the correspondence X according to the processing load of the processor. Other processors differing from the processor play a role of the processing of the port that the processor plays a role. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のポートを有
するコンピュータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer having a plurality of ports.

【0002】[0002]

【従来の技術】近年のIT産業の発達に伴い、ディスク
アレイ装置などの大容量ストレージに対する需要が増大
している。一般的なディスクアレイ装置は、相当数のハ
ードディスクユニットを備え、これを利用する外部装置
と効率よく接続するために、複数のデータ入出力ポート
を有している。また、このようなディスクアレイ装置に
おいて、各ポートにはディスクアレイ装置にアクセスす
る外部装置がポートを特定するためのポートアドレスが
付与されている。このアドレスは、例えば、SAN(St
orage Area Network)環境においては、ファイバチャネ
ルにおけるポートアドレスである。
2. Description of the Related Art With the recent development of the IT industry, the demand for large-capacity storage such as disk array devices has increased. A general disk array device includes a considerable number of hard disk units and has a plurality of data input / output ports in order to efficiently connect to an external device that uses the hard disk units. Further, in such a disk array device, each port is provided with a port address for an external device that accesses the disk array device to specify the port. This address is, for example, SAN (St
orage area network) environment, it is a port address in fiber channel.

【0003】また、近年、iSCSIなどを用いてディ
スクアレイ装置をインターネットに接続するいわゆるI
Pストレージが注目されているが、このような形態で運
用されるディスクアレイ装置においては、前記のアドレ
スはTCP/IPネットワークにおけるIPアドレスと
いうことになる。このようにディスクアレイ装置が直接
IP接続可能となることで、他のシステムを介在させる
ことなくディスクアレイ装置から直接データ配信が可能
となり、また、シームレスな環境での遠隔データバック
アップが可能となるなどの効果が得られる。
In recent years, a so-called I which connects a disk array device to the Internet using iSCSI or the like has been recently used.
Although the P storage is drawing attention, in the disk array device operated in such a form, the address is the IP address in the TCP / IP network. Since the disk array device can be directly IP-connected in this way, data can be directly delivered from the disk array device without intervening another system, and remote data backup can be performed in a seamless environment. The effect of is obtained.

【0004】[0004]

【発明が解決しようとする課題】ところで、上記ディス
クアレイ装置のような複数のポートを有するコンピュー
タにおいて、各ポートの処理負荷は、各瞬間においてポ
ートごとに必ずしも均一に生じているわけではない。例
えば、特定のポートに対してのみデータ入出力が集中し
ているにもかかわらず、他のポートには殆どデータ入出
力が発生していない状況が起こりうる。すなわち、充分
なリソースを保有しているにもかかわらず、リソースの
有効利用が図られていないことになる。また、このよう
な特定ポートに対するデータ入出力の集中は、通信速度
の低下等の問題やスループットの低下等の問題を引き起
こす。
By the way, in a computer having a plurality of ports such as the above-mentioned disk array device, the processing load of each port does not always occur evenly for each port at each instant. For example, a situation may occur in which data input / output is concentrated only on a specific port, but data is hardly input / output on other ports. That is, although the resources are held sufficiently, the resources are not effectively used. Further, such concentration of data input / output to a specific port causes problems such as a decrease in communication speed and a decrease in throughput.

【0005】ここで、複数の物理インタフェースを有す
るコンピュータで負荷分散を行う仕組みとしては、例え
ば、特開2001−16704号公報には、複数のホス
トインタフェースと複数の制御プロセッサとを有し、制
御プロセッサが入出力処理を担当する論理デバイスを自
身の処理数に応じて変更することにより、その制御プロ
セッサ間における負荷分散を行う仕組みが開示されてい
る。なお、この公報に開示されている技術は、ホストイ
ンタフェース間において負荷分散を行うわけではないの
で、ホストインタフェースの物理的なスループットの変
化はない。
Here, as a mechanism for load distribution in a computer having a plurality of physical interfaces, for example, Japanese Patent Laid-Open No. 2001-16704 has a plurality of host interfaces and a plurality of control processors, and a control processor. Discloses a mechanism for distributing the load among the control processors by changing the logical device in charge of input / output processing according to the number of processings of itself. Since the technique disclosed in this publication does not perform load distribution among host interfaces, there is no change in the physical throughput of the host interface.

【0006】また、特開2000−332776号公報
には、複数の物理インタフェースを有し、各インタフェ
ースの負荷状況やネットワークの状態、相手インタフェ
ースの稼働状態などに応じて、送受信されるIPパケッ
トの宛先および発信元IPアドレスを決められた規則に
基づいて変換し、アプリケーションが指定した論理IP
アドレスとは全く異なったアドレスを使用することで負
荷分散などを行う仕組みが開示されている。
[0006] Japanese Unexamined Patent Publication No. 2000-332776 has a plurality of physical interfaces, and the destinations of IP packets transmitted and received according to the load status of each interface, the status of the network, the operating status of the partner interface, etc. And the source IP address is converted based on the determined rule, and the logical IP specified by the application
There is disclosed a mechanism for load balancing by using an address that is completely different from the address.

【0007】しかしながら、この公報に開示される技術
は、一の論理IPアドレスに、インタフェースごとに付
与された物理アドレスを対応づける際に、その対応づけ
を各インタフェースの負荷に応じて決定することで負荷
分散を図るようにしたものであり、前記のディスクアレ
イ装置のように、ポートごとに外部装置がポートを特定
するためのアドレスが付与されるコンピュータに関する
ものではない。また、ディスクアレイ装置のようにポー
トごとにアドレスが付与されているコンピュータにおい
て、ポート間での負荷分散を実現する場合には、負荷分
散の実現による外部装置などに対する影響を最小限に抑
えるようにすることも要請される。
However, in the technique disclosed in this publication, when associating a physical address assigned to each interface with one logical IP address, the association is determined according to the load of each interface. This is for load balancing, and does not relate to a computer to which an address is assigned for each port by an external device to identify the port, unlike the disk array device. In addition, in a computer such as a disk array device that is assigned an address for each port, when realizing load distribution between ports, it is necessary to minimize the influence on the external device due to the realization of load distribution. You are also required to do so.

【0008】本発明は、このような課題を解決するもの
であり、その目的は、複数ポートを有するコンピュータ
において、各ポートの負荷を有効に分散させるための複
数ポートを有するコンピュータの制御方法および複数ポ
ートを有するコンピュータを提供することにある。
The present invention is intended to solve such a problem, and an object thereof is to provide a computer having a plurality of ports, a method of controlling a computer having a plurality of ports for effectively distributing the load of each port, and a plurality of methods. To provide a computer having a port.

【0009】[0009]

【課題を解決するための手段】この目的を達成するため
の、本発明のうち主たる発明は、外部装置と接続する複
数のデータ入出力ポートと、前記各ポートのデータ入出
力処理を担当する複数のプロセッサと、を有するコンピ
ュータの制御方法であって、コンピュータが、前記ポー
トと外部装置が前記ポートを特定するために前記ポート
に付与される複数の外部IDとの対応づけXを記憶し、
コンピュータが、前記プロセッサの処理負荷に応じて前
記対応づけXを変更し、前記プロセッサが担当している
前記ポートの処理を前記プロセッサとは異なる他の前記
プロセッサに担当させる工程を有することを特徴とする
複数ポートを有することを特徴とする。
To achieve this object, the main invention of the present invention is to provide a plurality of data input / output ports connected to an external device and a plurality of data input / output processing units for the respective ports. And a processor for storing the association X between the port and a plurality of external IDs assigned to the port for the external device to identify the port.
A computer having a step of changing the association X according to a processing load of the processor, and causing another processor different from the processor to handle the processing of the port handled by the processor. It is characterized in that it has a plurality of ports for

【0010】本発明の他の特徴については、添付図面及
び本明細書の記載により明らかにする。
Other features of the present invention will be apparent from the accompanying drawings and the description of this specification.

【0011】[0011]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

===開示の概要=== 以下の開示により、少なくとも次のことが明らかにされ
る。外部装置と接続する複数のデータ入出力ポートと、
前記各ポートのデータ入出力処理を担当する複数のプロ
セッサと、を有するコンピュータの制御方法であって、
コンピュータが、前記ポートと外部装置が前記ポートを
特定するために前記ポートに付与される複数の外部ID
との対応づけXを記憶し、コンピュータが、前記プロセ
ッサの処理負荷に応じて前記対応づけXを変更し、前記
プロセッサが担当している前記ポートの処理を前記プロ
セッサとは異なる他の前記プロセッサに担当させる工程
を有することを特徴とする複数ポートを有するコンピュ
ータの制御方法。
=== Summary of Disclosure === At least the following will be made clear by the following disclosure. Multiple data input / output ports for connecting to external devices,
A method of controlling a computer having a plurality of processors in charge of data input / output processing of each port,
The computer and a plurality of external IDs given to the port by the external device to identify the port.
Stores the association X with the computer, the computer changes the association X according to the processing load of the processor, and the processing of the port in charge of the processor is performed by another processor different from the processor. A method of controlling a computer having a plurality of ports, characterized in that it has a step of being in charge.

【0012】ここで、前記対応づけXとは、後述するポ
ート管理情報テーブル9内のポートと、各ポートに付与
された複数のIPアドレスとの対応情報のことである。
Here, the above-mentioned association X is correspondence information between a port in a port management information table 9 described later and a plurality of IP addresses assigned to each port.

【0013】また、前記外部IDはIPアドレスとし、
前記ポートはMACアドレスで特定されることとしても
よい。
The external ID is an IP address,
The port may be specified by a MAC address.

【0014】なお、前記コンピュータの制御方法におい
て、前記コンピュータが前記プロセッサの障害を検知し
た場合に、前記対応づけXを変更する工程を有してもよ
い。
The control method of the computer may include a step of changing the association X when the computer detects a failure of the processor.

【0015】また、前記複数ポートを有するコンピュー
タの制御方法は、具体的には、前記プロセッサが、自身
が担当する前記ポートの処理負荷を監視し、その処理負
荷に応じて自身が行っている処理の代行を依頼する代行
依頼メッセージを他の前記ポートの処理を担当する他の
前記プロセッサに送信する工程と、前記他のプロセッサ
が、前記代行依頼メッセージを受信した場合にその代行
を引き受けるかどうかを決定し、代行することを決定し
た場合にその旨を記載した承諾メッセージを前記代行依
頼メッセージを送信してきた前記プロセッサに送信する
工程と、前記プロセッサもしくは他の前記プロセッサ
が、前記承諾メッセージを受信した場合に自身が担当す
る前記ポートに対応づけられている複数の前記外部ID
を、前記承諾メッセージを送信してきた前記プロセッサ
が担当する前記ポートに対応づけるように前記対応づけ
Xを変更する工程と、を有してもよい。
In the method of controlling a computer having a plurality of ports, specifically, the processor monitors the processing load of the port it is in charge of, and the processing itself is performed according to the processing load. Sending a proxy request message to the other processor in charge of processing the other port, and whether the other processor accepts the proxy request message when receiving the proxy request message. And a step of transmitting a consent message stating that fact to the processor that has transmitted the proxy request message, and the processor or another processor has received the consent message. In this case, the plurality of external IDs associated with the port in charge of itself
And changing the association X so as to associate it with the port in charge of the processor that has transmitted the acceptance message.

【0016】ここで、前記処理負荷とは、例えば、前記
ポートに入出力されるデータの入出力処理にかかる前記
ポートごとの単位時間当たりの前記プロセッサの命令処
理数としてもよい。また、前記代行依頼メッセージと
は、後述するポート管理情報テーブル9内の処理依頼フ
ラグをセットするための信号である。
Here, the processing load may be, for example, the number of instruction processes of the processor per unit time for each port for input / output processing of data input / output to / from the port. The proxy request message is a signal for setting a processing request flag in the port management information table 9 described later.

【0017】また、前記複数ポートを有するコンピュー
タの制御方法であって、前記コンピュータが、設定した
時刻に前記対応づけXを変更する工程を起動する工程を
有してもよい。前記設定した時刻とは、例えば、銀行業
務システムにおける夜間バッチ処理の開始時刻である。
The method for controlling a computer having a plurality of ports may include a step of activating the step of changing the association X at a set time. The set time is, for example, the start time of nighttime batch processing in the banking system.

【0018】また、前記複数ポートを有するコンピュー
タの制御方法であって、前記コンピュータが、前記外部
装置との間の暗号化通信に必要な情報を前記外部IDに
対応づけて対応づけYとして記憶し、前記コンピュータ
が、前記対応づけYの状態をそのまま維持するよう前記
対応づけXを変更する工程を有してもよい。
Also, in the method of controlling a computer having a plurality of ports, the computer associates information necessary for encrypted communication with the external device with the external ID and stores it as an association Y. The computer may include a step of changing the association X so that the state of the association Y is maintained as it is.

【0019】ここで、前記暗号化通信に必要な情報と
は、例えば、後述するIPsecによるVPNを構築する
際に必要な暗号化もしくは復号化鍵などのSA情報であ
り、前記対応づけYとは、後述するポート管理情報テー
ブル9内において、各ポートに付与された複数のIPア
ドレスと、VPN環境下において各ポートと外部装置と
の間の通信路上で用いられるSA情報との対応情報のこ
とである。
Here, the information required for the encrypted communication is, for example, SA information such as an encryption or decryption key required when constructing a VPN by IPsec described later, and the association Y is In the port management information table 9 which will be described later, it is the correspondence information between a plurality of IP addresses assigned to each port and SA information used on the communication path between each port and an external device under the VPN environment. is there.

【0020】また、前記複数ポートを有するコンピュー
タの制御方法であって、前記コンピュータが、一または
複数の記憶ボリュームと、前記ポートを通じて受信した
データ入出力要求に応じて前記記憶ボリュームに対して
データ入出力処理を行う手段と、前記記憶ボリュームを
利用する前記外部装置のIDと、前記各外部装置が利用
可能な前記記憶ボリュームのIDとを対応づけZとして
記憶する手段と、前記外部IDと前記外部装置のIDと
を対応づけPとして記憶する手段と、を有し、前記コン
ピュータが、前記対応づけZと前記対応づけPの状態を
そのまま維持するよう前記対応づけXを変更する工程を
有してもよい。
A method of controlling a computer having a plurality of ports, wherein the computer inputs data to the storage volume according to one or a plurality of storage volumes and a data input / output request received through the port. Means for performing output processing, means for storing the ID of the external device that uses the storage volume and the ID of the storage volume that can be used by each of the external devices as an association Z, the external ID and the external device And a means for storing the ID of the device as the association P, the computer changing the association X so as to maintain the states of the association Z and the association P as they are. Good.

【0021】ここで、前記対応づけZは、後述するポー
ト管理情報テーブル9内の各ポートに付与されたIPア
ドレスと、ポートの接続先となる外部装置がアクセス可
能に設定されている論理ユニットの番号との対応情報で
ある。
Here, the correspondence Z is an IP address assigned to each port in a port management information table 9 described later and a logical unit which is set to be accessible by an external device to which the port is connected. This is information corresponding to the number.

【0022】また、前記対応づけPは、後述するポート
管理情報テーブル9内の各ポートに付与された複数のI
Pアドレスと、各ポートの接続先となるホストなどの外
部装置が有するIPアドレスとの対応情報である。
The correspondence P is a plurality of I's assigned to each port in the port management information table 9 described later.
It is correspondence information between the P address and the IP address of an external device such as a host to which each port is connected.

【0023】また、ルータなどの経路制御装置と、この
経路制御装置に接続する複数のデータ入出力ポートと、
前記各ポートのデータ入出力処理を担当する複数のプロ
セッサとを有するコンピュータとを含むコンピュータシ
ステムの制御方法であって、経路制御装置が、前記ポー
トを特定するために前記ポートに付与される外部IDと
前記ポートとの対応づけPを記憶し、経路制御装置が、
外部入力されるデータパケットをそのデータパケットに
宛先として記載される外部IDにより特定される前記ポ
ートに前記データパケットを送信する工程と、コンピュ
ータが、前記ポートと外部装置が前記ポートを特定する
ために前記ポートに付与される複数の外部IDとの対応
づけXを記憶する工程と、コンピュータが、前記プロセ
ッサの処理負荷に応じて前記対応づけXを変更し、前記
プロセッサが担当している前記ポートの処理を前記プロ
セッサとは異なる他の前記プロセッサに担当させる工程
と、コンピュータが、前記変更内容を前記経路制御装置
に送信する工程と、経路制御装置が、前記変更内容を受
信して前記対応づけPを変更する工程と、を有していて
もよい。
A route control device such as a router and a plurality of data input / output ports connected to the route control device,
A method for controlling a computer system including a computer having a plurality of processors in charge of data input / output processing of each port, wherein a path control device provides an external ID assigned to the port to identify the port. The association P between the port and the port is stored, and the route control device
Transmitting the data packet input externally to the port specified by the external ID described as the destination in the data packet, and causing the computer to specify the port and the external device specify the port. Storing a correspondence X with a plurality of external IDs assigned to the port, the computer changing the correspondence X according to the processing load of the processor, and the port of the port in charge of the processor. A step of assigning a process to another processor different from the processor; a step of causing a computer to transmit the change content to the route control device; and a route control device receiving the change content and performing the association P And a step of changing.

【0024】===実施例=== <システム構成>図1は、本発明の一実施例としてのデ
ィスクアレイ装置13を含んで構成されるストレージシ
ステムの概略構成図である。同図において、ディスクア
レイ装置13は、ルータ14eを介してインターネット
10と接続しており、同じくインターネットと接続して
いる汎用コンピュータやPCなどのホスト11やリモー
トホスト12と通信を行っている。なお、リモートホス
ト12は、ホスト11とは遠隔した場所に設置されてい
る。
=== Embodiment === <System Configuration> FIG. 1 is a schematic configuration diagram of a storage system including a disk array device 13 as an embodiment of the present invention. In the figure, the disk array device 13 is connected to the Internet 10 via a router 14e, and communicates with a host 11 or a remote host 12 such as a general-purpose computer or a PC which is also connected to the Internet. The remote host 12 is installed at a location remote from the host 11.

【0025】ディスクアレイ装置13は、複数のポート
1を有する。ディスクアレイ装置13は、物理的なディ
スク装置が論理的に分割された論理ユニットLU(Logi
calUnit)8と、論理ユニットに対するデータの入出力
を制御するディスク制御部7と、複数のポート1とディ
スク制御部7との間で転送されるデータや該論理ユニッ
ト8から読み出されたデータを一時記憶するキャッシュ
メモリ6と、複数のポート1からアクセスされる共有メ
モリ5とを有する。
The disk array device 13 has a plurality of ports 1. The disk array device 13 is a logical unit LU (Logi
calUnit) 8, a disk controller 7 that controls the input / output of data to / from a logical unit, data transferred between a plurality of ports 1 and the disk controller 7, and data read from the logical unit 8. It has a cache memory 6 for temporary storage and a shared memory 5 accessed from a plurality of ports 1.

【0026】各ポート1に対するデータの入出力は、ポ
ート1ごとに設けられた、ホスト11やリモートホスト
12との間で通信データの送受信をするインタフェース
部2と、ポート1のデータ入出力の処理や他のポート1
との通信を担当するプロセッサ3と、ポート1とキャッ
シュメモリ6との間のデータ転送を制御するDMA(Di
rect Memory Access)制御部4により行われる。なお、
同図のように、プロセッサ3を各ポート1にそれぞれ割
り当てるような構成以外にも、一つのプロセッサ3が複
数のポート1の入出力処理を行う構成としてもよい。
Data input / output to / from each port 1 is performed by an interface unit 2 provided for each port 1 for transmitting / receiving communication data to / from a host 11 or a remote host 12, and data input / output processing at port 1. And other ports 1
A processor (3) in charge of communication with the computer, and a DMA (Di) that controls data transfer between the port 1 and the cache memory 6.
rect Memory Access) Control unit 4. In addition,
In addition to the configuration in which the processor 3 is assigned to each port 1 as shown in the figure, one processor 3 may perform input / output processing of a plurality of ports 1.

【0027】<ポートへのIPアドレスの割り当て>図
2は本発明のストレージシステムにおける各装置や各ポ
ート1に付与されたIPアドレスを示す図である。各ポ
ート1には、ポートごとに付与された固有の物理アドレ
スであるMACアドレスが付与されている。また、各ポ
ート1には、ホスト11やリモートホスト12がポート
1を特定するための一または複数のIPアドレスが割り
当てられる。なお、同図においては、各ポート1に複数
のIPアドレスを割り当てているので、同一のポート1
の入出力処理を担当するプロセッサ3が、ホスト11や
リモートホスト12からそのポート1の各IPアドレス
ごとに要求された処理を並列に行うことが可能となる。
<Assignment of IP Address to Port> FIG. 2 is a diagram showing an IP address assigned to each device and each port 1 in the storage system of the present invention. A MAC address, which is a unique physical address given to each port, is given to each port 1. Further, each port 1 is assigned one or more IP addresses for the host 11 and the remote host 12 to identify the port 1. In the figure, since multiple IP addresses are assigned to each port 1, the same port 1
The processor 3 in charge of the input / output processing can perform the processing requested by the host 11 or the remote host 12 for each IP address of the port 1 in parallel.

【0028】なお、図2に示すように、ディスクアレイ
装置13の各ポート1は、イーサネット(登録商標)1
5を介してルータ14eと接続する。ルータ14eは、
インターネット10と接続する側のポートと、イーサネ
ット15と接続する側のポートと、ルーティングテーブ
ルと、ARP(Address Resolution Protocol)キャッ
シュ16とを含んで構成される。ARPキャッシュ16
には、ARPにより生成されたイーサネット15と接続
する各ポート1のMACアドレスとIPアドレスの対応
テーブルが記憶されている。
As shown in FIG. 2, each port 1 of the disk array device 13 is an Ethernet (registered trademark) 1
5 to the router 14e. Router 14e
It is configured to include a port connected to the Internet 10, a port connected to the Ethernet 15, a routing table, and an ARP (Address Resolution Protocol) cache 16. ARP cache 16
Stores a correspondence table of MAC addresses and IP addresses of each port 1 connected to the Ethernet 15 generated by ARP.

【0029】ホスト11あるいはリモートホスト12
は、企業などのグループ単位で区分けされている。ホス
ト11aは、ホスト11bとリモートホスト12aと同
じホストグループに属している。また、ホスト11a
は、ホスト11bとLANを構築し、ルータを介してイ
ンターネット10と接続されている。なお、ホスト11
あるいはリモートホスト12には、一つのIPアドレス
が割り当てているが、複数のIPアドレスが割り当てら
れていてもよい。
Host 11 or remote host 12
Are divided into groups such as companies. The host 11a belongs to the same host group as the host 11b and the remote host 12a. Also, the host 11a
Is connected to the Internet 10 via a router by constructing a LAN with the host 11b. The host 11
Alternatively, although one IP address is assigned to the remote host 12, a plurality of IP addresses may be assigned.

【0030】以上の構成において、ホスト11aからポ
ート1aのIPアドレスx1を宛先としたIPパケット
などの通信データの送信は、例えば、つぎのようにして
行われる。まず、ホスト11aは、ARPにより、ルー
タ14aのMACアドレスを確認する。つぎに、ホスト
11aは、ルータ14aのMACアドレスを宛先MAC
アドレスとし、ポート1aのIPアドレスx1を宛先I
Pアドレスとして記載したIPパケットをルータ14a
に対して送信する。ルータ14aは、ホスト11aから
受信したIPパケットをインターネット10を介してル
ータ14eに送信する。また、ルータ14eは、ARP
キャッシュ16内の検索を行い、送信されてきたIPパ
ケットに記載されたIPアドレスx1がARPキャッシ
ュ16内に登録されていた場合には、IPパケットの宛
先MACアドレスの記載をポート1aのMACアドレス
に変更し、ポート1aに対して送信する。このようにし
て、ホスト11aからポート1aのIPアドレスx1に
対する通信データが送信されることとなる。
In the above configuration, transmission of communication data such as an IP packet addressed to the IP address x1 of the port 1a from the host 11a is performed as follows, for example. First, the host 11a confirms the MAC address of the router 14a by ARP. Next, the host 11a uses the MAC address of the router 14a as the destination MAC.
Address and IP address x1 of port 1a as destination I
The IP packet described as the P address is used by the router 14a.
Send to. The router 14a transmits the IP packet received from the host 11a to the router 14e via the Internet 10. Also, the router 14e uses ARP
When the cache 16 is searched and the IP address x1 described in the transmitted IP packet is registered in the ARP cache 16, the destination MAC address of the IP packet is described as the MAC address of the port 1a. Change and send to port 1a. In this way, the communication data for the IP address x1 of the port 1a is transmitted from the host 11a.

【0031】<ポート管理情報テーブル>各ポート1に
割り当てられているIPアドレス等は、ディスクアレイ
装置13の共有メモリ5に格納されるポート管理情報テ
ーブル9に記憶されている。図3はその一例を説明する
図である。
<Port Management Information Table> The IP address and the like assigned to each port 1 are stored in the port management information table 9 stored in the shared memory 5 of the disk array device 13. FIG. 3 is a diagram for explaining an example thereof.

【0032】ポート管理情報テーブル9は、ポート番号
と各ポートに割り当てられた自身のIPアドレスと、ポ
ート1の接続先となるホスト11もしくはリモートホス
ト12のIPアドレスと、ポート1が後述するようにV
PN(Virtual Private Network)構築された際に用い
られるSA(Security Association)情報と、ポート1
の接続先となるホスト11もしくはリモートホスト12
がアクセス可能に設定されている論理ユニット8の番号
LUN(Logical Unit Number)と、後述するポート1
間の負荷分散の工程において、ポート1の処理を担当す
るプロセッサ3が自身の処理の代行を依頼する際にセッ
トする処理依頼フラグとで構成される。
The port management information table 9 includes port numbers, own IP addresses assigned to the respective ports, IP addresses of the host 11 or remote host 12 to which the port 1 is connected, and the port 1 as described later. V
SA (Security Association) information used when PN (Virtual Private Network) is built, and port 1
Host 11 or remote host 12 to connect to
Number (Logical Unit Number) of the logical unit 8 that is set to be accessible to the
In the process of load balancing between them, the processor 3 in charge of the processing of the port 1 is configured with a processing request flag which is set when requesting the substitution of its own processing.

【0033】なお、SA情報とは、後に詳述するが、I
Psec(Security Architecture forthe Internet Proto
col)で通信する装置同士が論理的なコネクションを構
築する際に共有する、暗号化鍵、復号化鍵、認証アルゴ
リズム、暗号化アルゴリズム、などの情報をいう。ま
た、ホスト11もしくはリモートホスト12と、これら
がアクセス可能なLUNとの対応は、例えば、ホスト1
1やリモートホスト12、ディスクアレイ装置の管理端
末などからユーザやオペレータにより設定される。
The SA information, which will be described in detail later, is I
Psec (Security Architecture for the Internet Proto
col) refers to information such as an encryption key, a decryption key, an authentication algorithm, and an encryption algorithm that are shared by devices that communicate with each other when establishing a logical connection. Further, the correspondence between the host 11 or the remote host 12 and the LUN accessible by them is, for example, the host 1
1 and the remote host 12, the management terminal of the disk array device, etc., and is set by the user or operator.

【0034】ポート管理情報テーブル9のSA情報以外
の構成情報は、ディスクアレイ装置13の構成時や拡張
時において決定されるが、ホスト11やリモートホスト
12のIPアドレスに関しては、動的に変化する場合が
あるので、RADIUS(Remote Authentication Dial
In User Service)プロトコル(RFC2138)を用いた認証
サーバなどにより、ディスクアレイ装置13が、ホスト
11やリモートホスト12のIPアドレスを検知し、ポ
ート管理情報テーブル9を更新するようにしてもよい。
The configuration information other than the SA information in the port management information table 9 is determined when the disk array device 13 is configured or expanded, but the IP addresses of the host 11 and remote host 12 change dynamically. In some cases, RADIUS (Remote Authentication Dial
The disk array device 13 may detect the IP address of the host 11 or the remote host 12 and update the port management information table 9 by an authentication server using the In User Service (RFC2138) protocol.

【0035】また、SA情報に関しては、SA情報を交
換するプロトコルであるIKE(Internet Key Exchang
e)プロトコルの処理の過程において、ポート管理情報
テーブル9内の該当するSA情報を登録するようにして
もよい。
Regarding SA information, IKE (Internet Key Exchang) which is a protocol for exchanging SA information is used.
e) In the process of protocol processing, the corresponding SA information in the port management information table 9 may be registered.

【0036】<ポート間の負荷分散の処理手順>つぎ
に、本発明に係るディスクアレイ装置13によるポート
1間の負荷分散の工程について、図4のフローチャート
とともに説明する。なお、以下では、図3の#2に該当
する状態から、負荷の増加を検出されたポート1aのI
Pアドレスをポート1bに割り当てるように変更し、ポ
ート1aの担当する処理をポート1bが担当するまで工
程を説明している。
<Processing Procedure for Load Distribution Between Ports> Next, the process of load distribution between ports 1 by the disk array device 13 according to the present invention will be described with reference to the flowchart of FIG. In the following, from the state corresponding to # 2 in FIG. 3, the I of port 1a in which an increase in load is detected is detected.
The process is described until the P address is changed so as to be assigned to the port 1b, and the process in charge of the port 1a is in charge of the port 1b.

【0037】まず、ホスト11aからポート1aのIP
アドレスy1を宛先として、リモートコピー処理(遠隔
地データバックアップ)等の負荷の大きい処理要求を受
けた場合に(S400)、ポート1aの処理を担当する
プロセッサ3aが、自身が担当するポート1aの処理負
荷に応じて、負荷分散が必要かどうかを判定する(S4
01)。なお、処理負荷とは、例えば、ポート1に入出
力されるデータの入出力処理にかかる単位時間あたりの
プロセッサ3の命令処理数などである。
First, the IP of the port 1a from the host 11a
When a heavy load processing request such as a remote copy process (remote data backup) is addressed to the address y1 (S400), the processor 3a in charge of the process of the port 1a processes the port 1a in charge of itself. It is determined whether load balancing is necessary according to the load (S4
01). Note that the processing load is, for example, the number of instruction processes of the processor 3 per unit time required for input / output processing of data input / output to / from the port 1.

【0038】プロセッサ3aは、負荷分散が必要と判定
された場合、ホスト11aからポート1aに付与されて
いるIPアドレス(x1,y1,z1)のうち、別のポ
ート1に依頼可能な処理があるかどうかを判断する。こ
の判断は、例えば、そのIPアドレスを宛先とするセッ
ションが継続中であるかどうかなどの基準に基づいて行
われる(S402)。なお、以下の説明においては、前
記判断の結果、IPアドレス(x1,z1)を宛先とし
て要求された処理が、別のポートに対して依頼可能であ
ったものとする。
When it is determined that the load distribution is necessary, the processor 3a has a process that can be requested to another port 1 among the IP addresses (x1, y1, z1) given to the port 1a from the host 11a. Determine if This determination is performed based on, for example, a criterion such as whether or not a session addressed to the IP address is ongoing (S402). In the following description, it is assumed that, as a result of the determination, the processing requested with the IP address (x1, z1) as a destination can be requested to another port.

【0039】つぎに、プロセッサ3aは、共有メモリ5
にアクセスし、ポート管理情報テーブル9内のIPアド
レス(x1,z1)に対する処理依頼フラグをセットす
る(S403)。図5は、この状態のポート管理情報テ
ーブル9を示している。なお、各ポートの処理を担当す
る各プロセッサ3a,3b,3cは、ポーリング方式に
より、共有メモリ5に順にアクセスし、ポート管理情報
テーブル9内に処理依頼フラグがセットされているかど
うかをリアルタイムに監視している。
Next, the processor 3a uses the shared memory 5
Is accessed and the processing request flag for the IP address (x1, z1) in the port management information table 9 is set (S403). FIG. 5 shows the port management information table 9 in this state. Each processor 3a, 3b, 3c in charge of processing of each port sequentially accesses the shared memory 5 by the polling method and monitors in real time whether the processing request flag is set in the port management information table 9. is doing.

【0040】ポート1bの処理を担当するプロセッサ3
bは、ポート1aに付与されているIPアドレス(x
1,z1)に対する処理依頼フラグがセットされている
ことを検知すると(S404)、IPアドレス(x1,
z1)に対応するホストのIPアドレス(a1、a2)
が、ポート1bとの接続を許可されたホストグループに
属するホストのIPアドレスと照合するか判定し(S4
05)、また自身が担当するポート1bの処理負荷に応
じて、IPアドレス(x1,z1)を宛先として要求さ
れた処理の依頼を受諾するかどうかを判定する(S40
6)。ここで、プロセッサ3bが、プロセッサ3aから
の処理の代行を承諾する場合には、共有メモリ5を介し
て、プロセッサ1aに対して承諾メッセージを送信する
(S407)。
Processor 3 in charge of processing port 1b
b is the IP address (x
If the processing request flag for (1, z1) is set (S404), the IP address (x1,
IP address (a1, a2) of the host corresponding to z1)
Determines whether to check the connection with the port 1b with the IP address of the host belonging to the permitted host group (S4).
05), depending on the processing load of the port 1b which it is in charge of, determines whether to accept the request for the processing requested to the IP address (x1, z1) (S40).
6). Here, in the case where the processor 3b approves the substitute processing from the processor 3a, the processor 3b transmits an approval message to the processor 1a via the shared memory 5 (S407).

【0041】プロセッサ3aは、プロセッサ3bから受
諾メッセージを受信すると、IPアドレス(x1,z
1)を解放し(S408)、解放したことをプロセッサ
3bに通知し、IPアドレス(x1,z1)をプロセッ
サ3bに割り当てるように、共有メモリ5内のポート管
理情報テーブル9の内容を変更し(S409)、IPア
ドレス(x1,z1)を宛先として要求された処理にか
かるデータをプロセッサ3bに対して送信する。なお、
ポート管理情報テーブル9の変更については、前述した
とおり処理の代行を依頼したプロセッサ3aが行っても
よいし、あるいは依頼の受諾メッセージを送信したプロ
セッサ3bが行うようにしてもよい。
Upon receiving the acceptance message from the processor 3b, the processor 3a receives the IP address (x1, z
1) is released (S408), the release is notified to the processor 3b, and the content of the port management information table 9 in the shared memory 5 is changed so that the IP address (x1, z1) is assigned to the processor 3b ( In S409, the data related to the requested processing is transmitted to the processor 3b with the IP address (x1, z1) as the destination. In addition,
The change of the port management information table 9 may be performed by the processor 3a that has requested the proxy processing as described above, or may be performed by the processor 3b that has transmitted the request acceptance message.

【0042】以上のようにして、ポート1aとポート1
bとの間における負荷分散が行われる。ディスクアレイ
装置は、このような負荷分散の工程を適用することによ
り、ポート1の処理を担当するプロセッサ3の処理負荷
に応じた負荷分散を行うことができ、プロセッサ3のリ
ソースを有効に活用することができる。図6は、この時
点におけるポート管理情報テーブル9の状態を示してい
る。
As described above, port 1a and port 1
Load distribution with b is performed. By applying such a load balancing process, the disk array device can perform load balancing according to the processing load of the processor 3 in charge of the processing of the port 1, and effectively utilize the resources of the processor 3. be able to. FIG. 6 shows the state of the port management information table 9 at this point.

【0043】なお、以上では、負荷の大きい処理要求を
受けた場合に限って負荷分散が必要かどうかを判定する
(S400)ようにしているが、これに限らず、リアル
タイムに負荷分散が必要かどうかを判定するようにして
もよい。
In the above description, whether or not load balancing is necessary is determined only when a processing request with a large load is received (S400). However, the present invention is not limited to this, and whether load balancing is required in real time is performed. You may decide whether it is.

【0044】一方、以上の処理において、ポート1cの
処理を担当するプロセッサ3cもプロセッサ3bと同様
に処理依頼フラグがセットされているかどうかをリアル
タイムに監視しており、処理依頼フラグがオンであった
場合には、そのIPアドレス(x1,z1)が、自らの
グループに所属するかどうかを判断する。同図におい
て、プロセッサ3cは、IPアドレス(x1,z1)
が、自身が処理を担当するポート1cとの接続を許可さ
れたホストグループBのIPアドレスに該当しないた
め、プロセッサ3aからの処理の依頼を受諾しない。こ
れにより異なるホストグループからのアクセスに対する
排他制御が行われることになる。
On the other hand, in the above processing, the processor 3c in charge of the processing of the port 1c also monitors in real time whether the processing request flag is set, like the processor 3b, and the processing request flag is on. In this case, it determines whether the IP address (x1, z1) belongs to its own group. In the figure, the processor 3c has an IP address (x1, z1).
However, since it does not correspond to the IP address of the host group B permitted to connect to the port 1c which is in charge of processing by itself, the processing request from the processor 3a is not accepted. As a result, exclusive control for access from different host groups is performed.

【0045】ところで、以上の処理では、ポート1の処
理を担当するプロセッサ3の処理負荷に応じてIPアド
レスの割り当てを変更するようにしているが、例えば、
ポート1の障害が検知された場合やディスクアレイ装置
13の保守点検時などのタイミングにおいて、IPアド
レスの割り当てを変更するようにしてもよい。
By the way, in the above processing, the IP address allocation is changed according to the processing load of the processor 3 in charge of the processing of the port 1.
The IP address allocation may be changed when a failure of the port 1 is detected or when the disk array device 13 is maintained or inspected.

【0046】また、IPアドレスの割り当てを変更する
契機を決定するためのスケジューラをディスクアレイ装
置13上で稼働させ、例えば、銀行業務システムにおけ
る夜間バッチ処理などの負荷の大きい処理の開始などを
契機として、各ポートへのIPアドレスの割り当てを変
更するようにしてもよい。
Further, a scheduler for determining the timing of changing the IP address allocation is run on the disk array device 13, and triggered by the start of heavy load processing such as nighttime batch processing in the banking system, for example. The IP address allocation to each port may be changed.

【0047】===ルータへの通知=== ところで、前述したIPアドレスの割り当てを変更した
場合には、更新されたポートとIPアドレスの関係がル
ータ14eに通知され、ルータ14eは、その通知に基
づいて、自身が記憶しているARPキャッシュ16内の
テーブルを更新する。つまり、このルータ14eの通知
が為されることによって、データの流れが変更され、負
荷分散の実現が図られることになる。
=== Notification to Router === By the way, when the above-mentioned IP address assignment is changed, the router 14e is notified of the relationship between the updated port and IP address, and the router 14e is notified. The table in the ARP cache 16 stored by itself is updated based on the above. In other words, the notification of the router 14e changes the data flow and realizes load distribution.

【0048】なお、ARPキャッシュ16は、一定期間
をとおして未使用状態のIPアドレスを自動的に削除
し、キャッシュ内に維持されていないポート1とIPア
ドレスとの対応づけが新たに発生した場合に、そのキャ
ッシュ内の情報の更新を行う。
When the ARP cache 16 automatically deletes an unused IP address for a certain period of time and a new association between the port 1 and the IP address which is not maintained in the cache occurs. Then, the information in the cache is updated.

【0049】また、本実施例においてディスクアレイ装
置13におけるIPアドレスの更新の内容をARPキャ
ッシュ16に反映させたい場合には、上記削除までの時
間を短くする方法やIETFの「Host Requirements Co
mmunication(RFC1122)」に記述されているインターネ
ット層からリンク層に対して問題があることを通知して
ARPキャッシュ16の該当する情報を削除する方法、
UNARP(RFC1868)を使用する方法、前述の受諾メ
ッセージを受信したポート1が、IPアドレスを解放す
る際にルータ14eに対して解放したIPアドレスにつ
いての該ポート1との対応情報を削除するように依頼す
る方法などが考えられる。
Further, in the present embodiment, when it is desired to reflect the contents of the update of the IP address in the disk array device 13 in the ARP cache 16, a method of shortening the time until the deletion or the “Host Requirements Co.
mmunication (RFC1122) ”, a method of notifying that there is a problem from the Internet layer to the link layer and deleting the corresponding information in the ARP cache 16,
Method of using UNARP (RFC1868), so that the port 1 that receives the above-mentioned acceptance message deletes the correspondence information of the released IP address with respect to the port 1 to the router 14e when releasing the IP address. A method of requesting it is possible.

【0050】===暗号化通信=== ところで、インターネット上における通信セキュリティ
を確保する方式の一つとして、通信路を流れるデータを
暗号化し、インターネット上に仮想的なプライベートネ
ットワークを構築することで安全に通信を行うようにす
る技術が知られている。
=== Encrypted Communication === By the way, as one of the methods for ensuring the communication security on the Internet, by encrypting the data flowing through the communication path and constructing a virtual private network on the Internet. A technique for enabling secure communication is known.

【0051】IPsec(RFC1825-1829)は、このVPN
を構築するためのプロトコルである。IPsecでは、通
信する装置間で、認証アルゴリズム、暗号化アルゴリズ
ム、暗号鍵の情報などを共有し、これら情報に基づいて
通信路を流れるデータの暗号化や複合化を行うようにし
ている。この共有関係が前述のSA(セキュリティアソ
シエーション)である。IPsecでは、通信に先立って
このSAを確立するための情報交換が行われ、そのため
のプロトコルは、例えば、IKE(Internet KeyExchang
e)である。特開2000−224219号公報には、
ディスクアレイ装置13が外部装置との間においてIP
secによりVPNを構築している場合にNAT(Network
Address Translation)とVPNの両方を並列に実現する
技術が開示されている。また、特開2001−3313
80号公報には、セキュリティの確保とリモートシステ
ムにけるスループットの向上を実現する計算機システム
及び暗号復号化方法に関する技術が開示されている。
IPsec (RFC1825-1829) uses this VPN
Is a protocol for building. In IPsec, communication devices share information such as an authentication algorithm, an encryption algorithm, and an encryption key, and the data flowing through the communication path is encrypted or decrypted based on the information. This shared relationship is the above-mentioned SA (security association). In IPsec, information exchange for establishing this SA is performed prior to communication, and the protocol therefor is, for example, IKE (Internet Key Exchang).
e). Japanese Patent Laid-Open No. 2000-224219 discloses that
The disk array device 13 communicates with the external device by IP
NAT (Network
A technique for implementing both Address Translation) and VPN in parallel is disclosed. In addition, Japanese Patent Laid-Open No. 2001-3313
Japanese Unexamined Patent Publication No. 80 discloses a technique relating to a computer system and an encryption / decryption method for realizing security and improving throughput in a remote system.

【0052】ここで本発明によれば、コンピュータ上で
IPsecに基づくVPNの構築と負荷分散とを同時に実
現することができる。また、コンピュータ上での負荷分
散とQoS(Quality of Service)を保証することが
できる。
According to the present invention, the construction of a VPN based on IPsec and the load distribution can be simultaneously realized on a computer. Further, it is possible to guarantee load distribution and QoS (Quality of Service) on the computer.

【0053】また、ディスクアレイ装置13は、ポート
1へのIPアドレスの割り当てを変更する際に、そのポ
ート1のIPアドレスに対応するSA情報の対応づけも
維持されるようにポート管理情報テーブル9を更新する
ことにより、IPアドレスの割り当て先となるポート1
が変更された場合においても、既に構築されているVP
Nの論理的なコネクションを途切れさせないようにする
ことができる。
Further, when changing the allocation of the IP address to the port 1, the disk array device 13 also maintains the association of the SA information corresponding to the IP address of the port 1 with the port management information table 9 The port 1 to which the IP address is assigned by updating
VP that has already been constructed even when the
It is possible to prevent the N logical connections from being interrupted.

【0054】===セッションの維持と負荷分散=== インターネット上に接続されるIPストレージに関する
技術として、複数のストレージを負荷分散装置の配下に
接続し、負荷分散を図る技術がある。負荷分散装置の多
くは、負荷分散の仕組みとしてNAT機能を用い、1の
IPアドレスを、個々のストレージに付与されている複
数のIPアドレスに対応づけることで、負荷分散を図っ
ている。ここでこの方式は、このようなIPアドレスの
対応づけて変換するため、前述したIPsecのセキュリ
ティ機能が機能しなくなる。そのため、例えば、前述の
特開2000−224219号公報では、NAT機能を
拡張することで、VPNとNATの両立を図っている。
=== Session Maintenance and Load Balancing === As a technique related to the IP storage connected to the Internet, there is a technique for connecting a plurality of storages under the control of a load balancing device to balance the load. Many load balancing apparatuses use the NAT function as a load balancing mechanism to associate one IP address with a plurality of IP addresses assigned to individual storages for load balancing. In this method, since the IP address is converted in association with the IP address, the security function of IPsec described above does not work. Therefore, for example, in the above-mentioned Japanese Patent Application Laid-Open No. 2000-224219, the NAT function is expanded to achieve compatibility between VPN and NAT.

【0055】また、NATを使用しない負荷分散装置も
存在し、この場合には、負荷分散先となる個々のIPス
トレージをMACアドレスで識別するようにしている。
しかしながら、この場合でもIPデータ自体は暗号化さ
れており、セッション(例えば、Webページを利用した
オンラインショッピングでは、一連のサービスの提供中
は、同一のサーバを相手に処理を進める必要があり、こ
の一連の処理をセッションと称する)の維持が必要な場
合には、有効に負荷分散を行うことができなくなる。
There is also a load balancer that does not use NAT, and in this case, each IP storage as a load balancer is identified by a MAC address.
However, even in this case, the IP data itself is encrypted, and in a session (for example, online shopping using a Web page, it is necessary to proceed with processing with the same server during the provision of a series of services. If it is necessary to maintain a series of processes as a session), the load cannot be effectively distributed.

【0056】本発明では、セッションが継続中のIPア
ドレスについては、そのIPアドレスとポート1との対
応づけの変更を行わないようにしている。従って、セッ
ションを維持しつつ有効に負荷分散を図ることができ
る。
In the present invention, for an IP address for which a session is continuing, the association between the IP address and port 1 is not changed. Therefore, it is possible to effectively balance the load while maintaining the session.

【0057】===アクセス可能なLU情報の移動==
= ポート1へのIPアドレスの割り当てを変更した場合に
は、そのポート管理情報テーブル9のIPアドレスに対
応づけられている、ポート1の接続先となるホスト11
もしくはリモートホスト12がアクセス可能に設定され
ている、前述の論理ユニット8の番号LUNは、そのま
まIPアドレスとの対応づけを維持するようにする。
=== Movement of accessible LU information ==
= When the IP address allocation to port 1 is changed, the host 11 that is the connection destination of port 1 and is associated with the IP address in the port management information table 9
Alternatively, the number LUN of the above-mentioned logical unit 8 which is set to be accessible to the remote host 12 maintains the correspondence with the IP address as it is.

【0058】これにより、IPアドレスに対応づけて設
定されている論理ユニットへのアクセス制限は、ポート
へのIPアドレスの割り当て変更後においても、そのま
ま維持されることになる。また、前述したVPN環境に
おいては、構築したVPNごとにコンピュータ上に記憶
されているデータの排他を実現することができる。
As a result, the access restriction to the logical unit set in association with the IP address is maintained as it is even after the allocation of the IP address to the port is changed. Further, in the above-mentioned VPN environment, exclusion of data stored on the computer can be realized for each constructed VPN.

【0059】[0059]

【発明の効果】本発明の複数ポートを有するコンピュー
タの制御方法によれば、各ポートの負荷を有効に分散さ
せるための複数ポートを有するコンピュータの制御方法
および複数ポートを有するコンピュータを提供すること
ができる。
According to the method of controlling a computer having a plurality of ports of the present invention, it is possible to provide a method of controlling a computer having a plurality of ports and a computer having a plurality of ports for effectively distributing the load of each port. it can.

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

【図1】本発明の一実施例によるディスクアレイ装置を
含んで構成されるストレージシステムの概略構成図であ
る。
FIG. 1 is a schematic configuration diagram of a storage system including a disk array device according to an embodiment of the present invention.

【図2】本発明の一実施例による各装置や各ポートに付
与されたIPアドレスを示す図である。
FIG. 2 is a diagram showing an IP address assigned to each device and each port according to an embodiment of the present invention.

【図3】本発明の一実施例によるポート管理情報テーブ
ルの構成を説明する図である。
FIG. 3 is a diagram illustrating a configuration of a port management information table according to an embodiment of the present invention.

【図4】本発明の一実施例によるポート間の負荷分散の
工程を説明するフローチャートである。
FIG. 4 is a flowchart illustrating a process of load distribution between ports according to an embodiment of the present invention.

【図5】本発明の一実施例によるポート間の負荷分散の
工程を説明する図である。
FIG. 5 is a diagram illustrating a process of load distribution between ports according to an embodiment of the present invention.

【図6】本発明の一実施例によるポート間の負荷分散の
工程を説明する図である。
FIG. 6 is a diagram illustrating a process of load distribution between ports according to an embodiment of the present invention.

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

1a、1b、1c、1n ポート 2a、2b、2c、2n インタフェース部 3a、3b、3c、3n CPU 4a、4b、4c、4n DMA制御部 5 共有メモリ 6 キャッシュメモリ 7 記憶制御装置 8a、8b、8c、8d 論理ユニット 9 ポート管理情報テーブル 10 インターネット 11a、11b、11c ホスト 12a、12b リモートホスト 13 ディスクアレイ装置 14a、14b、14c、14d、14e ルータ 1a, 1b, 1c, 1n ports 2a, 2b, 2c, 2n interface section 3a, 3b, 3c, 3n CPU 4a, 4b, 4c, 4n DMA controller 5 shared memory 6 cache memory 7 Storage controller 8a, 8b, 8c, 8d Logical unit 9 Port management information table 10 Internet 11a, 11b, 11c host 12a, 12b Remote host 13 Disk array device 14a, 14b, 14c, 14d, 14e routers

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 外部装置と接続する複数のデータ入出力
ポートと、前記各ポートのデータ入出力処理を担当する
複数のプロセッサと、を有するコンピュータの制御方法
であって、 コンピュータが、前記ポートと外部装置が前記ポートを
特定するために前記ポートに付与される一または複数の
外部IDとの対応づけXを記憶し、 コンピュータが、前記プロセッサの処理負荷に応じて前
記対応づけXを変更し、前記プロセッサが担当している
前記ポートの処理を前記プロセッサとは異なる他の前記
プロセッサに担当させる工程を有することを特徴とする
複数ポートを有するコンピュータの制御方法。
1. A method of controlling a computer, comprising: a plurality of data input / output ports connected to an external device; and a plurality of processors in charge of data input / output processing of the respective ports, the computer comprising: The external device stores the association X with one or more external IDs assigned to the port to identify the port, and the computer changes the association X according to the processing load of the processor, A method of controlling a computer having a plurality of ports, comprising the step of causing another processor different from the processor to handle the processing of the port handled by the processor.
【請求項2】 前記コンピュータが、前記プロセッサの
障害を検知した場合に、前記対応づけXを変更する工程
を有することを特徴とする請求項1に記載の複数ポート
を有するコンピュータの制御方法。
2. The method of controlling a computer having a plurality of ports according to claim 1, further comprising the step of changing the association X when the computer detects a failure of the processor.
【請求項3】 前記プロセッサが、自身が担当する前記
ポートの処理負荷を監視し、その処理負荷に応じて自身
が行っている処理の代行を依頼する代行依頼メッセージ
を他の前記ポートの処理を担当する他の前記プロセッサ
に送信する工程と、 前記他のプロセッサが、前記代行依頼メッセージを受信
した場合にその代行を引き受けるかどうかを決定し、代
行することを決定した場合にその旨を記載した承諾メッ
セージを前記代行依頼メッセージを送信してきた前記プ
ロセッサに送信する工程と、 前記プロセッサもしくは他の前記プロセッサが、前記承
諾メッセージを受信した場合に自身が担当する前記ポー
トに対応づけられている複数の前記外部IDを、前記承
諾メッセージを送信してきた前記プロセッサが担当する
前記ポートに対応づけるように前記対応づけXを変更す
る工程と、 を有することを特徴とする請求項1に記載の複数ポート
を有するコンピュータの制御方法。
3. The processor monitors the processing load of the port that it is in charge of, and sends a proxy request message for requesting the proxy of the process performed by itself to the process of another port according to the processing load. The step of transmitting to the other processor in charge, and the other processor, when receiving the proxy request message, decides whether to accept the proxy, and if so, describes that fact. A step of transmitting a consent message to the processor which has transmitted the proxy request message, and the processor or another processor, when the acceptance message is received, a plurality of ports associated with the port to which the processor is in charge The external ID is associated with the port in charge of the processor that has transmitted the acceptance message. Control method for a computer having a plurality of ports according to claim 1, characterized in that it comprises a step of changing the urchin the association X, a.
【請求項4】 前記プロセッサの処理負荷に応じて前記
対応づけXを変更する工程は、 前記ポートに入出力されるデータの入出力処理にかかる
前記ポートごとの単位時間当たりの前記プロセッサの命
令処理数に応じて前記対応づけを変更する工程であるこ
とを特徴とする請求項1に記載の複数ポートを有するコ
ンピュータの制御方法。
4. The step of changing the association X according to the processing load of the processor includes the instruction processing of the processor per unit time for the input / output processing of the data input / output to / from the port. 2. The method of controlling a computer having a plurality of ports according to claim 1, wherein the step of changing the association according to the number of computers.
【請求項5】 前記コンピュータが、設定した時刻に前
記対応づけXを変更する工程を起動する工程を有するこ
とを特徴とする請求項1に記載の複数ポートを有するコ
ンピュータの制御方法。
5. The method of controlling a computer having a plurality of ports according to claim 1, wherein the computer has a step of activating a step of changing the association X at a set time.
【請求項6】 前記コンピュータが、前記外部装置との
間の暗号化通信に必要な情報を前記外部IDに対応づけ
て対応づけYとして記憶し、 前記コンピュータが、前記対応づけYの状態をそのまま
維持するよう前記対応づけXを変更する工程を有するこ
とを特徴とする請求項1に記載の複数ポートを有するコ
ンピュータの制御方法。
6. The computer stores information necessary for encrypted communication with the external device in association with the external ID as association Y, and the computer keeps the state of association Y as it is. 2. The method of controlling a computer having multiple ports according to claim 1, further comprising the step of changing the association X so as to maintain it.
【請求項7】 前記暗号化通信に必要な情報は、前記外
部IDごとに付与される暗号化もしくは復号化鍵である
ことを特徴とする請求項6に記載の複数ポートを有する
コンピュータの制御方法。
7. The method of controlling a computer having a plurality of ports according to claim 6, wherein the information required for the encrypted communication is an encryption or decryption key assigned to each of the external IDs. .
【請求項8】 前記コンピュータが、1または複数の記
憶ボリュームと、 前記ポートを通じて受信したデータ入出力要求に応じて
前記記憶ボリュームに対してデータ入出力処理を行う手
段と、前記記憶ボリュームを利用する前記外部装置のI
Dと、前記各外部装置が利用可能な前記記憶ボリューム
のIDとを対応づけZとして記憶する手段と、 前記外部IDと前記外部装置のIDとを対応づけPとし
て記憶する手段と、を有し、 前記コンピュータが、前記対応づけZと前記対応づけP
の状態をそのまま維持するよう前記対応づけXを変更す
る工程を有することを特徴とする請求項1に記載の複数
ポートを有するコンピュータの制御方法。
8. The computer utilizes one or more storage volumes, means for performing data input / output processing for the storage volume in response to a data input / output request received through the port, and the storage volume. I of the external device
D, means for storing the ID of the storage volume that can be used by each of the external devices as an association Z, and means for storing the external ID and the ID of the external device as an association P. , The computer associates the association Z with the association P
The method of controlling a computer having a plurality of ports according to claim 1, further comprising the step of changing the association X so that the state of 1 is maintained as it is.
【請求項9】 前記外部IDはIPアドレスであり、前
記ポートはMACアドレスで特定されることを特徴とす
る請求項1乃至8のいずれかに記載の複数ポートを有す
るコンピュータの制御方法。
9. The method of controlling a computer having a plurality of ports according to claim 1, wherein the external ID is an IP address and the port is specified by a MAC address.
【請求項10】 外部装置と接続する複数のデータ入出
力ポートと、前記各ポートのデータ入出力処理を担当す
る複数のプロセッサと、を有するコンピュータであっ
て、 コンピュータが、前記ポートと外部装置が前記ポートを
特定するために前記ポートに付与される1または複数の
外部IDとの対応づけXを記憶し、 コンピュータが、前記プロセッサの処理負荷に応じて前
記対応づけXを変更し、前記プロセッサが担当している
前記ポートの処理を前記プロセッサとは異なる他の前記
プロセッサに担当させる手段をを有することを特徴とす
る複数ポートを有するコンピュータ。
10. A computer having a plurality of data input / output ports connected to an external device, and a plurality of processors in charge of data input / output processing of each port, wherein the computer has the port and the external device. The association X with one or more external IDs assigned to the port to identify the port is stored, the computer changes the association X according to the processing load of the processor, and the processor A computer having a plurality of ports, comprising means for causing another processor different from the processor to handle the processing of the port in charge.
【請求項11】 経路制御装置と、この経路制御装置に
接続する複数のデータ入出力ポートと、前記各ポートの
データ入出力処理を担当する複数のプロセッサとを有す
るコンピュータとを含むコンピュータシステムの制御方
法であって、 経路制御装置が、前記ポートを特定するために前記ポー
トに付与される外部IDと前記ポートとの対応づけPを
記憶し、 経路制御装置が、外部入力されるデータパケットをその
データパケットに宛先として記載される外部IDにより
特定される前記ポートに前記データパケットを送信する
工程と、 コンピュータが、前記ポートと外部装置が前記ポートを
特定するために前記ポートに付与される1または複数の
外部IDとの対応づけXを記憶する工程と、 コンピュータが、前記プロセッサの処理負荷に応じて前
記対応づけXを変更し、前記プロセッサが担当している
前記ポートの処理を前記プロセッサとは異なる他の前記
プロセッサに担当させる工程と、 コンピュータが、前記変更内容を前記経路制御装置に送
信する工程と、 経路制御装置が、前記変更内容を受信して前記対応づけ
Pを変更する工程と、 を有することを特徴とするコンピュータシステムの制御
方法。
11. A control of a computer system including a route control device, a plurality of data input / output ports connected to the route control device, and a computer having a plurality of processors in charge of data input / output processing of each port. A routing control device stores an association P of an external ID assigned to the port to identify the port and the port, and the routing control device stores the externally input data packet Transmitting the data packet to the port specified by the external ID described as the destination in the data packet, and the computer assigns the port and the external device to the port to identify the port 1 or Storing a correspondence X with a plurality of external IDs; A step of changing the association X and causing a processor other than the processor to take charge of processing of the port that the processor is in charge of; and a step of causing the computer to send the change content to the route control device. And a step of causing the path control device to receive the change content and change the association P, the control method of the computer system.
JP2002122961A 2002-04-24 2002-04-24 Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system Pending JP2003316715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002122961A JP2003316715A (en) 2002-04-24 2002-04-24 Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002122961A JP2003316715A (en) 2002-04-24 2002-04-24 Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system

Publications (1)

Publication Number Publication Date
JP2003316715A true JP2003316715A (en) 2003-11-07

Family

ID=29538428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002122961A Pending JP2003316715A (en) 2002-04-24 2002-04-24 Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system

Country Status (1)

Country Link
JP (1) JP2003316715A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005322230A (en) * 2004-05-05 2005-11-17 Internatl Business Mach Corp <Ibm> Self-optimizing workload distribution among virtual storage controllers
JP2006107019A (en) * 2004-10-04 2006-04-20 Hitachi Ltd Disk array device
JP2007018102A (en) * 2005-07-05 2007-01-25 Sharp Corp Authentication device, image forming apparatus, and image reading apparatus
JP2008016037A (en) * 2006-07-07 2008-01-24 Korea Electronics Telecommun DATA ACCELERATOR FOR iSCSI, AND iSCSI STORAGE SYSTEM USING THE SAME
US7418570B2 (en) 2004-01-22 2008-08-26 Nec Corporation Logical unit number increasing device, and logical unit number increasing method
JP2012524929A (en) * 2009-09-29 2012-10-18 株式会社日立製作所 Storage subsystem

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7418570B2 (en) 2004-01-22 2008-08-26 Nec Corporation Logical unit number increasing device, and logical unit number increasing method
JP2005322230A (en) * 2004-05-05 2005-11-17 Internatl Business Mach Corp <Ibm> Self-optimizing workload distribution among virtual storage controllers
JP4617194B2 (en) * 2004-05-05 2011-01-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Self-optimized workload distribution among virtual storage controllers
JP2006107019A (en) * 2004-10-04 2006-04-20 Hitachi Ltd Disk array device
US8615625B2 (en) 2004-10-04 2013-12-24 Hitachi, Ltd. Disk array system
JP2007018102A (en) * 2005-07-05 2007-01-25 Sharp Corp Authentication device, image forming apparatus, and image reading apparatus
JP4628204B2 (en) * 2005-07-05 2011-02-09 シャープ株式会社 Image forming apparatus
JP2008016037A (en) * 2006-07-07 2008-01-24 Korea Electronics Telecommun DATA ACCELERATOR FOR iSCSI, AND iSCSI STORAGE SYSTEM USING THE SAME
JP2012524929A (en) * 2009-09-29 2012-10-18 株式会社日立製作所 Storage subsystem

Similar Documents

Publication Publication Date Title
JP6169251B2 (en) Asymmetric packet flow in distributed load balancers
US8560631B2 (en) Storage system
US8429304B2 (en) Information processing apparatus and communication control method
Apostolopoulos et al. Design, implementation and performance of a content-based switch
US9166862B1 (en) Distributed caching system
CN105577723B (en) Virtualize the method and apparatus that load balancing is realized in network
US20040015966A1 (en) Virtual machine operating system LAN
JP2017184272A (en) Distributed load balancer
US20130061047A1 (en) Secure and efficient offloading of network policies to network interface cards
US9064124B1 (en) Distributed caching system
AU2018330053B2 (en) RDP proxy support in presence of RDP server farm with session directory or broker
CN106559451B (en) User migration method and device
JP2014158274A (en) Configuring communications between computing nodes
US9621399B1 (en) Distributed caching system
US11068398B2 (en) Distributed caching system
JP2016502795A (en) Data flow processing method and apparatus
JP2010061283A (en) Load balancer setting program, load balancer setting method and load balancer setting apparatus
CN113439428A (en) System and method for operating a device with DNS cache
JP2008504776A (en) Method and system for dynamic device address management
JP2013105308A (en) Load distribution system, load distribution device, load distribution method and load distribution program
JP6693925B2 (en) Server, communication control system, and communication control method
JP2003316715A (en) Method for controlling computer having a plurality of ports, computer having the plurality of ports and method for controlling computer system
CN101534255A (en) A method and device for realizing oriented processing of certain request
US11296981B2 (en) Serverless packet processing service with configurable exception paths
WO2023207189A1 (en) Load balancing method and system, computer storage medium, and electronic device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040928