KR20070080337A - Method for processing fail-over and returning of duplication telecommunication system - Google Patents

Method for processing fail-over and returning of duplication telecommunication system Download PDF

Info

Publication number
KR20070080337A
KR20070080337A KR1020060011554A KR20060011554A KR20070080337A KR 20070080337 A KR20070080337 A KR 20070080337A KR 1020060011554 A KR1020060011554 A KR 1020060011554A KR 20060011554 A KR20060011554 A KR 20060011554A KR 20070080337 A KR20070080337 A KR 20070080337A
Authority
KR
South Korea
Prior art keywords
service
primary
daemon
connection
server
Prior art date
Application number
KR1020060011554A
Other languages
Korean (ko)
Other versions
KR100793446B1 (en
Inventor
안도영
임성빈
김민석
임종태
Original Assignee
에스케이 텔레콤주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 에스케이 텔레콤주식회사 filed Critical 에스케이 텔레콤주식회사
Priority to KR1020060011554A priority Critical patent/KR100793446B1/en
Publication of KR20070080337A publication Critical patent/KR20070080337A/en
Application granted granted Critical
Publication of KR100793446B1 publication Critical patent/KR100793446B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Hardware Redundancy (AREA)

Abstract

A failover and recovery processing method for a duplex communication system is provided to change a service to a secondary server when a primary service is failed and allow every service using a corresponding library to immediately perform a failover, thereby improving a failure coping capability. Multiple processes of a client library receive a service through a service agency deamon 'A' according to a primary connection and store connection information of a primary 'A' and a secondary 'B' in a shared memory. When one of the processes is failed while receiving the service, the service is changed to a service agency deamon 'B' according to a secondary connection and connection information of the shared memory is changed to a primary 'B' and a secondary 'A'. While another one of the processors is receiving the service through the service agency deamon 'A' according to the primary connection, the service is changed to the service agency deamon 'B' according to the secondary connection without detection of a failure according to the change in the connection information of the shared memory.

Description

이중화 통신 시스템의 페일 오버 및 원복 처리 방법{METHOD FOR PROCESSING FAIL-OVER AND RETURNING OF DUPLICATION TELECOMMUNICATION SYSTEM}Fail-over and roll-back handling of redundant communication systems {METHOD FOR PROCESSING FAIL-OVER AND RETURNING OF DUPLICATION TELECOMMUNICATION SYSTEM}

도 1a 및 도 1b는 서비스 제공자의 클라이언트용 라이브러리와 서비스 대행 데몬간의 페일 오버 및 원복 처리를 설명하기 위한 이중화 통신 시스템의 구성도,1A and 1B are configuration diagrams of a redundant communication system for explaining failover and rollback processing between a library for a client of a service provider and a service proxy daemon;

도 2a 및 도 2b는 서비스 대행 데몬과 서버간의 페일 오버 및 원복 처리를 설명하기 위한 이중화 통신 시스템의 구성도.2A and 2B are diagrams illustrating a redundant communication system for explaining failover and rollback processing between a service proxy daemon and a server.

본 발명은 이중화 통신 시스템에 관한 것으로, 더욱 상세하게는 서비스 제공자(Contents Provider, 이하 "CP"라 함)의 클라이언트(Client)용 라이브러리(Library)와 서비스 대행 데몬(Daemon)간의 이중화 통신 시스템 또는 서비스 대행 데몬과 서버간의 이중화 통신 시스템에서의 페일 오버(Fail-over) 및 원복 처리 방법에 관한 것이다.The present invention relates to a redundant communication system, and more particularly, to a redundant communication system or service between a library for a client of a service provider (hereinafter referred to as "CP") and a service agent daemon. The present invention relates to a method of fail-over and recovery in a redundant communication system between an agent daemon and a server.

UA 프로파일(Profile) 시스템을 신규로 구성함에 있어서 서비스 요청을 보내는 CP는 여러 대의 장비를 사용함으로써 서비스 부하에 대한 분산을 수행하고 있다. 이러한 구성에서 속도에 대한 향상 및 안정화된 서비스 제공을 위하여 각 CP에 게 서비스를 대행하는 데몬을 제공하게 되었다. 데몬은 각 CP의 특성에 맞춰서 여러 대의 서버에서 구동할 수 있으며, 각 클라이언트는 여러 대에 구성된 데몬을 통하여 서비스를 받게 되고, 서비스를 받던 데몬에 문제가 발생하면 다른 장비에 구성된 데몬을 통하여 서비스를 받게 되는 페일 오버에 대한 이중화 구성이 되어 있다.In constructing a new UA Profile system, a CP that sends a service request distributes service load by using several devices. In such a configuration, a daemon is provided for each CP to provide speed and stabilized service. Daemons can be run on multiple servers according to the characteristics of each CP, and each client is serviced through multiple daemons configured. If a daemon fails, the daemon is configured to run on other machines. There is a redundant configuration for failover.

그런데, 이러한 이중화 구성에서 문제가 될 수 있는 부분은 바로 현재 자신이 서비스를 받던 데몬에서 문제가 발생한 경우 타임아웃(timeout) 또는 특정 시간 동안 대기 한 이후 서비스에 대한 응답을 받지 못하면 다음 번으로 설정된 데몬으로 서비스가 전환되는데, 이 구조에서 문제가 될 수 있는 부분은 프라이머리(Primary)로 설정된 서비스에 대하여 지속적으로 리퀘스트(request)를 보낸 이후 응답을 받지 못하는 경우 세컨더리(secondary) 서비스로 전환되면 전체적인 서비스는 지연시간(delay-time)이 많아지고 느려지게 된다.However, the problem that can be a problem in this redundancy configuration is that if a problem occurs in the daemon that is currently being serviced, the daemon set as the next time when no response is received for the service after timeout or waiting for a certain time. If the service fails to receive a response after continuously sending a request for a service set as primary, the entire service is switched to secondary service. The delay time increases and becomes slow.

또한, 기존 서비스를 제공하던 프라이머리의 서비스가 원복된 이후에는 세컨더리로 전환된 서비스가 자동으로 원복처리 되지 못하는 문제점을 가지고 있다.In addition, after the service of the primary that provides the existing service is restored, there is a problem that the service converted to the secondary cannot be automatically restored.

아울러, 이러한 구성은 서비스 대행 처리하는 데몬과 LDAP(Lightweight Directory Access Protocol) 서버(예로서, 이동 통신 시스템의 국사)간 이중화 통신 시스템에도 동일하게 적용되고 있다.In addition, this configuration is equally applied to a redundant communication system between a service proxy processing daemon and a Lightweight Directory Access Protocol (LDAP) server (for example, a national company of a mobile communication system).

본 발명은 이와 같은 종래의 문제점을 해결하기 위하여 제안한 것으로, CP의 클라이언트용 라이브러리와 서비스 대행 데몬간의 이중화 통신 시스템에서 클라이 언트의 서비스 접속정보를 공유하여 보다 안정적인 서비스가 가능하도록 하는데 그 목적이 있다.The present invention has been proposed to solve such a conventional problem, and has an object of enabling a more stable service by sharing service access information of a client in a redundant communication system between a client library of a CP and a service agent daemon.

본 발명의 다른 목적은 서비스 대행 데몬과 서버간의 이중화 통신 시스템에서 프라이머리 서비스의 원복 여부를 체크하는 모니터링 프로세스를 추가적으로 구성하여 프라이머리 서비스가 장애로부터 원복되었을 경우 데몬 서비스가 세컨더리 서비스에서 프라이머리 서비스로 자동 원복이 수행될 수 있도록 하는데 있다.Another object of the present invention is to additionally configure a monitoring process for checking whether the primary service is restored in the redundant communication system between the service daemon and the server, when the primary service is recovered from the failure, the daemon service is changed from the secondary service to the primary service. It is to allow automatic recovery.

이와 같은 목적들을 실현하기 위한 본 발명의 일 관점으로서 이중화 통신 시스템의 페일 오버 처리 방법은, CP의 클라이언트용 라이브러리와 서비스 대행 데몬간 이중화 통신 시스템의 페일 오버 처리 방법으로서, 상기 클라이언트용 라이브러리의 복수 프로세스가 프라이머리 연결에 의해 서비스 대행 데몬 A를 통하여 서비스를 받으면서 프라이머리 A, 세컨더리 B인 접속정보를 공유 메모리에 저장하는 단계와, 상기 복수 프로세스 중에서 어느 하나의 프로세스가 상기 서비스 대행 데몬 A를 통하여 서비스를 받던 중에 장애가 발생되면 세컨더리 연결에 의해 상기 서비스 대행 데몬 B로 서비스가 전환되면서 상기 공유 메모리의 접속정보를 프라이머리 B, 세컨더리 A로 변경하는 단계와, 상기 복수 프로세서 중에서 다른 프로세스가 상기 프라이머리 연결에 의해 상기 서비스 대행 데몬 A를 통하여 서비스를 받던 중에 상기 공유 메모리의 접속정보 변경에 따라 장애 감지 없이 상기 세컨더리 연결에 의해 상기 서비스 대행 데몬 B로 서비스가 전환되는 단계를 포함한다.In one aspect of the present invention for realizing the above objects, a method for processing a failover of a redundant communication system is a method for processing a failover of a redundant communication system between a client library and a service proxy daemon of a CP, and includes a plurality of processes of the client library. Storing the access information of primary A and secondary B in a shared memory while receiving a service through a service proxy daemon A by a primary connection, and any one of the plurality of processes provides a service through the service proxy daemon A. If a failure occurs while receiving a service is switched to the service proxy daemon B by a secondary connection to change the access information of the shared memory to primary B, secondary A, and other processes of the plurality of processors the primary connection By a step by which the secondary connections without failure detection according to the connection information is changed in the shared memory during batdeon the service through the service agent A daemon is switched service to the service agent daemon B.

본 발명의 다른 관점으로서 이중화 통신 시스템의 페일 오버 처리 방법은, 서비스 대행 데몬과 서버간 이중화 통신 시스템의 페일 오버 처리 방법으로서, 복 수 서비스 대행 데몬이 프라이머리 연결에 의해 프라이머리 서버로부터 서비스를 받으면서 장애가 발생되면 세컨더리 연결에 의해 세컨더리 서버로 서비스가 전환되는 단계와, 모니터링 서비스 프로세스가 모니터링 연결에 의해 상기 프라이머리 서버의 서비스 상태가 정상적으로 되돌아오는지를 체크하는 단계와, 상기 프라이머리 서버의 서비스 상태가 정상적으로 되돌아오면 상기 모니터링 서비스 프로세스가 상기 복수 서비스 대행 데몬에게 서비스 원복 신호를 보내는 단계와, 상기 복수 서비스 대행 데몬이 상기 서비스 원복 신호에 의거하여 상기 프라이머리 서버에 연결하면서 상기 세컨더리 서버와의 연결을 차단하여 원래 설정된 서비스 구조로 원복 처리되는 단계를 포함한다.In another aspect of the present invention, a failover processing method of a redundant communication system is a failover processing method of a redundant service system between a service proxy daemon and a server, and the multiple service proxy daemon receives a service from a primary server through a primary connection. When a failure occurs, the service is switched to the secondary server by the secondary connection, the monitoring service process checks whether the service state of the primary server is normally returned by the monitoring connection, and the service state of the primary server The monitoring service process sends a service recovery signal to the plurality of service proxy daemons when the data is normally returned; and the second service agent daemon connects to the primary server based on the service recovery signal. Blocking the connection with the dummy server, the step of restoring to the originally set service structure.

이하, 본 발명의 바람직한 실시 예를 첨부된 도면들을 참조하여 상세히 설명한다. 아울러 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, in describing the present invention, when it is determined that the detailed description of the related known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.

도 1a 및 도 1b는 서비스 제공자의 클라이언트용 라이브러리와 서비스 대행 데몬간의 페일 오버 및 원복 처리를 설명하기 위한 이중화 통신 시스템의 구성도이다.1A and 1B are diagrams illustrating a redundant communication system for explaining failover and rollback processing between a library for a client of a service provider and a service proxy daemon.

도 1a는 페일 오버 이전의 상태로서, CP의 클라이언트용 라이브러리(110)의 프로세스-A(111)와 프로세스-B(113)가 프라이머리 연결(131)에 의해 서비스 대행 데몬 A(121)를 통하여 서비스를 받으면서 프라이머리 A, 세컨더리 B인 접속정보를 공유 메모리(130)에 저장하고, 클라이언트용 라이브러리(140)의 프로세스-C(141)와 프로세스-D(143)가 프라이머리 연결(131)에 의해 서비스 대행 데몬 C(121)를 통하여 서비스를 받으면서 프라이머리 C, 세컨더리 B인 접속정보를 공유 메모리(150)에 저장한 상태이다. 미설명 부호인 133은 세컨더리 연결이다.FIG. 1A shows a state before failover, in which Process-A 111 and Process-B 113 of the client library 110 of the CP are connected through the service proxy daemon A 121 by the primary connection 131. While receiving the service, the access information of the primary A and the secondary B is stored in the shared memory 130, and the process-C 141 and the process-D 143 of the client library 140 are connected to the primary connection 131. By receiving the service through the service agent daemon C (121) by the state that the primary C, the secondary B is stored in the shared memory 150, the access information. Reference numeral 133 denotes a secondary connection.

프로세스-A(111)와 프로세스-B(113)의 본 발명에 따른 페일 오버 처리 방법을 살펴보면, 먼저 CP의 클라이언트용 라이브러리(110)의 프로세스-A(111)와 프로세스-B(113)가 프라이머리 연결(131)에 의해 서비스 대행 데몬 A(121)를 통하여 서비스를 받으면서 프라이머리 A, 세컨더리 B인 접속정보를 공유 메모리(130)에 저장한다.Referring to the method for processing a failover of the process-A 111 and the process-B 113 according to the present invention, first, the process-A 111 and the process-B 113 of the client library 110 of the CP are fry. While receiving the service through the service agent daemon A 121 by the head connection 131, the primary A and the secondary B store the connection information in the shared memory 130.

이후, 프로세스-A(111)가 서비스 대행 데몬 A(121)를 통하여 서비스를 받던 중에 장애가 발생되면 기 설정된 타임아웃 또는 특정 시간 동안 대기 한 이후 서비스에 대한 응답을 받지 못하면 세컨더리 연결(133)에 의해 서비스 대행 데몬 B(123)로 서비스가 전환되면서 공유 메모리(130)의 접속정보를 프라이머리 B, 세컨더리 A로 변경한다.Subsequently, if a failure occurs while the process-A 111 receives the service through the service proxy daemon A 121, the secondary connection 133 does not receive a response to the service after waiting for a preset timeout or a specific time. As the service is switched to the service proxy daemon B 123, the access information of the shared memory 130 is changed to primary B and secondary A.

이때, 프로세스-B(113)가 프라이머리 연결(131)에 의해 서비스 대행 데몬 A(121)를 통하여 서비스를 받던 중에 공유 메모리(130)의 접속정보 변경에 따라 장애 감지 없이 세컨더리 연결(133)에 의해 서비스 대행 데몬 B(123)로 서비스가 전환된다.At this time, while the process-B 113 receives the service through the service proxy daemon A 121 by the primary connection 131, the secondary connection 133 is not connected to the secondary connection 133 according to the change of the access information of the shared memory 130. The service is switched to the service proxy daemon B (123).

따라서, 프로세스-B(113)는 서비스 대행 데몬 A(121)의 장애 감지를 위해 기 설정된 타임아웃 또는 특정 시간 동안 대기하지 않으므로 장애 발생시의 서비스 전 환 속도가 향상되며, 보다 안정적인 서비스의 제공이 가능해 지는 것이다.Therefore, since the process-B 113 does not wait for a predetermined timeout or a specific time for detecting the failure of the service proxy daemon A 121, the service switching speed in case of a failure is improved, and a more stable service can be provided. To lose.

도 1b는 페일 오버 이후의 상태로서, 페일 오버 이전인 도 1a와 비교할 때에 공유 메모리(130, 150)에 저장된 접속정보가 변경되었으며, 프라이머리 연결(131)과 세컨더리 연결(133)이 상호 치환되었음을 알 수 있다. 즉 CP의 클라이언트용 라이브러리(110)의 프로세스-A(111)와 프로세스-B(113)가 프라이머리 연결(131)에 의해 서비스 대행 데몬 B(123)를 통하여 서비스를 받으면서 프라이머리 B, 세컨더리 A인 접속정보를 공유 메모리(130)에 저장하고, 클라이언트용 라이브러리(140)의 프로세스-C(141)와 프로세스-D(143)가 프라이머리 연결(131)에 의해 서비스 대행 데몬 B(123)를 통하여 서비스를 받으면서 프라이머리 B, 세컨더리 C인 접속정보를 공유 메모리(150)에 저장한 상태이다.FIG. 1B illustrates a state after fail over, in which the access information stored in the shared memories 130 and 150 has been changed, and the primary connection 131 and the secondary connection 133 are mutually replaced as compared with FIG. 1A before the failover. Able to know. That is, Process-A 111 and Process-B 113 of the client library 110 of the CP receive the service through the service agent daemon B 123 by the primary connection 131, the primary B, the secondary A Access connection information is stored in the shared memory 130, and the process-C 141 and the process-D 143 of the client library 140 manage the service proxy daemon B 123 by the primary connection 131. The primary B and the secondary C access information is stored in the shared memory 150 while receiving the service.

프로세스-C(141)와 프로세스-D(143)의 본 발명에 따른 페일 오버 처리 방법은 본 발명의 기술분야에서 통상의 지식을 가진 자라면 프로세스-A(111)와 프로세스-B(113)의 경우로부터 충분히 유추할 수 있으므로 그 설명을 생략한다.Failover processing method according to the present invention of the process-C (141) and process-D (143) of the process-A (111) and process-B (113) if one of ordinary skill in the art Since the analogy can be sufficiently derived from the case, the description is omitted.

다음으로, 시스템 관리자가 공유 메모리(130, 150)의 접속정보를 모니터링 하는 툴(도시 생략됨)을 이용하여 현 상황을 파악하다가 서비스 대행 데몬 A(121) 또는 서비스 대행 데몬 C(125)의 서비스가 원복되어 정상화되면 별도의 유틸리티를 이용하여 공유 메모리(130)의 접속정보를 프라이머리 A, 세컨더리 B로 다시 변경하거나 공유 메모리(150)의 접속정보를 프라이머리 C, 세컨더리 B로 다시 변경한다.Next, the system administrator grasps the current situation by using a tool (not shown) for monitoring access information of the shared memories 130 and 150, and then services of the service proxy daemon A 121 or the service proxy daemon C 125. Is restored and normalized, the access information of the shared memory 130 is changed back to the primary A and the secondary B using a separate utility, or the access information of the shared memory 150 is changed back to the primary C and the secondary B. FIG.

그러면, CP의 클라이언트용 라이브러리(110)의 프로세스-A(111)와 프로세스-B(113) 또는 클라이언트용 라이브러리(140)의 프로세스-C(141)와 프로세스-D(143) 는 공유 메모리(130, 150)의 접속정보에 의거하여 도 1a와 같은 원 서비스로 서비스 원복 처리가 수행된다.Then, the process-A 111 and the process-B 113 of the client library 110 of the CP or the process-C 141 and the process-D 143 of the library 140 for the client are shared memory 130. Based on the access information of FIG. 150, a service recovery process is performed with the original service as shown in FIG. 1A.

도 2a 및 도 2b는 서비스 대행 데몬과 LDAP 서버간의 페일 오버 및 원복 처리를 설명하기 위한 이중화 통신 시스템의 구성도이다.2A and 2B are diagrams illustrating a redundant communication system for explaining failover and rollback processing between a service proxy daemon and an LDAP server.

도 2a는 페일 오버 이전의 상태로서, 서비스 대행 데몬 A(121)와 서비스 대행 데몬 B(123) 및 서비스 대행 데몬 C(125)가 프라이머리 연결(131)에 의해 프라이머리 LDAP 서버(161)로부터 서비스를 받는다. 모니터링 서비스 프로세스(171, 173, 175)의 기능은 도 2b에서 설명하기로 한다.FIG. 2A shows a state before failover, in which a service proxy daemon A 121, a service proxy daemon B 123, and a service proxy daemon C 125 are connected from the primary LDAP server 161 by a primary connection 131. Receive service. The function of the monitoring service process 171, 173, 175 will be described in FIG. 2B.

이때, 서비스 대행 데몬 A(121)와 서비스 대행 데몬 B(123) 및 서비스 대행 데몬 C(125)는 프라이머리 연결(131)에 의해 서비스 대행 데몬 A(121)를 통하여 서비스를 받으면서 장애가 발생되면 기 설정된 타임아웃 또는 특정 시간 동안 대기 한 이후 서비스에 대한 응답을 받지 못하면 세컨더리 연결(133)에 의해 세컨더리 LDAP 서버(163)로 서비스가 전환된다.At this time, the service proxy daemon A (121), the service proxy daemon B (123) and the service proxy daemon C (125) receives a service through the service proxy daemon A (121) by the primary connection 131, if a failure occurs If a response to the service is not received after waiting for the set timeout or a specific time, the service is switched to the secondary LDAP server 163 by the secondary connection 133.

도 2b는 페일 오버 이후의 상태로서, 페일 오버 이전인 도 2a와 비교할 때에 도 2a의 세컨더리 연결(133)이 도 2b에서는 프라이머리 연결(131)로 변경되었음을 알 수 있다.FIG. 2B shows the state after the fail-over, and the secondary connection 133 of FIG. 2A is changed to the primary connection 131 in FIG. 2B as compared with FIG. 2A before the fail-over.

이와 같은 페일 오버 이후에 모니터링 서비스 프로세스(171, 173, 175)는 모니터링 연결(135)에 의해 프라이머리 LDAP 서버(161)의 서비스 상태가 정상적으로 되돌아오는지를 기 설정된 주기마다 체크한다.After such a failover, the monitoring service processes 171, 173, and 175 check every preset period whether the service state of the primary LDAP server 161 is normally returned by the monitoring connection 135.

이후, 프라이머리 LDAP 서버(161)의 서비스 상태가 정상적으로 되돌아오면, 즉 프라이머리 서비스가 정상적으로 서비스가 가능하다고 판단이 되면 모니터링 서비스 프로세스(171, 173, 175)는 서비스 대행 데몬 A(121)와 서비스 대행 데몬 B(123) 및 서비스 대행 데몬 C(125)에게 서비스 원복 신호를 보낸다.Thereafter, when the service state of the primary LDAP server 161 returns normally, that is, when it is determined that the primary service is normally available, the monitoring service processes 171, 173, and 175 service the service daemon daemon A 121 and the service. The service daemon signal is sent to the proxy daemon B (123) and the service proxy daemon C (125).

그러면, 서비스 대행 데몬 A(121)와 서비스 대행 데몬 B(123) 및 서비스 대행 데몬 C(125)는 프라이머리 LDAP 서버(161)에 연결하여 정상 서비스가 가능하도록 설정 한 이후에 세컨더리 LDAP 서버(163)로부터 받던 서비스를 점차적으로 프라이머리 LDAP 서버(161)로 전환하면서 최종에는 세컨더리 LDAP 서버(163)와의 연결을 차단하여 원래 설정된 서비스 구조로 원복 처리된다.Then, the service proxy daemon A (121), the service proxy daemon B (123) and the service proxy daemon C (125) connects to the primary LDAP server (161), and after the normal service is set to enable the secondary LDAP server (163) While gradually switching the service received from the primary LDAP server 161, at the end of the connection to the secondary LDAP server 163 is restored to the original set service structure.

지금까지는 본 발명의 일 실시 예에 국한하여 설명하였으나 본 발명의 기술이 당업자에 의하여 용이하게 변형 실시될 가능성이 자명하다. 이러한 변형된 실시 예들은 본 발명의 특허청구범위에 기재된 기술사상에 당연히 포함되는 것으로 해석되어야 할 것이다.It has been described so far limited to one embodiment of the present invention, it is obvious that the technology of the present invention can be easily modified by those skilled in the art. Such modified embodiments should be construed as naturally included in the technical spirit described in the claims of the present invention.

클라이언트용 라이브러리와 서비스 대행 데몬간 구조에서 본 발명이 주는 효과는 프라이머리 서비스 장애시 즉각적으로 세컨더리 서버로 서비스가 전환되며, 이러한 상태를 공유 메모리를 이용하여 서버에 대한 설정을 공유함으로써 해당 라이브러리를 사용하는 모든 서비스가 즉각적으로 페일 오버를 수행할 수 있다. 이로써, 장애 발생시의 전환 속도가 빨라져서 장애 대응 능력이 향상되며, 현재 연결상태 점검 및 공유 메모리의 값을 조정하는 유틸리티를 이용하여 값을 변경함으로써 원활하게 서비스에 대한 조정이 가능하다.The effect of the present invention on the structure between the library for the client and the service agent daemon is that the service is immediately switched to the secondary server in the event of primary service failure, and the library is used by sharing the settings for the server using the shared memory. Any service that does this can immediately fail over. As a result, the speed of switching in case of a failure is improved, and the ability to cope with failure is improved, and the service can be smoothly adjusted by changing the value by using a utility for checking the current connection status and adjusting the value of the shared memory.

또한, 서비스 대행 데몬과 서버(예로서, 이동 통신 시스템의 국사)간 구간에서는 프라이머리와 세컨더리 구성 이외에도 프라이머리 서비스의 원복 여부를 주기적으로 체크하는 모니터링 프로세스를 추가적으로 구성하여 프라이머리 서비스가 장애로부터 원복 되었을 경우 데몬 서비스가 세컨더리 서비스에서 프라이머리 서비스로 자동 원복이 수행된다. 이로써, 각 CP는 서비스의 리스타트(restart) 등을 수행하지 않는 상태에서도 부하 분산 효과 및 페일 오버, 페일 오버에 대한 원복 처리 등이 쉽게 가능한 효과가 있다.In addition, in addition to the primary and secondary configuration, a monitoring process that periodically checks whether the primary service is restored or not is additionally configured in the section between the service agent daemon and the server (for example, a mobile communication system company). If it does, the daemon service automatically recovers from the secondary service to the primary service. As a result, each CP has an effect of easily performing load balancing, failing over, and restoring for failing, even when the service is not restarted.

Claims (4)

컨텐츠 제공자(CP)의 클라이언트용 라이브러리와 서비스 대행 데몬간 이중화 통신 시스템의 페일 오버 처리 방법으로서,A failover method for a redundant communication system between a client library of a content provider (CP) and a service agent daemon, 상기 클라이언트용 라이브러리의 복수 프로세스가 프라이머리 연결에 의해 서비스 대행 데몬 A를 통하여 서비스를 받으면서 프라이머리 A, 세컨더리 B인 접속정보를 공유 메모리에 저장하는 단계와,A plurality of processes of the client library receiving service through a service agent daemon A by a primary connection, and storing access information of primary A and secondary B in a shared memory; 상기 복수 프로세스 중에서 어느 하나의 프로세스가 상기 서비스 대행 데몬 A를 통하여 서비스를 받던 중에 장애가 발생되면 세컨더리 연결에 의해 상기 서비스 대행 데몬 B로 서비스가 전환되면서 상기 공유 메모리의 접속정보를 프라이머리 B, 세컨더리 A로 변경하는 단계와,If any one of the plurality of processes receives a service while receiving a service through the service proxy daemon A, the service is switched to the service proxy daemon B by a secondary connection, and the access information of the shared memory is stored in the primary B and the secondary A. To change to, 상기 복수 프로세서 중에서 다른 프로세스가 상기 프라이머리 연결에 의해 상기 서비스 대행 데몬 A를 통하여 서비스를 받던 중에 상기 공유 메모리의 접속정보 변경에 따라 장애 감지 없이 상기 세컨더리 연결에 의해 상기 서비스 대행 데몬 B로 서비스가 전환되는 단계While another process among the plurality of processors receives the service through the service proxy daemon A by the primary connection, the service switches to the service proxy daemon B by the secondary connection without detecting a failure according to the change of the access information of the shared memory. Steps 를 포함하는 이중화 통신 시스템의 페일 오버 처리 방법.Failover processing method of a redundant communication system comprising a. 제 1항에 있어서,The method of claim 1, 상기 페일 오버 처리 방법은, 상기 서비스 대행 데몬 A의 서비스가 원복되어 상기 공유 메모리의 접속정보가 프라이머리 A, 세컨더리 B로 다시 변경되면 상기 복수 프로세스는 상기 다시 변경된 공유 메모리의 접속정보에 의거하여 상기 서비스 대행 데몬 A로 서비스가 원복 처리되는 단계In the fail-over processing method, when the service of the service proxy daemon A is restored and the access information of the shared memory is changed back to the primary A and the secondary B, the plurality of processes may be configured to perform the processing based on the changed access information of the shared memory. Steps to Roll Back Services to Service Agent Daemon A 를 더 포함하는 이중화 통신 시스템의 페일 오버 처리 방법.Failover processing method of a redundant communication system further comprising. 서비스 대행 데몬과 서버간 이중화 통신 시스템의 페일 오버 처리 방법으로서,As a failover method of the redundant communication system between the service proxy daemon and the server, 복수 서비스 대행 데몬이 프라이머리 연결에 의해 프라이머리 서버로부터 서비스를 받으면서 장애가 발생되면 세컨더리 연결에 의해 세컨더리 서버로 서비스가 전환되는 단계와,When the multiple service proxy daemon receives the service from the primary server by the primary connection, when the failure occurs, the service is switched to the secondary server by the secondary connection; 모니터링 서비스 프로세스가 모니터링 연결에 의해 상기 프라이머리 서버의 서비스 상태가 정상적으로 되돌아오는지를 체크하는 단계와,Checking, by the monitoring service process, that the service state of the primary server is normally returned by the monitoring connection; 상기 프라이머리 서버의 서비스 상태가 정상적으로 되돌아오면 상기 모니터링 서비스 프로세스가 상기 복수 서비스 대행 데몬에게 서비스 원복 신호를 보내는 단계와,When the service state of the primary server is normally returned, the monitoring service process sending a service recovery signal to the plurality of service agent daemons; 상기 복수 서비스 대행 데몬이 상기 서비스 원복 신호에 의거하여 상기 프라이머리 서버에 연결하면서 상기 세컨더리 서버와의 연결을 차단하여 원래 설정된 서비스 구조로 원복 처리되는 단계When the plurality of service proxy daemons connect to the primary server based on the service recovery signal, block the connection with the secondary server and recover the original service structure. 를 포함하는 이중화 통신 시스템의 페일 오버 처리 방법.Failover processing method of a redundant communication system comprising a. 제 3항에 있어서,The method of claim 3, wherein 상기 모니터링 서비스 프로세스는 상기 프라이머리 서버의 서비스 상태를 기 설정된 주기마다 체크하는 것을 특징으로 하는 이중화 통신 시스템의 페일 오버 처리 방법.And the monitoring service process checks the service state of the primary server at predetermined intervals.
KR1020060011554A 2006-02-07 2006-02-07 Method for processing fail-over and returning of duplication telecommunication system KR100793446B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060011554A KR100793446B1 (en) 2006-02-07 2006-02-07 Method for processing fail-over and returning of duplication telecommunication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060011554A KR100793446B1 (en) 2006-02-07 2006-02-07 Method for processing fail-over and returning of duplication telecommunication system

Publications (2)

Publication Number Publication Date
KR20070080337A true KR20070080337A (en) 2007-08-10
KR100793446B1 KR100793446B1 (en) 2008-01-14

Family

ID=38600733

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060011554A KR100793446B1 (en) 2006-02-07 2006-02-07 Method for processing fail-over and returning of duplication telecommunication system

Country Status (1)

Country Link
KR (1) KR100793446B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612950A (en) * 2016-07-11 2018-01-19 阿里巴巴集团控股有限公司 A kind of method, apparatus, system, electronic equipment that service is provided

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990050460A (en) * 1997-12-17 1999-07-05 구자홍 Disaster Recovery Method and Device of High Availability System
KR20010092554A (en) * 2000-03-22 2001-10-26 장수진 Backup System and Method for Internet Service Web Server Providing Contents Service
KR20020054515A (en) * 2000-12-28 2002-07-08 엘지전자 주식회사 Duplication method of agent in telecommunication management network
KR20030089734A (en) * 2002-05-18 2003-11-28 엘지전자 주식회사 A device and a method of duplicated processor board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612950A (en) * 2016-07-11 2018-01-19 阿里巴巴集团控股有限公司 A kind of method, apparatus, system, electronic equipment that service is provided

Also Published As

Publication number Publication date
KR100793446B1 (en) 2008-01-14

Similar Documents

Publication Publication Date Title
US9916113B2 (en) System and method for mirroring data
EP1851632B1 (en) Disaster recovery framework
EP1437658B1 (en) Coordinating persistent status information with multiple file servers
US9037899B2 (en) Automated node fencing integrated within a quorum service of a cluster infrastructure
CN111130835A (en) Data center dual-active system, switching method, device, equipment and medium
US7047439B2 (en) Enhancing reliability and robustness of a cluster
KR100744448B1 (en) Communication system
JP2004032224A (en) Server takeover system and method thereof
EP2224341B1 (en) Node system, server switching method, server device, and data transfer method
US20080288812A1 (en) Cluster system and an error recovery method thereof
CN107508694B (en) Node management method and node equipment in cluster
CN113347037A (en) Data center access method and device
US20070180287A1 (en) System and method for managing node resets in a cluster
EP3352415B1 (en) Smb service failure handling method, and storage device
MXPA02006896A (en) Method and apparatus for providing reliable communications in an intelligent network.
CN110351122B (en) Disaster recovery method, device, system and electronic equipment
KR100793446B1 (en) Method for processing fail-over and returning of duplication telecommunication system
US11385976B1 (en) Systems and methods for split-brain detection and mitigation
CN114301763A (en) Distributed cluster fault processing method and system, electronic device and storage medium
CN114840495A (en) Database cluster split-brain prevention method, storage medium and device
CN101202658A (en) System and method for service take-over of multi-host system
JP2007141129A (en) System switching method, computer system and program
CN114915545B (en) Application scheduling deployment management method based on DHCP network cluster
US11947431B1 (en) Replication data facility failure detection and failover automation
CN113890817A (en) Communication optimization method and device

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: 20121210

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20131227

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20141230

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee