KR100661513B1 - Db managing device of the duplex processor system and controlling method therefore - Google Patents

Db managing device of the duplex processor system and controlling method therefore Download PDF

Info

Publication number
KR100661513B1
KR100661513B1 KR1020050096675A KR20050096675A KR100661513B1 KR 100661513 B1 KR100661513 B1 KR 100661513B1 KR 1020050096675 A KR1020050096675 A KR 1020050096675A KR 20050096675 A KR20050096675 A KR 20050096675A KR 100661513 B1 KR100661513 B1 KR 100661513B1
Authority
KR
South Korea
Prior art keywords
processor
active
replication
server
connection
Prior art date
Application number
KR1020050096675A
Other languages
Korean (ko)
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 KR1020050096675A priority Critical patent/KR100661513B1/en
Application granted granted Critical
Publication of KR100661513B1 publication Critical patent/KR100661513B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Abstract

A device for managing a database in a dual processor and a controlling method thereof are provided to maximize operation stability of a dual system by making an active processor check a state of replication between the active and standby processor, and updating database data to a standby side in case of a normal state. The dual processor respectively includes an application block(3A,3B) and a database server(5A,5B). The application block calls/processes a needed database task by inputting the active processor to a function parameter of a database library to perform the needed database task according to an application request of a manger terminal(2). The database server processes the data stored in the database(4A,4B) by only the active processor according to a database task request signal of the application block and transmits/updates the processed database data to the standby side through the replication in case that the replication is normally operated.

Description

이중화 프로세서의 데이터 베이스 관리장치 및 그 제어방법{DB managing device of the duplex processor system and controlling method therefore}DB managing device of the duplex processor system and controlling method therefore}

도 1은 종래 이중화시스템을 설명하는 설명도.1 is an explanatory diagram illustrating a conventional redundancy system.

도 2는 본 발명 이중화 프로세서의 데이터 베이스 관리장치를 설명하는 설명도.2 is an explanatory diagram for explaining a database management device of the redundant processor of the present invention.

도 3은 본 발명의 플로우차트. 3 is a flowchart of the present invention.

<부호의 상세한 설명><Detailed Description of Codes>

1A-B: 이중화 프로세서 2 : 운용자 단말기1A-B: Redundant Processor 2: Operator Terminal

3A-B: 어플리케이션 블록부 4A-B: DB 3A-B: Application Block Section 4A-B: DB

5A-B: DB 서버 5A-B: DB Server

본 발명은 이중화 프로세서의 데이터 베이스 관리장치 및 그 제어방법에 관한 것으로, 특히 어플리케이션의 DB 작업요청시 액티브/스탠바이 프로세서의 양측 DB 서버에 동시에 접속한 다음 액티브 프로세서의 연결로서만 DB 작업을 수행하고 리플리케이션의 정상유무에 따라 스탠바이측으로 DB데이터를 업데이트시키는 이중 화 프로세서의 데이터 베이스 관리장치 및 그 제어방법에 관한 것이다.The present invention relates to an apparatus for managing a database of a redundant processor and a method of controlling the same. In particular, when an application requests a DB task, the DB server simultaneously accesses both DB servers of the active / standby processor, and then performs and replicates the DB only by connecting the active processor. The present invention relates to a database management apparatus and a control method of a redundant processor for updating the DB data to the standby side according to the normal status.

일반적으로 전송기술은 1910년대 나선 반송으로 시작하여 아날로그 전송기술로 그리고 디지털 전송기술의 형태로 발전되어 왔으며, 후에 이러한 디지털 전송기술은 1960년대 1.544Mbps 전송속도를 갖는 D1 채널 뱅크의 개발을 효시로 발전하였다. 더욱이, 상기와 같은 디지털 기술은 1970년대 중반 교환기술분야에 응용되어 No. 4ESS라는 디지털 중계교환기를 출현하게 하여 유선전송시스템의 다중화에 혁신을 가져왔다. In general, the transmission technology began with the spiral carrier in the 1910s, developed into the analog transmission technology, and in the form of the digital transmission technology. Later, the digital transmission technology has evolved the development of the D1 channel bank with a 1.544Mbps transmission speed in the 1960s. It was. Moreover, such digital technology has been applied to the field of exchange technology in the mid-1970s. It has revolutionized the multiplexing of wired transmission systems by introducing the digital relay switch called 4ESS.

그런데, 상기와 같은 종래 전송 혹은 교환기시스템은 각종보드들 예컨대, 가입자보드 혹은 다른 보드들의 각종 기능을 제어하는 프로세서보드들을 탈실장할 수 있는 쉘프나 랙크형태로 구성되는데, 이때 상기 프로세서보드는 통상 내부 장치들의 불안정으로 인해 호의 끊김이나 또는 시스템의 오류를 방지하기 위해 버스라인을 통해 액티브와 스텐바이측으로 나누어지는 이중화구조로 구성한다. By the way, the conventional transmission or exchange system as described above is configured in the form of a shelf or rack that can be mounted to the various boards, for example, the processor board for controlling various functions of the subscriber board or other boards, wherein the processor board is usually internal In order to prevent call disconnection or system error due to instability of devices, it is composed of redundancy structure divided into active and standby side through bus line.

그러면, 상기와 같은 종래 이중화 프로세서장치를 도 1을 참고로 살펴보면, 액티브 혹은 스텐바이로 이중화된 프로세서(70A-B)의 각각에는 관리자의 어플리케이션 요구에 따라 필요한 DB 작업을 수행하기위해 DB 라이브러리(LIBRARY)통해 함수를 호출처리하는 어플리케이션 블록부(71A-B)와, 상기 어플리케이션 블록부(71A-B)의 DB 작업 요청신호에 따라 DB(72A-B)내에 저장된 데이터를 처리하고 그 처리된 DB 데이터를 리플리케이션을 통하여 스탠바이측으로 전송하여 업데이트시키는 DB 서버(73A-B)를 포함한다. Then, referring to the conventional redundant processor device as described above with reference to FIG. 1, each of the active or standby redundant processor 70A-B has a DB library (LIBRARY) to perform a necessary DB operation according to the application requirements of the administrator. The application block unit 71A-B for calling and processing a function, and the data stored in the DB 72A-B according to the DB operation request signal of the application block unit 71A-B and processing the processed DB data. The DB server 73A-B transmits the update to the standby side through replication.

한편, 상기와 같은 종래 이중화 프로세서의 DB 업데이트 동작을 살펴보면, On the other hand, looking at the DB update operation of the conventional redundant processor,

예컨대, 외부에서 운용자가 교환시스템의 상태를 알아보기위해 명령을 내릴 경우 이를 액티브 프로세서보드(70A)의 어플리케이션 블록부(71A)가 인식하여 DB 작업을 수행하게되는데, 이때, 상기 어플리케이션 블록부(71A)는 DB 라이브러리 함수 예컨대, DB_ select, DB_update, DB_insert, DB_delete, DB_modify, DB_count ... 등의 함수를 이용하여 DB 서버(73A)로 연결한다. 그러면, 상기 DB 서버(73A)는 어플리케이션 블록부(71A)가 DB 라이브러리 함수를 통해 요청한 DB작업을 DB(72A)에서 수행한 다음 그 작업한 DB 데이터를 리플리케이션으로 연결된 스탠바이 프로세서(70B)의 DB서버(73B)로 전송한다. 그러면, 상기 스탠바이 프로세서(70B)의 DB서버(73B)는 액티브 프로세서(70A)로부터 리플리케이션을 통해 전송받은 DB 데이터를 자신의 DB(72B)에서 업데이트시킨다. For example, when an operator issues a command to check the state of the exchange system from the outside, the application block unit 71A of the active processor board 70A recognizes this and performs a DB operation. In this case, the application block unit 71A ) Connects to the DB server 73A using a DB library function such as DB_ select, DB_update, DB_insert, DB_delete, DB_modify, DB_count ..., and the like. Then, the DB server 73A performs the DB operation requested by the application block unit 71A through the DB library function in the DB 72A, and then executes the DB data of the standby processor 70B connected by replication. Send to 73B. Then, the DB server 73B of the standby processor 70B updates the DB data received through the replication from the active processor 70A in its DB 72B.

그러나, 상기와 같은 종래 이중화 프로세서장치는 액티브 프로세서와 스탠바이 프로세서간의 DB 업데이트가 DB 서버간에 연결된 리플리케이션으로 무조건 전송되는 이중화 방식이기때문에 이들 두 프로세서간의 리플리케이션이 비정상으로 동작할 경우 양 프로세서간의 DB 데이터가 불일치하므로 절체시 시스템이 정상적으로 작동할 수가 없었으며, 또한, 리플리케이션이 비정상으로 동작할 경우 양 프로세서간의 DB 데이터가 불일치하여 양 프로세서의 DB가 별도로 관리되므로 그에 따라 이중화 프로세서의 동작안정성도 상당히 저하되는 문제점이 있었다.However, the above-described conventional redundant processor apparatus is a duplexing scheme in which DB updates between the active processor and the standby processor are unconditionally transmitted to the replication connected between the DB servers, so that when the replication between these two processors operates abnormally, the DB data between the two processors is inconsistent. Therefore, the system could not operate normally when switching, and if replication is abnormal, the DB data between the two processors is inconsistent and the DBs of the two processors are separately managed so that the operation stability of the redundant processor is significantly reduced. there was.

이에 본 발명은 상기와 같은 제반 문제점을 해결하기 위해 발명된 것으로, 액티브 프로세서에서 액티브/스탠바이간 리플리케이션의 상태를 확인하고 정상일 경우에만 DB 데이터를 스탠바이측으로 업데이트시키므로 그에 따라 이중화시스템의 동작안정성을 극대화시키는 이중화 프로세서의 데이터 베이스 관리장치 및 그 제어방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been invented to solve the above problems, the active processor to check the status of the replication between the active / standby, and update the DB data to the standby side only when normal to maximize the operation stability of the redundant system accordingly It is an object of the present invention to provide a database management apparatus of a redundant processor and a control method thereof.

본 발명의 또다른 목적은 DB 작업을 액티브 프로세서에서만 DB 서버에 연결하여 처리하기 때문에 리플리케이션의 정상여부에 관계없이 프로세서간 DB 데이터가 항상 일치하게되므로 그에 따라 이중화 프로세서의 절체안정성도 상당히 향상되는 이중화 프로세서의 데이터 베이스 관리장치 및 그 제어방법을 제공하는데 있다. Another object of the present invention is to connect to the DB server processing only the active processor to process the DB data between the processors regardless of whether or not the replication is always consistent, so the duplication processor is significantly improved transfer stability of the redundant processor accordingly To provide a database management apparatus and a control method thereof.

상기와 같은 목적을 달성하기 위한 본 발명은 액티브 혹은 스탠바이로 동작되는 이중화 프로세서에서, 상기 이중화 프로세서 각각에는 관리자 단말기의 어플리케이션 요구에 따라 필요한 DB 작업을 수행하기위해 DB 라이브러리의 함수 파라미터에 액티브 프로세서를 입력하여 호출처리하는 어플리케이션 블록부와, 상기 어플리케이션 블록부(3A-B)의 DB 작업 요청신호에 따라 액티브 프로세서에 의해서만 DB내에 저장된 데이터를 처리하고 리플리케이션이 정상적으로 동작될 경우에만 그 처리된 DB 데이터를 리플리케이션을 통하여 스탠바이측으로 전송하여 업데이트시키는 DB 서버를 포함하는 이중화 프로세서의 데이터 베이스 관리장치를 제공한다.The present invention for achieving the above object in the redundant processor operating in the active or standby, each of the redundant processor inputs the active processor to the function parameters of the DB library to perform the necessary DB operation according to the application request of the administrator terminal An application block unit for calling and processing the data stored in the DB only by an active processor according to the DB job request signal of the application block units 3A-B and replicating the processed DB data only when the replication is normally operated. Provided is a database management apparatus of a redundant processor including a DB server to be transmitted to and updated by the standby side through.

본 발명의 다른 특징은 이중화시스템에서 현재 DB 함수를 호출하는 명령이 생성되었을 경우 초기화변수를 확인하여 액티브 프로세서의 변경이 없을 경우 DB 서버접속을 실행하고 변경이 있을 경우 플래그 내용을 변경한 다음 DB서버접속을 실행하는 액티브서버 연결단계와, 상기 액티브서버 연결단계후에 액티브 프로세서 의 DB 서버에서만 요청된 DB작업을 수행하는 DB작업 실행단계와, 상기 DB작업 실행단계후에 현재 연결된 리플리케이션이 정상적으로 동작될 경우 액티브 프로세서에 의해서 처리된 DB 데이터를 프로세서측으로 전송하여 업데이트시키는 정상 업데이트단계와, 상기 DB작업 실행단계후에 현재 연결된 리플리케이션이 정상적으로 동작되지 않을 경우 리플리케이션이 비정상이므로 작업된 DB 데이터를 리플리케이션을 통해 스탠바이측으로 전송시키지 않는 업데이트 포기단계로 이루어지는 이중화 프로세서의 데이터 베이스 관리장치의 제어방법을 제공한다.Another feature of the present invention is to check the initialization variable when the command to call the current DB function in the redundancy system executes the DB server connection if there is no change in the active processor and changes the flag content if there is a change and then the DB server An active server connection step for executing a connection, a DB job execution step for performing a requested DB job only on a DB server of an active processor after the active server connection step, and active if the currently connected replication is normally operated after the DB job execution step. The normal update step of transmitting and updating the DB data processed by the processor to the processor side, and if the currently connected replication does not operate normally after the DB job execution step, the replication is abnormal. Provided is a control method of a database management apparatus of a redundant processor including an update abandonment step not to transmit.

이하, 본 발명을 첨부된 예시도면에 의거 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명 액티브 혹은 스텐바이로 이중화된 프로세서(1A-B)의 각각에는 도 2에 도시된 바와같이 관리자 단말기(2)의 어플리케이션 요구에 따라 필요한 DB 작업을 수행하기위해 DB 라이브러리의 함수 파라미터에 액티브 프로세서를 입력하여 호출처리하는 어플리케이션 블록부(3A-B)와, 상기 어플리케이션 블록부(3A-B)의 DB 작업 요청신호에 따라 액티브 프로세서에 의해서만 DB(4A-B)내에 저장된 데이터를 처리하고 리플리케이션이 정상적으로 동작될 경우에만 그 처리된 DB 데이터를 리플리케이션을 통하여 스탠바이측으로 전송하여 업데이트시키는 DB 서버(5A-B)를 포함한다.In the present invention, each of the active or standby redundant processors 1A-B has an active processor for function parameters of the DB library to perform necessary DB operations according to the application request of the administrator terminal 2 as shown in FIG. The application stored in the DB 4A-B only by the active processor in accordance with the DB operation request signal of the application block unit 3A-B and the application block unit 3A-B. Only when it is normally operated, the DB server 5A-B transmits the processed DB data to the standby side through replication and updates it.

다음에는 상기와 같은 장치에 적용되는 제어방법을 설명한다. Next, a control method applied to the above apparatus will be described.

본 발명의 방법은 도 3에 도시된 바와같이 초기상태(S1)에서 DB함수 호출확인단계(S2)로 진행하여 현재 DB 함수를 호출하는 명령이 생성되었는 지를 확인한 다. 이때, 상기 DB함수 호출확인단계(S2)중에 확인한 결과 현재 DB 함수를 호출하는 명령이 생성되지 않았을 경우 현단계를 종료하고 대기상태로 진행한다. 그러나,상기 DB함수 호출확인단계(S2)중에 확인한 결과 현재 DB 함수를 호출하는 명령이 생성되었을 경우 액티브서버 연결단계(S3)로 진행하여 초기화변수를 확인하여 액티브 프로세서의 변경이 없을 경우 DB 서버접속을 실행하고 변경이 있을 경우 플래그 내용을 변경한 다음 DB서버접속을 실행한다. As shown in FIG. 3, the method of the present invention proceeds to the DB function call confirmation step S2 in the initial state S1 and checks whether a command for calling the current DB function is generated. At this time, if the command to call the current DB function is not generated as a result of checking during the DB function call confirmation step (S2), the current step ends and proceeds to the standby state. However, as a result of checking during the DB function call confirmation step (S2), if a command to call the current DB function is generated, the process proceeds to the active server connection step (S3) and checks the initialization variable. If there is a change, change the flag and execute DB server connection.

여기서, 상기 액티브서버 연결단계(S3)중에 액티브 프로세서의 변경이 있을 경우 환경 및 연결을 위한 메모리 할당단계와, 상기 메모리 할당단계후에 IP 어드레스를 구성파일에서 읽고 local host로 연결을 형성하는 호스트 연결단계와, 상기 호스트 연결단계후에 현재 액티브 프로세서에서 스탠바이 프로세서로 절체되었음을 확인하는 init_flag의 내용을 변경하는 플래그 변경단계를 더 포함한다. Herein, when there is a change in the active processor during the active server connection step (S3), a memory allocation step for environment and connection, and a host connection step after reading the IP address from the configuration file and forming a connection to the local host after the memory allocation step. And a flag changing step of changing the contents of init_flag confirming that the transfer from the current active processor to the standby processor is performed after the host connection step.

한편, 상기 액티브서버 연결단계(S3)후에 DB작업 실행단계(S4)로 진행하여 액티브 프로세서의 DB 서버에서만 요청된 DB작업을 수행한다. 그리고, 상기 DB작업 실행단계(S4)후에 리플리케이션 상태확인단계(S5)로 진행하여 현재 연결된 리플리케이션이 정상적으로 동작되는지를 확인한다. 이때, 상기 리플리케이션 상태확인단계(S5)중에 확인한 결과 현재 연결된 리플리케이션이 정상적으로 동작될 경우 정상 업데이트단계(S6)로 진행하여 액티브 프로세서에 의해서 처리된 DB 데이터를 프로세서측으로 전송하여 업데이트시킨다. 그러나, 상기 리플리케이션 상태확인단계(S5)중에 확인한 결과 현재 연결된 리플리케이션이 정상적으로 동작되지 않을 경우 업데이트 포기단계(S7)로 진행하여 리플리케이션이 비정상이므로 작업된 DB 데이터 를 리플리케이션을 통해 스탠바이측으로 전송하지 않는다.On the other hand, after the active server connection step (S3) proceeds to the DB operation execution step (S4) to perform the requested DB operation only in the DB server of the active processor. After the DB task execution step (S4), the process proceeds to the replication status checking step (S5) to check whether the currently connected replication is normally operated. At this time, when the replication status check step (S5) is confirmed that the currently connected replication is normally operated, the process proceeds to the normal update step (S6) and transmits and updates the DB data processed by the active processor to the processor side. However, as a result of checking during the replication status checking step (S5), if the currently connected replication is not normally operated, the process is abandoned in the update abandonment step (S7). Therefore, the replicated DB data is not transmitted to the standby side through the replication.

환언하면, 외부에서 운용자가 교환시스템의 상태를 알아보기위해 예컨대, 명령을 내릴 경우 이를 액티브 프로세서보드(1A)의 어플리케이션 블록부(3A)가 인식하여 DB 작업을 수행하게 된다. In other words, when the operator issues a command to check the state of the switching system from the outside, the application block unit 3A of the active processor board 1A recognizes this and performs a DB operation.

즉, 상기 어플리케이션 블록부(3A)는 초기화변수(init_flag)를 확인하여 액티브 프로세서의 변경이 없을 경우 DB 서버접속을 실행하고, 액티브 프로세서의 변경이 있을 경우 환경 및 연결을 위한 메모리 할당하며, IP 어드레스를 구성파일에서 읽어 local host로 연결을 형성한 다음 현재 액티브 프로세서에서 스탠바이 프로세서로 절체되었음을 확인하는 init_flag의 내용을 변경한다.That is, the application block unit 3A checks the initialization variable (init_flag) to execute the DB server connection when there is no change of the active processor, and allocates memory for environment and connection when there is a change of the active processor, and assigns an IP address. Read the file from the configuration file to establish a connection to the local host, then change the contents of init_flag to confirm that it has switched from the current active processor to the standby processor.

한편, 상기 어플리케이션 블록부(3A)는 DB 라이브러리 함수 예컨대, DB_ select, DB_update, DB_insert, DB_delete, DB_modify, DB_count ... 등의 함수를 이용하여 DB 서버(5A)로 연결하게되는데, 상기 어플리케이션 블록부(3A)는 DB 라이브러리의 함수 파라미터에 액티브 프로세서를 입력하여 호출한 다음 액티브/스탠바이 프로세서(1A-B)의 DB 서버(5A-B) 양쪽 모두에 접속하고 입력된 액티브 프로세서(1A)에서만 DB작업을 수행한다. Meanwhile, the application block unit 3A connects to the DB server 5A using a DB library function such as DB_ select, DB_update, DB_insert, DB_delete, DB_modify, DB_count ..., and the like. (3A) calls the active processor by inputting the function parameter of the DB library, then connects to both the DB servers 5A-B of the active / standby processor (1A-B), and operates the DB only in the input active processor (1A). Do this.

그리고, 상기 과정후에 DB 서버(5A)는 현재 연결된 리플리케이션이 정상적으로 동작되는지를 확인하고 이때, 만약, 현재 연결된 리플리케이션이 정상적으로 동작될 경우 액티브 프로세서(1A)에 의해서 처리된 DB 데이터를 스탠바이 프로세서(1B)측으로 전송하여 업데이트시키므로 DB 데이터를 이중화 시킨다. 그러나, 상기 DB 서버(5A)는 현재 연결된 리플리케이션이 정상적으로 동작되지 않을 경우 리플리 케이션이 비정상이므로 작업된 DB 데이터를 리플리케이션을 통해 스탠바이측으로 전송하지 않는다. 이때, 만약 또다른 DB작업 요청이 있더라도 액티브 프로세서(1A)의 DB 서버(5A)만이 연결되어 DB작업을 수행하므로 DB 데이터 불일치가 발생되지 않아 리플리케이션이 정상복구될 경우 양 프로세서간 DB 데이터가 일치되게된다.After the above process, the DB server 5A checks whether the currently connected replication is normally operated. At this time, if the currently connected replication is normally operated, the DB server 5A receives the DB data processed by the active processor 1A from the standby processor 1B. It transmits data to the side and updates the database data. However, when the currently connected replication is not normally operated, the DB server 5A does not transmit the working DB data to the standby side through replication because the replication is abnormal. At this time, even if there is another DB operation request, only the DB server 5A of the active processor 1A is connected to perform the DB operation. Therefore, if replication is normally restored because DB data inconsistency does not occur, the DB data between the two processors is consistent. do.

한편, 본 발명은 처음 호출시 초기화한다음 다음 호출부터 액티브 프로세서의 변경을 확인하는 act_flag를 관리하여 DB작업을 편리하게 관리한다. Meanwhile, the present invention manages the DB operation conveniently by initializing the first call and then managing act_flag which confirms the change of the active processor from the next call.

이상 설명에서와 같이 본 발명은 어플리케이션의 DB 작업요청시 액티브/스탠바이 프로세서의 양측 DB 서버에 동시에 접속한 다음 액티브 프로세서의 연결로서만 DB 작업을 수행하고 액티브 프로세서에서 액티브/스탠바이간 리플리케이션의 상태를 확인하고 정상일 경우에만 DB 데이터를 스탠바이측으로 업데이트시키므로 그에 따라 이중화시스템의 동작안정성을 극대화시키는 장점을 가지고 있다.As described above, the present invention connects to both DB servers of the active / standby processor at the same time and requests the DB work of the application, and then performs the DB operation only by connecting the active processor, and checks the status of replication between the active / standby standby in the active processor. DB data is updated to the standby side only if it is normal, thus maximizing the operational stability of the redundant system.

또한, 본 발명에 의하면, DB 작업을 액티브 프로세서에서만 DB 서버에 연결하여 처리하기 때문에 리플리케이션의 정상여부에 관계없이 프로세서간 DB 데이터가 항상 일치하게되므로 그에 따라 이중화 프로세서의 절체안정성도 상당히 향상되는 효과도 있다.In addition, according to the present invention, since DB operations are processed by connecting to a DB server only in an active processor, DB data is always consistent between processors regardless of whether or not replication is normal. Therefore, transfer stability of the redundant processor is also significantly improved. have.

Claims (3)

액티브 혹은 스탠바이로 동작되는 이중화 프로세서에 있어서,In a redundant processor operating in active or standby, 상기 이중화 프로세서 각각에는 관리자 단말기의 어플리케이션 요구에 따라 필요한 DB 작업을 수행하기위해 DB 라이브러리의 함수 파라미터에 액티브 프로세서를 입력하여 호출처리하는 어플리케이션 블록부와, 상기 어플리케이션 블록부(3A-B)의 DB 작업 요청신호에 따라 액티브 프로세서에 의해서만 DB내에 저장된 데이터를 처리하고 리플리케이션이 정상적으로 동작될 경우에만 그 처리된 DB 데이터를 리플리케이션을 통하여 스탠바이측으로 전송하여 업데이트시키는 DB 서버를 포함하는 것을 특징으로 하는 이중화 프로세서의 데이터 베이스 관리장치.Each of the redundant processors includes an application block unit for inputting and processing an active processor in a function parameter of a DB library to perform a necessary DB operation according to an application request of an administrator terminal, and a DB operation of the application block units 3A-B. Data processing of the redundant processor comprising: a DB server processing data stored in the DB only by the active processor according to the request signal, and transmitting the updated DB data to the standby side through replication only when the replication is normally operated. Base management device. 이중화시스템에서 현재 DB 함수를 호출하는 명령이 생성되었을 경우 초기화변수를 확인하여 액티브 프로세서의 변경이 없을 경우 DB 서버접속을 실행하고 변경이 있을 경우 플래그 내용을 변경한 다음 DB서버접속을 실행하는 액티브서버 연결단계와, 상기 액티브서버 연결단계후에 액티브 프로세서의 DB 서버에서만 요청된 DB작업을 수행하는 DB작업 실행단계와, 상기 DB작업 실행단계후에 현재 연결된 리플리케이션이 정상적으로 동작될 경우 액티브 프로세서에 의해서 처리된 DB 데이터를 프로세서측으로 전송하여 업데이트시키는 정상 업데이트단계와, 상기 DB작업 실행단계후에 현재 연결된 리플리케이션이 정상적으로 동작되지 않을 경우 리플리케이션이 비정상이므로 작업된 DB 데이터를 리플리케이션을 통해 스탠바이측으로 전 송시키지 않는 업데이트 포기단계로 이루어지는 것을 특징으로 하는 이중화 프로세서의 데이터 베이스 관리장치의 제어방법. If the command to call the current DB function is created in the redundant system, check the initialization variable and execute the DB server connection if there is no change in the active processor, change the flag contents if there is a change, and then execute the DB server connection. DB operation execution step of performing the requested DB operation only in the DB server of the active processor after the connection step, the active server connection step, and the DB processed by the active processor when the currently connected replication is normally operated after the DB operation execution step. The normal update step of transferring data to the processor side and updating, and if the currently connected replication does not operate normally after the DB job execution step, because replication is abnormal, the updated DB data is not transferred to the standby side through replication. The control method of the database management apparatus of the redundant processor, characterized in that comprising the step giving agent. 제2항에 있어서, 상기 액티브서버 연결단계에는 액티브 프로세서의 변경이 있을 경우 환경 및 연결을 위한 메모리 할당단계와, 상기 메모리 할당단계후에 IP 어드레스를 구성파일에서 읽고 local host로 연결을 형성하는 호스트 연결단계와, 상기 호스트 연결단계후에 현재 액티브 프로세서에서 스탠바이 프로세서로 절체되었음을 확인하는 init_flag의 내용을 변경하는 플래그 변경단계를 더 포함하는 것을 특징으로 하는 이중화 프로세서의 데이터 베이스 관리장치의 제어방법. The host connection method of claim 2, wherein the active server connection step comprises: a memory allocation step for environment and connection when there is a change in an active processor; and a host connection that reads an IP address from a configuration file and forms a connection to a local host after the memory allocation step. And a flag changing step of changing a content of init_flag which confirms that the current processor has been switched from the current active processor to the standby processor after the host connection step.
KR1020050096675A 2005-10-13 2005-10-13 Db managing device of the duplex processor system and controlling method therefore KR100661513B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050096675A KR100661513B1 (en) 2005-10-13 2005-10-13 Db managing device of the duplex processor system and controlling method therefore

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050096675A KR100661513B1 (en) 2005-10-13 2005-10-13 Db managing device of the duplex processor system and controlling method therefore

Publications (1)

Publication Number Publication Date
KR100661513B1 true KR100661513B1 (en) 2006-12-27

Family

ID=37815602

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050096675A KR100661513B1 (en) 2005-10-13 2005-10-13 Db managing device of the duplex processor system and controlling method therefore

Country Status (1)

Country Link
KR (1) KR100661513B1 (en)

Similar Documents

Publication Publication Date Title
JP5564956B2 (en) Information processing apparatus and firmware update method for information processing apparatus
CN108964948A (en) Principal and subordinate&#39;s service system, host node fault recovery method and device
JP6431197B2 (en) Snapshot processing methods and associated devices
JP2005267216A (en) Storage remote copying method and information processing system
KR100661513B1 (en) Db managing device of the duplex processor system and controlling method therefore
CN109831326B (en) Network equipment control method and network equipment
JP2007334668A (en) Memory dumping method, cluster system, node constituting the system, and program
EP3355480B1 (en) Communication device, communication processing method, communication processing apparatus and communication system
CN115086579B (en) Video matrix redundancy backup method and device, terminal equipment and storage medium
JP2020119325A (en) Storage system, and storage controller
JP2009246475A (en) Communication system with redundancy composition, and system switching method of the system
KR101397993B1 (en) Duplex System and Method of Access Switching Processor
JP6554801B2 (en) Redundant communication device and control method thereof
KR19980067077A (en) Redundant Control System and Its Control Method
JP6084366B2 (en) Redundant construction system and redundant construction program
KR200357938Y1 (en) Update device of the dual memory using a DMA
TW202411835A (en) Memory system and control method of memory system
KR200301942Y1 (en) transmission path switching control device of the transferring system
CN117891563A (en) Control method and device of virtual machine, storage medium and electronic device
CN117648051A (en) Memory system and control method of memory system
TW202333051A (en) Server equipment and input and output device
KR100355039B1 (en) Method of controlling dual change in an Exchanger
KR20030068663A (en) Apparatus and method for synchronization of non-volatile memory information between duplexing board
KR100630369B1 (en) Hotswap function Control Method of a Compact Peripheral Component Interconnetion
JPS58181387A (en) File replacing system

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111110

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee