JP2006099162A - Operation and management system and program for business web system based on service-oriented architecture - Google Patents

Operation and management system and program for business web system based on service-oriented architecture Download PDF

Info

Publication number
JP2006099162A
JP2006099162A JP2004280905A JP2004280905A JP2006099162A JP 2006099162 A JP2006099162 A JP 2006099162A JP 2004280905 A JP2004280905 A JP 2004280905A JP 2004280905 A JP2004280905 A JP 2004280905A JP 2006099162 A JP2006099162 A JP 2006099162A
Authority
JP
Japan
Prior art keywords
business
web
policy
web service
management system
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
JP2004280905A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kobayashi
宏至 小林
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 Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2004280905A priority Critical patent/JP2006099162A/en
Publication of JP2006099162A publication Critical patent/JP2006099162A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an operation and management technique of servers, which realizes a deadline scheduling function necessary for a business system and corresponding to a Web system established based on service-oriented architecture. <P>SOLUTION: In the system and a program for operating and managing the business Web system established based on service-oriented architecture, resources of Web services necessary for processing a predetermined business by the business Web system are estimated, a policy for instructing the completion of the predetermined business up to a predetermined date is set, and the business Web system is operated on the set policy. The resources necessary for executing Web services are preliminarily measured for each department, each post or each business, and the resources necessary for executing a designated policy are ensured in advance, whereby the business can be processed within a predetermined time even if processing is concentrated. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、Webサービスやグリッド技術によるサービス連携によって構成されている業務系Webシステムの運用及び管理の技術に関する。   The present invention relates to a technology for operation and management of a business-related Web system configured by service cooperation using a Web service or grid technology.

従来、WebシステムにおいてWebサーバの負荷を分散する技術として、例えば、下記特許文献1及び特許文献2に記載のものが知られている。   Conventionally, as a technique for distributing the load of a Web server in a Web system, for example, those described in Patent Document 1 and Patent Document 2 below are known.

下記特許文献1に記載のものは、窓口サーバが、常にWebサーバ負荷状況を監視し、リクエストしてきたクライアントを、リダイレクト技術により、リストの中で負荷の小さいWebサーバと通信させるものである。   In the one described in Patent Document 1 below, the window server constantly monitors the Web server load status, and makes a requesting client communicate with a Web server with a low load in the list by a redirect technology.

また、下記特許文献2に記載のものは、負荷分散装置が、クライアントからのサービス要求パケットのヘッダ情報から、要求されたサービスを遂行するのに必要なリソースを見積もり、必要なリソース分の余裕があるWebサーバにパケットを振り分けることで、動的負荷分散を行うようにしたものである。
特開2003−108537号公報 特開2002−91936号公報
Further, in the device described in Patent Document 2 below, the load balancer estimates the resources necessary to perform the requested service from the header information of the service request packet from the client, and there is a margin for the necessary resources. Dynamic load distribution is performed by distributing packets to a Web server.
JP 2003-108537 A JP 2002-91936 A

しかしながら、上記特許文献1及び2に記載の技術は、インターネットを対象とした旧来の3層アーキテクチャで構築されたWebシステムを前提としているので、業務系システム(イントラネット)を対象としサービス指向アーキテクチャに基づいて構築されたWebシステムに適用できないという問題がある。   However, since the techniques described in Patent Documents 1 and 2 are based on a Web system constructed with a conventional three-tier architecture for the Internet, the technology is based on a service-oriented architecture for business systems (intranet). There is a problem that it cannot be applied to a Web system constructed with the above.

ここで、サービス指向アーキテクチャに基づいて構築されたWebシステムとは、Webサーバをインターフェースとして利用し、該Webサーバのバックエンドに複数のWebサービスサーバを接続し、実質的な処理はそれら複数のWebサービスサーバ上で動作するサービスを連携させたシステムで行うシステムである。ただし、各Webサービスサーバ上で動作するサービスは同一とは限らず、管理者の指示により、一台のWebサービスサーバ上で動作するサービスの個数や種類、各サービスが利用できるリソースの割合は変更できる。   Here, a web system constructed based on a service-oriented architecture uses a web server as an interface, connects a plurality of web service servers to the back end of the web server, and the substantial processing is performed on the web servers. It is a system that performs a system that links services running on a service server. However, the services that run on each Web service server are not necessarily the same, and the number and type of services that run on one Web service server and the percentage of resources that each service can use change according to the instructions of the administrator. it can.

このとき、Webサーバはインターフェースの役割しかしていないので、負荷分散の対象となるのは、Webサービスサーバとなる。各Webサービスサーバは、特許文献1及び2に記載の全て同じアプリケーションが動作しているWebサーバとは異なり、お互いに異なるサービスを動作させている。そのため、特許文献1及び2の技術を、これらWebサービスサーバに適用できない問題が生じる。   At this time, since the Web server only serves as an interface, the load distribution target is the Web service server. Each Web service server operates different services from each other, unlike Web servers in which all the same applications described in Patent Documents 1 and 2 are operating. Therefore, there arises a problem that the techniques of Patent Documents 1 and 2 cannot be applied to these Web service servers.

また、業務システムの場合、ヒューマンワークフローにおいて、全ての関連する従業員の処理が決められた日時までに完了しなければならない、というデッドラインスケジューリングが必要になる。しかしながら、特許文献1及び2の技術には、このような仕組みがなく、締め切り間際に多数の従業員による処理が集中しても対応できないという問題がある。   Further, in the case of a business system, deadline scheduling is required in which the processing of all related employees must be completed by a predetermined date and time in the human workflow. However, the techniques of Patent Documents 1 and 2 do not have such a mechanism, and there is a problem that even if processing by many employees is concentrated just before the deadline, it cannot be handled.

本発明の目的は、上記課題を解決することにあり、特に、サービス指向アーキテクチャに基づいて構築されたWebシステムに対応し、業務系システムに必要なデッドラインスケジューリング機能を実現するサーバの運用・管理システム及びプログラムを提供することにある。   An object of the present invention is to solve the above-mentioned problems, and in particular, the operation and management of a server corresponding to a Web system built based on a service-oriented architecture and realizing a deadline scheduling function necessary for a business system. It is to provide a system and a program.

上記目的を達成するために、本発明は、サービス指向アーキテクチャに基づいて構築された任意の数のWebサービスサーバを備える業務系のWebシステムを運用・管理する業務系Webシステムの運用・管理システム及びプログラムで、業務系Webシステムが所定の業務を処理するのに必要なWebサービスのリソースを見積もり、前記所定の業務が所定の日時までに完了すべきことを指示するポリシーを設定し、設定されたポリシーに基づいて前記業務系Webシステムを運用することを特徴とするものである。   In order to achieve the above object, the present invention provides an operation / management system for a business web system that operates and manages a business web system including an arbitrary number of web service servers constructed based on a service-oriented architecture, and The program estimates the Web service resources necessary for the business Web system to process a given job, and sets and sets a policy that indicates that the given job should be completed by a given date and time The business web system is operated based on a policy.

リソースの見積もりにおいては、前記所定の業務を処理するのに必要なWebサービスを実行するのに必要なリソースを、そのWebサービスを含む業務及び利用する従業員の部署・役職ごとに測定・管理することにより見積もる。ポリシーの設定においては、前記所定の業務が所定の日時までに完了すべきことを指示するポリシーの入力を受け付け、入力されたポリシーを遂行するのに必要となる各Webサービスのリソースを算出し、入力されたポリシーで指定された業務が完了すべき日時の前に、前記業務系Webシステムが前記ポリシーを遂行できるようにリソースを割り当てる。ポリシーは、例えば、完了させるべき前記所定の業務を示す情報のほか、その業務を行う従業員の部署と役職、その業務を完了させるべき日付と時間帯、及びその業務を完了させる優先度を含むものとする。リソースを算出する際には、前記リソースの見積もり結果に基づいて、前記業務系Webシステムが前記ポリシーを遂行できるだけのリソースを求めるとともに、求めたリソースの値を前記優先度により調整するようにする。また、優先度により調整されたリソースを確保するように、前記WebサービスサーバにWebサービスを配置する。さらに、優先度の高い業務に対しては、その業務を構成するWebサービスを疎結合から密結合に変換して、前記Webサービスサーバに配置する。   In resource estimation, measure and manage the resources required to execute the Web service required to process the predetermined business for each business unit including the Web service and each department / post of the employee to use. Estimate by In setting the policy, it accepts an input of a policy instructing that the predetermined work should be completed by a predetermined date and time, calculates the resources of each Web service required to execute the input policy, Prior to the date and time when the business specified by the input policy is to be completed, resources are allocated so that the business Web system can execute the policy. The policy includes, for example, the information indicating the predetermined work to be completed, the department and title of the employee who performs the work, the date and time period for completing the work, and the priority for completing the work. Shall be. When calculating resources, based on the resource estimation results, the business Web system obtains resources that can execute the policy, and adjusts the obtained resource values according to the priorities. In addition, a Web service is arranged on the Web service server so as to secure resources adjusted according to priority. Further, for a business with a high priority, the web service that constitutes the business is converted from loosely coupled to tightly coupled and placed on the web service server.

前記業務系Webシステムの運用においては、前記Webサービスとそれが配置されているWebサービスサーバとの対応を管理する。また、従業員の部署・役職、及び処理しようとしている業務に対応するポリシーの優先度に応じて、その従業員からのリクエストを適当なWebサービスを実行しているWebサービスサーバに割り振るようにする。ポリシーで決められた部署・役職の従業員により前記業務が完了した場合、そのポリシーのために確保しておいたリソースを開放する。   In the operation of the business web system, the correspondence between the web service and the web service server on which the web service is arranged is managed. In addition, according to the priority of the policy corresponding to the department / post of the employee and the business to be processed, the request from the employee is allocated to the Web service server that executes the appropriate Web service. . When the work is completed by an employee of the department / position determined by the policy, the resources reserved for the policy are released.

本発明によれば、部署、役職、あるいは業務毎に、Webサービスを実行するのに必要なリソースを予め測定しておき、指定されたポリシーを遂行するのに必要なリソースを事前に確保しておくことで、処理が集中しても決められた時間内に業務を処理することができる。また、部署、役職、あるいは業務毎に必要なリソースを管理しておくことで、人事異動等で多くの従業員の部署や役職が変更になっても対応できる。さらに、事前にポリシーを遂行する上で必要なリソースを確保しておくことで、運用時にWebサービスサーバの状態を監視するコストを削減することができる。以上のようにして、サービス指向アーキテクチャに基づいて構築されたWebシステムに対応し、業務系システムに必要なデッドラインスケジューリング機能を実現することができる。   According to the present invention, resources required to execute a Web service are measured in advance for each department, job title, or business, and resources required to execute a specified policy are secured in advance. Therefore, even if the processing is concentrated, the business can be processed within a predetermined time. In addition, by managing the resources required for each department, position, or business, it is possible to cope with changes in the department or position of many employees due to personnel changes. Furthermore, by securing resources necessary for executing policies in advance, the cost of monitoring the status of the Web service server during operation can be reduced. As described above, it is possible to realize a deadline scheduling function required for a business system, corresponding to a Web system constructed based on a service-oriented architecture.

以下、本発明を実施する場合の一形態を図面を参照して具体的に説明する。   Hereinafter, an embodiment for carrying out the present invention will be specifically described with reference to the drawings.

図1は、本発明の実施の一形態であるWebシステムの全体構成図である。このWebシステムは、クライアント101、Webサーバ103、管理サーバ104、管理クライアント105、及びWebサービスサーバ群110を備えている。Webサービスサーバ群110は、Webサービスを実行する複数のWebサービスサーバ111から構成される。クライアント101は、イントラネット102を通してWebサーバ103にリクエストを送信し、その結果を受信する。Webサーバ103は、クライアント101からのリクエストを受信するWebサービスサーバ群110にジョブを送信し、その結果をクライアント101に送信する。管理サーバ104は、管理者によって設定されたポリシーを実現するように、Webサーバ103やWebサービスサーバ111を制御する。管理クライアント105は、管理サーバ104に対して運用ポリシーを設定する。   FIG. 1 is an overall configuration diagram of a Web system according to an embodiment of the present invention. This Web system includes a client 101, a Web server 103, a management server 104, a management client 105, and a Web service server group 110. The web service server group 110 includes a plurality of web service servers 111 that execute web services. The client 101 transmits a request to the Web server 103 through the intranet 102 and receives the result. The Web server 103 transmits a job to the Web service server group 110 that receives a request from the client 101, and transmits the result to the client 101. The management server 104 controls the Web server 103 and the Web service server 111 so as to realize the policy set by the administrator. The management client 105 sets an operation policy for the management server 104.

図2は、管理サーバ104のブロック図である。管理サーバ104は、通信部201、制御部210、及びデータベース(DB)部220を備える。制御部210は、ユーザ認証を行う認証部211、WebサービスをWebサービスサーバ群110の各Webサービスサーバ111に配置するサービス配置部212、設定されたポリシーから必要なリソースを計算するリソース計算部213、及びポリシーの実行を制御するポリシー実行部214を備える。また、DB部220は、認証情報DB221、ソースコードDB222、サーバ管理DB223、リソース情報DB224、及びポリシーDB225を備える。   FIG. 2 is a block diagram of the management server 104. The management server 104 includes a communication unit 201, a control unit 210, and a database (DB) unit 220. The control unit 210 includes an authentication unit 211 that performs user authentication, a service placement unit 212 that places a web service on each web service server 111 of the web service server group 110, and a resource calculation unit 213 that calculates necessary resources from a set policy. And a policy execution unit 214 for controlling the execution of the policy. The DB unit 220 includes an authentication information DB 221, a source code DB 222, a server management DB 223, a resource information DB 224, and a policy DB 225.

図3は、認証情報DB221のデータ構造を示す。認証情報DB221は、本システムを利用する各従業員の認証情報を保持する。具体的には、各従業員の、従業員番号、氏名、部署、役職、アカウント、及びパスワードなどを保持している。   FIG. 3 shows the data structure of the authentication information DB 221. The authentication information DB 221 holds authentication information of each employee who uses this system. Specifically, each employee has an employee number, name, department, title, account, password, and the like.

図示しないが、ソースコードDB222は、各種のWebサービスのソースコードを保持する。管理サーバ104は、設定されているポリシーに基づいて、複数のWebサービスサーバ111のそれぞれに配置するWebサービスを決定するが、決定されたWebサービスのソースコードが(コンパイル後)各Webサービスサーバ111に送られて実行され、これにより各Webサービスサーバ111によるWebサービスが実行される。   Although not shown, the source code DB 222 holds source codes of various web services. The management server 104 determines a Web service to be arranged in each of the plurality of Web service servers 111 based on the set policy. The source code of the determined Web service is (after compilation) each Web service server 111. The Web service by each Web service server 111 is thereby executed.

図4は、サーバ管理DB223のデータ構造を示す。サーバ管理DB223は、サーバリソーステーブルとサービス管理テーブルを備える。サーバリソーステーブルは、Webサービスサーバ群110の各Webサービスサーバ111のリソースを管理するためのテーブルであり、具体的には、各Webサービスサーバ111のIPアドレス、及びそのサーバが持っているCPUリソースとメモリリソースを数値化した値(CPUならば周波数、メモリならばバイト数などで規格化した値)を保持している。サービス管理テーブルは、各Webサービスサーバ111において、ワークロードマネージャにより各Webサービスに割り当てているリソースを管理するテーブルである。具体的には、各Webサービスサーバ111に対して、そのサーバでどのWebサービスが実行されているか、また実行されている各Webサービスに対してどれだけのCPUリソースとメモリリソースを割り当てているかを保持する。   FIG. 4 shows the data structure of the server management DB 223. The server management DB 223 includes a server resource table and a service management table. The server resource table is a table for managing the resources of each Web service server 111 in the Web service server group 110. Specifically, the IP address of each Web service server 111 and the CPU resources that the server has And the value obtained by quantifying the memory resource (frequency standardized by CPU, number of bytes standardized by memory, etc.). The service management table is a table for managing resources allocated to each Web service by the workload manager in each Web service server 111. Specifically, for each Web service server 111, which Web service is being executed on that server, and how much CPU and memory resources are allocated to each Web service being executed. Hold.

図5は、リソース情報DB224のデータ構造を示す。リソース情報DB224は、特定の業務を構成しているWebサービスと、そのWebサービスの実行に必要なリソースを、部署及び役職ごとに管理するテーブルであり、部署、役職、人数、業務、サービス、リソース(CPU)、及びリソース(メモリ)の各項目を保持する。例えば、図5の第1,2行目のレコードは、部署Aの役職1の従業員が行う業務Aがサービス1とサービス3から構成されており、その業務Aを実行するのに従業員3人が必要であることを示している。また、サービス1に対しては、CPUリソースが1、メモリリソースが2必要であり、サービス3に対しては、CPUリソースが2、メモリリソースが5必要であることを示している。これは、従業員1人が当該サービスを実行するのに必要なリソースを示している。   FIG. 5 shows the data structure of the resource information DB 224. The resource information DB 224 is a table for managing a Web service constituting a specific business and resources necessary for executing the Web service for each department and job title. The department, job title, number of people, job, service, resource (CPU) and resource (memory) items are retained. For example, in the records on the first and second lines in FIG. 5, the business A performed by the employee of the position 1 in the department A is composed of the service 1 and the service 3, and the employee 3 Indicates that people are needed. In addition, for service 1, 1 CPU resource and 2 memory resources are required, and for service 3, 2 CPU resources and 5 memory resources are required. This indicates the resources required for one employee to perform the service.

図6は、ポリシーDB225のデータ構造を示す。ポリシーDB225は、特定業務の優先度を、部署及び役職ごとに管理するとともに、その業務を実行して終了させるべきデッドラインの日付と時間帯を保持する。例えば、図6の第1行目のポリシー(レコード)は、部署Aの役職1の従業員が行う業務Aは優先度が1であり、毎週月曜日の8:00〜12:00には終了させるべきことを示している。なお、優先度は0から1の範囲で指定し、1が最も高い優先度で、数値が下がるほど優先度は低くなる。残り人数は、現時点で当該業務を完了していない人数を示す。   FIG. 6 shows the data structure of the policy DB 225. The policy DB 225 manages the priority of a specific task for each department and position, and holds the date and time zone of the deadline that should be executed and terminated. For example, according to the policy (record) in the first line in FIG. 6, the priority is 1 for the work A performed by the employee of the position 1 in the department A, and it is terminated every Monday from 8:00 to 12:00. Indicates what should be done. The priority is specified in the range of 0 to 1, with 1 being the highest priority, and the lower the numerical value, the lower the priority. The remaining number of people indicates the number of people who have not completed the work at the present time.

本実施形態のWebシステムにおいて、ポリシーに基づく運用を行うには、(1)リソースの見積もり、(2)ポリシー設定、(3)システム運用の3段階が存在する。以下、これらの各段階について説明する。   In the Web system of the present embodiment, there are three stages for performing operations based on policies: (1) resource estimation, (2) policy setting, and (3) system operation. Hereinafter, each of these steps will be described.

(1)リソースの見積もり
最初に、複数のサービスの連携によって構成されている業務を特定の従業員が処理するのに必要なWebサービスサーバ111のリソースを見積もる。特定業務の処理に必要なWebサービスサーバ111のリソースは、業務系システムの場合、従業員の役職や部署などに依存する。そこで、事前に従業員を役職や部署で分類しておき、管理サーバ104は、Webサービスサーバ群110から、従業員が特定の業務を行う上で使用したリソースをサービスごとに取得・集計し、リソース情報DB224(図5)に格納する。ここで、サーバでのリソースの使用状況は、SNMP(Simple Network Management Protocol)やログなどの従来技術で取得可能である。
(1) Estimating resources First, the resources of the Web service server 111 necessary for a specific employee to process a business configured by cooperation of a plurality of services are estimated. In the case of a business system, the resources of the Web service server 111 necessary for processing a specific business depend on the job title or department of the employee. Therefore, the employees are classified by job title or department in advance, and the management server 104 acquires and aggregates resources used by the employees for performing specific tasks from the Web service server group 110 for each service. It is stored in the resource information DB 224 (FIG. 5). Here, the usage status of resources in the server can be acquired by a conventional technique such as SNMP (Simple Network Management Protocol) or a log.

(2)ポリシー設定
この段階ではさらに、(a)管理者によるポリシー設定、(b)リソース計算、(c)サービス配置の3つの段階があり、以下これらの各段階について詳細に説明する。これら3つの段階は、管理サーバ104の制御部210が、ポリシー実行部214、リソース計算部213、及びサービス配置部212を利用して実行するものである。
(2) Policy setting At this stage, there are further three stages: (a) policy setting by the administrator, (b) resource calculation, and (c) service placement. Each of these stages will be described in detail below. These three stages are executed by the control unit 210 of the management server 104 using the policy execution unit 214, the resource calculation unit 213, and the service arrangement unit 212.

(a)管理者によるポリシー設定
管理者は、ビジネス要件に基づき、管理クライアント105を利用してポリシーを設定する。管理クライアント105は、設定されたポリシーを管理サーバ104に送信し、管理サーバ104は、受信したポリシーをポリシーDB225(図6)に格納する。
(A) Policy setting by administrator The administrator sets a policy using the management client 105 based on the business requirements. The management client 105 transmits the set policy to the management server 104, and the management server 104 stores the received policy in the policy DB 225 (FIG. 6).

ここで、ポリシーの設定とは、図6のポリシーDB225のデータ構造に示すように、特定の業務が指定された時間帯で完了するように、部署及び役職ごとの優先度とデッドライン(日付と時間帯)を設定することを意味している。なお、ポリシーDB225は、優先度が設定された業務ごとに、その業務が完了していない従業員の人数(残り人数)も合わせて管理している。ポリシーの設定時、残り人数の欄には、図5のリソース情報DB224に記載されている人数などに基づいて当該業務を行うのに必要な人数が初期値として自動的に設定される。   Here, as shown in the data structure of the policy DB 225 in FIG. 6, the policy setting means the priority and deadline (date and date) for each department and post so that a specific task is completed in a specified time zone. It means setting the time zone. The policy DB 225 also manages the number of employees (remaining number of employees) who have not completed the work for each work for which priority is set. At the time of setting the policy, the number of persons required to perform the task is automatically set as an initial value in the remaining number of persons column based on the number of persons described in the resource information DB 224 of FIG.

(b)リソース計算
上記ポリシー設定がなされた後、管理サーバ104のリソース計算部213は、ポリシーを遂行するのに必要となる各Webサービスのリソースを計算する。すなわち、管理サーバ104のリソース計算部213は、ポリシーDB225(図6)を参照し、各ポリシーに関して、指定された日付及び時間帯の前にリソースの計算を開始する。リソース計算は、ポリシーDB225(図6)及びリソース情報DB224(図5)を参照して、各ポリシーに関して以下の計算式で計算する。
(B) Resource Calculation After the above policy setting is made, the resource calculation unit 213 of the management server 104 calculates the resources of each Web service necessary for executing the policy. That is, the resource calculation unit 213 of the management server 104 refers to the policy DB 225 (FIG. 6) and starts calculating resources before the specified date and time zone for each policy. The resource calculation is performed by the following calculation formula for each policy with reference to the policy DB 225 (FIG. 6) and the resource information DB 224 (FIG. 5).

(i番目のポリシーにおけるWebサービスaのリソース)
=(残り人数)×(Webサービスaのリソース)×(優先度)
(Resource of Web service a in the i-th policy)
= (Remaining number of people) x (Web service a resource) x (Priority)

なお、「i番目のポリシーにおけるWebサービスaのリソース」とは、図6のポリシーDB225のi番目のポリシーの業務を構成するWebサービスaに割り当てるべきリソースを意味する。「残り人数」は、当該ポリシーの残り人数の欄に記載されている人数である。「Webサービスaのリソース」は、図5のリソース情報DB224に記載されている当該サービスに必要なリソースの値である。「優先度」は、当該ポリシーで指定されている優先度である。例えば、当該業務がWebサービスaとbとから構成されていた場合は、各Webサービスについて上記の計算で必要なリソースを求める。これにより、当該ポリシーで指定されている部署及び役職の従業員が当該業務の各Webサービスを実行するためにどれだけのリソースが必要なのかが求められたことになる。なお、リソースに関してはCPUやメモリなど数種類あるが、各リソースについて計算するものとする。   Note that “the resource of the Web service a in the i-th policy” means a resource to be allocated to the Web service a that constitutes the business of the i-th policy in the policy DB 225 of FIG. “Remaining number of people” is the number of people described in the remaining number of people column of the policy. “Resource of Web service a” is a value of a resource necessary for the service described in the resource information DB 224 of FIG. “Priority” is the priority specified in the policy. For example, when the business is composed of Web services a and b, the resources required for the calculation are obtained for each Web service. As a result, it is requested how many resources are required for employees of the departments and positions specified in the policy to execute each Web service of the business. There are several types of resources such as CPU and memory, but each resource is calculated.

(c)サービス配置
管理サーバ104のサービス配置部212は、ポリシーで指定された日時(時間帯に記載されている開始時刻)になると、上記(b)で得られた各Webサービスに必要なリソースを基に、サーバ管理DB223を参照して、各Webサービスサーバ111に、当該ポリシーで指定された業務を構成する全てのWebサービスを、上記必要なリソースを満たすように配置し、実行する。これにより、当該ポリシーの業務を構成する全Webサービスに関して、デッドラインまでに終了できるだけのリソースが事前に確保されたことになる。
(C) Service allocation When the service allocation unit 212 of the management server 104 reaches the date and time specified in the policy (start time described in the time zone), the resources required for each Web service obtained in (b) above Based on the above, with reference to the server management DB 223, all Web services constituting the business specified by the policy are arranged and executed on each Web service server 111 so as to satisfy the necessary resources. As a result, resources that can be completed by the deadline are secured in advance for all the Web services that make up the policy.

特に、本実施形態では、ポリシーDB224において、優先度が1に指定されたポリシーの業務は、特に指定された時間帯で完了させることを守ることが要求されるので、複数のWebサービスの疎結合から構成されている業務を密結合に変換して、業務を実行させるようにしている。すなわち、特定の業務においてWebサービスには、別のWebサービスを利用するWebサービスと、別のWebサービスから利用されるWebサービスの2種類が存在する。通常2つのWebサービスが連携するには、利用するWebサービスが利用されるWebサービスのスタブを直接利用し、スタブがネットワークを通して利用されるWebサービスと通信を行うことによって連携する。しかしこの方法は、クリティカルな場合、処理速度に問題があるので、利用するWebサービスが利用されるWebサービスを直接利用できるようにする必要がある。   In particular, in the present embodiment, in the policy DB 224, it is required to protect the work of the policy whose priority is designated as 1, especially in the designated time zone. The business that consists of the above is converted to tightly coupled, and the business is executed. In other words, there are two types of Web services in a specific business, a Web service that uses another Web service and a Web service that is used from another Web service. Normally, two Web services are linked by directly using the stub of the Web service used by the Web service to be used and communicating with the Web service used via the network. However, if this method is critical, there is a problem in processing speed, so it is necessary to make it possible to directly use the Web service to be used.

そこで、管理サーバ104のサービス配置部212は、ソースコードDB222を参照して、利用するWebサービスのソースコードにおいて、利用されるWebサービスのスタブを参照している部分を書き換え、利用されるWebサービスのクラスを直接参照するようにし、コンパイル後、これをWebサービスサーバ111に配置する。このとき、サーバ管理DB223のサービス管理テーブルも更新する。   Therefore, the service placement unit 212 of the management server 104 refers to the source code DB 222, rewrites the portion of the web service source code to be used that refers to the stub of the web service to be used, and uses the web service to be used. This class is directly referenced, and after compiling, it is arranged in the Web service server 111. At this time, the service management table of the server management DB 223 is also updated.

図7は、書き換え例を示している。この例では、参照するパッケージを、スタブを含むパッケージjp.hitachisoft.stub.*から、実際のクラスを含むjp.hitachisoft.real.*に書き換えている。このように、優先度が1のポリシーの業務については、その業務を構成する複数のWebサービスを「スタブを利用した通信方式(疎結合)」から「リアルクラスを利用した通信方式(密結合)」に書き換えてWebサービスサーバに配置するので、少ないリソースで高速な処理が実現できる。   FIG. 7 shows an example of rewriting. In this example, the package to be referenced is rewritten from the package jp.hitachisoft.stub. * Including the stub to the jp.hitachisoft.real. * Including the actual class. In this way, for a business with a policy with a priority of 1, the multiple Web services that make up the business are changed from "communication method using stubs (loose coupling)" to "communication method using real classes (tight coupling)" ”And placed on the Web service server, high-speed processing can be realized with few resources.

(3)システム運用
ポリシー適用時におけるWebシステムのクライアント101からのリクエストの処理手順を、図8のシーケンス図を用いて詳細に説明する。
(3) System Operation The processing procedure of the request from the client 101 of the Web system when applying the policy will be described in detail with reference to the sequence diagram of FIG.

ステップ801では、クライアント101からのログイン要求に対して、Webサーバ103は、管理サーバ104の認証情報DB221を参照して認証を行い、アクセスしてきたユーザの部署及び役職を特定する。管理サーバ104の認証部211は、クライアントの認証を行う機能を提供する。   In step 801, in response to the login request from the client 101, the Web server 103 performs authentication by referring to the authentication information DB 221 of the management server 104, and specifies the department and position of the accessing user. The authentication unit 211 of the management server 104 provides a function of performing client authentication.

ステップ802では、クライアント101からリクエストがあると、Webサーバ103は、リクエストされた業務を特定し、管理サーバ104のリソース情報DB224(図5)とサーバ管理DB223(図4)を参照して、その業務を処理するWebサービスを実行しているWebサービスサーバ111を特定する。管理サーバ104の制御部210は、このようなWebサービスサーバ111を特定する機能を提供する。なお、このクライアントからのリクエストが、ポリシーで指定された部署及び役職の従業員が当該業務を行うために当該ポリシーで指定されている日付及び時間帯に発行したリクエストである場合は、既に管理サーバ104では上記(2)の処理が実行されており、当該業務のためのWebサービスは、必要なリソースが確保されて実行されている。   In step 802, when there is a request from the client 101, the Web server 103 identifies the requested job, and refers to the resource information DB 224 (FIG. 5) and the server management DB 223 (FIG. 4) of the management server 104. The Web service server 111 that executes the Web service that processes the business is specified. The control unit 210 of the management server 104 provides a function for specifying such a Web service server 111. If the request from this client is a request issued by an employee of the department and position specified in the policy on the date and time specified in the policy in order to perform the business, the management server In 104, the process (2) is executed, and the Web service for the business is executed with the necessary resources secured.

ステップ803で、Webサーバ103は、クライアント101からのリクエストをステップ802で特定したWebサービスサーバ111に転送し、このWebサービスサーバを含むWebサービスサーバ群110が業務を処理する。このとき、ユーザの部署・役職及び処理しようとしている業務が優先度の高いポリシーに対応する場合、リソースの配置においてWebサービスを密結合にしたサービスを配置したWebサービスサーバ111に転送する。   In step 803, the web server 103 transfers the request from the client 101 to the web service server 111 identified in step 802, and the web service server group 110 including the web service server processes the business. At this time, if the user's department / posture and the business to be processed correspond to a policy with a high priority, the resource is transferred to the Web service server 111 in which the Web service is tightly coupled.

ステップ804では、Webサーバ103がステップ803における処理結果を、クライアント101と管理サーバ104へ送信する。処理結果を受信した管理サーバ104は、その業務の処理が完了しているとの処理結果であった場合、ポリシーDB225の対応するポリシーの残り人数を減らすと共に、必要なリソースを再計算し、リソースを開放する。リソースの再計算は、上記(2)の(b)と同様の方式である。   In step 804, the Web server 103 transmits the processing result in step 803 to the client 101 and the management server 104. The management server 104 that has received the processing result reduces the remaining number of corresponding policies in the policy DB 225 and recalculates the necessary resources when the processing result indicates that the processing of the business has been completed. Is released. The recalculation of resources is the same method as in (2) (b) above.

なお、上記実施形態では、リソースとしてCPUリソースとメモリリソースに着目して説明したが、他のリソースについても同様にして割り当てることができる。   In the embodiment described above, the CPU resource and the memory resource are described as resources, but other resources can be allocated in the same manner.

本発明の一実施の形態のサービス指向アーキテクチャに基づくWebシステムの構成図、The block diagram of the Web system based on the service-oriented architecture of one embodiment of this invention, 管理サーバの機能を説明するためのブロック図、Block diagram for explaining the function of the management server, 管理サーバの認証情報DBのデータ構造を示す図、The figure which shows the data structure of authentication information DB of the management server, 管理サーバのサーバ管理DBのデータ構造を示す図、The figure which shows the data structure of the server management DB of the management server, 管理サーバのリソース情報DBのデータ構造を示す図、The figure which shows the data structure of resource information DB of the management server, 管理サーバのポリシーDBのデータ構造を示す図、A diagram showing the data structure of the policy DB of the management server 疎結合のサービスを密結合にする方法例を説明する図、A diagram explaining an example of how to make loosely coupled services tightly coupled, ポリシーに基づくWebシステム運用時における、クライアントからのリクエスト処理の方法を説明するシーケンス図である。FIG. 10 is a sequence diagram for explaining a method of processing a request from a client when operating a Web system based on a policy.

符号の説明Explanation of symbols

101…クライアント、102…イントラネット、103…Webサーバ、104…管理サーバ、105…管理クライアント、110…Webサービスサーバ群、111…Webサービスサーバ。   DESCRIPTION OF SYMBOLS 101 ... Client, 102 ... Intranet, 103 ... Web server, 104 ... Management server, 105 ... Management client, 110 ... Web service server group, 111 ... Web service server.

Claims (11)

サービス指向アーキテクチャに基づいて構築された任意の数のWebサービスサーバを備える業務系のWebシステムを運用・管理する業務系Webシステムの運用・管理システムであって、
前記業務系Webシステムが所定の業務を処理するのに必要なWebサービスのリソースを見積もる手段と、
前記所定の業務が所定の日時までに完了すべきことを指示するポリシーを設定する手段と、
設定されたポリシーに基づいて前記業務系Webシステムを運用する手段と
を備えることを特徴とする業務系Webシステムの運用・管理システム。
An operational web system operation / management system that operates and manages an operational web system including an arbitrary number of web service servers constructed based on a service-oriented architecture,
Means for estimating resources of a Web service necessary for the business system to process a predetermined business;
Means for setting a policy indicating that the predetermined task should be completed by a predetermined date and time;
Means for operating the business web system based on a set policy. An operation / management system for a business web system, comprising:
請求項1に記載の業務系Webシステムの運用・管理システムにおいて、
前記リソースを見積もる手段が、前記所定の業務を処理するのに必要なWebサービスを実行するのに必要なリソースを、そのWebサービスを含む業務及び利用する従業員の部署・役職ごとに、測定・管理する手段を含むことを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 1,
The means for estimating the resource measures / requires the resources necessary to execute the web service necessary to process the predetermined business for each business including the web service and each department / post of the employee to use. A business web system operation and management system characterized by including management means.
請求項1に記載の業務系Webシステムの運用・管理システムにおいて、
前記ポリシーを設定する手段が、
前記所定の業務が前記所定の日時までに完了すべきことを指示するポリシーの入力を受け付ける手段と、
入力されたポリシーを遂行するのに必要となる各Webサービスのリソースを、前記リソースを見積もる手段による見積もり結果を用いて、算出する手段と、
入力されたポリシーで指定された業務が完了すべき日時の前に、前記業務系Webシステムが前記ポリシーを遂行できるように、前記算出する手段で算出されたリソースを、当該業務が含むWebサービスに、割り当てる手段と
を含むことを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 1,
Means for setting the policy comprises:
Means for receiving an input of a policy instructing that the predetermined job should be completed by the predetermined date and time;
Means for calculating each Web service resource required to execute the input policy by using an estimation result by the means for estimating the resource;
Prior to the date and time at which the business specified in the input policy should be completed, the resource calculated by the calculating means is transferred to the Web service included in the business so that the business Web system can execute the policy. And a business-related Web system operation / management system characterized by including an assigning means.
請求項3に記載の業務系Webシステムの運用・管理システムにおいて、
前記ポリシーは、完了させるべき前記所定の業務を示す情報のほか、その業務を行う従業員の部署と役職、その業務を完了させるべき日付と時間帯、及びその業務を完了させる優先度を含むことを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 3,
The policy includes information indicating the predetermined work to be completed, a department and a title of an employee who performs the work, a date and a time zone for completing the work, and a priority for completing the work. A business web system operation and management system characterized by
請求項4に記載の業務系Webシステムの運用・管理システムにおいて、
前記リソースを算出する手段は、前記リソースを見積もる手段による各Webサービスを実行するのに必要なリソースの見積もり結果に基づいて、前記業務系Webシステムが前記ポリシーを遂行できるだけのリソースを求めるとともに、求めたリソースの値を前記優先度により調整することを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 4,
The means for calculating the resource obtains a resource sufficient for the business Web system to execute the policy based on a result of estimating a resource necessary for executing each Web service by the means for estimating the resource. A business Web system operation and management system characterized by adjusting the value of the resource according to the priority.
請求項5に記載の業務系Webシステムの運用・管理システムにおいて、
前記リソースを割り当てる手段は、前記優先度により調整されたリソースを確保するように、前記WebサービスサーバにWebサービスを配置することを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 5,
An operation / management system for a business web system, wherein the resource allocating means arranges a web service on the web service server so as to secure a resource adjusted by the priority.
請求項6に記載の業務系Webシステムの運用・管理システムにおいて、
前記リソースを割り当てる手段は、前記優先度の高い業務に対しては、その業務を構成するWebサービスを疎結合から密結合に変換して、前記Webサービスサーバに配置することを特徴とする業務系Webシステムの運用・管理システム。
The operation / management system for a business web system according to claim 6,
The resource allocating unit is configured to convert a Web service constituting the business from a loose coupling to a tight coupling for the business with a high priority, and arrange the business on the web service server. Web system operation and management system.
請求項1に記載の業務系Webシステムの運用・管理システムにおいて、
前記業務系Webシステムを運用する手段は、前記Webサービスとそれが配置されているWebサービスサーバとの対応を管理する手段を含むことを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 1,
A means for operating the business system includes a means for managing correspondence between the web service and a web service server on which the web service is arranged.
請求項1に記載の業務系Webシステムの運用・管理システムにおいて、
前記業務系Webシステムを運用する手段は、従業員の部署・役職、及び処理しようとしている業務に対応するポリシーの優先度に応じて、その従業員からのリクエストを適当なWebサービスを実行しているWebサービスサーバに割り振る手段を含むことを特徴とする業務系Webシステムの運用・管理システム。
In the operation / management system for a business web system according to claim 1,
The means for operating the business-related Web system executes an appropriate Web service for a request from the employee according to the department / post of the employee and the priority of the policy corresponding to the business to be processed. A business web system operation and management system characterized by including means for allocating to a web service server.
請求項9に記載の業務系Webシステムの運用・管理システムにおいて、
前記業務系Webシステムを運用する手段は、前記ポリシーで決められた部署・役職の従業員により前記業務が完了した場合、そのポリシーのために確保しておいたリソースを開放する手段を含むことを特徴とする業務系Webシステムの運用・管理システム。
In the business system operation / management system according to claim 9,
The means for operating the business-related Web system includes means for releasing resources reserved for the policy when the work is completed by an employee of a department / position determined by the policy. Features operational web system operation and management system.
サービス指向アーキテクチャに基づいて構築された任意の数のWebサービスサーバを備える業務系のWebシステムを運用・管理する業務系Webシステムの運用・管理プログラムであって、コンピュータを
前記業務系Webシステムが所定の業務を処理するのに必要なWebサービスのリソースを見積もる手段と、
前記所定の業務が所定の日時までに完了すべきことを指示するポリシーを設定する手段と、
設定されたポリシーに基づいて前記業務系Webシステムを運用する手段と
を備える業務系Webシステムの運用・管理システムとして機能させることを特徴とする業務系Webシステムの運用・管理プログラム。
A business-related Web system operation / management program for operating / managing a business-related Web system having an arbitrary number of Web service servers constructed based on a service-oriented architecture, wherein the business-related Web system is a predetermined program A means to estimate the Web service resources required to process
Means for setting a policy indicating that the predetermined task should be completed by a predetermined date and time;
A business Web system operation / management program that functions as a business Web system operation / management system comprising: means for operating the business Web system based on a set policy.
JP2004280905A 2004-09-28 2004-09-28 Operation and management system and program for business web system based on service-oriented architecture Pending JP2006099162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004280905A JP2006099162A (en) 2004-09-28 2004-09-28 Operation and management system and program for business web system based on service-oriented architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004280905A JP2006099162A (en) 2004-09-28 2004-09-28 Operation and management system and program for business web system based on service-oriented architecture

Publications (1)

Publication Number Publication Date
JP2006099162A true JP2006099162A (en) 2006-04-13

Family

ID=36238944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004280905A Pending JP2006099162A (en) 2004-09-28 2004-09-28 Operation and management system and program for business web system based on service-oriented architecture

Country Status (1)

Country Link
JP (1) JP2006099162A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234632A (en) * 2007-03-16 2008-10-02 Sap Ag Multi-objective allocation of computational job in client-server or hosting environment
JP2008257694A (en) * 2007-03-30 2008-10-23 Sap Ag Method and system for estimating resource provisioning
JP2008262351A (en) * 2007-04-11 2008-10-30 Mitsubishi Electric Corp Access control device
WO2009057208A1 (en) * 2007-10-31 2009-05-07 Fujitsu Limited Resource assignment program, management node, resource assignment method, and parallel computer system
JP2011054168A (en) * 2009-08-31 2011-03-17 Sap Ag Transforming service oriented architecture model to service oriented infrastructure model
JP2012089015A (en) * 2010-10-21 2012-05-10 Hitachi Ltd Distributed information processing system, distributed information processing method and data transfer unit
WO2012063301A1 (en) * 2010-11-08 2012-05-18 株式会社日立製作所 Computer system, multitenant control method, and multitenant control program
US8244847B2 (en) 2009-02-26 2012-08-14 International Business Machines Corporation Management of a service oriented architecture shared service
US8392540B2 (en) 2009-02-24 2013-03-05 International Business Machines Corporation Service specific service oriented architecture shared services solution
US8402092B2 (en) 2009-02-24 2013-03-19 International Business Machines Corporation Selecting a service oriented architecture shared service
US8935655B2 (en) 2009-02-25 2015-01-13 International Business Machines Corporation Transitioning to management of a service oriented architecture shared service
US9268532B2 (en) 2009-02-25 2016-02-23 International Business Machines Corporation Constructing a service oriented architecture shared service
JP2017111505A (en) * 2015-12-14 2017-06-22 三菱重工業株式会社 Computer resource optimization system, and method for optimizing computer resource

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234632A (en) * 2007-03-16 2008-10-02 Sap Ag Multi-objective allocation of computational job in client-server or hosting environment
US8051421B2 (en) 2007-03-30 2011-11-01 Sap Ag Method and system for estimating resource provisioning
JP2008257694A (en) * 2007-03-30 2008-10-23 Sap Ag Method and system for estimating resource provisioning
JP2008262351A (en) * 2007-04-11 2008-10-30 Mitsubishi Electric Corp Access control device
WO2009057208A1 (en) * 2007-10-31 2009-05-07 Fujitsu Limited Resource assignment program, management node, resource assignment method, and parallel computer system
US8392540B2 (en) 2009-02-24 2013-03-05 International Business Machines Corporation Service specific service oriented architecture shared services solution
US8402092B2 (en) 2009-02-24 2013-03-19 International Business Machines Corporation Selecting a service oriented architecture shared service
US8935655B2 (en) 2009-02-25 2015-01-13 International Business Machines Corporation Transitioning to management of a service oriented architecture shared service
US9268532B2 (en) 2009-02-25 2016-02-23 International Business Machines Corporation Constructing a service oriented architecture shared service
US8244847B2 (en) 2009-02-26 2012-08-14 International Business Machines Corporation Management of a service oriented architecture shared service
JP2011054168A (en) * 2009-08-31 2011-03-17 Sap Ag Transforming service oriented architecture model to service oriented infrastructure model
JP2012089015A (en) * 2010-10-21 2012-05-10 Hitachi Ltd Distributed information processing system, distributed information processing method and data transfer unit
WO2012063301A1 (en) * 2010-11-08 2012-05-18 株式会社日立製作所 Computer system, multitenant control method, and multitenant control program
JPWO2012063301A1 (en) * 2010-11-08 2014-05-12 株式会社日立製作所 Computer system, multi-tenant control method, and multi-tenant control program
JP2017111505A (en) * 2015-12-14 2017-06-22 三菱重工業株式会社 Computer resource optimization system, and method for optimizing computer resource

Similar Documents

Publication Publication Date Title
JP5225094B2 (en) Method and system for resource virtualization health monitoring
US7844969B2 (en) Goal-oriented predictive scheduling in a grid environment
TWI225990B (en) Autonomic provisioning of network-accessible service behaviors within a federated grid infrastructure
EP1875348B1 (en) Method, system and program product for outsourcing resources in a grid computing environment
US8171133B2 (en) Management apparatus and management method for computer system
TWI360323B (en) Computer-executable method of remote execution of
US20060155708A1 (en) System and method for generating virtual networks
JP2006313545A (en) Method, system, and computer program for managing automatic resource provisioning by workload scheduler
EP1967993A1 (en) Dynamic workflow resource authentication and discovery
JP2006099162A (en) Operation and management system and program for business web system based on service-oriented architecture
JP2003058517A5 (en)
KR20090085058A (en) Message forwarding backup manager in a distributed server system
US7716663B2 (en) Method, system and program product for controlling native applications using open service gateway initiative (OSGi) bundles
KR20160136489A (en) Method for Resource Management base of Virtualization for cloud service
US8555286B2 (en) Method, system, and apparatus for establishing a software configurable computing environment
US20050138156A1 (en) Grid application customization
US11748168B2 (en) Flexible batch job scheduling in virtualization environments
JP5661328B2 (en) Efficient and cost-effective distributed call admission control
US20050193119A1 (en) Method, system and program product for resolving prerequisites for a client device in an open service gateway initiative (OSGi) framework
JP2006501543A (en) Common scheduler web service for distributed network environments
US20040213258A1 (en) Implementing information technology management policies
CN112751874A (en) Equipment policy control method and device, electronic equipment and storage medium
Deelman et al. What makes workflows work in an opportunistic environment?
US7949735B2 (en) Transaction process for the provisioning of rules in a rule-based network
JP6992697B2 (en) Network system, information acquisition device, information acquisition method and program