JP2001306541A - Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor - Google Patents

Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor

Info

Publication number
JP2001306541A
JP2001306541A JP2000122649A JP2000122649A JP2001306541A JP 2001306541 A JP2001306541 A JP 2001306541A JP 2000122649 A JP2000122649 A JP 2000122649A JP 2000122649 A JP2000122649 A JP 2000122649A JP 2001306541 A JP2001306541 A JP 2001306541A
Authority
JP
Japan
Prior art keywords
destination
parallel
host address
processing
parallel processing
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
JP2000122649A
Other languages
Japanese (ja)
Inventor
Kazusue Amano
和季 天野
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 JP2000122649A priority Critical patent/JP2001306541A/en
Publication of JP2001306541A publication Critical patent/JP2001306541A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology, capable of verifying the operation of an application program in a parallel processing system, which requires parallel processing by means of plural information processors, with fewer resources. SOLUTION: Concerning the parallel processing verifying method for verifying the operation of parallel processing with communication processing between different information processors, this method has a step for acquiring the destination host address of a communication system call called by parallel processing of a verify target, a step for translating the acquired destination host address to the real host address of the information processor, in which parallel processing is operated, of the destination while referring to a destination translation table showing the correspondence between a virtual host address assigned to each of parallel processing of the verify target and the real host address of the information processor, in which the relevant parallel processing is operated, and a step for issuing the communication system call of the translated destination host address.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は並列処理を行なうプ
ログラムの動作検証を行なう並列処理検証システムに関
し、特に複数サーバを必要とする、マルチサーバ処理方
式で動作するアプリケーションプログラムの動作検証を
1つのサーバマシンで行なう並列処理検証システムに適
用して有効な技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel processing verification system for verifying the operation of a program for performing parallel processing, and more particularly, to verifying the operation of an application program operating in a multi-server processing system which requires a plurality of servers. The present invention relates to a technology effective when applied to a parallel processing verification system performed by a machine.

【0002】[0002]

【従来の技術】複数サーバマシンを使用し、並列処理を
させスループットを向上させる処理方式では、独立した
複数サーバマシンをネットワークを介して接続し、複数
サーバマシン間で処理を分散させ、処理の並列度を上げ
るマルチサーバ処理方式がある。
2. Description of the Related Art In a processing method in which a plurality of server machines are used and parallel processing is performed to improve throughput, independent plurality of server machines are connected via a network, processing is distributed among the plurality of server machines, and parallel processing is performed. There is a multi-server processing method that increases the degree.

【0003】この様なシステム上で、サーバ間で負荷分
散しながら動作するアプリケーションプログラムの動作
検証時にも並列処理の並列度に応じたサーバマシン数を
使用する。
In such a system, the number of server machines corresponding to the degree of parallel processing is also used when verifying the operation of an application program that operates while distributing the load among servers.

【0004】この様な、アプリケーションプログラムの
動作確認時、使用する実サーバ数を削減する方式とし
て、1台の計算機で複数の独立したOSを動作させ、そ
のOS上で各アプリケーションプログラムを動作させ、
各アプリケーションプログラム間の通信をOS経由の通
信で行なうことにより、連携動作を検証できるものとし
て、特開平11−149385号公報「マルチOS構成
方法」がある。
As a method for reducing the number of real servers to be used at the time of confirming the operation of an application program, a plurality of independent OSs are operated by one computer, and each application program is operated on the OS.
Japanese Patent Application Laid-Open No. H11-149385 discloses a "multi-OS configuration method" that can verify a cooperative operation by performing communication between application programs through communication via an OS.

【0005】[0005]

【発明が解決しようとする課題】従来技術では、複数サ
ーバマシンをネットワークを介して接続し並列処理する
マルチサーバ処理方式で動作するアプリケーションプロ
グラムの動作検証を、1台の実サーバマシン上で行なう
場合、各々のアプリケーションプログラム毎にOSを起
動する必要があり、多大なCPUやメモリリソースが必
要となる為、動作可能なサーバ数に限界があった。
In the prior art, operation verification of an application program operating in a multi-server processing system in which a plurality of server machines are connected via a network and processed in parallel is performed on one real server machine. Since it is necessary to start the OS for each application program and a large amount of CPU and memory resources are required, the number of operable servers is limited.

【0006】本発明の目的は上記問題を解決し、複数の
情報処理装置での並列処理が必要な並列処理方式のアプ
リケーションプログラムの動作検証をより少ないリソー
スで行なうことが可能な技術を提供することにある。
An object of the present invention is to solve the above-mentioned problem and to provide a technique capable of verifying the operation of an application program of a parallel processing method requiring parallel processing by a plurality of information processing apparatuses with less resources. It is in.

【0007】[0007]

【課題を解決するための手段】本発明は、異なる情報処
理装置間の通信処理を伴う並列処理の動作を検証する並
列処理検証システムにおいて、異なるホストアドレスが
設定された複数の並列処理の動作を単一の情報処理装置
上で検証するものである。
SUMMARY OF THE INVENTION The present invention relates to a parallel processing verification system for verifying the operation of parallel processing involving communication processing between different information processing apparatuses, in which a plurality of parallel processing operations having different host addresses are set. The verification is performed on a single information processing device.

【0008】本発明の並列処理検証システムでは、異な
る情報処理装置間の通信処理を伴う並列処理のアプリケ
ーションプログラムプロセスの動作を検証する際に、異
なるホストアドレスが設定された複数のアプリケーショ
ンプログラムプロセスを単一の情報処理装置上で動作さ
せる。この際、個々のアプリケーションプログラムプロ
セスから見て仮想的に異なる情報処理装置上で動作して
いる状態になる様に、各アプリケーションプログラムプ
ロセス間の通信が発生した場合にその宛先ホストアドレ
スの変換を行なう。
In the parallel processing verification system of the present invention, when verifying the operation of an application program process of parallel processing involving communication processing between different information processing apparatuses, a plurality of application program processes having different host addresses are simply set. Operate on one information processing device. At this time, when communication between the application program processes occurs, conversion of the destination host address is performed so that each application program process operates on a virtually different information processing apparatus as viewed from the individual application program process. .

【0009】例えば、並列処理のアプリケーションプロ
グラムプロセスがデータベースサーバである場合には、
各データベースサーバのアプリケーションプログラムプ
ロセスが仮想的に異なるサーバで動作している仮想サー
バとなる様に、各仮想サーバに対し、あたかもサーバが
実在する様にIP(Internet Protocol)アドレス等のホ
ストアドレスを付与する。
For example, when the application program process for parallel processing is a database server,
A host address such as an IP (Internet Protocol) address is assigned to each virtual server so that the application program process of each database server is running on a virtually different server, as if the server existed. I do.

【0010】仮想サーバを含むサーバ群上で動作するア
プリケーションプログラムのネットワーク定義は、仮想
サーバに付与したIPアドレスを含めて定義する。これ
により、アプリケーションプログラムプロセスからは、
仮想サーバが存在するかの様にサーバ間のプロセス間相
互通信を行なう。複数サーバ上で動作するアプリケーシ
ョンプログラムプロセスのサーバ間のプロセス間相互通
信は、例えば通信時に発行するTCP/IP(Transmiss
ion Control Protocol/Internet Protocol)ソケットイ
ンターフェースを使用する。 TCP/IPのシステム
コールは、通信の宛先をIPアドレスとプロセスのポー
ト番号で一意に管理しており、仮想サーバへの通信は、
トランスポート層のシステムコールに渡されるIPアド
レスを実際のサーバ環境のIPアドレスに書き換える事
により実現する。
The network definition of an application program that runs on a server group including a virtual server is defined including the IP address assigned to the virtual server. Thus, from the application program process,
Inter-process communication between servers is performed as if a virtual server exists. Inter-process communication between servers of an application program process operating on a plurality of servers is performed, for example, by using TCP / IP (Transmiss
Use the ion Control Protocol / Internet Protocol) socket interface. In the TCP / IP system call, the destination of communication is uniquely managed by the IP address and the port number of the process.
This is realized by rewriting the IP address passed to the transport layer system call to the IP address of the actual server environment.

【0011】宛先変換部により、あるサーバのプロセス
からある仮想サーバのプロセスへのシステムコール中の
IPアドレスを、仮想サーバに付与したIPアドレスか
ら当該仮想サーバが実在するサーバのIPアドレスに変
換する事により、送信元のプロセスからはあたかも複数
サーバが存在し、そこへ通信している様にサーバを動作
させる。
The destination conversion unit converts an IP address during a system call from a process of a server to a process of a virtual server from the IP address assigned to the virtual server to the IP address of a server in which the virtual server actually exists. As a result, a plurality of servers exist as if from a source process, and the servers are operated as if they are communicating there.

【0012】宛先の変換には、仮想サーバに付与したI
Pアドレスから実際のサーバのIPアドレスへの変換テ
ーブルを作成し、この内容に従い、通信システムコール
のIPアドレスの変換を行なう。これにより、複数サー
バ上で動作するアプリケーションプログラムから見て複
数サーバが実在する様に相互通信することができること
により、アプリケーションプログラムの動作検証をする
事ができる。
To convert the destination, the I
A conversion table from the P address to the actual server IP address is created, and the IP address of the communication system call is converted according to the contents. Thus, the application programs operating on the plurality of servers can communicate with each other as if the plurality of servers existed, so that the operation of the application programs can be verified.

【0013】前記の様に本発明によれば、1つのサーバ
マシンの1つのOS上で複数のサーバが存在している様
に動作させることができるので、複数サーバマシンでの
並列処理が必要なマルチサーバ処理方式のアプリケーシ
ョンプログラムの動作検証を、1台の実サーバ上で行な
う時のCPUやメモリリソースを削減できる効果があ
る。
As described above, according to the present invention, it is possible to operate as if a plurality of servers exist on one OS of one server machine, so that parallel processing on a plurality of server machines is required. This has the effect of reducing CPU and memory resources when the operation verification of the application program of the multi-server processing method is performed on one real server.

【0014】以上の様に本発明の並列処理検証システム
によれば、異なるホストアドレスが設定された複数の並
列処理の動作を単一の情報処理装置上で検証するので、
複数の情報処理装置での並列処理が必要な並列処理方式
のアプリケーションプログラムの動作検証をより少ない
リソースで行なうことが可能である。
As described above, according to the parallel processing verification system of the present invention, the operations of a plurality of parallel processes to which different host addresses are set are verified on a single information processing apparatus.
It is possible to perform operation verification of an application program of a parallel processing method that requires parallel processing in a plurality of information processing devices with less resources.

【0015】[0015]

【発明の実施の形態】以下に異なるサーバマシン間の通
信処理を伴う並列処理の動作を検証する一実施形態の並
列処理検証システムについて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A parallel processing verification system according to one embodiment for verifying the operation of parallel processing involving communication processing between different server machines will be described below.

【0016】図1は本実施形態の並列処理検証システム
の概略構成を示す図である。図1に示す様に本実施形態
の実サーバ20は、宛先取得処理部101と、宛先変換
処理部102と、発行処理部103とを有している。
FIG. 1 is a diagram showing a schematic configuration of a parallel processing verification system according to this embodiment. As shown in FIG. 1, the real server 20 according to the present embodiment includes a destination acquisition processing unit 101, a destination conversion processing unit 102, and an issuance processing unit 103.

【0017】宛先取得処理部101は、検証対象の並列
処理であるアプリケーションプログラムプロセスによっ
て呼び出された通信システムコールの宛先IPアドレス
を取得する処理部である。宛先変換処理部102は、検
証対象の各アプリケーションプログラムプロセスに割り
当てられた仮想的なIPアドレスと当該アプリケーショ
ンプログラムプロセスが動作している実サーバのIPア
ドレスとの対応を示す宛先変換テーブルを参照し、前記
取得した宛先IPアドレスを、その宛先のアプリケーシ
ョンプログラムプロセスが動作している実サーバのIP
アドレスに変換する処理部である。発行処理部103
は、前記宛先IPアドレスの変換された通信システムコ
ールを発行する処理部である。
The destination acquisition processing unit 101 is a processing unit that acquires a destination IP address of a communication system call called by an application program process that is a parallel process to be verified. The destination conversion processing unit 102 refers to a destination conversion table indicating a correspondence between a virtual IP address assigned to each application program process to be verified and an IP address of a real server on which the application program process is operating, The obtained destination IP address is changed to the IP of the real server on which the application program process of the destination is running.
It is a processing unit for converting to an address. Issue processing unit 103
Is a processing unit for issuing a communication system call in which the destination IP address has been converted.

【0018】実サーバ20を宛先取得処理部101、宛
先変換処理部102及び発行処理部103として機能さ
せる為のプログラムは、CD−ROM等の記録媒体に記
録され磁気ディスク等に格納された後、メモリにロード
されて実行されるものとする。なお前記プログラムを記
録する記録媒体はCD−ROM以外の他の記録媒体でも
良い。
A program for causing the real server 20 to function as the destination acquisition processing unit 101, the destination conversion processing unit 102, and the issuance processing unit 103 is recorded on a recording medium such as a CD-ROM and stored on a magnetic disk or the like. It shall be loaded into memory and executed. The recording medium for recording the program may be a recording medium other than the CD-ROM.

【0019】ここで実サーバ10の宛先変換部12も実
サーバ20の宛先変換部22と同様の処理を行なうもの
とする。
Here, the destination conversion unit 12 of the real server 10 performs the same processing as the destination conversion unit 22 of the real server 20.

【0020】図1に示した並列処理のアプリケーション
プログラムプロセスは、複数の情報処理装置によって並
列データベース処理を行なうデータベースサーバ用のプ
ロセスであるものとし、アプリケーションプログラムプ
ロセスから見て、仮想サーバ30、仮想サーバ40及び
任意の複数の仮想サーバ50が実サーバ20の中に存在
しているかの様に動作する例を表している。ここで実サ
ーバとは計算機であり、アプリケーションプログラムプ
ロセスは、各仮想サーバをIPアドレスで識別する為、
各アプリケーションプログラムプロセスに異なるIPア
ドレスを設定して動作させることにより、複数のサーバ
が存在しているものとして動作することができる。
The application program process of parallel processing shown in FIG. 1 is a process for a database server that performs parallel database processing by a plurality of information processing devices. An example in which the virtual server 50 and an arbitrary plurality of virtual servers 50 operate as if they exist in the real server 20 is shown. Here, the real server is a computer, and the application program process identifies each virtual server by an IP address.
By setting and operating different IP addresses for each application program process, it is possible to operate as if a plurality of servers exist.

【0021】実サーバ10には、アプリケーションプロ
グラムプロセス11、宛先変換部12、宛先変換テーブ
ル13が存在している。実サーバ20には、アプリケー
ションプログラムプロセス21、宛先変換部22、宛先
変換テーブル23、仮想サーバ30、仮想サーバ40、
及び任意の複数の仮想サーバ50が存在し、仮想サーバ
30にはアプリケーションプログラムプロセス31、仮
想サーバ40にはアプリケーションプログラムプロセス
41、仮想サーバ50にはアプリケーションプログラム
プロセス51が存在している。
The real server 10 includes an application program process 11, a destination conversion unit 12, and a destination conversion table 13. The real server 20 includes an application program process 21, a destination conversion unit 22, a destination conversion table 23, a virtual server 30, a virtual server 40,
A virtual server 30 has an application program process 31, a virtual server 40 has an application program process 41, and a virtual server 50 has an application program process 51.

【0022】各サーバにはサーバを識別する為のIPア
ドレスが付加されている。サーバAである実サーバ10
のIPアドレスは‘IPA’であり、サーバBである実
サーバ20は‘IPB’、仮想サーバCである仮想サー
バ30は‘IPC’、仮想サーバDである仮想サーバ4
0は‘IPD’、仮想サーバnである仮想サーバ50は
‘IPn’といったIPアドレスが付加されているもの
とする。
Each server is provided with an IP address for identifying the server. Real server 10 that is server A
Is an IP address of “IPA”, the real server 20 as the server B is “IPB”, the virtual server 30 as the virtual server C is “IPC”, and the virtual server 4 as the virtual server D
It is assumed that 0 is “IPD” and the virtual server 50 that is a virtual server n is an IP address such as “IPn”.

【0023】また、各アプリケーションプログラムプロ
セスは、通信を行なう為のポートが割り当てられてい
る。アプリケーションプログラムプロセス11のポート
は‘ポートA’であり、アプリケーションプログラムプ
ロセス21は‘ポートB’、アプリケーションプログラ
ムプロセス31は‘ポートC’、アプリケーションプロ
グラムプロセス41は‘ポートD’、アプリケーション
プログラムプロセス51は‘ポートn’を使用して通信
を行なう。
Each application program process is assigned a port for communication. The port of the application program process 11 is “port A”, the application program process 21 is “port B”, the application program process 31 is “port C”, the application program process 41 is “port D”, and the application program process 51 is “port A”. Communication is performed using port n '.

【0024】実際のサーバ構成は、実サーバ10(IP
アドレス‘IPA’)、実サーバ20(IPアドレス
‘IPB’)であるが、アプリケーションプログラムプ
ロセス11、21、31、41、51は、他に仮想サー
バ30(IPアドレス‘IPC’)、仮想サーバ40
(IPアドレス‘IPD’)、仮想サーバ50(IPア
ドレス‘IPn’)が存在するものとして定義されてお
り、各サーバ間の相互の通信を行なう。
The actual server configuration is the real server 10 (IP
Address 'IPA') and the real server 20 (IP address 'IPB'), but the application program processes 11, 21, 31, 41, and 51 additionally include the virtual server 30 (IP address 'IPC') and the virtual server 40.
(IP address 'IPD') and the virtual server 50 (IP address 'IPn') are defined, and the servers communicate with each other.

【0025】アプリケーションプログラムプロセス間の
通信は、TCP/IPのソケットインターフェースとす
る。TCP/IPのシステムコールは、アプリケーショ
ンプログラムプロセス間通信の宛先を、IPアドレスと
プロセスのポート番号で管理している。
Communication between application program processes is performed using a TCP / IP socket interface. In the TCP / IP system call, the destination of communication between application programs and processes is managed by the IP address and the port number of the process.

【0026】あるサーバのアプリケーションプログラム
プロセスから仮想サーバのアプリケーションプログラム
プロセスへの通信システムコールの宛先IPアドレス
を、宛先変換部12または22により、仮想サーバ(仮
想サーバ30、仮想サーバ40、仮想サーバ50)が実
在する実サーバ20のIPアドレスに変換する事によ
り、送信元のアプリケーションプログラムプロセスは、
あたかも複数サーバへ通信している様に動作することが
できる。
The destination IP address of the communication system call from the application program process of a certain server to the application program process of the virtual server is converted into a virtual server (virtual server 30, virtual server 40, virtual server 50) by the destination conversion unit 12 or 22. Is converted to the IP address of the real server 20 which is present, the application program process of the transmission source
It can operate as if communicating with multiple servers.

【0027】宛先の変換には実際のサーバ構成(実サー
バ10、実サーバ20)のIPアドレスと仮想サーバに
付加したIPアドレスから宛先変換テーブル13及び2
3を作成し、この内容に従って宛先の変換を行なう。
To convert the destination, the destination conversion tables 13 and 2 are converted from the IP address of the actual server configuration (real server 10 and real server 20) and the IP address added to the virtual server.
3 is created and the destination is converted according to the contents.

【0028】図2は本実施形態のアプリケーションプロ
グラムプロセスから見た通信定義と実際のサーバ環境定
義の対比を示す図である。図2では、図1の構成でのア
プリケーションプログラムプロセスに定義されているサ
ーバ名、IPアドレス、ポート番号と実際のサーバ名称
とIPアドレスを表60で表している。
FIG. 2 is a diagram showing a comparison between a communication definition and an actual server environment definition as viewed from the application program process of the present embodiment. In FIG. 2, a table 60 shows server names, IP addresses, port numbers, actual server names and IP addresses defined in the application program process in the configuration of FIG.

【0029】図3は本実施形態の宛先変換テーブル13
及び23の例を示す図である。実サーバ10のアプリケ
ーションプログラムプロセス11から実サーバ20のア
プリケーションプログラムプロセス21への通信51で
は、実在する実サーバ20(IPアドレス:IPB)、
ポートBへの通信の為、変換を行なわない。
FIG. 3 shows the destination conversion table 13 of this embodiment.
And FIG. In the communication 51 from the application program process 11 of the real server 10 to the application program process 21 of the real server 20, an existing real server 20 (IP address: IPB),
No conversion is performed for communication to port B.

【0030】実サーバ10のアプリケーションプログラ
ムプロセス11から仮想サーバ30のアプリケーション
プログラムプロセス31への通信52では、仮想サーバ
である仮想サーバ30(IPアドレス:IPC)への通
信の為、宛先変換部12に於いて、予め定義してある宛
先変換テーブル13に従い、宛先IPアドレスをIPC
から実在する実サーバ20のIPアドレスであるIPB
へ置き換え、通信システムコールを発行する。これによ
り、実サーバ20(IPB)のポートCへの通信を可能
とする。
In the communication 52 from the application program process 11 of the real server 10 to the application program process 31 of the virtual server 30, the destination conversion unit 12 communicates with the virtual server 30 (IP address: IPC) which is a virtual server. In accordance with the destination conversion table 13 defined in advance, the destination IP address is
IPB which is the IP address of the real server 20 existing from
And issues a communication system call. This enables communication to the port C of the real server 20 (IPB).

【0031】アプリケーションプログラムプロセス21
からアプリケーションプログラムプロセス31への通信
53では、同一実サーバ内の仮想サーバである仮想サー
バ30(IPアドレス:IPC)への通信であり、宛先
変換部22により宛先変換テーブル23に従って、宛先
IPアドレスを実在する実サーバ20のIPアドレスで
あるIPBへ置き換えて通信システムコールを発行する
事により、同一サーバ内でも別のサーバと通信している
様に通信システムコールを発行する。
Application program process 21
Is a communication to the virtual server 30 (IP address: IPC), which is a virtual server in the same real server, and the destination IP address is changed by the destination conversion unit 22 in accordance with the destination conversion table 23. By issuing a communication system call by substituting the IP address of the real server 20 with the IP address IPB, the communication system call is issued as if communicating with another server within the same server.

【0032】置き換えが行なわれる通信システムコール
は、TCP/IPソケットインターフェースのconn
ect、bind、acceptを想定しており、上記
通信システムコールがコールされると、その契機で宛先
変換部12または22が呼び出されて動作する。
The communication system call in which the replacement takes place is the conn of the TCP / IP socket interface.
ect, bind, and accept are assumed. When the communication system call is called, the destination conversion unit 12 or 22 is called and operates upon the call.

【0033】図4は本実施形態のプロセスからコールさ
れた通信システムコールの宛先変換部22による変換の
例を示す図である。図4では、アプリケーションプログ
ラムプロセス31からのアプリケーションプログラムプ
ロセス41への通信54について、実際の通信システム
コールに対し、宛先変換部22での置き換えの例を表し
ている。
FIG. 4 is a view showing an example of conversion by the destination conversion unit 22 of a communication system call called from the process of the present embodiment. FIG. 4 shows an example in which the communication 54 from the application program process 31 to the application program process 41 is replaced by the destination conversion unit 22 for an actual communication system call.

【0034】アプリケーションプログラムプロセス41
で、アプリケーションプログラムプロセス41から見た
通信定義により、bind(IPD)通信システムコー
ルをコールすると、その契機で宛先変換部22が呼び出
され、宛先変換テーブル23の内容に従って宛先IPア
ドレスの変換を行ない、bind(IPB)を生成して
コールする。同じくaccept(IPC)も宛先変換
部22でaccept(IPB)へ変換される。
Application program process 41
Then, when a bind (IPD) communication system call is called according to the communication definition viewed from the application program process 41, the destination conversion unit 22 is called upon the call, and the destination IP address is converted according to the contents of the destination conversion table 23. Generate and call bind (IPB). Similarly, accept (IPC) is also converted to accept (IPB) by the destination conversion unit 22.

【0035】アプリケーションプログラムプロセス31
でもアプリケーションプログラムプロセス41と通信を
行なう為、connect(IPD)通信システムコー
ルをコールすると、その契機で宛先変換部22が呼び出
され、IPアドレスを変換し、connect(IP
B)を生成してコールする事により、アプリケーション
プログラムプロセス31とアプリケーションプログラム
プロセス41間の通信を実現させる。
Application program process 31
However, in order to communicate with the application program process 41, when a connect (IPD) communication system call is called, the destination conversion unit 22 is called upon that call, converts the IP address, and connects (IPD).
By generating and calling B), communication between the application program process 31 and the application program process 41 is realized.

【0036】図5は本実施形態のIPアドレス変換の一
覧表を示す図である。図5では、図1の構成例における
プロセス間通信に対する宛先変換部12及び22でのI
Pアドレス置き換えについての一覧表を表している。図
4(通信54)の例では、送信がサーバC、受信がサー
バDであり、送信側通信システムコールconnec
t、受信側通信システムコールbind、accept
のIPアドレスを何に自動変換するかを示している。
FIG. 5 is a diagram showing a list of IP address conversion according to this embodiment. In FIG. 5, I in the destination conversion units 12 and 22 for the inter-process communication in the configuration example of FIG.
9 shows a list of P address replacement. In the example of FIG. 4 (communication 54), the transmission is server C and the reception is server D, and the transmission side communication system call connect
t, receiving communication system call bind, accept
To what is automatically converted to the IP address.

【0037】図6は本実施形態の宛先変換部12及び2
2の処理手順を示すフローチャートである。本実施形態
の宛先変換部12または22は、各アプリケーションプ
ログラムプロセス11、21、31、41、51が通信
システムコールを発行すると、その契機で呼び出され、
ステップ81では、宛先変換部12または22の宛先取
得処理部101により、前記発行された通信システムコ
ールの宛先IPアドレスを取得する。
FIG. 6 shows the destination conversion units 12 and 2 of this embodiment.
6 is a flowchart illustrating a processing procedure of No. 2; When each of the application program processes 11, 21, 31, 41, and 51 issues a communication system call, the destination conversion unit 12 or 22 of the present embodiment is called at the opportunity thereof,
In step 81, the destination acquisition processing unit 101 of the destination conversion unit 12 or 22 acquires the destination IP address of the issued communication system call.

【0038】通信システムコールの宛先IPアドレスを
取得した後、ステップ82で宛先変換部12または22
の宛先変換処理部102は、宛先変換テーブル13また
は23を参照して変換対象のIPアドレスを取得する。
After obtaining the destination IP address of the communication system call, at step 82 the destination conversion unit 12 or 22
The destination conversion processing unit 102 acquires the IP address to be converted with reference to the destination conversion table 13 or 23.

【0039】ステップ83で宛先変換処理部102は、
前記発行された通信システムコールの宛先IPアドレス
が変換対象のIPアドレスであるかどうかを判定し、変
換対象でなければステップ84へ進み、発行処理部10
3によりIPアドレス変換無しで通信システムコールを
発行してリターンする。
In step 83, the destination conversion processing unit 102
It is determined whether or not the destination IP address of the issued communication system call is an IP address to be converted.
3 and issues a communication system call without IP address conversion and returns.

【0040】ステップ83で判定した結果、前記発行さ
れた通信システムコールの宛先IPアドレスが変換対象
のIPアドレスである場合にはステップ85へ進み、宛
先変換テーブル13または23に従って、前記発行され
た通信システムコールの宛先IPアドレスを、その宛先
のアプリケーションプログラムプロセスが動作している
実サーバのIPアドレスに変換する。その後、ステップ
86で発行処理部103により、変換後の宛先IPアド
レスで通信システムコールを発行してリターンする。
If the result of the determination in step 83 is that the destination IP address of the issued communication system call is the IP address to be converted, the flow proceeds to step 85, and the issued communication is performed according to the destination conversion table 13 or 23. The destination IP address of the system call is converted to the IP address of the real server on which the destination application program process is running. Thereafter, in step 86, the issuance processing unit 103 issues a communication system call with the converted destination IP address, and returns.

【0041】以上の様な方法により、実サーバ20の中
に複数の仮想サーバ(仮想サーバ30、仮想サーバ4
0、仮想サーバ50)のIPアドレスを定義する事によ
り、1つサーバマシン上に複数のサーバマシンが存在し
ているかの様にしてアプリケーションを動作させること
ができる。
By the above method, a plurality of virtual servers (virtual server 30, virtual server 4
0, by defining the IP address of the virtual server 50), the application can be operated as if a plurality of server machines exist on one server machine.

【0042】前記の様に本実施形態によれば、1つのサ
ーバマシンの1つのOS上で複数のサーバが存在してい
る様に動作させることができるので、複数サーバマシン
での並列処理が必要なマルチサーバ処理方式のアプリケ
ーションプログラムの動作検証を、1台の実サーバ上で
行なう時のCPUやメモリリソースを削減できる効果が
ある。
As described above, according to the present embodiment, it is possible to operate as if a plurality of servers exist on one OS of one server machine, so that parallel processing on a plurality of server machines is required. This has the effect of reducing the CPU and memory resources when verifying the operation of a multi-server processing application program on a single real server.

【0043】以上説明した様に本実施形態の並列処理検
証システムによれば、異なるホストアドレスが設定され
た複数の並列処理の動作を単一の情報処理装置上で検証
するので、複数の情報処理装置での並列処理が必要な並
列処理方式のアプリケーションプログラムの動作検証を
より少ないリソースで行なうことが可能である。
As described above, according to the parallel processing verification system of the present embodiment, the operations of a plurality of parallel processes to which different host addresses are set are verified on a single information processing apparatus. The operation verification of the application program of the parallel processing method that requires parallel processing in the device can be performed with less resources.

【0044】[0044]

【発明の効果】本発明によれば異なるホストアドレスが
設定された複数の並列処理の動作を単一の情報処理装置
上で検証するので、複数の情報処理装置での並列処理が
必要な並列処理方式のアプリケーションプログラムの動
作検証をより少ないリソースで行なうことが可能であ
る。
According to the present invention, the operation of a plurality of parallel processes set with different host addresses is verified on a single information processing device. The operation verification of the application program of the system can be performed with less resources.

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

【図1】本実施形態の並列処理検証システムの概略構成
を示す図である。
FIG. 1 is a diagram illustrating a schematic configuration of a parallel processing verification system according to an embodiment.

【図2】本実施形態のアプリケーションプログラムプロ
セスから見た通信定義と実際のサーバ環境定義の対比を
示す図である。
FIG. 2 is a diagram illustrating a comparison between a communication definition and an actual server environment definition as viewed from an application program process of the embodiment.

【図3】本実施形態の宛先変換テーブル13及び23の
例を示す図である。
FIG. 3 is a diagram illustrating an example of destination conversion tables 13 and 23 according to the present embodiment.

【図4】本実施形態のプロセスからコールされた通信シ
ステムコールの宛先変換部22による変換の例を示す図
である。
FIG. 4 is a diagram illustrating an example of conversion of a communication system call called from the process of the embodiment by the destination conversion unit 22;

【図5】本実施形態のIPアドレス変換の一覧表を示す
図である。
FIG. 5 is a diagram showing a list of IP address conversion according to the embodiment;

【図6】本実施形態の宛先変換部12及び22の処理手
順を示すフローチャートである。
FIG. 6 is a flowchart illustrating a processing procedure of destination conversion units 12 and 22 according to the present embodiment.

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

10…実サーバ、11、21、31、41、51…アプ
リケーションプログラムプロセス、12及び22…宛先
変換部、13及び23…宛先変換テーブル、20…実サ
ーバ、30、40、50…仮想サーバ、51、52、5
3、54…通信、101…宛先取得処理部、102…宛
先変換処理部、103…発行処理部。
10 real server, 11, 21, 31, 41, 51 application program process, 12 and 22 destination conversion unit, 13 and 23 destination conversion table, 20 real server, 30, 40, 50 virtual server 51 , 52, 5
3, 54: communication, 101: destination acquisition processing unit, 102: destination conversion processing unit, 103: issue processing unit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 異なる情報処理装置間の通信処理を伴う
並列処理の動作を検証する並列処理検証方法において、 検証対象の並列処理によって呼び出された通信システム
コールの宛先ホストアドレスを取得するステップと、検
証対象の各並列処理に割り当てられた仮想的なホストア
ドレスと当該並列処理が動作している情報処理装置の実
際のホストアドレスとの対応を示す宛先変換テーブルを
参照し、前記取得した宛先ホストアドレスを、その宛先
の並列処理が動作している情報処理装置の実際のホスト
アドレスに変換するステップと、前記宛先ホストアドレ
スの変換された通信システムコールを発行するステップ
とを有することを特徴とする並列処理検証方法。
1. A parallel processing verification method for verifying the operation of parallel processing involving communication processing between different information processing apparatuses, comprising: obtaining a destination host address of a communication system call called by the parallel processing to be verified; The destination host address obtained by referring to the destination conversion table indicating the correspondence between the virtual host address assigned to each parallel processing to be verified and the actual host address of the information processing apparatus in which the parallel processing is operating To the actual host address of the information processing apparatus in which the parallel processing of the destination is operating, and a step of issuing a communication system call with the converted destination host address. Processing verification method.
【請求項2】 前記並列処理は複数のデータベースサー
バ間で通信を行なってデータベース処理を並列に実行す
るものであることを特徴とする請求項1に記載された並
列処理検証方法。
2. The parallel processing verification method according to claim 1, wherein the parallel processing performs communication between a plurality of database servers to execute database processing in parallel.
【請求項3】 前記ホストアドレスは各並列処理が動作
する情報処理装置を識別するIPアドレスであることを
特徴とする請求項1または請求項2のいずれかに記載さ
れた並列処理検証方法。
3. The parallel processing verification method according to claim 1, wherein the host address is an IP address for identifying an information processing apparatus on which each parallel processing operates.
【請求項4】 異なる情報処理装置間の通信処理を伴う
並列処理の動作を検証する並列処理検証システムにおい
て、 検証対象の並列処理によって呼び出された通信システム
コールの宛先ホストアドレスを取得する宛先取得処理部
と、検証対象の各並列処理に割り当てられた仮想的なホ
ストアドレスと当該並列処理が動作している情報処理装
置の実際のホストアドレスとの対応を示す宛先変換テー
ブルを参照し、前記取得した宛先ホストアドレスを、そ
の宛先の並列処理が動作している情報処理装置の実際の
ホストアドレスに変換する宛先変換処理部と、前記宛先
ホストアドレスの変換された通信システムコールを発行
する発行処理部とを備えることを特徴とする並列処理検
証システム。
4. A destination acquisition process for acquiring a destination host address of a communication system call called by a parallel process to be verified in a parallel processing verification system for verifying an operation of a parallel process involving a communication process between different information processing apparatuses. And the destination conversion table indicating the correspondence between the virtual host addresses assigned to the respective parallel processes to be verified and the actual host addresses of the information processing apparatuses on which the parallel processes are operating, and A destination conversion processing unit that converts a destination host address into an actual host address of an information processing apparatus in which parallel processing of the destination is operating; and an issue processing unit that issues a communication system call in which the destination host address is converted. A parallel processing verification system comprising:
【請求項5】 異なる情報処理装置間の通信処理を伴う
並列処理の動作を検証する並列処理検証システムとして
コンピュータを機能させる為のプログラムを記録したコ
ンピュータ読み取り可能な記録媒体において、 検証対象の並列処理によって呼び出された通信システム
コールの宛先ホストアドレスを取得する宛先取得処理部
と、検証対象の各並列処理に割り当てられた仮想的なホ
ストアドレスと当該並列処理が動作している情報処理装
置の実際のホストアドレスとの対応を示す宛先変換テー
ブルを参照し、前記取得した宛先ホストアドレスを、そ
の宛先の並列処理が動作している情報処理装置の実際の
ホストアドレスに変換する宛先変換処理部と、前記宛先
ホストアドレスの変換された通信システムコールを発行
する発行処理部としてコンピュータを機能させる為のプ
ログラムを記録したことを特徴とする記録媒体。
5. A computer-readable recording medium on which a program for causing a computer to function as a parallel processing verification system for verifying the operation of parallel processing involving communication processing between different information processing apparatuses is provided. And a virtual host address assigned to each parallel process to be verified and the actual information processing device of the information processing apparatus on which the parallel process is operating. A destination conversion processing unit that refers to a destination conversion table indicating a correspondence with a host address, and converts the obtained destination host address into an actual host address of an information processing apparatus in which parallel processing of the destination is operating; The issue processing unit issues a communication system call with the translated destination host address. Recording medium characterized by recording a program for the functioning of the Yuta.
JP2000122649A 2000-04-24 2000-04-24 Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor Pending JP2001306541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000122649A JP2001306541A (en) 2000-04-24 2000-04-24 Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000122649A JP2001306541A (en) 2000-04-24 2000-04-24 Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor

Publications (1)

Publication Number Publication Date
JP2001306541A true JP2001306541A (en) 2001-11-02

Family

ID=18633101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000122649A Pending JP2001306541A (en) 2000-04-24 2000-04-24 Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor

Country Status (1)

Country Link
JP (1) JP2001306541A (en)

Similar Documents

Publication Publication Date Title
US6845505B1 (en) Web request broker controlling multiple processes
TWI230898B (en) Method and apparatus for off-load processing of a message stream
US8205213B2 (en) Method and apparatus for dynamically brokering object messages among object models
WO2019184164A1 (en) Method for automatically deploying kubernetes worker node, device, terminal apparatus, and readable storage medium
US20080025297A1 (en) Facilitating use of generic addresses by network applications of virtual servers
US6976258B1 (en) Providing quality of service guarantees to virtual hosts
US6636900B2 (en) Method and apparatus for executing distributed objects over a network
US20130263146A1 (en) Event driven sendfile
US20130086594A1 (en) Execution of applications distributed across a plurality of computing devices
JPH1083308A (en) Subsystem, method, and recording medium for stab retrieval and loading
US7090749B2 (en) Method and apparatus for simulating application workloads on an e-business application server
US6708171B1 (en) Network proxy
JPH10133895A (en) Method for operating multiplex os network
CN111277432A (en) Configuration information updating method and device, electronic equipment and storage medium
CN108933829A (en) A kind of load-balancing method and device
JP2008071359A (en) Method and device for server load sharing based on foreign port distribution
US9077718B2 (en) Server machine and network processing method
US7735095B2 (en) Network device drivers using a communication transport
CN112688915A (en) Cross-protocol communication method, device and server
JP2001306541A (en) Parallel processing verifying method, apparatus for executing the same, and recording medium with recorded processing program therefor
US6065045A (en) Method and apparatus for object reference processing
JP2001282737A (en) Job load dispersion system
JP5530810B2 (en) Scale-out system and method and program
KR101001035B1 (en) Method for assigning dynamically virtual ip in server based computing system of terminal environment and terminal server apparatus therefor
CN113271260A (en) Load balancing processing method, device, equipment and storage medium