JP2007128185A - Information processor, information processing system, information processing method and information processing program - Google Patents
Information processor, information processing system, information processing method and information processing program Download PDFInfo
- Publication number
- JP2007128185A JP2007128185A JP2005318804A JP2005318804A JP2007128185A JP 2007128185 A JP2007128185 A JP 2007128185A JP 2005318804 A JP2005318804 A JP 2005318804A JP 2005318804 A JP2005318804 A JP 2005318804A JP 2007128185 A JP2007128185 A JP 2007128185A
- Authority
- JP
- Japan
- Prior art keywords
- state
- transition
- instruction
- information
- information 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
本発明は、他の情報処理装置と協調して処理を行う情報処理装置、情報処理システム、情報処理方法および情報処理プログラムに関するものである。 The present invention relates to an information processing apparatus, an information processing system, an information processing method, and an information processing program that perform processing in cooperation with other information processing apparatuses.
近年、計算機システムが複雑化するとともに、計算機システムの管理コストの増加が問題となっている。そこで、計算機システム自身に計算機システムを管理させる自己管理システムに関する研究が行われている(例えば、「非特許文献1」参照)。 In recent years, the computer system has become complicated, and the management cost of the computer system has increased. Therefore, research on a self-management system that allows the computer system itself to manage the computer system has been conducted (see, for example, “Non-Patent Document 1”).
自己管理システムの実現のためには、計算機システムでおこる問題の検出、問題に対する対策の計画と実行が必要である。自己管理システム実現のために提案されているAutonomic Computing Toolkit(以下、ACToolkitと称する)(非特許文献2)では、Autonomic Management Engine(以下、AMEと称する)と呼ばれるマネージャに、当該マネージャが監視すべきリソースと、監視対象リソースから検出するイベントとそれに対する動作を指定することで、自己管理システムを実現している。 In order to realize a self-management system, it is necessary to detect problems occurring in the computer system and to plan and execute countermeasures against the problems. In the autonomic computing toolkit (hereinafter referred to as ACToolkit) (Non-patent Document 2) proposed for realizing a self-management system, the manager should monitor the manager called Autonomous Management Engine (hereinafter referred to as AME). A self-management system is realized by specifying resources, events to be detected from monitored resources, and actions for them.
しかしながら、自己管理システムを実現させる際、自動管理の対象となるシステムの構成要素間の依存関係が問題となる。すなわち、システムのある構成要素が正常に動作するためには、別の構成要素が特定の状態であることが必要な場合がある。 However, when realizing a self-management system, the dependency between the components of the system to be automatically managed becomes a problem. That is, in order for one component of the system to operate normally, another component may need to be in a particular state.
例えば、クライアントプログラムが正常に動作するためには、サーバプログラムが起動していることが必要である。この場合、自己管理システムの実現のためには、クライアントプログラムとサーバプログラム間の依存関係、サーバプログラムの状態を判定する方法およびサーバプログラムを起動する方法を自己管理システムに管理知識として備えさせる必要がある。 For example, in order for the client program to operate normally, the server program needs to be activated. In this case, in order to realize the self-management system, it is necessary to provide the self-management system with the dependency relationship between the client program and the server program, the method for determining the state of the server program, and the method for starting the server program as management knowledge. is there.
しかし、従来の自己管理システムにおいては、構成要素間の依存関係に関する管理知識は、集中的に管理されている。このため、構成要素の追加や置き換え等の変更に対して、柔軟に対応できないという問題がある。例えば、ACToolkitでは、AMEの監視対象リソースやイベントに対する動作を追加、変更しなければならない。 However, in the conventional self-management system, the management knowledge regarding the dependency relationship between the components is centrally managed. For this reason, there is a problem that it is not possible to flexibly cope with changes such as addition or replacement of components. For example, in ACToolkit, it is necessary to add or change the operation for the monitoring target resource or event of AME.
また、従来の自己管理システムにおいては、自己管理のために、必要とするソフトウェアに特有の知識を再利用するための枠組が存在しない。すなわち、複数の構成要素に関する管理知識が混在した形式で管理されている。このため、管理知識と構成要素間の関係を判定することが困難であった。 Further, in the conventional self-management system, there is no framework for reusing knowledge specific to necessary software for self-management. In other words, management knowledge regarding a plurality of components is managed in a mixed format. For this reason, it is difficult to determine the relationship between management knowledge and components.
このため、計算機システムに、例えば、新しいソフトウェアの追加といった変更を加える際には、管理者が、Webや文献などを調査して、必要な知識を収集することが必要であった。また、収集した知識を、自身が管理する計算機システム向けに編成する必要もあった。 For this reason, for example, when a change such as addition of new software is added to the computer system, it is necessary for the administrator to investigate the Web and literatures and collect necessary knowledge. It was also necessary to organize the collected knowledge for the computer system that it manages.
本発明は、上記に鑑みてなされたものであって、システム構成の変更にも柔軟に対応できる情報処理装置、情報処理システム、情報処理方法および情報処理プログラムを提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide an information processing apparatus, an information processing system, an information processing method, and an information processing program that can flexibly cope with a change in system configuration.
上述した課題を解決し、目的を達成するために、本発明は、他の情報処理装置と協調して処理を行う情報処理装置であって、当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段と、前記特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、前記特定機能の状態に依存する他の装置から取得する状態遷移指示取得手段と、前記状態遷移指示取得手段が前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定手段と、前記遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得手段が取得した前記状態遷移指示に示される指示状態と、前記現在状態特定手段により特定された前記現在状態とに基づいて、前記現在の状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定手段と、前記遷移処理特定手段により特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移手段と、前記状態遷移手段が処理を完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記他の装置に送信する完了通知送信手段とを備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention is an information processing apparatus that performs processing in cooperation with another information processing apparatus, and a plurality of states that can be taken by a specific function of the information processing apparatus A transition information holding unit that holds the transition information indicating a state that can be transitioned from each state in association with each other, and a state transition instruction that instructs the state of the specific function to transition to a predetermined state. A state transition instruction acquiring unit that acquires from another device depending on the state of the current state, a current state specifying unit that specifies a current state of the specific function when the state transition instruction acquiring unit acquires the state transition instruction, The transition information held by the transition information holding unit in association with the specific function, the instruction state indicated by the state transition instruction acquired by the state transition instruction acquiring unit, and the current state specifying unit. Based on the identified current state, a transition process identifying unit that identifies a transition process necessary for transitioning from the current state to the instruction state, and the transition process identified by the transition process identifying unit A state transition unit for executing and transitioning to the instruction state; and a completion notification for transmitting to the other device a completion notification indicating that the transition to the instruction state is completed when the state transition unit completes the process And a transmission means.
また、本発明の他の形態は、複数の装置が協調して処理を行う情報処理システムであって、前記複数の装置のうち、他の装置に依存する依存情報処理装置は、当該依存情報処理装置において実行される特定処理と、当該特定処理を実行するために成立していなければならない、他の情報処理装置の特定機能における特定状態を示す制約情報とを対応付けて保持する制約情報保持手段と、前記制約情報保持手段が保持している前記制約情報から、前記特定処理に対応する制約情報を検索する制約情報検索手段と、前記制約情報検索手段により検索された前記制約情報に基づいて、前記他の情報処理装置を特定し、当該他の情報処理装置の前記特定機能の状態を前記特定状態に遷移させることを示す状態遷移指示を送信する遷移指示送信手段とを有し、前記制約情報検索手段により特定された前記他の情報処理装置は、当該他の情報処理装置の前記特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段と、前記特定機能の状態を前記特定状態に遷移させることを指示する前記状態遷移指示を、前記依存情報処理装置から取得する状態遷移指示取得手段と、前記状態遷移指示取得手段が前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定手段と、前記遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得手段が取得した前記状態遷移指示に示される指示状態と、前記状態特定手段により特定された前記現在状態とに基づいて、前記現在状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定手段と、前記遷移処理特定手段により特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移手段と、前記状態遷移手段が処理を完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記依存情報処理装置に送信する送信手段とを有し、前記依存情報処理装置は、前記他の情報処理装置から、前記遷移指示に示す遷移が完了した旨を示す前記完了通知を受信する完了通知受信手段と、前記完了通知受信手段が前記完了通知を受信した場合に、前記特定機能の前記特定処理を実行する処理管理手段とを有することを特徴とする。 According to another aspect of the present invention, there is provided an information processing system in which a plurality of devices perform processing in cooperation, and a dependent information processing device that depends on another device among the plurality of devices is the dependent information processing. Restriction information holding means for holding the specific process executed in the apparatus and the restriction information indicating the specific state in the specific function of another information processing apparatus that must be established to execute the specific process in association with each other And based on the constraint information retrieved by the constraint information retrieval unit, the constraint information retrieval unit that retrieves the constraint information corresponding to the specific process from the constraint information retained by the constraint information retention unit, Transition instruction transmitting means for identifying the other information processing apparatus and transmitting a state transition instruction indicating transition of the state of the specific function of the other information processing apparatus to the specific state; The other information processing device identified by the constraint information search means includes a plurality of states that can be taken by the specific function of the other information processing device and transition information indicating a state that can be transitioned from each state. Transition information holding means for holding in association with each other, state transition instruction acquisition means for acquiring the state transition instruction for instructing to change the state of the specific function to the specific state, and the state Current state specifying means for specifying the current state of the specific function when the transition instruction acquiring means acquires the state transition instruction; and the transition information held by the transition information holding means in association with the specific function; Whether the current state is based on the instruction state indicated by the state transition instruction acquired by the state transition instruction acquiring unit and the current state specified by the state specifying unit. A transition process specifying means for specifying a transition process necessary for transitioning to the indicated state; a state transition means for executing the transition process specified by the transition process specifying means and making a transition to the indicated state; and the state And a transmission unit that transmits a completion notification indicating that the transition to the instruction state is completed to the dependent information processing device when the transition unit completes the process. A completion notification receiving unit that receives the completion notification indicating that the transition indicated in the transition instruction has been completed from the information processing device, and the identification function of the specific function when the completion notification receiving unit receives the completion notification. And a process management means for executing the process.
また、本発明の他の形態は、他の情報処理装置と協調して処理を行う情報処理方法であって、前記特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、前記特定機能の状態に依存する他の装置から取得する状態遷移指示取得ステップと、前記状態遷移指示取得ステップにおいて前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定ステップと、当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得ステップにおいて取得した前記状態遷移指示に示される指示状態と、前記現在状態特定手段により特定された前記現在状態とに基づいて、前記現在の状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定ステップと、前記遷移処理特定ステップにおいて特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移ステップと、前記状態遷移ステップにおける処理が完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記他の装置に送信する完了通知送信ステップとを有することを特徴とする。 Another embodiment of the present invention is an information processing method for performing processing in cooperation with another information processing apparatus, and a state transition instruction for instructing transition of the state of the specific function to a predetermined state, State transition instruction acquisition step acquired from another device depending on the state of the specific function, and current state specification step for specifying the current state of the specific function when the state transition instruction is acquired in the state transition instruction acquisition step And a transition information holding unit that holds a plurality of states that can be taken by the specific function of the information processing apparatus and transition information indicating a state that can be changed from each state in association with the specific function. The transition information, the instruction state indicated in the state transition instruction acquired in the state transition instruction acquisition step, and the current state specified by the current state specifying means Based on the transition process specifying step for specifying a transition process necessary for transitioning from the current state to the instruction state, the transition process specified in the transition process specifying step is executed, and the instruction state is set. A transition state transition step, and a completion notification transmission step of transmitting a completion notification indicating that the transition to the instruction state is completed to the other device when the processing in the state transition step is completed. Features.
また、本発明の他の形態は、複数の装置が協調して処理を行う情報処理システムにおける情報処理方法であって、前記複数の装置のうち、他の装置に依存する依存情報処理装置が、当該依存情報処理装置において実行される特定処理と、当該特定処理を実行するために成立していなければならない、他の情報処理装置の特定機能における特定状態を示す制約情報とを対応付けて保持する制約情報保持手段が保持している前記制約情報から、前記特定処理に対応する制約情報を検索する制約情報検索ステップと、前記制約情報検索ステップにおいて検索された前記制約情報に基づいて、前記他の情報処理装置を特定し、当該他の情報処理装置の前記特定機能の状態を前記特定状態に遷移させることを示す状態遷移指示を送信する遷移指示送信ステップと、前記制約情報検索手段により特定された前記他の情報処理装置が、前記特定機能の状態を前記特定状態に遷移させることを指示する前記状態遷移指示を、前記依存情報処理装置から取得する状態遷移指示取得ステップと、前記状態遷移指示取得ステップにおいて前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定ステップと、当該他の情報処理装置の前記特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得ステップにおいて取得した前記状態遷移指示に示される指示状態と、前記状態特定ステップにおいて特定された前記現在状態とに基づいて、前記現在状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定ステップと、前記遷移処理特定ステップにおいて特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移ステップと、前記状態遷移ステップにおける処理が完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記依存情報処理装置に送信する送信ステップと、前記依存情報処理装置が、前記他の情報処理装置から、前記遷移指示に示す遷移が完了した旨を示す前記完了通知を受信する完了通知受信ステップと、前記完了通知受信ステップにおいて前記完了通知を受信した場合に、前記特定機能の前記特定処理を実行する処理管理ステップとを有することを特徴とする。 Another embodiment of the present invention is an information processing method in an information processing system in which a plurality of devices perform processing in a coordinated manner, and a dependent information processing device that depends on another device among the plurality of devices includes: A specific process executed in the dependent information processing apparatus is associated with constraint information indicating a specific state in a specific function of another information processing apparatus that must be established in order to execute the specific process. Based on the constraint information retrieved in the constraint information retrieval step, the constraint information retrieval step for retrieving the constraint information corresponding to the specific process from the constraint information retained by the constraint information retaining unit, the other information A transition instruction transmission step for identifying an information processing apparatus and transmitting a state transition instruction indicating transition of the state of the specific function of the other information processing apparatus to the specific state And the other information processing device identified by the constraint information search means obtains the state transition instruction from the dependent information processing device instructing the state of the specific function to transition to the specific state. A state transition instruction acquisition step, a current state specification step for specifying a current state of the specific function when the state transition instruction is acquired in the state transition instruction acquisition step, and the specific function of the other information processing apparatus. Transition information holding means that holds a plurality of possible states and transition information indicating states that can be transitioned from each state in association with each other, and holds the transition information in association with the specific function, and the state transition instruction Based on the instruction state indicated in the state transition instruction acquired in the acquisition step and the current state specified in the state specifying step, A transition process specifying step for specifying a transition process necessary for transitioning from the current state to the instruction state, and a state transition step for executing the transition process specified in the transition process specifying step and making a transition to the instruction state A transmission step of transmitting a completion notification indicating that the transition to the instruction state is completed to the dependent information processing device when the processing in the state transition step is completed; and A completion notification receiving step for receiving the completion notification indicating that the transition indicated in the transition instruction has been completed, and the completion notification received in the completion notification receiving step. And a process management step for executing a specific process.
また、本発明の他の形態は、他の情報処理装置と協調して処理を行う情報処理をコンピュータに実行させる情報処理プログラムであって、前記特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、前記特定機能の状態に依存する他の装置から取得する状態遷移指示取得ステップと、前記状態遷移指示取得ステップにおいて前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定ステップと、当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得ステップにおいて取得した前記状態遷移指示に示される指示状態と、前記現在状態特定手段により特定された前記現在状態とに基づいて、前記現在の状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定ステップと、前記遷移処理特定ステップにおいて特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移ステップと、前記状態遷移ステップにおける処理が完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記他の装置に送信する完了通知送信ステップとを有することを特徴とする。 According to another aspect of the present invention, there is provided an information processing program for causing a computer to execute information processing that performs processing in cooperation with another information processing device, and transitioning the state of the specific function to a predetermined state. A state transition instruction acquisition step of acquiring a state transition instruction to be instructed from another device depending on the state of the specific function, and a current state of the specific function when the state transition instruction is acquired in the state transition instruction acquisition step A transition information holding unit that associates and holds a plurality of states that can be taken by the specific function of the information processing apparatus, and transition information that indicates a state that can be transitioned from each state, the specific function The transition information held in association with the instruction state indicated in the state transition instruction acquired in the state transition instruction acquisition step, and the current Based on the current state specified by the state specifying means, a transition process specifying step for specifying a transition process necessary for making a transition from the current state to the instruction state, and specifying in the transition process specifying step A state transition step for executing the transition process and transitioning to the instruction state, and when the process in the state transition step is completed, a completion notification indicating completion of the transition to the instruction state is sent to the other device And a completion notification transmission step for transmission.
本発明にかかる情報処理装置においては、遷移情報保持手段が、当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持しており、状態遷移指示取得手段が、特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、特定機能の状態に依存する他の装置から取得すると、現在状態特定手段が現在状態を特定し、遷移処理特定手段が、移情報保持手段が保持する情報、指示状態および現在状態に基づいて、現在の状態から示状態に遷移するために必要な遷移処理を特定し、この遷移処理により状態遷移を完了させた後、完了通知送信手段が完了通知を送信するので、当該情報処理装置の有する所定の機能の状態に依存する処理を他の装置が行う場合には、他の装置から遷移指示を受信した場合には、上記処理により状態遷移を完了する。したがって、当該情報処理装置の構成が更新された場合であっても、当該装置に依存する他の装置においては何ら変更を加える必要がなく、システムの変更に柔軟に対応することができるという効果を奏する。 In the information processing apparatus according to the present invention, the transition information holding unit holds a plurality of states that can be taken by the specific function of the information processing apparatus and transition information indicating states that can be transitioned from each state in association with each other When the state transition instruction acquiring unit acquires a state transition instruction that instructs to change the state of the specific function to the predetermined state from another device that depends on the state of the specific function, the current state specifying unit The transition processing specifying means specifies the transition processing necessary for transitioning from the current state to the indicated state based on the information held by the transition information holding means, the instruction state, and the current state. After completion of the state transition, the completion notification transmission unit transmits a completion notification. Therefore, when another device performs processing depending on the state of the predetermined function of the information processing device, the other device When receiving the al transition indication completes the state transition by the above process. Therefore, even when the configuration of the information processing apparatus is updated, there is no need to make any changes in other apparatuses that depend on the apparatus, and the effect of being able to flexibly cope with changes in the system. Play.
以下に、本発明にかかる情報処理装置、情報処理システム、情報処理方法および情報処理プログラムの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Embodiments of an information processing apparatus, an information processing system, an information processing method, and an information processing program according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
図1は、実施の形態にかかる情報処理システム10の全体構成を示す図である。情報処理システム10は、ネットワーク5に接続された複数の計算機100,200・・・を備えている。本実施の形態にかかる情報処理システム10に含まれる各計算機は、互いに他の装置の状態に依存しながら処理を進めていく。
FIG. 1 is a diagram illustrating an overall configuration of an
実施の形態においては、サーバ計算機100と、処理を行う際にサーバ計算機100の所定の機能の状態に依存する依存計算機200とを例に、依存処理について説明する。
In the embodiment, the dependency processing will be described by taking the
サーバ計算機100および依存計算機200はそれぞれSSH(Secure SHell)クライアントとSSHサーバである。SSHとは、近接の計算機から遠隔の計算機を暗号化通信を利用して操作するためのサービスである。
The
SSHを利用する場合、遠隔操作される計算機にSSHサーバをインストールし、遠隔操作を行うために利用する近接の計算機にSSHクライアントをインストールする必要がある。 When using SSH, it is necessary to install an SSH server on a remotely operated computer and install an SSH client on a nearby computer used for remote operation.
SSHにおいては、公開鍵暗号を使って暗号化通信を行うことが可能である。公開鍵暗号とは、秘密鍵と公開鍵を利用し、秘密鍵を外部に公開しないことで、安全な暗号化を実現するものである。SSHサーバやSSHクライアントを実装したプログラムにおいては、秘密鍵の設定が安全でない場合、正常に動作しないようにすることもできる。 In SSH, it is possible to perform encrypted communication using public key cryptography. Public key cryptography is to realize secure encryption by using a secret key and a public key and not exposing the secret key to the outside. In a program in which an SSH server or an SSH client is installed, if the secret key setting is not secure, it can be prevented from operating normally.
SSHは、例えば、CLI(Command Line Interface)から「ssh remote.example.jp」のように、遠隔操作したい計算機を指定することで利用できる。 SSH can be used by designating a computer to be remotely operated, for example, “ssh remote.example.jp” from CLI (Command Line Interface).
図2は、サーバ計算機100の機能構成を示すブロック図である。サーバ計算機100は、第1コンテンツ111と、第2コンテンツ112と、サーバ計算機管理部120とを有している。さらに、サーバ計算機管理部120は、遷移指示受信部122と、機能特定部124と、現在状態特定部126と、遷移処理特定部128と、状態遷移部130と、完了通知送信部132と、機能情報データベース(DB)140と、遷移情報DB142とを有している。
FIG. 2 is a block diagram showing a functional configuration of the
第1コンテンツ111は、具体的には、opensshデーモンであり、SSHサーバとしての機能を実装したプログラムである。第2コンテンツ112は、メール受信機能を実装したプログラムである。このように、第1コンテンツ111および第2コンテンツ112は、所定の機能を実現するためのコンテンツである。サーバ計算機管理部120は、第1コンテンツ111および第2コンテンツ112における処理状態を管理する。
Specifically, the
遷移指示受信部122は、ネットワーク5を介して外部から遷移指示を受信する。遷移指示とは、所定の機能を所定の状態にする旨を示す情報である。例えば、第1コンテンツ111を起動状態にする旨の情報などである。また、遷移指示受信部122は、具体的には、当該100に依存する依存計算機200から受信する。
The transition instruction receiving unit 122 receives a transition instruction from the outside via the
機能特定部124は、遷移指示受信部122が受信した遷移指示に示される機能を特定する。この際、機能情報DB140に格納されている情報を参照する。機能情報DB140には、機能情報が格納されている。機能情報とは、第1コンテンツ111および第2コンテンツ112のようにサーバ計算機100にインストールされている各機能を実際に実現するためのコンテンツを示す情報である。
The
現在状態特定部126は、機能特定部124により特定された機能の現在の状態を特定する。この際、遷移情報DB142に格納されている情報を参照する。遷移情報DB142には、各機能の状態情報が格納されている。ここで、状態情報とは、例えば、待機状態、起動状態など各機能における処理状態を示す情報である。さらに、各機能の現在の状態を示す情報も保持されている。
The current
遷移処理特定部128は、現在状態特定部126により特定された現在状態から遷移指示に示される状態に遷移するための処理を特定する。この際、遷移情報DB142に格納されている情報を参照する。状態遷移部130は、遷移処理特定部128により特定された処理を実行し、遷移指示に示される機能を、遷移指示に示される状態に遷移させる。
The transition
完了通知送信部132は、状態遷移部130の処理が完了した場合に、遷移指示に示される状態への遷移が完了した旨を示す完了通知をネットワーク5を介して、遷移指示の送信元に送信する。
When the processing of the
第1コンテンツ111、すなわちopensshデーモンの配布パッケージには、opensshデーモンにおける状態を示す状態情報が含まれている。opensshデーモンがインストールされる際には、opensshデーモンの遷移情報が遷移情報DB142に読み込まれる。さらに、機能情報DB140の機能情報が更新される。
The
なお、opensshデーモンパッケージには、opensshデーモンはSSHサーバであるという情報(以下、パッケージ情報と呼ぶ)を備えさせておく。そして、パッケージ情報を基に機能情報を更新できるインストール装置にて機能情報の更新を行う。また他の例としては、サーバ計算機100の管理者などが機能情報の更新を行うこととしてもよい。
The open daemon package is provided with information that the open daemon is an SSH server (hereinafter referred to as package information). Then, the function information is updated by an installation apparatus that can update the function information based on the package information. As another example, the administrator of the
図3は、機能情報DB140のデータ構成を模式的に示す図である。機能と、実際に機能を実現するためのコンテンツとが対応付けて格納されている。例えば、機能「SSH」に対応付けて「opensshデーモン」が格納されている。
FIG. 3 is a diagram schematically illustrating a data configuration of the
図4は、遷移情報DB142に格納されているデータを説明するための図である。図4は、opensshデーモンの遷移情報を模式的に示している。opensshデーモンは、起動状態、停止状態およびエラー1状態の3つの状態間を遷移する。停止状態は、opensshデーモンが正常に停止している状態である。エラー1状態は、opensshデーモンが参照する秘密鍵ファイルが危険な設定、すなわち、管理者以外のユーザが読み込み可能な設定となっており、opensshデーモンの起動に失敗した状態である。SSHクライアントがopensshデーモンに接続するためにはopensshデーモンが起動状態である必要がある。
FIG. 4 is a diagram for explaining data stored in the
図4に示すように、停止状態と起動状態との間は互いに遷移可能である。エラー1状態からは、停止状態にのみ遷移可能である。停止状態から起動状態に遷移させるためには、プログラム1を実行させればよい。起動状態から停止状態に遷移させるためには、プログラム2を実行させればよい。また、エラー1状態から停止状態に遷移させるためには、プログラム3を実行させればよい。なお、プログラム1、プログラム2およびプログラム3は、opensshデーモンの状態を変化させるために必要な操作であり、opensshデーモンに特化したものである。 As shown in FIG. 4, a transition can be made between the stopped state and the activated state. From the error 1 state, it is possible to transition only to the stopped state. In order to make a transition from the stopped state to the activated state, the program 1 may be executed. In order to make a transition from the activated state to the deactivated state, the program 2 may be executed. In order to make a transition from the error 1 state to the stop state, the program 3 may be executed. The program 1, the program 2, and the program 3 are operations necessary for changing the state of the open daemon, and are specialized for the open daemon.
なお、opensshデーモンの図4に示すような状態遷移に関する情報は、opensshデーモンを運用管理する際の経験やopensshデーモンに関する文献から得られる知識である。これらの情報に基づいて、管理者等により登録される。 Note that the information about the state transition of the opensh daemon as shown in FIG. 4 is the knowledge obtained from the experience of operating and managing the opensh daemon and the literature on the opensh daemon. Based on such information, it is registered by an administrator or the like.
さらに、遷移情報DB142には、現在の状態がいずれの状態であるかを認識可能な情報が格納されている。具体的には、図4に示すように現在の状態を示すフラグが付与されている。
Further, the
図5は、遷移情報DB142のデータ構成を模式的に示す図である。遷移情報DB142は、図4を参照しつつ説明した遷移状態に関する情報を、コンテンツごとに格納している。図5に示すように、遷移情報DB142は、コンテンツごとに属性情報と、状態情報と、遷移情報とを格納している。
FIG. 5 is a diagram schematically illustrating the data configuration of the
属性情報は、opensshデーモンの状態を判定するために必要な属性と、その属性値の計算方法を含んでいる。図5に示すように、opensshデーモンには、「プロセス」と「鍵安全性」という2つの属性が存在していることを示している。 The attribute information includes an attribute necessary for determining the state of the open daemon and a method for calculating the attribute value. As shown in FIG. 5, the opensh daemon has two attributes “process” and “key security”.
例えば、図5に示す属性情報「プロセス:/var/run/sshd.pid in /proc/」は、以下の内容を示している。すなわち、「プロセス」という属性の属性値は、「/var/run/sshd.pid」というファイルに記述される文字列が「/proc」ディレクトリ内に存在している場合に「true」となり、存在しない場合に「false」となる。 For example, the attribute information “process: /var/run/sshd.pid in / proc /” illustrated in FIG. 5 indicates the following contents. In other words, the attribute value of the attribute “process” becomes “true” when the character string described in the file “/var/run/sshd.pid” exists in the “/ proc” directory. If not, “false” is displayed.
状態情報は、opensshデーモンの既知の状態と各状態における属性値を含んでいる。例えば、図5に示す「起動:プロセス=true,鍵安全性=true」は、以下の内容を示している。すなわち、プロセス属性値がtrueであり、かつ鍵安全性属性がtrueであれば、opensshデーモンは起動状態にある。 The state information includes known states of the opensh daemon and attribute values in each state. For example, “activation: process = true, key security = true” shown in FIG. 5 indicates the following contents. That is, if the process attribute value is true and the key security attribute is true, the opensh daemon is in an activated state.
遷移情報は、opensshデーモンの状態を遷移させるために必要な処理を示す情報である。遷移情報は、遷移名と、事前状態、事後状態および処理を含んでいる。例えば、図5に示す「遷移1:停止、起動、プログラム1」は、以下の内容を示す。すなわち、停止状態から起動状態に遷移させるためには、プログラム1を実行する。 The transition information is information indicating processing necessary for transitioning the state of the open daemon. The transition information includes a transition name, a pre-state, a post-state, and a process. For example, “transition 1: stop, start, program 1” shown in FIG. 5 indicates the following contents. That is, in order to make a transition from the stopped state to the activated state, the program 1 is executed.
図6は、依存計算機200の機能構成を示すブロック図である。依存計算機200は、opensshクライアント210と、制約情報DB220と、依存計算機管理部230とを備えている。さらに、opensshクライアント210は、制約情報検索部212と、処理実行管理部214とを有している。依存計算機管理部230は、遷移指示送信部232と、完了通知受信部234とを有している。
FIG. 6 is a block diagram showing a functional configuration of the
opensshクライアント210は、SSHクライアントとしての機能を実装したプログラムである。opensshクライアント210における処理は、サーバ計算機100が有する機能の状態に依存する。依存計算機管理部230は、opensshクライアント210における処理を管理する。
The
制約情報DB220は、制約情報を格納している。ここで、制約情報とは、opensshクライアント210が処理を進める際の制約となる内容を示す情報である。制約情報は、opensshクライアント210の処理が依存する機能の状態を示す情報である。例えば、opensshクライアント210が起動する際には、サーバ計算機100が起動している必要があるとする。この場合には、opensshクライアント210の起動処理に対応付けて、サーバ計算機100の起動を示す制約情報が格納されている。
The
制約情報検索部212は、opensshクライアント210において実行されている処理に対応付けられている制約情報を制約情報DB220において検索する。そして、制約情報に基づいて、opensshクライアント210の処理が依存する計算機、すなわち対象計算機を特定する。さらに、制約情報に基づいて、opensshクライアント210の処理を進めるために必要な対象計算機の状態を特定する。
The constraint
処理実行管理部214は、opensshクライアント210の処理の実行を管理する。例えば、制約情報検索部212により特定された対象計算機が制約情報に示される状態になるまで処理を中断する。
The process
遷移指示送信部232は、制約情報検索部212が特定した対象計算機に対し、制約情報検索部212が特定した状態に遷移する旨を示す遷移指示をネットワーク5を介して対象計算機に送信する。本実施の形態においては、サーバ計算機100に送信する。
The transition
完了通知受信部234は、ネットワーク5を介して対象計算機すなわちサーバ計算機100から完了通知を受信する。完了通知受信部234が完了通知を受信すると、処理実行管理部214は、opensshクライアント210の処理を再開する。
The completion
なお、依存計算機200には、opensshクライアントがインストールされている。opensshクライアントは、SSHクライアントとしての機能を実装したプログラムである。opensshクライアントの配布パッケージには、opensshクライアントが正常に動作するための制約情報が含まれている。opensshクライアントがインストールされる際には、制約情報DB220に格納されている制約情報を依存計算機管理部230に伝えるための制約情報検索部212がインストールされる。制約情報検索部212は例えば、opensshクライアントをラップする以下のようなプログラムでよい。
#!/usr/bin/python
import os
import sys
import client_manager
const = search_constraint(“connect“)
host = search_host(const,sys.argv)
client_manager.request(const,host)
os.System(“/usr/bin/ssh%s”,sys.argv〔1〕)
The
#! / Usr / bin / python
import os
import sys
import client_manager
const = search_constraint (“connect”)
host = search_host (const, sys.argv)
client_manager. request (const, host)
os. System ("/ usr / bin / ssh% s", sys.argv [1])
この例において、「search_constraint」は、制約情報から、利用しようとしている機能に関連する制約を検索するプログラムである。上記の例では、引数に「connect(接続)」を指定することで、opensshクライアントの接続機能に関する制約を検索している。 In this example, “search_constraint” is a program that searches the constraint information for constraints related to the function to be used. In the above example, the restriction on the connection function of the open client is searched by specifying “connect” as an argument.
「search_host」は、制約情報から、制約を満たしているべき計算機を検索するプログラムである。上記の例では、opensshクライアントの接続機能を利用する際の制約(const)を満たしているべき計算機を検索している。また、「client_manager」はクライアント計算機の管理装置を実装したプログラムである。上記の例では、クライアント計算機の管理装置に、「host」で指定する計算機に制約(const)を充足させることを要求している。 “Search_host” is a program for searching for a computer that should satisfy the constraint from the constraint information. In the above example, the computer that should satisfy the constraint when using the connection function of the open client is searched. “Client_manager” is a program in which a client computer management device is installed. In the above example, the management apparatus of the client computer is requested to satisfy the constraint (const) on the computer specified by “host”.
上記のようなラッププログラムを、エイリアス機能を利用して、opensshクライアントとして利用することができる。また、他の例としては、制約情報検索部212は、例えば共有ライブラリなどを置き換えることにより実現されてもよい。
The wrap program as described above can be used as an open client by using the alias function. As another example, the constraint
図7は、制約情報DB220のデータ構成を模式的に示す図である。opensshクライアント210の各種機能に対する制約情報が格納されている。制約情報には、各機能の他、当該機能に対応付けてアクセス先計算機と、条件が含まれている。図7に示すように機能「接続」に対応付けられているアクセス先計算機は「<STDIN>」である。すなわち、標準入力から指定された計算機であることを示している。ここで例えば、サーバ計算機100が指定される。
FIG. 7 is a diagram schematically showing the data configuration of the
また、機能「接続」に対応付けられている条件は、「SSHサーバ=起動」である。これは、「SSHサーバ」が「起動」という状態である必要があることを示している。すなわち、制約情報において指定されているのは機能に対する条件であり、機能を実現するために実装されているコンテンツについての条件ではない。すなわち、コンテンツに依存しない条件である。 The condition associated with the function “connection” is “SSH server = startup”. This indicates that the “SSH server” needs to be in the “activated” state. That is, what is specified in the constraint information is a condition for the function, not a condition for the content that is implemented to realize the function. That is, the condition does not depend on the content.
図8は、サーバ計算機100が依存計算機200に依存する処理を行う際の依存処理を示すフローチャートである。なお、ここでは、サーバ計算機100がSSHサーバを利用可能にする際の処理について説明する。前提として、サーバ計算機100のSSHサーバ、すなわちopensshデーモンは、エラー1状態にあるものとする。
FIG. 8 is a flowchart showing a dependency process when the
まず、依存計算機200は、ユーザから入力されたssh接続要求を取得する(ステップS100)。次に、依存計算機200は、opensshクライアント210を利用してサーバ計算機100に接続を試みる。具体的には、CLIから「ssh server.example.jp」というコマンドが発行される。ここで、「server.example.jp」は、サーバ計算機100のアドレスである。
First, the
次に、opensshクライアント210の制約情報検索部212は、制約情報を参照して(ステップS102)、対象計算機を特定する(ステップS104)。さらに、対象計算機における対象機能を特定する(ステップS106)。次に、サーバ計算機100のサーバ計算機管理部120に、サーバ計算機100においてSSHサーバが起動状態であることが必要であることを通知する。すなわち、特定した対象計算機に対し、遷移指示を送信する(ステップS108)。
Next, the constraint
サーバ計算機100の遷移指示受信部122が依存計算機200から遷移指示を受信すると、機能特定部124は、機能情報DB140を参照し、対象機能を特定する(ステップS110)。さらに対象機能として実装されているコンテンツを特定する。具体的には、対象機能として、SSHサーバを特定し、機能情報DB140においてSSHサーバに対応付けられているopennsshデーモンを特定する。
When the transition instruction receiving unit 122 of the
次に、現在状態特定部126は遷移情報DB142に格納されている情報に基づいて、現在状態を特定する(ステップS112)。具体的には、opensshデーモンの属性情報を参照し、各属性値を計算する。さらに計算された属性値と状態情報に基づいて、現在状態がエラー1状態であることを特定する。
Next, the current
次に、遷移処理特定部128は、遷移処理を特定する(ステップS114)。具体的には、遷移情報DB142に格納されている遷移情報に基づいて遷移処理を特定する。例えば、グラフ理論の探索アルゴリズム等を利用する。これにより、エラー1状態から起動状態へ遷移させるためには、プログラム3およびプログラム1を実行が必要な処理、すなわち遷移処理として特定する。なお、プログラム3およびプログラム1は、この順に実行される。すなわち、実行順番も特定される。
Next, the transition
次に、状態遷移部130は、遷移処理特定部128により特定された遷移処理を実行し遷移指示に示される状態への遷移を完了させる(ステップS116)。具体的には、プログラム3およびプログラム1をこの順に実行する。これにより、opensshデーモンの起動状態への遷移が完了する。
Next, the
遷移が完了した後、完了通知送信部132は、依存計算機200に対し、起動状態への遷移が完了した旨を示す完了通知を送信する(ステップS118)。なお、現在状態と遷移指示に示される状態とが同一である場合には、サーバ計算機100は、上記処理を行うことなく完了通知を送信する。
After the transition is completed, the completion
依存計算機200の完了通知受信部234が完了通知を受信すると、処理実行管理部214は、処理の実行を指示する(ステップS120)。具体的には、サーバ計算機100は、依存計算機200への接続処理を開始する。以上で、依存処理が完了する。
When the completion
なお、サーバ計算機100が送信する遷移指示は、依存計算機200の機能にのみ依存し、機能を実現するために実装されているコンテンツには依存しない情報である。このため、例えばSSHサーバとして、opensshデーモン以外のコンテンツが実装されている場合であっても、遷移指示を受信した場合には、このコンテンツにおける現在の状態を特定し、この状態から遷移指示に示される状態に遷移させることができる。すなわち、依存計算機200におけるある機能に対応するコンテンツを他のコンテンツに変更した場合であっても、サーバ計算機100における設定を変更する必要はない。
Note that the transition instruction transmitted by the
また、従来のような集中管理システムにおいては、情報処理システム10に含まれるサーバ計算機100以外の計算機にSSHサーバをインストールした場合には、これに対応した変更が必要であった。これに対し、本実施の形態にかかる情報処理システム10においては、このような対応は不要であり、「<STDIN>」において、新たにSSHサーバがインストールされた計算機を指定すればよい。
Further, in a conventional centralized management system, when an SSH server is installed in a computer other than the
図9は、実施の形態に係る情報処理システム10のハードウェア構成を示す図である。情報処理システム10は、ハードウェア構成として、情報処理システム10における依存処理を実行する依存処理プログラムなどが格納されているROM52と、ROM52内のプログラムに従って情報処理システム10の各部を制御するCPU51と、情報処理システム10の制御に必要な種々のデータを記憶するRAM53と、ネットワークに接続して通信を行う通信I/F57と、各部を接続するバス62とを備えている。
FIG. 9 is a diagram illustrating a hardware configuration of the
先に述べた情報処理システム10における依存処理プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フロッピー(R)ディスク(FD)、DVD等のコンピュータで読み取り可能な記録媒体に記録されて提供されてもよい。
The dependency processing program in the
この場合には、依存処理プログラムは、情報処理システム10において上記記録媒体から読み出して実行することにより主記憶装置上にロードされ、上記ソフトウェア構成で説明した各部が主記憶装置上に生成されるようになっている。
In this case, the dependency processing program is loaded onto the main storage device by being read from the recording medium and executed by the
また、本実施の形態の依存処理プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。 Further, the dependency processing program of the present embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network.
以上、本発明を実施の形態を用いて説明したが、上記実施の形態に多様な変更または改良を加えることができる。 As described above, the present invention has been described using the embodiment, but various changes or improvements can be added to the above embodiment.
そうした第1の変更例としては、本実施の形態においては、協調処理を行う複数の計算機間における依存処理について説明したが、これにかえて、1つの計算機内に含まれる複数のプログラム間における依存処理に適用してもよい。この場合には、1つの計算機内の複数のプログラムそれぞれが依存するプログラムに対し遷移指示を送り、依存先のプログラムは遷移指示に示される状態への遷移が完了すると完了指示を返送する。 As such a first modified example, in the present embodiment, the dependency process between a plurality of computers that perform cooperative processing has been described. Instead, however, the dependency between a plurality of programs included in one computer is described. You may apply to processing. In this case, a transition instruction is sent to a program on which each of a plurality of programs in one computer depends, and the dependence destination program returns a completion instruction when the transition to the state indicated by the transition instruction is completed.
また、第2の変更例としては、本実施の形態においては、依存計算機200の所定の機能がサーバ計算機100の有する機能の状態に依存する場合について説明したが、これに加えて、サーバ計算機100の所定の機能が依存計算機200、またはその他の計算機の有する機能の状態に依存してもよい。この場合には、サーバ計算機100が依存する計算機は、図2を参照しつつ説明したサーバ計算機100のサーバ計算機管理部120の各種機能を備える。また、サーバ計算機100は、図6を参照しつつ説明した依存計算機200の各種機能を備える。
Further, as a second modification example, in the present embodiment, the case where the predetermined function of the
5 ネットワーク
10 情報処理システム
51 CPU
52 ROM
53 RAM
57 通信I/F
62 バス
100 サーバ計算機
111 第1コンテンツ
112 第2コンテンツ
120 サーバ計算機管理部
122 遷移指示受信部
124 機能特定部
126 現在状態特定部
128 遷移処理特定部
130 状態遷移部
132 完了通知送信部
200 依存計算機
210 クライアント
212 制約情報検索部
214 処理実行管理部
230 依存計算機管理部
232 遷移指示送信部
234 完了通知受信部
140 機能情報DB
142 遷移情報DB
220 制約情報DB
5
52 ROM
53 RAM
57 Communication I / F
62
142 Transition information DB
220 Constraint information DB
Claims (8)
当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段と、
前記特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、前記特定機能の状態に依存する他の装置から取得する状態遷移指示取得手段と、
前記状態遷移指示取得手段が前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定手段と、
前記遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得手段が取得した前記状態遷移指示に示される指示状態と、前記現在状態特定手段により特定された前記現在状態とに基づいて、前記現在の状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定手段と、
前記遷移処理特定手段により特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移手段と、
前記状態遷移手段が処理を完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記他の装置に送信する完了通知送信手段と
を備えたことを特徴とする情報処理装置。 An information processing apparatus that performs processing in cooperation with another information processing apparatus,
Transition information holding means for holding a plurality of states that can be taken by the specific function of the information processing apparatus and transition information indicating states that can be changed from each state in association with each other;
State transition instruction acquisition means for acquiring a state transition instruction for instructing transition of the state of the specific function to a predetermined state from another device depending on the state of the specific function;
Current state specifying means for specifying the current state of the specific function when the state transition instruction acquiring means acquires the state transition instruction;
The transition information held by the transition information holding unit in association with the specific function, the instruction state indicated by the state transition instruction acquired by the state transition instruction acquiring unit, and the current state specifying unit A transition process specifying means for specifying a transition process necessary for transitioning from the current state to the instruction state based on the current state;
State transition means for executing the transition process specified by the transition process specifying means and making a transition to the instruction state;
An information processing apparatus comprising: a completion notification transmission unit configured to transmit a completion notification indicating that the transition to the instruction state is completed to the other device when the state transition unit completes the process. .
前記現在状態特定手段は、前記特定コンテンツにおける前記現在状態を特定し、
前記遷移処理特定手段は、前記特定コンテンツにおける前記遷移処理を特定することを特徴とする請求項1に記載の情報処理装置。 A specific content for realizing the specific function;
The current state specifying means specifies the current state in the specific content,
The information processing apparatus according to claim 1, wherein the transition process specifying unit specifies the transition process in the specific content.
前記遷移情報保持手段は、前記機能ごとに、各機能が取り得る複数の状態と、前記遷移情報とを対応付けて保持し、
前記状態遷移指示取得手段は、前記他の装置から、所定の機能の所定の状態への遷移を指示する前記状態遷移指示を取得し、
前記状態遷移指示取得手段が取得した前記状態遷移指示に示される機能を特定する機能特定手段をさらに備え、
前記現在状態特定手段は、前記状態遷移指示取得手段が前記状態遷移指示を取得したときの、前記機能特定手段により特定された前記機能の前記現在状態を特定し、
前記遷移処理特定手段は、前記遷移情報保持手段が前記機能に対応付けて保持している前記遷移情報と、前記状態特定手段により特定された前記現在状態と、前記状態遷移指示に示される前記指示状態とに基づいて、前記現在状態から前記指示状態に遷移するために必要な前記遷移処理を特定することを特徴とする請求項1または2に記載の情報処理装置。 The information processing apparatus implements a plurality of functions,
The transition information holding unit holds, for each function, a plurality of states that each function can take and the transition information in association with each other,
The state transition instruction acquisition means acquires the state transition instruction that instructs a transition of a predetermined function to a predetermined state from the other device,
A function specifying unit for specifying the function indicated by the state transition instruction acquired by the state transition instruction acquiring unit;
The current state specifying means specifies the current state of the function specified by the function specifying means when the state transition instruction acquiring means acquires the state transition instruction,
The transition processing specifying means includes the transition information held by the transition information holding means in association with the function, the current state specified by the state specifying means, and the instruction indicated in the state transition instruction. The information processing apparatus according to claim 1, wherein the transition process necessary for transitioning from the current state to the instruction state is specified based on a state.
前記複数の装置のうち、他の装置に依存する依存情報処理装置は、
当該依存情報処理装置において実行される特定処理と、当該特定処理を実行するために成立していなければならない、他の情報処理装置の特定機能における特定状態を示す制約情報とを対応付けて保持する制約情報保持手段と、
前記制約情報保持手段が保持している前記制約情報から、前記特定処理に対応する制約情報を検索する制約情報検索手段と、
前記制約情報検索手段により検索された前記制約情報に基づいて、前記他の情報処理装置を特定し、当該他の情報処理装置の前記特定機能の状態を前記特定状態に遷移させることを示す状態遷移指示を送信する遷移指示送信手段と
を有し、
前記制約情報検索手段により特定された前記他の情報処理装置は、
当該他の情報処理装置の前記特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段と、
前記特定機能の状態を前記特定状態に遷移させることを指示する前記状態遷移指示を、前記依存情報処理装置から取得する状態遷移指示取得手段と、
前記状態遷移指示取得手段が前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定手段と、
前記遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得手段が取得した前記状態遷移指示に示される指示状態と、前記状態特定手段により特定された前記現在状態とに基づいて、前記現在状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定手段と、
前記遷移処理特定手段により特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移手段と、
前記状態遷移手段が処理を完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記依存情報処理装置に送信する送信手段と
を有し、
前記依存情報処理装置は、
前記他の情報処理装置から、前記遷移指示に示す遷移が完了した旨を示す前記完了通知を受信する完了通知受信手段と、
前記完了通知受信手段が前記完了通知を受信した場合に、前記特定機能の前記特定処理を実行する処理管理手段と
をさらに有することを特徴とする情報処理システム。 An information processing system in which a plurality of devices perform processing in cooperation,
Of the plurality of devices, the dependent information processing device that depends on other devices is
A specific process executed in the dependent information processing apparatus is associated with constraint information indicating a specific state in a specific function of another information processing apparatus that must be established in order to execute the specific process. Constraint information holding means;
Constraint information search means for searching for constraint information corresponding to the specific process from the constraint information held by the constraint information holding means;
State transition indicating that the other information processing apparatus is specified based on the restriction information searched by the restriction information search unit, and the state of the specific function of the other information processing apparatus is changed to the specific state. Transition instruction transmission means for transmitting an instruction,
The other information processing apparatus specified by the constraint information search means is
Transition information holding means for holding a plurality of states that can be taken by the specific function of the other information processing apparatus and transition information indicating states that can be transitioned from each state in association with each other;
State transition instruction acquisition means for acquiring the state transition instruction for instructing transition of the state of the specific function to the specific state from the dependent information processing apparatus;
Current state specifying means for specifying the current state of the specific function when the state transition instruction acquiring means acquires the state transition instruction;
The transition information held by the transition information holding unit in association with the specific function, the instruction state indicated by the state transition instruction acquired by the state transition instruction acquisition unit, and the state specifying unit Based on the current state, a transition process specifying means for specifying a transition process necessary for transitioning from the current state to the instruction state;
State transition means for executing the transition process specified by the transition process specifying means and making a transition to the instruction state;
A transmission unit that transmits a completion notification indicating that the transition to the instruction state is completed to the dependent information processing device when the state transition unit completes the process;
The dependency information processing apparatus includes:
A completion notification receiving means for receiving from the other information processing apparatus the completion notification indicating that the transition indicated in the transition instruction has been completed;
An information processing system, further comprising: a process management unit that executes the specific process of the specific function when the completion notification reception unit receives the completion notification.
前記特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、前記特定機能の状態に依存する他の装置から取得する状態遷移指示取得ステップと、
前記状態遷移指示取得ステップにおいて前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定ステップと、
当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得ステップにおいて取得した前記状態遷移指示に示される指示状態と、前記現在状態特定手段により特定された前記現在状態とに基づいて、前記現在の状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定ステップと、
前記遷移処理特定ステップにおいて特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移ステップと、
前記状態遷移ステップにおける処理が完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記他の装置に送信する完了通知送信ステップと
を有することを特徴とする情報処理方法。 An information processing method for performing processing in cooperation with another information processing apparatus,
A state transition instruction obtaining step for obtaining a state transition instruction for instructing transition of the state of the specific function to a predetermined state from another device depending on the state of the specific function;
A current state specifying step for specifying a current state of the specific function when the state transition instruction is acquired in the state transition instruction acquiring step;
The transition information holding unit that holds a plurality of states that can be taken by the specific function of the information processing apparatus and transition information indicating a state that can be changed from each state is held in association with the specific function. Based on the transition information, the instruction state indicated in the state transition instruction acquired in the state transition instruction acquisition step, and the current state specified by the current state specifying unit, the current state is changed to the instruction state. A transition process identification step for identifying a transition process necessary for transition;
A state transition step of executing the transition process identified in the transition process identification step and transitioning to the instruction state;
An information processing method comprising: a completion notification transmission step of transmitting a completion notification indicating that the transition to the instruction state is completed to the other device when the processing in the state transition step is completed.
前記複数の装置のうち、他の装置に依存する依存情報処理装置が、当該依存情報処理装置において実行される特定処理と、当該特定処理を実行するために成立していなければならない、他の情報処理装置の特定機能における特定状態を示す制約情報とを対応付けて保持する制約情報保持手段が保持している前記制約情報から、前記特定処理に対応する制約情報を検索する制約情報検索ステップと、
前記制約情報検索ステップにおいて検索された前記制約情報に基づいて、前記他の情報処理装置を特定し、当該他の情報処理装置の前記特定機能の状態を前記特定状態に遷移させることを示す状態遷移指示を送信する遷移指示送信ステップと、
前記制約情報検索手段により特定された前記他の情報処理装置が、前記特定機能の状態を前記特定状態に遷移させることを指示する前記状態遷移指示を、前記依存情報処理装置から取得する状態遷移指示取得ステップと、
前記状態遷移指示取得ステップにおいて前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定ステップと、
当該他の情報処理装置の前記特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得ステップにおいて取得した前記状態遷移指示に示される指示状態と、前記状態特定ステップにおいて特定された前記現在状態とに基づいて、前記現在状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定ステップと、
前記遷移処理特定ステップにおいて特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移ステップと、
前記状態遷移ステップにおける処理が完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記依存情報処理装置に送信する送信ステップと、
前記依存情報処理装置が、前記他の情報処理装置から、前記遷移指示に示す遷移が完了した旨を示す前記完了通知を受信する完了通知受信ステップと、
前記完了通知受信ステップにおいて前記完了通知を受信した場合に、前記特定機能の前記特定処理を実行する処理管理ステップと
を有することを特徴とする情報処理方法。 An information processing method in an information processing system in which a plurality of devices perform processing in cooperation,
Among the plurality of devices, a dependent information processing device that depends on another device has a specific process executed in the dependent information processing device, and other information that must be established in order to execute the specific process A constraint information search step of searching for constraint information corresponding to the specific process from the constraint information held by the constraint information holding unit that holds the constraint information indicating the specific state in the specific function of the processing device in association with each other;
State transition indicating that the other information processing apparatus is specified based on the restriction information searched in the restriction information search step, and the state of the specific function of the other information processing apparatus is changed to the specific state. A transition instruction transmission step for transmitting an instruction;
State transition instruction for acquiring, from the dependent information processing apparatus, the state transition instruction instructing the other information processing apparatus identified by the restriction information retrieval unit to transition the state of the specific function to the specific state. An acquisition step;
A current state specifying step for specifying a current state of the specific function when the state transition instruction is acquired in the state transition instruction acquiring step;
A transition information holding unit that holds a plurality of states that can be taken by the specific function of the other information processing apparatus and transition information indicating a state that can be transitioned from each state is stored in association with the specific function. Based on the transition information, the instruction state indicated in the state transition instruction acquired in the state transition instruction acquisition step, and the current state specified in the state specifying step, from the current state to the instruction state A transition process identification step for identifying a transition process necessary for transition to
A state transition step of executing the transition process identified in the transition process identification step and transitioning to the instruction state;
A transmission step of transmitting to the dependent information processing device a completion notification indicating that the transition to the instruction state is completed when the processing in the state transition step is completed;
A completion notification receiving step in which the dependent information processing device receives the completion notification indicating that the transition indicated in the transition instruction has been completed from the other information processing device;
An information processing method comprising: a process management step for executing the specific process of the specific function when the completion notification is received in the completion notification reception step.
前記特定機能の状態を所定の状態に遷移させることを指示する状態遷移指示を、前記特定機能の状態に依存する他の装置から取得する状態遷移指示取得ステップと、
前記状態遷移指示取得ステップにおいて前記状態遷移指示を取得したときの前記特定機能の現在状態を特定する現在状態特定ステップと、
当該情報処理装置の特定機能が取り得る複数の状態と、各状態から遷移可能な状態を示す遷移情報とを対応付けて保持する遷移情報保持手段が前記特定機能に対応付けて保持している前記遷移情報と、前記状態遷移指示取得ステップにおいて取得した前記状態遷移指示に示される指示状態と、前記現在状態特定手段により特定された前記現在状態とに基づいて、前記現在の状態から前記指示状態に遷移するために必要な遷移処理を特定する遷移処理特定ステップと、
前記遷移処理特定ステップにおいて特定された前記遷移処理を実行し、前記指示状態に遷移させる状態遷移ステップと、
前記状態遷移ステップにおける処理が完了した場合に、前記指示状態への遷移が完了したことを示す完了通知を前記他の装置に送信する完了通知送信ステップと
を有することを特徴とする情報処理プログラム。
An information processing program for causing a computer to execute information processing that performs processing in cooperation with another information processing device,
A state transition instruction obtaining step for obtaining a state transition instruction for instructing transition of the state of the specific function to a predetermined state from another device depending on the state of the specific function;
A current state specifying step for specifying a current state of the specific function when the state transition instruction is acquired in the state transition instruction acquiring step;
The transition information holding unit that holds a plurality of states that can be taken by the specific function of the information processing apparatus and transition information indicating a state that can be changed from each state is held in association with the specific function. Based on the transition information, the instruction state indicated in the state transition instruction acquired in the state transition instruction acquisition step, and the current state specified by the current state specifying unit, the current state is changed to the instruction state. A transition process identification step for identifying a transition process necessary for transition;
A state transition step of executing the transition process identified in the transition process identification step and transitioning to the instruction state;
An information processing program comprising: a completion notification transmission step of transmitting a completion notification indicating that the transition to the instruction state is completed to the other device when the processing in the state transition step is completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005318804A JP2007128185A (en) | 2005-11-01 | 2005-11-01 | Information processor, information processing system, information processing method and information processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005318804A JP2007128185A (en) | 2005-11-01 | 2005-11-01 | Information processor, information processing system, information processing method and information processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007128185A true JP2007128185A (en) | 2007-05-24 |
Family
ID=38150806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005318804A Pending JP2007128185A (en) | 2005-11-01 | 2005-11-01 | Information processor, information processing system, information processing method and information processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007128185A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06214683A (en) * | 1993-01-21 | 1994-08-05 | Sharp Corp | Information processing system |
JPH09190417A (en) * | 1996-01-10 | 1997-07-22 | Hitachi Ltd | Multi-processor system |
JP2005025383A (en) * | 2003-06-30 | 2005-01-27 | Toshiba Corp | Cluster system and cluster software program |
-
2005
- 2005-11-01 JP JP2005318804A patent/JP2007128185A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06214683A (en) * | 1993-01-21 | 1994-08-05 | Sharp Corp | Information processing system |
JPH09190417A (en) * | 1996-01-10 | 1997-07-22 | Hitachi Ltd | Multi-processor system |
JP2005025383A (en) * | 2003-06-30 | 2005-01-27 | Toshiba Corp | Cluster system and cluster software program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3376378B1 (en) | Container license management method, and apparatus | |
KR101891506B1 (en) | Methods and systems for portably deploying applications on one or more cloud systems | |
JP5241319B2 (en) | Computer system for managing a password for detecting information about components arranged on a network, method and computer program therefor | |
EP3223159B1 (en) | Log information generation device and recording medium, and log information extraction device and recording medium | |
JP5446860B2 (en) | Virtual machine operation system, virtual machine operation method and program | |
JP4945935B2 (en) | Autonomous operation management system, autonomous operation management method and program | |
JP5708937B2 (en) | Configuration information management system, configuration information management method, and configuration information management program | |
US9727352B2 (en) | Utilizing history of changes associated with software packages to manage computing systems | |
US20030037177A1 (en) | Multiple device management method and system | |
US8607339B2 (en) | Systems and methods for improved identification and analysis of threats to a computing system | |
US9170806B2 (en) | Software discovery by an installer controller | |
US20100057780A1 (en) | Action execution management facility for service configuration items | |
EP2019358A1 (en) | A method and a system for the creation and deployment of a virtual machine appliance on virtualised servers | |
US7680826B2 (en) | Computer-readable recording medium storing security management program, security management system, and method of security management | |
JP2009217314A (en) | Information processor, server, data processing method, storage medium and program | |
US20130311425A1 (en) | Database update notification method | |
US10466991B1 (en) | Computing instance software package installation | |
JP2007080167A (en) | Software resource distribution system and method, and program | |
WO2005103909A1 (en) | Security maintenance method, data accumulation device, security maintenance server, and recording medium containing the program | |
JPWO2011074362A1 (en) | SYSTEM, PROGRAM, AND METHOD FOR FORMING CONFIGURATION INFORMATION OF COMPONENTS OF SYSTEMS INCLUDING COMPONENTS WHICH OBTAINED CONFIGURATION INFORMATION | |
US9348849B1 (en) | Backup client zero-management | |
US20140366084A1 (en) | Management system, management method, and non-transitory storage medium | |
JP2007128185A (en) | Information processor, information processing system, information processing method and information processing program | |
US10684840B1 (en) | Software package installation and monitoring | |
JP5737062B2 (en) | Batch job execution system, job management server, job authentication information update method, and update program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090512 |
|
A521 | Written amendment |
Effective date: 20090710 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
A02 | Decision of refusal |
Effective date: 20100330 Free format text: JAPANESE INTERMEDIATE CODE: A02 |