KR100837575B1 - Process management system and method - Google Patents
Process management system and method Download PDFInfo
- Publication number
- KR100837575B1 KR100837575B1 KR1020060092750A KR20060092750A KR100837575B1 KR 100837575 B1 KR100837575 B1 KR 100837575B1 KR 1020060092750 A KR1020060092750 A KR 1020060092750A KR 20060092750 A KR20060092750 A KR 20060092750A KR 100837575 B1 KR100837575 B1 KR 100837575B1
- Authority
- KR
- South Korea
- Prior art keywords
- processes
- abnormally
- information
- server
- restart
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3017—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is implementing multitasking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Mathematical Physics (AREA)
- Multimedia (AREA)
- Retry When Errors Occur (AREA)
- Debugging And Monitoring (AREA)
- Hardware Redundancy (AREA)
Abstract
본 발명은 소정의 프로세스에서 문제가 발생하더라도 관리자가 일일이 소정의 프로세스에 종속되는 프로세스들의 계통도를 확인하고, 상기 프로세스를 순서에 맞게 종료 및 재시동하는 대신, 자동으로 관련된 모든 프로세스가 종료 및 재시동될 수 있는 프로세스 관리 방법을 제공하는 것을 목적으로 한다.According to the present invention, even if a problem occurs in a predetermined process, the administrator can check the schematic diagram of processes dependent on the predetermined process and automatically terminate and restart all related processes instead of terminating and restarting the processes in order. Its purpose is to provide a method for managing processes.
또한, 본 발명은 각각이 적어도 하나의 프로세스를 구동하는 복수의 서버 및 상기 복수의 서버를 관리하는 DMP 서버를 포함하는 프로그램 관리 시스템으로써: 상기 DMP 서버는 상기 복수의 프로세스 각각의 연계 프로세스 정보를 저장하는 연계 프로세스 정보 저장 수단; 상기 복수의 프로세스 중 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스를 감지하는 감지수단; 및 상기 연계 프로세스 저장 수단에서 상기 감지수단에 의하여 감지된 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 정보를 추출하고, 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 중의 적어도 하나의 프로세스를 재시동할 것을 상기 복수의 서버 중 적어도 하나에 명령하는 시동 수단을 포함하는 것을 특징으로 한다. The present invention also provides a program management system including a plurality of servers each of which drives at least one process and a DMP server managing the plurality of servers, the DMP server storing associated process information of each of the plurality of processes. Associated process information storage means; Sensing means for sensing an abnormally operated or abnormally stopped process among the plurality of processes; And extracting, from the associated process storage means, the associated process information of the abnormally operated or abnormally stopped process detected by the sensing means, and at least one of the associated processes of the abnormally operated or abnormally stopped process. Startup means for instructing at least one of said plurality of servers to restart one process.
연계 프로세스, 모니터링, 재시동, 프로세스 관리 Linked Process, Monitoring, Restart, Process Management
Description
도 1은 본 발명의 바람직한 실시예에 따른 DMP를 처리하는 서버 관리 시스템의 구조를 개략적으로 도시하는 도면이다.1 is a diagram schematically showing the structure of a server management system for processing DMP according to a preferred embodiment of the present invention.
도 2a는 상기 실시예에 따라 구동되는 복수의 프로세스의 일례를 도시하는 도면이다.2A is a diagram illustrating an example of a plurality of processes driven according to the above embodiment.
도 2b는 도 2a에 도시된 프로세스 중 Aa 프로세스의 연계 프로세스의 구성을 도시하는 도면이다.FIG. 2B is a diagram illustrating a configuration of an association process of the Aa process among the processes shown in FIG. 2A.
도 2c는 DB 서버에 저장되는 연계 프로세스 정보의 내부 구성의 일례를 도시하는 도면이다.2C is a diagram illustrating an example of an internal configuration of linked process information stored in the DB server.
도 3은 도 2a 내지 도 2c에 도시된 구조의 연계 프로세스에서 프로세스의 재시동 요청이 있는 경우 각 레벨의 프로세스를 처리하는 절차를 도시하는 도면이다.FIG. 3 is a diagram illustrating a procedure of processing a process of each level when there is a restart request of a process in the linkage process of the structure shown in FIGS. 2A to 2C.
도 4는 본 실시예에 따른 서버 관리 시스템에서 DMP 서버에서 DMP 연계 프로세스를 처리하는 절차를 도시하는 흐름선도이다.4 is a flow diagram illustrating a procedure of processing a DMP association process in a DMP server in the server management system according to the present embodiment.
도 5는 본 실시예에 따른 서버 관리 시스템의 서비스 제어 서버가 특정 프로세스를 재시동하는 절차를 도시하는 흐름선도이다.5 is a flow diagram illustrating a procedure for restarting a specific process by the service control server of the server management system according to the present embodiment.
도 6은 본 실시예에 따른 서버 관리 시스템의 서비스 제어 서버가 특정 프로 세스를 종료하는 절차를 도시하는 흐름선도이다.6 is a flow diagram illustrating a procedure for the service control server of the server management system according to the present embodiment to terminate a specific process.
본 발명은 프로세스 관리 시스템, 더욱 구체적으로는 복수의 서버가 각각 하나 이상의 복수의 프로세스를 운영하는 시스템에서 소정의 프로세스를 다시 시작하거나 종료해야 하는 경우, 상기 소정의 프로세스 및 이와 연관된 다른 프로세스를 효과적으로 관리할 수 있는 프로세스 관리 시스템, 및 상기 프로세스 관리 시스템을 이용한 프로세스 관리 방법에 관한 것이다.The present invention effectively manages the predetermined process and other processes associated with the process management system, more specifically, when a plurality of servers each need to restart or terminate a predetermined process in a system operating one or more plurality of processes. It relates to a process management system capable of doing, and a process management method using the process management system.
최근, 하나의 시스템 하에서 복수의 서버를 운영하면서, 복수의 서버에서 진행되는 다양한 프로세스를 모니터링하고 관리하는 프로세스 관리 시스템이 이용되고 있다. 이러한 시스템은 모니터링용 서버가 따로 형성되어, 상기 모니터링용 서버를 통하여 다른 복수의 서버 및 복수의 서버가 각각 진행하는 복수의 프로세스가 정상적으로 작동하는 지를 확인한다. 또한, 모니터링용 서버는 상기 프로세스 중 오작동하거나 갑자기 작동을 중단하는 등의 경우, 프로세스를 종료하고 프로세스에 재시동 명령을 전달하기도 한다. 그런데, 복수의 서버 각각에서 진행되는 복수의 프로세스는 그 서버 또는 다른 서버의 프로세스와 독립적인 기능을 갖는 프로세스도 있지만, 적어도 일부의 프로세스는 그 서버 또는 다른 서버의 프로세스 중 적어 도 하나와 연관 관계를 맺는 경우도 있다. 이 경우, 모니터링용 서버는 상기 문제가 있는 프로세스가 다른 프로세스에 완전히 독립적인 경우라면 그 프로세스만 종료하고 다시 작동시키면 된다. 하지만, 상기 문제가 있는 프로세스가 다른 프로세스와 관계를 맺고 있는 경우, 문제가 있는 프로세스만 재시동시키게 되면, 상기 문제가 있는 프로세스에 종속된 프로세스들은 상위 프로세스의 갑작스런 종료 및 재시동으로 인하여 오류가 발생하게 된다. Recently, a process management system that monitors and manages various processes performed in a plurality of servers while operating a plurality of servers under one system has been used. In such a system, a server for monitoring is formed separately to check whether a plurality of other servers and a plurality of processes each of the plurality of servers operate normally through the monitoring server. In addition, the monitoring server may terminate the process and send a restart command to the process in case of malfunction or abrupt operation during the process. By the way, a plurality of processes that proceed in each of the plurality of servers may have a function independent of the process of that server or another server, but at least some processes are associated with at least one of the processes of that server or another server. In some cases. In this case, the monitoring server only needs to terminate and restart the process if the problem process is completely independent of other processes. However, when the problematic process is related to another process, if only the problematic process is restarted, the processes dependent on the problematic process may fail due to abrupt termination and restart of the parent process. .
따라서, 상기 문제가 있는 프로세스가 다른 프로세스와 소정의 연관 관계를 맺고 있는 경우에는 먼저, 문제가 있는 프로세스에 종속되는 하위의 프로세스를 확인하고, 하위 프로세스를 먼저 종료 및/또는 재시동한 후 상위 프로세스를 순차적으로 종료 및/또는 재시동하여야 한다. 이 경우, 소정의 프로세스에서 문제가 발생한 경우 프로세스의 연계 프로세스의 구성을 관리자가 일일이 확인하고, 하위 프로세스에서 상위 프로세스로 순차적으로 종료 및/또는 재시동하는 절차도 관리자가 직접 진행하는 것이 일반적이다. Therefore, when the problematic process has a predetermined relationship with another process, first, the lower process dependent on the problematic process is identified, and the lower process is first terminated and / or restarted, and then the upper process is executed. Must be terminated and / or restarted sequentially. In this case, when a problem occurs in a predetermined process, the administrator checks the configuration of a process linkage process one by one, and it is common for the administrator to directly proceed with the procedure of sequentially terminating and / or restarting from a lower process to a higher process.
하지만, 이러한 수동 방식의 종료 및 재시동 방식은 관리자에게 너무 많은 부담을 줄 뿐만 아니라, 자칫 관리자가 일부 프로세스의 종료 및 재시동을 빠트릴 경우 전체 시스템에 다시 문제가 발생하는 등 시스템의 안정성을 해치는 경우도 종종 있어왔다. 또한, 관리자가 잠시 자리를 비우거나 다른 문제를 해결하는 등의 이유로 즉시 대응을 하지 못하는 경우 전체 시스템 또는 일부 시스템을 이용하지 못하는 등의 불편함이 있어왔다.However, this manual shutdown and restart not only puts too much pressure on the administrator, but also often compromises the stability of the system, such as a problem with the entire system if the administrator misses the termination and restart of some processes. Has been. In addition, when the administrator is not able to immediately respond to reasons such as leaving the room for a while or solving other problems, there have been inconveniences such as not using the whole system or some systems.
본 발명은 이러한 종래의 모니터링용 서버를 이용한 프로세스 관리 시스템이 갖는 문제점을 해결하여, 소정의 프로세스에서 문제가 발생하더라도 관리자가 일일이 소정의 프로세스에 종속되는 프로세스들의 연계 구성을 확인하고, 상기 프로세스를 순서에 맞게 종료 및 재시동하는 대신, 자동으로 관련된 모든 프로세스가 종료 및 재시동될 수 있는 프로세스 관리 방법을 제공하는 것을 목적으로 한다.The present invention solves the problem of the conventional process management system using a server for monitoring, even if a problem occurs in a predetermined process, the administrator checks the configuration of the processes dependent on the predetermined process, and the process in order Instead of shutting down and restarting properly, the goal is to provide a process management method in which all relevant processes can be automatically shut down and restarted.
또한, 본 발명은 소정의 프로세스에서 문제가 발생한 경우 사전에 약속된 수단에 의하여 효과적으로 문제를 해결할 수 있는 프로세스 관리 방법을 제공하는 것을 목적으로 한다.In addition, an object of the present invention is to provide a process management method that can effectively solve a problem by a means promised in advance when a problem occurs in a predetermined process.
또한, 본 발명은 소정의 프로세스에서 문제가 발생한 경우 관리자의 인식 여부에 상관없이 실시간으로 프로세스의 문제발생 여부를 확인하고 이를 효과적으로 해결할 수 있는 방법을 제공하는 것을 목적으로 한다. In addition, an object of the present invention is to provide a method that can determine whether a problem occurs in real time and effectively solve the problem in real time, regardless of whether the administrator recognizes a problem in a predetermined process.
상기 목적을 달성하기 위하여 본 발명은 각각이 적어도 하나의 프로세스를 구동하는 복수의 서비스 제어 서버 및 상기 복수의 서버를 모니터링 및 관리하는 DMP(data manipulation process; 데이터 조작 처리) 서버를 포함하는 프로그램 관리 시스템으로써:In order to achieve the above object, the present invention provides a program management system including a plurality of service control servers each driving at least one process and a data manipulation process (DMP) server for monitoring and managing the plurality of servers. As:
상기 DMP 서버는 상기 복수의 프로세스 각각의 연계 프로세스 정보를 저장하는 연계 프로세스 정보 저장 수단; 상기 복수의 프로세스 중 비정상적으로 작동하 거나 비정상적으로 작동이 중단된 프로세스를 감지하는 감지수단; 및 상기 연계 프로세스 저장 수단에서 상기 감지수단에 의하여 감지된 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 정보를 추출하고, 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 중의 적어도 하나의 프로세스를 재시동할 것을 요청하는 메시지를 상기 복수의 서버 중 적어도 하나에 제공하는 시동 수단을 포함하는 것을 특징으로 한다.The DMP server comprises: linked process information storage means for storing associated process information of each of the plurality of processes; Sensing means for detecting an abnormally operated or abnormally stopped process among the plurality of processes; And extracting, from the associated process storage means, the associated process information of the abnormally operated or abnormally stopped process detected by the sensing means, and at least one of the associated processes of the abnormally operated or abnormally stopped process. Startup means for providing a message to at least one of said plurality of servers requesting to restart one process.
또한, 상기 시동 수단은 상기 연계 프로세스 중 하위에 위치하는 프로세스의 시동 메시지를 먼저 제공하고, 이어서 상위에 위치하는 프로세스의 시동 메시지를 제공하는 것이 바람직하다.Further, it is preferable that the start-up means first provide a start-up message of a process located at a lower side of the associated process, and then provide a start-up message of a process located at a higher level.
또한, 상기 시동 수단은 상기 복수의 프로세스를 재시동할 때 가장 하위에 위치하는 프로세스를 최초에 재시동하고, 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스를 재시동할 때까지 재시동 절차를 반복하는 것이 바람직하다.In addition, it is preferable that the starting means restarts the process located at the lowest when restarting the plurality of processes, and repeats the restarting procedure until the abnormally operating or abnormally stopped process is restarted. Do.
또한, 상기 추출된 연계 프로세스는 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 하위에 위치하는 프로세스의 정보만 포함하는 것이 바람직하다.In addition, it is preferable that the extracted associated process includes only information of a process located below the abnormally operated or abnormally stopped process.
또한, 본 발명에 따른 프로그램 관리 시스템은 상기 감지수단에 의하여 감지된 프로세스의 연계 프로세스 정보가 추출되면, 상기 추출된 연계 프로세스 정보에 저장된 프로세스를 강제로 종료시키는 종료 수단을 더 포함하는 것이 바람직하다.In addition, the program management system according to the present invention preferably further comprises termination means for forcibly terminating the process stored in the extracted cooperative process information when the cooperative process information of the process detected by the sensing means is extracted.
또한, 상기 시동 수단과 상기 종료 수단은 일체로 구성되어 시동 명령과 종 료 명령이 동시에 제공될 수 있다.In addition, the start means and the end means may be integrally provided so that a start command and an end command may be simultaneously provided.
또한, 상기 프로그램 관리 시스템은 상기 DMP 서버에 연결되어, 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 정보를 제공받고, 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스에 대한 재시동 명령을 상기 DMP 서버에 제공하는 적어도 하나의 관리 단말을 더 포함하는 것이 바람직하다.In addition, the program management system is connected to the DMP server, is provided with information of the abnormally or abnormally stopped process, and the restart command for the abnormally operated or abnormally stopped process is recalled It is preferable to further include at least one management terminal provided to the DMP server.
상기 목적을 달성하기 위한 본 발명에 따른 각각이 적어도 하나의 프로세스를 구동하는 복수의 서버를 포함하는 프로세스 관리 방법은:Process management method comprising a plurality of servers each running at least one process in accordance with the present invention for achieving the above object:
상기 복수의 프로세스 각각에 대한 연계 프로세스 정보를 저장하는 단계;Storing associated process information for each of the plurality of processes;
상기 복수의 프로세스 중 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스를 확인하는 단계;Identifying an abnormally operated or abnormally stopped process among the plurality of processes;
상기 복수의 프로세스 각각에 대한 연계 구성 중 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 정보를 추출하는 단계;Extracting linked process information of the abnormally operated or abnormally stopped process among the linked configurations for each of the plurality of processes;
상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 중 가장 하위에 위치하는 프로세스(N 단계 프로세스; N은 2 이상의 자연수)를 재시동하는 단계;Restarting a process (N step process; N is a natural number of two or more) which is located at the lowest of the associated processes of the abnormally operated or abnormally stopped process;
상기 재시동된 N 단계 프로세스의 바로 상위에 위치하는 프로세스(N-1 단계 프로세스)를 재시동하고, 이어서, 다시 그 상위에 위치하는 프로세스를 순차적으로 재시동하는 단계를 포함하고,Restarting the process immediately above the restarted N step process (N-1 step process), and then sequentially restarting the process located again above it;
상기 상위에 위치하는 프로세스를 순차적으로 재시동하는 단계는 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스를 재시동할 때까지 반복하는 것을 특징으로 한다.The sequentially restarting the processes located above the step may be repeated until the process which restarts abnormally or stops abnormally.
또한, 상기 추출된 연계 프로세스는 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 하위에 위치하는 프로세스의 정보만 포함하는 것이 바람직하다.In addition, it is preferable that the extracted associated process includes only information of a process located below the abnormally operated or abnormally stopped process.
또한, 상기 비정상적으로 작동하거나 비정상적으로 작동이 중단된 프로세스의 연계 프로세스 정보를 추출하는 단계에 이어서, 상기 추출된 정보에 포함된 연계 프로세스에 포함되는 복수의 프로세스를 모두 중단하는 단계를 더 포함하는 것이 바람직하다. 이 경우, 상기 추출된 정보에 포함된 연계 프로세스에 포함되는 복수의 프로세스를 중단하는 단계는 상기 복수의 프로세스를 재시동하는 단계와 동시에 이루어질 수도 있고, 프로세스를 중단하는 단계를 먼저 진행하고, 이어서 프로세스를 재시동하는 단계를 진행하도록 구성될 수도 있다.The method may further include stopping all of a plurality of processes included in the associated process included in the extracted information, after extracting the associated process information of the abnormally operated or abnormally stopped process. desirable. In this case, the step of stopping the plurality of processes included in the associated process included in the extracted information may be performed simultaneously with restarting the plurality of processes, or the process of stopping the process first, and then the process It may be configured to proceed with the restarting step.
이하에서는 첨부한 도면을 참고로 본 발명의 바람직한 실시예에 따른 프로세스 관리 방법을 설명한다. Hereinafter, a process management method according to a preferred embodiment of the present invention with reference to the accompanying drawings.
먼저, 도 1은 본 발명의 바람직한 실시예에 따른 서버 관리 시스템의 구조를 개략적으로 도시하는 도면이다. 도 1에서 보듯이, 본 실시예에 따른 서버 관리 시스템은 DMP(data manipulation process) 서버(10)와 서비스 제어 서버(21, 22, 23, 24, 25) 및 관리 단말(31, 32, 33, 34)로 구성된다. 상기 구성에서, 서비스 제어 서버(21, 22, 23, 24, 25)는 각각 독립적으로 작동하거나 다른 것과 연계하여 작동하는 적어도 하나의 프로세스가 구동된다. 또한, 상기 각각의 프로세스가 각각의 서비스 제어 서버(21, 22, 23, 24, 25)에서 정상적으로 구동되는지에 대한 정보는 DMP 서버(10)로 제공되고, DMP 서버(10)는 특히 비정상적으로 작동되는 프로세스가 감지되면 이를 관리 단말(31, 32, 33, 34)을 통하여 외부로 디스플레이한다. 그러면, 적어도 하나의 서버 관리자는 관리 단말(31, 32, 33, 34)을 통하여 서비스 제어 서버(21, 22, 23, 24, 25)가 정상적으로 작동하는지 여부를 관찰한다. 또한, DMP 서버(10)는 비정상적으로 작동하거나 작동이 중단된 프로세스가 감지되면 도 5를 참고로 뒤에서 설명하는 프로세스를 작동시켜 문제가 발생한 프로세스 및 연관 프로세스를 정상적으로 재시동시킨다. 이러한 재시동 절차는 DMP 서버(10)에 의하여 자동으로 개시될 수도 있고, 관리 단말(31 내지 34)의 명령에 의하여 개시될 수도 있다. 또한, DMP 서버(10)는 내부 또는 외부에 DB 서버(15)를 장착하여, 각각의 서비스 제어 서버(21, 22, 23, 24, 25)에서 구동되는 적어도 하나의 프로세스에 대한 연계 정보를 저장한다. First, FIG. 1 is a diagram schematically showing the structure of a server management system according to a preferred embodiment of the present invention. As shown in FIG. 1, the server management system according to the present embodiment includes a DMP (data manipulation process)
도 2a는 본 실시예에 따른 각각의 서비스 제어 서버(21, 22, 23, 24, 25)에서 구동되는 복수의 프로세스를 도시하고 있다. 즉, 도 2a에 따른 서비스 제어 서버(21, 22, 23, 24, 25)는 5개로 구성되며 각각 A, B, C, D, E, F라 호칭한다. 또한, 각각의 서비스 제어 서버(21, 22, 23, 24, 25)는 공통적으로 6개의 프로세스를 구동하며, 이를 순서대로 a, b, c, d, e, f라 호칭한다. 따라서, 예를 들면, C 서버의 다섯번째 프로세스는 Ce로 약칭될 수 있다. 당업자에게는 당연하겠지만, 상 기 서버 및 서버 각각의 프로세스의 순서, 갯수 등은 임의로 채택될 수 있으며, 예를 들면, A 서버의 a 프로세스와 B 서버의 b 프로세스는 그 명칭만 유사할 뿐 전혀 상관없이 채택된 프로세스이다.Fig. 2A shows a plurality of processes running on each
또한, 도 2b는 도 2a에 도시된 서비스 제어 서버 및 프로세스 중 Aa 프로세스(즉, A 서버의 a 프로세스)의 연계 구성을 예시하는 도면이다. 구체적으로, 본 실시예는 Aa 프로세스를 1 레벨 프로세스라 하면, 1 레벨 프로세스는 2 레벨 프로세스(Ba, Ca, Da, Ea 프로세스)와 연계되고, 2 레벨 프로세스 중 Ba 프로세스는 다시 3 레벨 프로세스(Ab, Bb 프로세스)와 연계된다. 이런 방식으로 Aa 프로세스는 다른 다수의 프로세스와 연계되므로(즉, 다수의 프로세스가 Aa 프로세스에 종속되므로), 만약 Aa 프로세스가 비정상적으로 종료된다면, Aa 프로세스를 재시동하는 것만으로 부족하고, Aa 프로세스에 종속된 모든 프로세스(1 레벨 프로세스부터 N 레벨 프로세스까지)를 소정의 순서(N 레벨 프로세스부터 1 레벨 프로세스의 순서)에 따라서 재시동하여야 한다. 또한, Aa 프로세스 등 각각의 프로세스에 대한 연계 프로세스 정보는 DB 서버(15)에 저장된다.In addition, FIG. 2B is a diagram illustrating a linkage configuration of the Aa process (that is, a process of the A server) among the service control server and the process shown in FIG. 2A. Specifically, in the present embodiment, if the process Aa is a one-level process, the one-level process is associated with two-level processes (Ba, Ca, Da, Ea processes), and the Ba process among the two-level processes is again a three-level process (Ab , Bb process). In this way, because the Aa process is associated with a number of other processes (that is, because many processes are dependent on the Aa process), if the Aa process terminates abnormally, it is not enough to restart the Aa process and dependent on the Aa process. All the processes (from the first level process to the N level process) that have been made must be restarted in a predetermined order (the order of the N level process to the first level process). In addition, the linkage process information for each process such as the Aa process is stored in the
도 2c는 DB 서버(15)에 저장되는 연계 프로세스 정보의 내부 구성의 일례를 도시하는 도면이다. 도 2c에서 보듯이, DB 서버(15)는 Aa 프로세스의 연계 프로세스 정보, Ba 프로세스의 연계 프로세스 정보 등 모든 프로세스에 대한 데이터 조작 처리에 필요한 정보를 모두 포함한다. 예를 들면, 도 2b 및 도 2c에서 보듯이 1 레벨 정보(Aa 프로세스) 경우 2 레벨 정보(Ba, Ca, Da, Ea 프로세스)와 직접 연계되고, 2 레벨 정보 중 Da 프로세스는 3 레벨 정보인 Cb, Db 프로세스와 연계되며, 3 레벨 정보 중 Db 프로세스는 4 레벨 정보인 Bd, Cc 프로세스와 연계되고, 4 레벨 정보 중 Cc 프로세스는 5 레벨 정보인 Ec 프로세스와 연계되며, 5 레벨 정보 중 Ec 프로세스는 6 레벨 정보인 Ce, Cf 프로세스와 연계되고, 6 레벨 정보 중 Ce 프로세스는 7 레벨 정보인 De 프로세스와 연계되며, 7 레벨 정보 중 De 프로세스는 8 레벨(도 2b의 N 레벨) 정보인 Ef 프로세스와 연계되는데, 이러한 모든 정보는 DB 서버(15)에 저장되어, 이후에 DMP 서버(10)에 의하여 필요한 부분이 추출되어 데이터 조작 처리에 이용된다.FIG. 2C is a diagram illustrating an example of an internal configuration of linked process information stored in the
도 3은 도 2a 내지 도 2c에 도시된 구조의 연계 프로세스와 같이 Ec 프로세스의 재시동 요청이 있는 경우에 각 레벨의 프로세스를 처리하는 절차를 도시하는 도면이다. FIG. 3 is a diagram illustrating a procedure of processing a process of each level when there is a restart request of an Ec process such as a linkage process of the structure shown in FIGS. 2A to 2C.
도 3에서 보듯이, 소정의 관리 단말(33)을 통하여 비정상적으로 작동이 중단된 프로세스(도 3에서는 Ec 프로세스)가 감지되면, 관리 단말(33)로부터 DMP 서버(10)로 Ec 프로세스의 중단 명령이 제공된다. DMP 서버(10)는 Ec 프로세스의 중단 명령을 제공받으면, DB 서버(15)에서 Ec 프로세스에 대한 연계 프로세스 정보를 추출하여, 도 2b에 도시된 것과 같은 특정 프로세스에 대한 연계 프로세스 구조를 작성한다. 앞에서 설명한 바와 같이 특정 프로세스에 대한 연계 프로세스 구조는 특정 프로세스의 영향을 받는 하위 레벨의 리스트를 작성하는 것으로 충분하고, 특정 프로세스의 영향을 받지 않는 상위 레벨의 리스트를 작성할 필요는 없다. As shown in FIG. 3, when a process (Ec process in FIG. 3) abnormally stopped through a
이어서, 상기 리스트를 근거로 DMP 서버(10)는 먼저 E 서버(25)에 가장 하위 레벨(N 레벨)의 프로세스인 Ef 프로세스의 재시동을 명령하고, 그 처리 결과를 관리 단말(33)로 제공한다. 이어서, DMP 서버(10)는 차하위 레벨인 N-1 레벨의 프로세스인 De 프로세스 및 Df 프로세스의 재시동을 명령하고, 그 처리 결과를 관리 단말로 제공한다. 이와 같이 DMP 서버(10) 최하위 프로세스부터 최상위 프로세스까지 각 레벨에 따라 순차적으로 해당 프로세스가 구동되는 서버(21 내지 25)에 해당 프로세스의 재시동을 명령하고 그 결과를 관리 단말(33)에 제공한다. 상기 해당 프로세스의 재시동 및 재시동 결과의 제공은 최초에 재시동이 필요하다고 인정된 Ec 프로세스까지 진행됨으로써 완료된다. Subsequently, based on the list, the
이상은 각 프로세스를 재시동하는 경우를 기준으로 설명하였지만, 각 프로세스를 종료할 필요가 있는 경우에도 재시동 절차와 동일한 절차 및 순서에 의하여 진행될 수 있다.Although the above has been described with reference to the case of restarting each process, even if it is necessary to terminate each process can proceed by the same procedure and sequence as the restart procedure.
다음은, 도 4를 참고로 본 실시예에 따른 서버 관리 시스템에서 DMP 서버(10)에서 DMP 연계 프로세스를 처리하는 일반적인 절차를 상세하게 설명한다.Next, a general procedure of processing the DMP association process in the
먼저, 소정의 프로세스에 대한 재시동이 필요한 경우, DMP 서버(10)는 재시동이 필요한 프로세스의 정보 및 상기 프로세스의 연계 프로세스 정보를 확인한다(S101). First, when a restart is required for a predetermined process, the
이어서, DMP 서버(10)는 서비스 제어 서버(21 내지 25)로부터 재시동이 필요한 하나 이상의 프로세스 중 적어도 하나의 프로세스에 대한 재시동 응답 메시지의 수신 여부를 확인한다(S102). 만약, 재시동 응답 메시지를 수신하지 않은 경우, DMP 서버(10)는 관리 단말(31 내지 34)로부터 특정 프로세스를 재시동 요청하는 메시지를 수신하였는지 여부를 확인한다(S103). 만약, 재시동 요청 메시지를 수신하였으면 다음의 S104 단계를 진행하고, 수신하지 않았으면, S102를 반복한다.Subsequently, the
DMP 서버(10)는 관리 단말(31 내지 34)로부터 재시동 요청을 수신한 후, 재시동이 필요한 프로세스의 연계 프로세스 정보를 확인하고(S104), 연계 프로세스 정보 중 최하위 레벨인 N 레벨 정보를 확인하고, N 레벨의 프로세스를 구동하는 서비스 제어 서버(21 내지 25)에 각각의 N 레벨에 해당하는 프로세스에 대한 재시동 메시지를 제공한다(S105). 상기 N 레벨에 포함되는 프로세스는 하나 또는 둘 이상의 복수로 구성될 수 있으며, 복수인 경우 각 프로세스는 모두 동일한 서비스 제어 서버에서 구동되는 것일 수도 있고, 서로 다른 서버에서 구동되는 것일 수도 있다. 이어서, DMP 서버(10)는 N 레벨에 해당하는 프로세스에 대한 재시동 메시지가 모두 제공되는지 여부를 확인한 후(S106), 모두 제공되지 않았으면 재공되지 않은 메시지를 다시 제공한다(S107). 또는, 메시지가 모두 제공되었으면 앞의 S102 단계를 반복한다. 즉, DMP 서버(10)는 N 레벨에 해당하는 프로세스에 대한 재시동 메시지를 제공한 결과, 상기 프로세스 중 적어도 하나의 프로세스가 재시동 되었는지 여부를 확인하고(S102), 적어도 하나의 프로세스가 재시동 되었다는 신호가 입력되면 다음의 S108 단계를 진행하고, 재시동 되었다는 신호가 입력되지 않으면, S102 내지 S107 단계를 반복한다.After receiving the restart request from the
DMP 서버(102)는 적어도 하나의 프로세스가 재시동 되었다는 신호가 입력되면, 다시 N 레벨에 해당하는 프로세스 정보를 확인하고, 그 중 재시동 되었다는 프 로세스는 연계 프로세스 정보에서 삭제한다(S109). 이어서, 상기 재시동된 프로세스가 정상적으로 재시동된 것인지를 확인한 후(S110), 재시동된 프로세스가 비정상적으로 구동되는 등, 정확한 재시동이 되지 않았다면 관리자의 점검이 필요하다고 간주하여, 소정의 관리 단말로 오류 메시지를 전송하고(S120), 연계 프로세스 정보를 삭제한 후(S121), DMP 연계 프로세스를 종료한다. 한편, 재시동된 프로세스가 정상적으로 구동되면 이를 관리 단말에 통보하고(S111), N 레벨 프로세스가 모두 재시동 완료되었는지 확인한다. N 레벨 프로세스가 모두 재시동되지 않았으면, N 레벨 프로세스가 모두 재시동될 때까지 S102 단계를 반복한다.When a signal indicating that at least one process is restarted is input, the DMP server 102 checks process information corresponding to the N level again, and deletes the process of restarting from the associated process information (S109). Subsequently, after confirming that the restarted process is normally restarted (S110), if the restarted process is not correctly restarted, such as abnormally running, it is assumed that the inspection is necessary, and an error message is sent to a predetermined management terminal. After transmitting (S120) and deleting the association process information (S121), the DMP association process is terminated. On the other hand, if the restarted process is normally driven to notify the management terminal (S111), and checks whether all of the N-level processes are restarted. If all of the N level processes have not been restarted, the step S102 is repeated until all of the N level processes have been restarted.
N 레벨 프로세스가 모두 재시동 되었으면, 상기 N 레벨이 최상위 레벨(1 레벨)인지 확인한다(S113). 1 레벨이면 모든 프로세스가 재시동 된 것으로 간주하여, 관리 단말에 재시동 프로세스가 완전히 완료되었음을 통보하고(S118), 연계 프로세스 정보를 삭제한 후(S119), DMP 연계 프로세스를 종료한다. If all of the N level processes are restarted, it is checked whether the N level is the highest level (1 level) (S113). If the level is 1, all processes are regarded as restarted, and the management terminal is notified that the restart process is completely completed (S118), after deleting the linkage process information (S119), the DMP linkage process ends.
또는, 재시동이 완료된 N 레벨 프로세스가 2 레벨 이상의 레벨이면, N-1 레벨 프로세스를 새로운 N 레벨 프로세스로 설정하여 재시동 프로세스를 다시 시작한다(S114). 이 경우, 먼저 새로운 N 레벨의 연계 프로세스 정보를 확인하고, 새로운 N 레벨의 프로세스를 구동하는 서비스 제어 서버(21 내지 25)에 각각의 N 레벨에 해당하는 프로세스에 대한 재시동 메시지를 제공한다(S115). 이어서, DMP 서버(10)는 새로운 N 레벨에 해당하는 프로세스에 대한 재시동 메시지가 모두 제공되는지 여부를 확인한 후(S116), 모두 제공되지 않았으면 제공되지 않은 메시지를 다시 제공한다(S117). 또는, 메시지가 모두 제공되었으면 앞의 S102 단계를 반복한 다. 즉, DMP 서버(10)는 N 레벨에 해당하는 프로세스에 대한 재시동 메시지를 제공한 결과, 상기 프로세스 중 적어도 하나의 프로세스가 재시동 되었는지 여부를 확인하고(S102), 적어도 하나의 프로세스가 재시동 되었다는 신호가 입력되면 다음의 S108 단계를 진행하고, 재시동 되었다는 신호가 입력되지 않으면, S102 내지 S107 단계를 반복한다. 새로운 N 레벨 프로세스가 모두 완료되면(S112), 앞에서 설명한 바와 같이 그것이 1 레벨인지 확인하고, 재시동된 프로세스가 1 레벨이 될 때까지 앞의 절차를 반복한다.Alternatively, if the restarted N-level process is at least two levels higher, the restart process is restarted by setting the N-1 level process as a new N-level process (S114). In this case, first, the cooperative process information of the new N level is checked, and a restart message for a process corresponding to each N level is provided to the
다음으로, DMP 서버(10)로부터 특정 프로세스의 재시동 메시지를 제공받은 서비스 제어 서버(21 내지 25)에서 특정 프로세스를 재시동하는 절차를 도 5를 참고로 설명한다. Next, a procedure of restarting a specific process in the
먼저, 서비스 제어 서버(21 내지 25)는 DMP 서버(10)로부터 소정의 프로세스의 재시동 메시지를 제공받으면(S201), 스레드(thread)를 형성한다(S202). 이어서, 형성된 스레드를 실행한 후(S203), 스레드가 정상적으로 실행되지 않거나 시스템 오류 등으로 프로세스가 전혀 작동하지 않는 등 일정한 시간이 경과해도 소정의 반응이 없으면(S204), DMP 서버(10)에 오류 메시지를 전송한다(S209). 또는, 소정 시간 내에 반응이 있으면, 해당 프로세스가 실행되는지를 확인하고(S205), 프로세스가 실행되고 있으면, 해당 프로세스를 강제로 종료처리한 후(S206), S204 단계를 반복한다. 또는, 해당 프로세스가 실행되고 있지않은 경우 해당 프로세스를 재시동하고(S207), DMP 서버(10)에 특정 프로세스의 재시동 절차를 완료했음을 알리는 성공 메시지를 전송한다(S208)First, if the
다음으로, DMP 서버(10)로부터 특정 프로세스의 종료 메시지를 제공받은 서비스 제어 서버(21 내지 25)에서 특정 프로세스를 종료하는 절차가 도 6을 참고로 설명한다. Next, a procedure of terminating a specific process in the
먼저, 서비스 제어 서버(21 내지 25)는 DMP 서버(10)로부터 소정의 프로세스의 종료 메시지를 제공받으면(S301), 스레드를 형성한다(S302). 이어서, 형성된 스레드를 실행한 후(S303), 스레드가 정상적으로 실행되지 않거나 시스템 오류 등으로 프로세스가 전혀 작동하지 않는 등 일정한 시간이 경과해도 소정의 반응이 없으면(S204), DMP 서버(10)에 오류 메시지를 전송한다(S308). 또는, 소정 시간 내에 반응이 있으면, 해당 프로세스가 실행되는지를 확인하고(S305), 프로세스가 실행되고 있으면, 해당 프로세스를 강제로 종료처리한 후(S306), DMP 서버(10)에 특정 프로세스의 종료 절차를 완료했음을 알리는 성공 메시지를 전송한다(S307). 또는, 해당 프로세스가 실행되고 있지않은 경우에는 DMP 서버(10)에 즉시 특정 프로세스의 종료 절차를 완료되어 있음을 알리는 성공 메시지를 전송한다(S307)First, if the service control server (21 to 25) receives the end message of the predetermined process from the DMP server 10 (S301), and forms a thread (S302). Subsequently, after executing the formed thread (S303), if there is no response even after a certain time elapses, such as the thread does not run normally or the process does not operate at all due to a system error or the like (S204), the
이상에서 본 발명에 따른 프로세스 관리 시스템 및 방법을 바람직한 실시예를 참고로 상세하게 설명하였다. 하지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 실시예에서 설명한 시스템 및 방법 외에 다양한 변형 및 수정이 가능하다는 것을 이해할 것이다. 따라서 본 발명의 범위는 오직 뒤에서 설명할 특허청구범위에 의해서만 한정된다.The process management system and method according to the present invention has been described in detail above with reference to a preferred embodiment. However, one of ordinary skill in the art will appreciate that various modifications and variations are possible in addition to the systems and methods described in this embodiment. Therefore, the scope of the present invention is limited only by the claims which will be described later.
본 발명에 따른 DMP 서버를 이용한 프로세스 관리 시스템은 소정의 프로세스에서 문제가 발생하더라도 관리자가 일일이 소정의 프로세스에 종속되는 프로세스들의 계통도를 확인하고, 상기 프로세스를 순서에 맞게 종료 및 재시동하는 대신, 자동으로 관련된 모든 프로세스가 종료 및 재시동될 수 있는 프로세스 관리 방법을 제공할 수 있다.In the process management system using the DMP server according to the present invention, even if a problem occurs in a predetermined process, the administrator checks the schematic diagram of processes dependent on the predetermined process, and automatically terminates and restarts the process in order, instead of automatically. It can provide a process management method in which all related processes can be terminated and restarted.
또한, 본 발명은 소정의 프로세스에서 문제가 발생한 경우 사전에 약속된 수단에 의하여 효과적으로 문제를 해결할 수 있는 프로세스 관리 방법을 제공할 수 있다.In addition, the present invention can provide a process management method that can effectively solve a problem by a means promised in advance when a problem occurs in a predetermined process.
또한, 본 발명은 소정의 프로세스에서 문제가 발생한 경우 관리자의 인식 여부에 상관없이 실시간으로 프로세스의 문제 여부를 확인하고 이를 효과적으로 해결할 수 있다. In addition, when a problem occurs in a predetermined process, the present invention can identify a problem in a process in real time regardless of whether the administrator recognizes it and effectively solve it.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060092750A KR100837575B1 (en) | 2006-09-25 | 2006-09-25 | Process management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060092750A KR100837575B1 (en) | 2006-09-25 | 2006-09-25 | Process management system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080027563A KR20080027563A (en) | 2008-03-28 |
KR100837575B1 true KR100837575B1 (en) | 2008-06-12 |
Family
ID=39414428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060092750A KR100837575B1 (en) | 2006-09-25 | 2006-09-25 | Process management system and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100837575B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000004084A (en) * | 1998-06-30 | 2000-01-25 | 윤종용 | Server reoperating method and system therefor when being obstacle of server |
KR100269264B1 (en) | 1997-11-25 | 2000-10-16 | 이계철 | How to monitor and recover the operation of workstation mounted blocks |
KR20030035181A (en) * | 2001-10-30 | 2003-05-09 | 한국전자통신연구원 | Apparatus and method for managing network faults by multi-agent communication |
KR20030054447A (en) * | 2001-12-26 | 2003-07-02 | 한국전자통신연구원 | A Method of Middleware Server Status Supervision |
-
2006
- 2006-09-25 KR KR1020060092750A patent/KR100837575B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100269264B1 (en) | 1997-11-25 | 2000-10-16 | 이계철 | How to monitor and recover the operation of workstation mounted blocks |
KR20000004084A (en) * | 1998-06-30 | 2000-01-25 | 윤종용 | Server reoperating method and system therefor when being obstacle of server |
KR20030035181A (en) * | 2001-10-30 | 2003-05-09 | 한국전자통신연구원 | Apparatus and method for managing network faults by multi-agent communication |
KR20030054447A (en) * | 2001-12-26 | 2003-07-02 | 한국전자통신연구원 | A Method of Middleware Server Status Supervision |
Also Published As
Publication number | Publication date |
---|---|
KR20080027563A (en) | 2008-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8978025B2 (en) | Server and method for updating firmware of server | |
US9430221B2 (en) | Device and method for updating firmware of a rackmount server system | |
CN101771563B (en) | Method for monitoring network service program | |
CN102238093A (en) | Service interruption prevention method and device | |
US10880153B2 (en) | Method and system for providing service redundancy between a master server and a slave server | |
CN105045708A (en) | Method and system for processing running errors of software | |
US9575915B2 (en) | Data migration method and apparatus | |
CN107333252B (en) | Communication exception handling method and device and smart card terminal | |
KR100837575B1 (en) | Process management system and method | |
CN105871633A (en) | Application control method, device and system | |
CN106411643B (en) | BMC detection method and device | |
JP6504610B2 (en) | Processing device, method and program | |
CN111176893A (en) | Computer remote control method, device, system and storage medium | |
CN104753993B (en) | A kind of method and monitoring device of monitoring server | |
CN105824622A (en) | Data processing method and electronic equipment | |
CN110365538B (en) | Port state control method, device, equipment and computer readable storage medium | |
JPWO2011158367A1 (en) | Update technology for running programs | |
JP2008003735A (en) | Automatic stop system of information processing system connected to uninterruptible power supply | |
CN110673710B (en) | Server case resetting method, device, equipment and medium | |
CN113467953A (en) | Service state switching method and device, server and storage medium | |
CN111064597A (en) | Self-healing method of middleware node self-healing system based on Pass platform | |
JP5268820B2 (en) | Rewriting method for monitoring device program | |
KR102262942B1 (en) | Gateway self recovery method by the wireless bridge of wireless network system system | |
TWI705674B (en) | Website restart system | |
CN111540133B (en) | Method and device for detecting state of external equipment and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20120531 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |