KR101397656B1 - Method for Managing Duplication of Server Using L4 Switch - Google Patents
Method for Managing Duplication of Server Using L4 Switch Download PDFInfo
- Publication number
- KR101397656B1 KR101397656B1 KR1020070064273A KR20070064273A KR101397656B1 KR 101397656 B1 KR101397656 B1 KR 101397656B1 KR 1020070064273 A KR1020070064273 A KR 1020070064273A KR 20070064273 A KR20070064273 A KR 20070064273A KR 101397656 B1 KR101397656 B1 KR 101397656B1
- Authority
- KR
- South Korea
- Prior art keywords
- server
- group
- virtual
- index
- real
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/329—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Hardware Redundancy (AREA)
Abstract
본 발명은 L4 스위치를 이용한 서버 이중화 관리 방법에 관한 것이다.The present invention relates to a server duplication management method using an L4 switch.
본 발명은 이중화된 서버 구조에서 L4 스위치의 마스터, 백업 설정 상태와 현재의 액티브, 스탠바이 상태를 파악하고, 가상 서비스로 묶인 2대의 서버에 대하여 마스터, 백업 설정 상태와 액티브, 스탠바이 현재 상태를 실시간으로 파악할 수 있는 테이블 구조와 관리 방법을 제공한다.In the present invention, the master and backup setting states of the L4 switch and the active and standby states of the L4 switch in the redundant server structure are grasped and the master, the backup setting state, the active state, and the standby state of the two servers, Provides a table structure and management method that can be grasped.
본 발명은 L4 스위치를 이용하여 L4 스위치의 페어 장비 추출, L4 또는 서버의 마스터, 백업 설정 상태, 액티브 스탠바이 전환 상태를 파악할 수 있는 효과를 기대할 수 있다.The present invention can expect the effect of extracting pair equipment of L4 switch, L4, master of server, backup setting state, and active standby switching state by using L4 switch.
L4 스위치, 서버 이중화 관리, 액티브, 스탠바이, 마스터, 백업 L4 switch, server redundancy management, active, standby, master, backup
Description
도 1은 본 발명의 실시예에 따른 L4 스위치를 이용한 서버 이중화 관리 시스템의 구성을 간략하게 나타낸 도면이다.FIG. 1 is a view illustrating a configuration of a server duplication management system using an L4 switch according to an embodiment of the present invention.
도 2는 본 발명의 실시예에 따른 L4 스위치의 이중화 구성(물리적 구성(2a), 논리적 구성(2b))을 설명하기 위한 도면이다.2 is a diagram for explaining the redundancy configuration (
도 3은 본 발명의 실시예에 따른 L4 스위치의 SLB에서 백업 서버(Backup Server) 구성 방법을 설명하기 위한 도면이다.3 is a diagram for explaining a method of configuring a backup server in the SLB of the L4 switch according to the embodiment of the present invention.
도 4는 본 발명의 실시예에 따른 액티브 스탠바이 구조 및 상태 파악을 위한 VRRP 및 SLB 테이블의 구조를 설명하기 위한 도면이다.FIG. 4 is a view for explaining a structure of an active standby structure according to an embodiment of the present invention and a VRRP and an SLB table for state grasp.
도 5는 본 발명의 실시예에 따른 L4 스위치의 상태 관리 방법을 설명하기 위한 도면이다.5 is a diagram for explaining a state management method of an L4 switch according to an embodiment of the present invention.
도 6은 본 발명의 실시예에 따른 L4 스위치를 이용한 서버의 상태 관리 방법을 설명하기 위한 도면이다.6 is a diagram for explaining a state management method of a server using an L4 switch according to an embodiment of the present invention.
본 발명은 L4 스위치를 이용한 서버 이중화 관리 방법에 관한 것으로서, 특히 L4 스위치를 이용한 서버 이중화 관리 및 액티브 스탠바이 리던던씨(Redundancy) 관리 방법에 관한 것이다.The present invention relates to a server redundancy management method using an L4 switch, and more particularly, to a server redundancy management method and an active standby redundancy management method using an L4 switch.
네트워크(라우터, 스위치 등) 시설에서는 인터넷의 확산에 따라 사용자의 요구가 다양해지고, 제공해 줄 수 없는 기능을 고객에게 제공하려는 경우 서버의 도입이 필수적인 사항이 되어 가고 있다.In the network (router, switch, etc.) facility, the demand of the user is diversified according to the spread of the Internet, and the introduction of the server becomes a necessity when providing the function that can not be provided to the customer.
서버는 운용 중에 시스템상의 설정이 쉽게 변경될 수 있기 때문에 장애 시간을 최소화하고 중단없는 서비스를 위해서는 필수적으로 이중화 구조를 도입해야 한다. 시스템 이중화 구조는 액티브-액티브 방식과 액티브-스탠바이 방식이 있다.Since the configuration of the system on the server can be easily changed during operation, it is necessary to introduce a redundancy structure in order to minimize the downtime and to provide uninterrupted service. The system redundancy structure is active-active and active-standby.
액티브-액티브 방식은 2대의 서버가 전체 서비스 처리 요청의 50 대 50으로 나누어 담당하는 방식이다. 이러한 방식은 2대의 서버에 부하 분산이 이루어지므로 유휴 서버 없이 모든 장비를 활용할 수 있는 장점이 있는 반면, 1대의 서버에 장애가 발생하면 나머지 1대의 서버가 모든 처리를 수행해야 하므로 서비스 처리 품질이 균일하지 못한 문제점이 있다.In active-active mode, two servers are responsible for 50/50 of total service processing requests. This method is advantageous in that all the devices can be utilized without idle servers because load is distributed to two servers. On the other hand, if one server fails, the other one server must perform all processing, There is a problem.
액티브-스탠바이 방식은 1대의 서버가 모든 서비스 요청을 처리하고, 장애가 발생하면 대기하고 있던 다른 장비가 서비스 요청을 처리하는 방식이다.The active-standby method is a method in which one server processes all service requests and, if a failure occurs, the other apparatuses that are waiting are processing service requests.
이러한 방식은 고객이 느끼지 못하는 사이, 인내할 수 있는 시간에 페일오버(Failover)가 발생해야 중단없는 서비스가 가능하다.This method can be performed without interruption in case of failover at a time that the customer can not feel and can tolerate.
이와 같은 액티브-스탠바이 방식은 균일한 서비스가 가능하다는 점, 시스템 설계 및 운용이 단순하다는 점 때문에 선호되고 있는 방식이다.Such an active-standby scheme is preferred because of its uniform serviceability, simplicity in system design and operation.
고객과 밀접한 관련을 맺고 있는 시스템은 장비 도입 측면에서 고비용이지만 서비스 측면에서 우세한 액티브-스탠바이 방식을 채택하고 있다. 그러나 운용자가 서버 운용시 발생하는 액티브 스탠바이 전환을 쉽게 인지할 수 없어 이중화 관리를 적절히 수행하지 못하는 문제가 있었다.Systems that are closely related to customers have adopted the active-standby method, which is expensive in terms of equipment introduction but superior in terms of service. However, there is a problem in that the operator can not easily recognize the active standby switching occurring in the server operation, thereby failing to appropriately perform the redundancy management.
이와 같은 문제점을 해결하기 위하여, 본 발명은 L4 스위치를 이용한 서버 이중화 관리 방법을 제공하기 위한 것이다.In order to solve such a problem, the present invention provides a server redundancy management method using an L4 switch.
이러한 기술적 과제를 달성하기 위한 본 발명의 특징에 따른 서버 이중화 관리 방법은 (a) 리얼 서버 인덱스를 포함한 리얼 서버 테이블에서 상기 리얼 서버 인덱스를 나타내는 제1 리얼 서버를 검색하는 단계; (b) 상기 검색된 리얼 서버 인덱스에 매칭되는 그룹 인덱스를 리얼 서버 계층과 그룹 계층을 연결해주는 리얼 서버 그룹 테이블을 통해 검색하는 단계; (c) 상기 검색된 그룹 인덱스에 매칭되는 백업 그룹 인덱스를 상기 그룹 계층을 나타내는 그룹 테이블을 통해 검색하는 단계; 및 (d) 상기 리얼 서버 그룹 테이블과 상기 리얼 서버 테이블을 이용하여 상기 검색된 백업 그룹 인덱스에 해당하는 리얼 서버 인덱스―백업 서버를 나타내는 제2 리얼 서버를 의미함―를 검색함으로써 상기 제1 리얼 서버와 상기 제2 리얼 서버의 페어 서버를 검색하는 단계를 포함한다.According to an aspect of the present invention, there is provided a server redundancy management method comprising the steps of: (a) searching a real server table including a real server index for a first real server indicating the real server index; (b) retrieving a group index matched with the searched real server index through a real server group table connecting a real server layer and a group layer; (c) retrieving a backup group index matching the searched group index through a group table indicating the group hierarchy; And (d) a second real server indicating a real server index-backup server corresponding to the retrieved backup group index using the real server group table and the real server table, And searching for a pair server of the second real server.
본 발명의 특징에 따른 서버 이중화 관리 방법은 (a) 리얼 서버 계층을 나타내는 리얼 서버 테이블에서 리얼 서버 인덱스를 검색하는 단계; (b) 그룹 계층을 나타내는 그룹 테이블과 상기 그룹 계층 및 상기 리얼 서버 계층을 연결해주는 리얼 서버 그룹 테이블을 이용하여 상기 검색된 리얼 서버 인덱스에 매칭되는 그룹 인덱스를 검색하는 단계; 및 (c) 가상 서버 계층을 나타내는 가상 서버 테이블과 상기 그룹 테이블 및 상기 가상 서버 테이블을 연결해주는 가상 서비스 테이블을 이용하여 상기 검색된 그룹 인덱스에 매칭되는 가상 서버 인덱스를 검색하고, 상기 검색된 가상 서버 인덱스에 해당하는 가상 IP를 검색함으로써 상기 검색된 리얼 서버 인덱스의 설정 상태를 마스터 또는 백업으로 판단하는 단계를 포함한다.A server duplication management method according to an aspect of the present invention includes: (a) searching a real server index in a real server table indicating a real server hierarchy; (b) searching a group index indicating a group hierarchy and a group index matching the searched real server index using a real server group table connecting the group hierarchy and the real server hierarchy; And (c) searching a virtual server index matching the retrieved group index by using a virtual server table representing a virtual server layer, a virtual service table connecting the group table and the virtual server table, And determining the setting state of the searched real server index as a master or a backup by searching the corresponding virtual IP.
본 발명의 특징에 따른 서버 이중화 관리 방법은 (a) 가상 서버 계층을 나타내는 가상 서버 테이블에서 가상 서버 인덱스를 검색하는 단계; (b) 그룹 계층을 나타내는 그룹 테이블과 상기 가상 서버 테이블 및 상기 그룹 테이블을 연결해주는 가상 서비스 테이블을 이용하여 상기 검색된 가상 서버 인덱스에 매칭되는 그룹 인덱스를 검색하는 단계; (c) 리얼 서버 계층을 나타내는 리얼 서버 테이블과 상기 그룹 계층과 상기 리얼 서버 계층을 연결해주는 리얼 서버 그룹 테이블을 이용하여 상기 검색된 그룹 인덱스에 매칭되는 리얼 서버 인덱스를 검색하는 단계; 및 (d) 가상 서버의 서비스 포트 상태를 나타내는 가상 서버 포트 테이블을 이용하여 상기 검색된 가상 서버 인덱스에 매칭되는 가상 서비스 상태를 검색함으로써 상기 검색된 리얼 서버 인덱스의 현재 상태를 액티브 또는 스탠바이로 판단하는 단계를 포함한다.A server duplication management method according to an aspect of the present invention includes the steps of: (a) searching a virtual server index in a virtual server table indicating a virtual server layer; (b) searching a group index indicating a group hierarchy and a group index matched with the searched virtual server index using a virtual service table connecting the virtual server table and the group table; (c) searching a real server index indicating a real server hierarchy and a real server index matched with the retrieved group index using a real server group table connecting the group hierarchy and the real server hierarchy; And (d) determining a current status of the searched real server index as active or standby by searching a virtual service status matched with the searched virtual server index using a virtual server port table indicating a service port status of the virtual server, .
본 발명의 특징에 따른 서버 이중화 관리 방법은 (a) 제1 가상 라우터 리던던씨 프로토콜(Virtual Router Redundancy Protocol) 테이블을 포함한 제1 L4 스위 치와 제2 가상 라우터 리던던씨 프로토콜 테이블을 포함한 제2 L4 스위치 간에 애드버타이즈 패킷(Advertise Packet)을 송수신하는 단계; (b) 상기 제1 가상 라우터 리던던씨 프로토콜 테이블과 상기 제2 가상 라우터 리던던씨 프로토콜 테이블을 이용하여 동일한 가상 IP를 가지는 인터페이스 IP를 검색함으로써 페어 IP를 검색하는 단계; (c) 상기 제1 가상 라우터 리던던씨 프로토콜 테이블의 프라이어티와 상기 제2 가상 라우터 리던던씨 프로토콜 테이블의 프라이어티의 대소 여부를 비교하여 상기 제1 L4 스위치의 설정 상태와 상기 제2 L4 스위치의 설정 상태를 마스터 장비 또는 백업 장비로 판단하는 단계; 및 (d) 상기 제1 가상 라우터 리던던씨 프로토콜 테이블의 상태값과 상기 제2 가상 라우터 리던던씨 프로토콜 테이블의 상태값을 검색하여 상기 제1 L4 스위치의 현재 상태와 상기 제2 L4 스위치의 현재 상태를 액티브 또는 백업으로 판단하는 단계를 포함한다.A server duplication management method according to an aspect of the present invention includes the steps of (a) receiving a first L4 switch including a first virtual router redundancy protocol table and a second virtual router redundancy protocol table including a second virtual router redundancy protocol table, Transmitting and receiving an advertisement packet between L4 switches; (b) searching for a pair IP by searching for an interface IP having the same virtual IP using the first virtual router redundancy protocol table and the second virtual router redundancy protocol table; (c) comparing the priority of the first virtual router redundancy protocol table with the priority of the second virtual router redundancy protocol table, and comparing the setting state of the first L4 switch and the priority of the second L4 switch Determining a setting state of the master device or the backup device; And (d) searching for a state value of the first virtual router redundancy protocol table and a state value of the second virtual router redundancy protocol table, and comparing the current state of the first L4 switch and the current state of the second L4 switch Judging the status as active or backup.
아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.
명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", "…기", "모듈", "블록" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when an element is referred to as "comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise. Also, the terms " part, "" module," " module, "and " block" refer to units that process at least one function or operation, Lt; / RTI >
이제 본 발명의 실시예에 따른 L4 스위치를 이용한 서버 이중화 관리 방법에 대하여 도면을 참고로 하여 상세하게 설명한다.Now, a server redundancy management method using an L4 switch according to an embodiment of the present invention will be described in detail with reference to the drawings.
도 1은 본 발명의 실시예에 따른 L4 스위치를 이용한 서버 이중화 관리 시스템의 구성을 간략하게 나타낸 도면이다.FIG. 1 is a view illustrating a configuration of a server duplication management system using an L4 switch according to an embodiment of the present invention.
본 발명의 실시예에 따른 서버 이중화 관리 시스템은 기가 스위치 라우터(Giga Switch Router: GSR)(100), 제1 및 제2 L4 스위치(200, 210), 제1 및 제2 서버(300)로 구성되어 있다.The server duplication management system according to an embodiment of the present invention includes a Giga Switch Router (GSR) 100, first and
동일한 기능을 하는 제1 및 제2 서버(300)는 그룹으로 묶여서 서비스를 처리한다. 다른 서비스를 처리하는 서버 그룹이 존재하면 L4 스위치(200, 210)에 연결되어진다.The first and
장비 구성은 계층 구조를 따르며 각 구간에 적용되어 있는 라우팅을 서로 달리 설정하고 있다.The equipment configuration follows a hierarchical structure and different routes are applied to each section.
L4 스위치(200, 210)와 기가 스위치 라우터 구간은 정적 라우팅 구간으로 장애에 대비하여 상향 트래픽과 하향 트래픽 모두 Floating Static 방식으로 구성되어 있다.The L4 switches (200, 210) and the Giga switch routers are static routing sections, and both uplink and downlink traffic are configured in a floating static manner in preparation for failure.
따라서, 하나의 라우팅 경로에 장애가 발생하면 나머지 한 경로로 트래픽을 소통시킨다.Therefore, if one routing path fails, the traffic is communicated to the other path.
L4 스위치(200, 210)와 기가 스위치 라우터 간에 연결 링크는 각각 서로 다른 세그먼트(Broadcasting Domain)로 되어 있다. 서버에 대한 이중화를 수행하는 하단의 연결 링크와 L4 스위치(200, 210) 간 인터 링크는 모두 같은 세그먼트이다.The connection links between the
상향 트래픽에 대한 각 서버의 디폴트 라우터는 L4 스위치(200, 210) 간에 동작하고 있는 가상 라우터 리던던씨 프로토콜(Virtual Router Redundancy Protocol, 이하 'VRRP'라 칭함)의 가상 IP로 지정되어 있다.The default router of each server for uplink traffic is designated as a virtual IP of a Virtual Router Redundancy Protocol (VRRP) operating between the
L4 스위치(200, 210)의 하향 트래픽은 L4에 설정되어 있는 서버 로드 밸런싱(Server Load Balancing, 이하 'SLB'라 칭함)의 가상 IP에 속해 있는 액티브 리얼 서버(Active Real Server)로 보내진다.Down traffic of the
도 2는 본 발명의 실시예에 따른 L4 스위치(200, 210)의 이중화 구성(물리적 구성(2a), 논리적 구성(2b))을 설명하기 위한 도면이다.FIG. 2 is a diagram for explaining the redundancy configuration (
VRRP는 RFC3768에 정의되어 있는 프로토콜로서 서버에 설정되어 있는 정적 디폴트 라우터(Static Default Router)의 단점을 극복하고자 제안되었다.VRRP is a protocol defined in RFC3768 and proposed to overcome the disadvantage of the static default router set in the server.
즉, 서버 입장에서는 서버에 설정되어 있는 디폴트 라우터에 장애가 발생하면 네트워크 단절이 발생하는 문제를 해결하기 위해서 디폴트 라우터로 설정된 IP를 가상으로 부여하여 해당 IP가 항상 살아있는 인터페이스 IP로 인식하게 한다.That is, in case of a server, in order to solve the problem of network disconnection when a default router set in the server fails, an IP set as a default router is virtually given, so that the IP is always recognized as a live interface IP.
가상 IP의 소유는 짝을 이루고 있는 2대의 L4 스위치(200, 210)에서 가진다. 각 L4 스위치(200, 210)에서는 동일한 가상 라우터 ID를 가지고 상호 VRRP 패킷을 주고 받는다.Ownership of the virtual IP is provided by two paired L4 switches (200, 210). Each
VRRP 프로토콜이 동작하는 구간은 브로드캐스팅 도메인(Broadcasting Domain)인 이더넷(Ethernet) 구간이다. 또한, 서버로 가는 포트 및 L4 간 인터링크(Interlink)는 동일 Vlan으로 설정되어 있다.The interval in which the VRRP protocol operates is an Ethernet interval that is a broadcasting domain. In addition, the port and L4 interlink to the server are set to the same Vlan.
각 L4의 가상 라우터는 우선 순위 즉 프라이어티(Priority) 값에 따라 마스터(Master)를 결정한다. 백업 장비는 마스터 장비에서 애드버타이즈 패킷(Advertise Packet)이 주기적으로 도착하지 않으면 상대편 장비가 죽었다고 판단하고 자신을 액티브 상태로 전환한다.The virtual router of each L4 determines the master according to the priority, that is, the priority value. If the backup device does not periodically receive an advertisement packet from the master device, the backup device determines that the counterpart device is dead and switches itself to the active state.
짝을 이루는 L4 장비의 각 인터페이스는 가상(Virtual) ID와 가상(Virtual) IP를 동일하게 설정한다. 하나의 인터페이스에는 서버측 디폴트 라우터 용도의 가상 IP 뿐만 아니라 SLB 용도의 가상 IP가 여러 개 설정될 수 있다.Each interface of the paired L4 device sets the virtual ID and the virtual IP equal to each other. One interface can have multiple virtual IPs for SLB purposes as well as virtual IPs for server-side default routers.
다음, 도 3을 참조하여 L4 스위치(200, 210)의 SLB 구성 방법을 상세하게 설명한다.Next, referring to FIG. 3, an SLB configuration method of the
도 3은 본 발명의 실시예에 따른 L4 스위치(200, 210)의 SLB에서 백업 서버(Backup Server) 구성 방법을 설명하기 위한 도면이다. 3a는 본 발명의 실시예에 따른 리얼 서버에 대한 백업 서버를 직접 지정하는 방법이고, 3b는 본 발명의 실시예에 따른 그룹에 대한 백업 그룹을 지정하는 방법을 나타낸다.3 is a diagram for explaining a method of configuring a backup server in the SLB of the
SLB는 하나의 가상 IP에 2대 이상의 리얼 서버(Real Server)를 대응시켜 부하 분산 및 장애시 페일오버(Failover)를 구현한다.SLB supports load balancing and failure failover by associating two or more Real Servers with one virtual IP.
각 가상 IP와 서비스 포트 페어(Service Port Pair)는 그룹(Group)에 1 대 1 로 대응한다. 그룹은 서버에 대한 헬스 체크(Health Check)와 메트릭(Metric)을 공유하는 기본 단위이다. 그룹에 속하는 리얼 서버는 메트릭에 지정된 대로 Roundrobin, Hash, LeastConnection 등의 로드 밸런싱 방법에 따라 서비스 연결을 하게 된다.Each virtual IP and service port pair corresponds to a group one by one. A group is a basic unit that shares a health check and a metric for a server. The real servers belonging to the group are connected according to the load balancing method such as Roundrobin, Hash, LeastConnection, etc. as specified in the metric.
3a에 도시된 바와 같이, 서버 로드 밸런싱을 위한 가상 IP와 리얼 서버 간의 연결은 중간에 그룹 지정을 통해서 이루어진다.As shown in FIG. 3A, the connection between the virtual IP and the real server for server load balancing is performed through group designation in the middle.
가상 IP와 서비스 포트에 대해서 그룹을 지정하면, 그룹에 소속된 리얼 서버로 서비스 요청이 전송된다. 해당 서비스와 관련된 그룹은 서비스별로 다르게 구성하고, 그룹에 소속된 서버는 동일한 서버로 1개 지정한다.When a group is specified for a virtual IP and a service port, a service request is transmitted to a real server belonging to the group. Groups related to the service are configured differently for each service, and one server belonging to the group is designated by the same server.
백업으로 지정된 서버는 그룹에 소속된 서버에서 서비스 포트 장애 발생시 클라이언트의 연결(Connection) 요청을 처리한다.The server designated as the backup handles the connection request of the client when the service port failure occurs in the server belonging to the group.
이러한 리얼 서버에 대한 백업 서버를 직접 지정하는 방법은 서비스 포트별로 그룹이 나눠져 있기 때문에 하나의 서비스 포트의 장애가 발생하더라도 전체 서비스가 다른 서버로 옮겨가지 않고 장애가 발생한 서비스만 백업 서버로 전환되는 특성을 갖는다.The method of directly designating the backup server for such a real server has the characteristic that even if a failure occurs in one service port, the entire service is not transferred to another server but only the failed service is switched to the backup server .
3b에 도시된 바와 같이, 각 서비스를 위한 가상 서버(Virtual Server)는 하나의 그룹에 매핑되어 있고, 그룹에 소속된 서버의 서비스 포트 중 하나라도 장애시 백업 그룹에 지정된 서버로 전체 서비스 요청이 전환된다.3b, a virtual server for each service is mapped to one group, and even if one of the service ports of the server belonging to the group, the entire service request is transferred to the server designated in the backup backup group do.
이러한 그룹에 대한 백업 그룹을 지정하는 방법은 그룹에 소속된 여러 서비스 포트가 서로 연관성이 있는 경우 사용되며, 하나의 서비스 포트가 장애가 발생하는 경우 나머지 서비스 포트가 정상이라도 블록(Block)시키고, 전체 서비스를 다른 서버에서 처리한다.A method of specifying a backup group for such a group is used when a plurality of service ports belonging to a group are related to each other. If a failure occurs in one service port, a block is blocked even if the remaining service ports are normal, To another server.
다음, 도 4를 참조하여 VRRP 및 SLB 테이블(400, 500)의 구조를 상세하게 설명한다.Next, the structure of the VRRP and SLB tables 400 and 500 will be described in detail with reference to FIG.
도 4는 본 발명의 실시예에 따른 액티브 스탠바이 구조 및 상태 파악을 위한 VRRP 및 SLB 테이블(400, 500)의 구조를 설명하기 위한 도면이다.FIG. 4 is a view for explaining a structure of an active standby structure and VRRP and SLB tables 400 and 500 for status grasp according to an embodiment of the present invention.
VRRP 테이블(400)은 장비 ID(Equip Identifier)(410), 가상 IP(420), 인터페이스 IP(430), 프라이어티(Priority)(440) 및 상태(Status)(450)를 포함한다.The VRRP table 400 includes an Equip Identifier 410, a virtual IP 420, an interface IP 430, a Priority 440, and a Status 450.
장비 ID(410)는 장비의 이름이나 장비를 구별할 수 있는 고유의 ID이다.The equipment ID 410 is a unique ID that can identify the equipment name or equipment.
가상 IP(420)는 가상 라우터의 IP로서, 가상 라우터에서 VRRP 프로토콜을 통해 주고 받을 가상 IP(420)이다.The virtual IP 420 is a virtual IP address of the virtual router, and is a virtual IP address 420 to be exchanged through the VRRP protocol in the virtual router.
인터페이스 IP(430)는 VRRP 프로토콜을 주고 받을 인터페이스 IP(430)로서 VRRP 프로토콜이 동작하는 세그먼트에 붙어 있는 물리 인터페이스의 IP이다.The interface IP 430 is an interface IP 430 to which the VRRP protocol is transmitted, and is an IP of a physical interface attached to a segment in which the VRRP protocol operates.
프라이어티(440)는 0 ~ 255의 값을 가지며 값이 클수록 우선 순위를 갖으며, 이 값을 기준으로 L4 스위치(200, 210)의 설정 상태인 마스터, 백업 여부를 판단한다.The priority 440 has a value ranging from 0 to 255. As the value increases, the priority 440 has priority. Based on this value, the master 440, which is the setting state of the L4 switches 200 and 210, determines whether or not to backup.
상태(450)는 가상 라우터의 상태값으로서, 현재의 상태가 액티브, 스탠바이 인지 나타내며, 이 값을 기준으로 L4 스위치(200, 210)의 현재 상태인 액티브, 스탠바이를 판단한다.The state 450 indicates the state value of the virtual router, indicating whether the current state is active or standby. Based on this value, the active state, which is the current state of the L4 switches 200 and 210, is determined.
SLB 테이블(500)은 서버 구성 테이블(510), 연결 구성 테이블(550) 및 현재 상태 테이블(580)을 포함한다.The SLB table 500 includes a server configuration table 510, a connection configuration table 550, and a current status table 580.
서버 구성 테이블(510)은 리얼 서버(Real Server) 테이블, 그룹(Group) 테이 블 및 가상 서버(Virtual Server) 테이블을 포함한다.The server configuration table 510 includes a real server table, a group table, and a virtual server table.
리얼 서버 테이블(520)은 리얼 서버 인덱스(522), 리얼 IP(524) 및 백업 서버 인덱스(526)를 구성 요소로 포함한다.The real server table 520 includes a real server index 522, a real IP 524, and a backup server index 526 as components.
그룹 테이블(530)은 그룹 인덱스(532), 백업 그룹 인덱스(534), 부하 분산을 위한 매트릭(Metric)(536), 실패(Fail) 여부를 감지하는 헬스 체크(Health Check)(538)를 구성 요소로 포함한다.The group table 530 includes a group index 532, a backup group index 534, a metric 536 for load distribution, and a
가상 서버 테이블(540)은 가상 서버 인덱스(542), 가상 IP(544)를 구성 요소로 포함한다.The virtual server table 540 includes a virtual server index 542 and a virtual IP 544 as components.
연결 구성 테이블(550)은 리얼 서버 그룹 테이블(560) 및 가상 서비스(Virtual Service) 테이블을 포함한다. The connection configuration table 550 includes a real server group table 560 and a virtual service table.
리얼 서버 그룹 테이블(560)은 리얼 서버 인덱스(562), 그룹 인덱스(564)를 구성 요소로 포함한다. 가상 서비스 테이블(570)은 가상 서버 인덱스(572), 서비스 포트(574) 및 그룹 인덱스(576)를 구성 요소로 포함한다.The real server group table 560 includes a
리얼 서버와 그룹 간의 매핑은 리얼 서버 그룹 테이블(560)을 통해서 이루어진다. 또한, 그룹과 가상 서버 간의 매핑은 가상 서비스 테이블(570)을 통해서 이루어진다.The mapping between the real server and the group is performed through the real server group table 560. The mapping between the group and the virtual server is performed through the virtual service table 570.
가상 서비스의 각 서비스(가상 IP(544), 서비스 포트(574))는 그룹과 매핑되어 있다.Each service (virtual IP 544, service port 574) of the virtual service is mapped to a group.
가상 서비스의 상태는 서비스 포트(574)의 상태가 업/다운에 따라 Running/Blocked/Failed를 가진다.The status of the virtual service has Running / Blocked / Failed according to the status of the
현재 상태 테이블(580)은 가상 서버 인덱스(592), 가상 서비스 인덱스(594), 리얼 서버 인덱스(596), 서비스 포트(598) 및 가상 서비스 상태(599)를 나타내는 가상 서버 포트 테이블(590)을 포함한다.The current state table 580 includes a virtual server port table 590 representing a virtual server index 592, a
여기서, 리얼 서버 테이블(520)의 리얼 서버 인덱스(522), 리얼 서버 그룹 테이블(560)의 리얼 서버 인덱스(562) 및 가상 서버 포트 테이블(590)의 리얼 서버 인덱스(596)는 동일한 리얼 서버의 IP를 의미한다.Here, the real server index 522 of the real server table 520, the
또한, 그룹 테이블(530)의 그룹 인덱스(532), 리얼 서버 그룹 테이블(560)의 그룹 인덱스(564) 및 가상 서비스 테이블(570)의 그룹 인덱스(576)는 동일한 그룹을 의미한다.The group index 532 of the group table 530, the group index 564 of the real server group table 560 and the
또한, 가상 서버 테이블(540)의 가상 서버 인덱스(542), 가상 서비스 테이블(570)의 가상 서버 인덱스(572) 및 가상 서버 포트 테이블(590)의 가상 서버 인덱스(592)는 동일한 가상 서버의 IP를 의미한다.The virtual server index 542 of the virtual server table 540, the
또한, 가상 서비스 테이블(570)의 서비스 포트(574)와 가상 서버 포트 테이블(590)의 서비스 포트(598)는 동일한 포트를 의미한다.The
다음, 도 5를 참조하여 L4 스위치(200, 210)를 이용한 서버 이중화 관리 방법 중 L4 스위치(200, 210)의 상태 관리 방법을 상세하게 설명한다.Next, referring to FIG. 5, a method of managing states of the L4 switches 200 and 210 among the server redundancy management methods using the L4 switches 200 and 210 will be described in detail.
도 5는 본 발명의 실시예에 따른 L4 스위치(200, 210)의 상태 관리 방법을 설명하기 위한 도면이다.5 is a diagram for explaining a state management method of the L4 switches 200 and 210 according to the embodiment of the present invention.
도 5를 설명하기 전에, 제1 L4 스위치(200) 및 제2 L4 스위치(210)는 도 4에 기재된 VRRP 테이블(400) 및 SLB 테이블(500)을 각각 포함하고 있다.5, the
또한, 제1 L4 스위치(200) 및 제2 L4 스위치(210)는 각각 제1 제어부와 제2 제어부를 포함하고, 제1 제어부와 제2 제어부의 기능은 동일하다. 제1 제어부와 제2 제어부는 서로 VRRP 애드버타이즈 패킷(Advertise Packet)을 주고 받으며(S100), VRRP 테이블(400) 및 SLB 테이블(500)을 통해 L4와 리얼 서버의 페어 장비 추출, 마스터 및 백업 설정 상태, 운용상에 액티브, 스탠바이 전환 상태를 관리하는 기능을 수행한다.The
따라서, 이하, 설명의 편의를 위해 제1 제어부와 제2 제어부를 제어부로 명명한다.Therefore, for convenience of description, the first control unit and the second control unit will be referred to as a control unit hereinafter.
제어부는 L4 인터페이스 중에서 VRRP 프로토콜이 동작하는 각 인터페이스 IP(430)에 대하여 페어 IP를 검색한다. 즉 제어부는 제1 L4 스위치(200)와 제2 L4 스위치(210)의 각각의 VRRP 테이블(400)에서 동일한 VRRP 가상 IP(420)를 가지는 인터페이스 IP(430)를 검색함으로써 페어 IP를 파악한다(S102).The control unit searches for a pair IP for each interface IP 430 in which the VRRP protocol operates among the L4 interfaces. In other words, the control unit recognizes the pair IP by searching the interface IP 430 having the same VRRP virtual IP 420 in the VRRP table 400 of each of the
제어부는 제1 L4 스위치(200)의 VRRP 테이블(400)과 제2 L4 스위치(210)의 VRRP 테이블(400)에서 프라이어티(Priority)(440)를 비교하여 높은 값을 가진 인터페이스를 소유하고 있는 L4 스위치를 마스터 장비로 판단하고 나머지 L4 스위치를 백업 장비로 판단한다(S104).The control unit compares the VRRP table 400 of the
제어부는 동일한 VRRP 가상 IP(420)를 공유하는 두 개의 인터페이스의 상태(Status)값을 이용하여 현재 상태(Active, Standby)를 판단한다(S106).The controller determines the current status (Active, Standby) using the status values of the two interfaces sharing the same VRRP virtual IP 420 (S106).
다음, 도 6을 참조하여 L4 스위치(200, 210)를 이용한 이중화 관리 방법 중 서버의 상태 관리 방법을 상세하게 설명한다.Next, referring to FIG. 6, a method of managing the state of the server among the redundancy management methods using the L4 switches 200 and 210 will be described in detail.
도 6은 본 발명의 실시예에 따른 L4 스위치(200, 210)를 이용한 서버의 상태 관리 방법을 설명하기 위한 도면이다.6 is a diagram for explaining a state management method of a server using
도 3, 도 4 및 도 6을 참조하여 페어 장비 찾기, 리얼 서버의 설정 상태 및 현재 상태를 파악하는 L4 스위치(200, 210)를 이용한 서버의 상태 관리 방법을 설명한다.3, 4 and 6, a description will be given of a state management method of a server using
리얼 서버의 상태 관리 방법은 도 3에 도시된 바와 같이, 리얼 서버에 대한 백업 서버가 직접 지정된 경우, 제1 리얼 서버와 제2 리얼 서버 간의 연결이 중간에 그룹 지정을 통해 이루어지는 경우, 두 가지 모두 고려해야 한다.As shown in FIG. 3, when a backup server for a real server is directly designated and a connection between the first real server and the second real server is performed through group designation in the middle, Should be considered.
(1) 리얼 서버에 대한 백업 서버가 직접 지정된 경우 페어 서버, 리얼 서버의 설정 상태 및 현재 상태를 검색하는 방법은 다음과 같다.(1) When a backup server for a real server is directly specified, a method for searching the setting status and the current status of a pair server and a real server is as follows.
1) 페어 서버를 검색하는 방법은 다음과 같다.1) How to search for a pair server is as follows.
제어부는 SLB 테이블(500)의 서버 구성 테이블(510) 중 리얼 서버 테이블(520)을 참조하여 지정된 리얼 서버 인덱스(522)에 대하여 백업 서버 인덱스(526)가 0으로 되어 있으면 백업 서버가 존재하지 않는 것으로 판단한다. 또한, 제어부는 리얼 서버 테이블(520)을 참조하여 백업 서버 인덱스(526)가 0이 아니면 백업 서버가 존재하는 것으로 판단하고, 지정된 리얼 서버 인덱스(522)와 백업 서버 인덱스(526)를 통해 페어 서버를 찾게 된다(S200).The control unit refers to the real server table 520 in the server configuration table 510 of the SLB table 500 to determine that the backup server index 526 is 0 for the specified real server index 522 . If the backup server index 526 is not 0, the controller determines that a backup server exists and refers to the real server index 522 and the backup server index 526 to determine whether there is a backup server, (S200).
2) 리얼 서버의 설정 상태를 검색하는 방법은 다음과 같다.2) How to search the setting status of real server is as follows.
제어부는 각 리얼 서버의 가상 서비스(Virtual Service)에 대하여 마스터, 백업인지 여부를 판단한다. 즉 제어부는 리얼 서버 계층, 그룹 계층, 가상 서버 계 층 순으로 상위 계층으로 이동하면서 가상 IP(544)가 존재하는지 체크하고, 상위 그룹이 존재하지 않거나 가상 IP(544)가 존재하지 않는 경우 리얼 서버의 설정 상태를 백업으로 판단하며(S202), 가상 IP(544)가 존재하는 경우 리얼 서버의 설정 상태를 마스터로 판단한다(S204).The control unit determines whether the virtual service of each real server is a master or a backup. That is, the controller moves to the upper layer in the order of the real server layer, the group layer, and the virtual server layer to check whether the virtual IP 544 exists. If there is no host group or the virtual IP 544 does not exist, (S202). If the virtual IP 544 exists, the setting state of the real server is determined as the master (S204).
더욱 상세하게 설명하면, 제어부는 리얼 서버 테이블(520)에서 리얼 서버 인덱스(522)를 검색하고(S202), 백업 서버 인덱스(526)가 존재하는지 판단한다.More specifically, the controller searches the real server table 520 for a real server index 522 (S202), and determines whether a backup server index 526 exists.
제어부는 백업 서버 인덱스(526)가 존재하는 경우, 상위 그룹이 존재하지 않으므로 검색된 리얼 서버 인덱스(522)의 설정 상태를 백업으로 판단한다(S204).If the backup server index 526 exists, the control unit determines that the setting of the real server index 522 is a backup because the parent group does not exist (S204).
제어부는 백업 서버 인덱스(526)가 존재하지 않는 경우, 검색된 리얼 서버 인덱스(522)를 기초로 리얼 서버 그룹 테이블(560)과 그룹 테이블(530)을 참조하여 그룹 인덱스(532)를 검색한다(S206). 이어서, 제어부는 검색된 그룹 인덱스(532)를 기초로 가상 서비스 테이블(570)을 참조하여 가상 서버 인덱스(572)를 검색한다. 제어부는 검색된 가상 서버 인덱스(572)를 기초로 가상 서버 테이블(540)을 참조하여 가상 서버 인덱스(572)에 해당하는 가상 IP(544)를 찾게 된다(S208). 제어부는 검색된 리얼 서버 인덱스(522)의 설정 상태를 마스터로 판단한다.If the backup server index 526 does not exist, the controller refers to the real server group table 560 and the group table 530 based on the retrieved real server index 522 and searches the group index 532 ). Then, the control unit searches the
3) 리얼 서버의 현재 상태를 검색하는 방법은 다음과 같다.3) How to retrieve the current state of the real server is as follows.
제어부는 리얼 서버 테이블(520), 리얼 서버 그룹 테이블(560), 그룹 테이블(530), 가상 서비스 테이블(570) 및 가상 서버 테이블(540)을 조인(Join)하여 가상 IP(544)와 서비스 포트(574)에 해당하는 리얼 서버를 검색한다. 이어서, 제어부는 가상 서버 포트 테이블(590)에서 가상 IP(544)와 서비스 포트(574)를 기초로 가 상 서비스 상태(Virtual Service Status)(599)를 검색한다.The control unit joins the real server table 520, the real server group table 560, the group table 530, the virtual service table 570 and the virtual server table 540, The real server corresponding to the
제어부는 가상 서비스 상태(599)가 런닝(Running)인 경우, 검색된 리얼 서버의 현재 상태를 액티브로 판단하고, 블록(Blocked)이거나 값이 없으면 서버의 현재 상태를 스탠바이로 판단한다.If the
더욱 상세하게 설명하면, 제어부는 가상 서버 테이블(540)에서 가상 IP(544)를 포함한 가상 서버 인덱스(542)를 검색한다(S210). 제어부는 검색된 가상 서버 인덱스(542)를 기초로 가상 서비스 테이블(570) 및 그룹 테이블(530)을 참조하여 가상 서버 인덱스(542)에 해당하는 서비스 포트(574)와 그룹 인덱스(532)를 검색한다(S212).In more detail, the control unit searches the virtual server table 540 for a virtual server index 542 including the virtual IP 544 (S210). The control unit searches the
제어부는 검색된 그룹 인덱스(532)를 기초로 리얼 서버 그룹 테이블(560)을 참조하여 검색된 그룹 인덱스(532)에 해당하는 리얼 서버 인덱스(562)를 검색한다(S214). 제어부는 검색된 리얼 서버 인덱스(562)를 기초로 리얼 서버 테이블(520)을 참조하여 검색된 리얼 서버 인덱스(562)에 해당하는 리얼 IP(524), 백업 서버 인덱스(526)를 검색한다(S216).The controller refers to the real server group table 560 based on the retrieved group index 532 and searches the
이어서, 제어부는 가상 IP(544)와 서비스 포트(574), 리얼 서버 인덱스(522)를 기초로 가상 서버 포트 테이블(590)을 참조하여 가상 서비스 상태(599)를 검색한다.The control unit then retrieves the
제어부는 가상 서비스 상태(599)에 따라 리얼 서버의 현재 상태가 런닝(Running)/블록(Blocked)/페일(Failed)이 된다. 여기서, 리얼 서버의 현재 상태가 런닝인 경우, 백업 서버의 현재 상태는 블록이나 페일이 된다.The controller determines that the current state of the real server is Running / Blocked / Failed according to the
(2) 제1 리얼 서버와 제2 리얼 서버 간의 연결이 중간에 그룹 지정을 통해 이루어지는 경우, 페어 서버, 리얼 서버의 설정 상태 및 현재 상태를 검색하는 방법은 다음과 같다.(2) When the connection between the first real server and the second real server is performed through group designation in the middle, a method of searching the setting state and the current state of the pair server and the real server is as follows.
1) 페어 서버를 검색하는 방법은 다음과 같다.1) How to search for a pair server is as follows.
제어부는 서버 구성 테이블(510) 중 리얼 서버 테이블(520)에서 주어진 리얼 서버 인덱스(522)를 기초로 리얼 서버 그룹 테이블(560)을 참조하여 리얼 서버를 멤버로 갖는 그룹 인덱스(564)를 검색한다(S300, S302). 이어서, 제어부는 검색된 그룹 인덱스(제1 리얼 서버를 나타냄)(564)를 기초로 그룹 테이블(530)을 참조하여 백업 그룹 인덱스(534)를 검색한다(S304).The control unit refers to the real server group table 560 based on the real server index 522 given in the real server table 520 among the server configuration table 510 and searches the group index 564 having the real server as a member (S300, S302). Then, the control unit searches the backup group index 534 by referring to the group table 530 based on the retrieved group index (representing the first real server) 564 (S304).
또한, 제어부는 그룹 테이블(530)에서 백업 그룹 인덱스(534)를 검색한 경우, 검색된 백업 그룹 인덱스(534)를 포함한 그룹 인덱스(532)를 기초로 리얼 서버 그룹 테이블(560)을 참조하여 그룹 인덱스(532)에 해당하는 리얼 서버 인덱스(562)를 검색한다(S306).When searching the backup group index 534 in the group table 530, the controller refers to the real server group table 560 based on the group index 532 including the retrieved backup group index 534, The
제어부는 검색한 리얼 서버 인덱스(제2 리얼 서버를 나타냄)(522)에 해당하는 리얼 IP(524)를 리얼 서버 테이블(520)에서 검색한다. 따라서, 제어부는 가상 IP(544)와 리얼 서버 간의 연결이 중간에 그룹 지정을 통해 이루어지는 페어 서버를 찾게 된다.The controller searches the real server table 520 for the real IP 524 corresponding to the searched real server index (representing the second real server) 522. Accordingly, the control unit finds a pair server in which connection between the virtual IP 544 and the real server is performed through group designation in the middle.
2) 리얼 서버의 설정 상태를 검색하는 방법은 다음과 같다.2) How to search the setting status of real server is as follows.
제어부는 리얼 서버 테이블(520)의 리얼 서버 인덱스(522)를 검색하고(S308), 검색된 리얼 서버 인덱스(522)를 기초로 리얼 서버 그룹 테이블(560)을 참조하여 그룹 인덱스(564)를 검색한다(S310).The control unit searches the real server index 522 of the real server table 520 at step S308 and searches the group index 564 by referring to the real server group table 560 based on the searched real server index 522 (S310).
제어부는 그룹 인덱스(564)가 검색되면, 그룹 테이블(530)에서 백업 그룹 인덱스(534)가 존재하는지 판단한다. 제어부는 백업 그룹 인덱스(534)가 존재하는 경우, 가상 IP(544)가 존재하지 않으므로 검색된 리얼 서버 인덱스(522)의 설정 상태를 백업으로 판단한다(S312).When the group index 564 is found, the control unit determines whether a backup group index 534 exists in the group table 530. If the backup group index 534 exists, the controller determines that the setting of the retrieved real server index 522 is a backup because the virtual IP 544 does not exist at step S312.
제어부는 백업 서버 인덱스(526)가 존재하지 않는 경우, 검색된 그룹 인덱스(564)를 기초로 가상 서비스 테이블(570)과 가상 서버 테이블(540)을 참조하여 검색된 리얼 서버 인덱스(522)의 가상 IP(544)를 찾게 되고(S314), 검색된 리얼 서버 인덱스(522)의 설정 상태를 마스터로 판단한다. The controller refers to the virtual service table 570 and the virtual server table 540 on the basis of the retrieved group index 564 in the case where the backup server index 526 does not exist, 544 (S314), and determines the setting state of the searched real server index 522 as a master.
제어부는 리얼 서버 테이블(520), 리얼 서버 그룹 테이블(560), 그룹 테이블(530), 가상 서비스 테이블(570) 및 가상 서버 테이블(540)을 통해 리얼 서버에 대한 가상 IP(544)와 서비스 포트(574)가 최종적으로 검색되면 설정 상태를 마스터로 판단한다.The control unit controls the virtual IP 544 for the real server 544 and the
3) 리얼 서버의 현재 상태를 검색하는 방법은 다음과 같다.3) How to retrieve the current state of the real server is as follows.
제어부는 가상 서버 테이블(540)에서 가상 IP(544)를 포함한 가상 서버 인덱스(542)를 검색한다(S316). 제어부는 검색된 가상 서버 인덱스(542)를 기초로 가상 서비스 테이블(570)을 참조하여 가상 서버 인덱스(542)에 해당하는 서비스 포트(574)와 그룹 인덱스(576)를 검색한다(S318).The control unit searches the virtual server table 540 for a virtual server index 542 including the virtual IP 544 (S316). The controller searches the
제어부는 검색된 그룹 인덱스(576)를 기초로 그룹 테이블(530)을 참조하여 백업 그룹 인덱스(534)를 검색한다. 제어부는 검색된 백업 그룹 인덱스(534)가 존 재하지 않는 경우, 리얼 서버 그룹 테이블(560)을 참조하여 검색한 그룹 인덱스(576)에 해당하는 리얼 서버 인덱스(562)를 검색한다(S320).The control unit searches the backup group index 534 by referring to the group table 530 based on the retrieved
제어부는 검색된 리얼 서버 인덱스(562)를 기초로 리얼 서버 테이블(520)을 참조하여 검색된 리얼 서버 인덱스(562)에 해당하는 리얼 IP(524)를 검색한다.The controller refers to the real server table 520 based on the retrieved
또한, 제어부는 검색된 백업 그룹 인덱스(534)가 존재하는 경우, 백업 그룹 인덱스(534)를 나타내는 그룹 인덱스(532)를 기초로 리얼 서버 그룹 테이블(560)과 리얼 서버 테이블(520)을 참조하여 리얼 서버 인덱스(522)와 리얼 서버 인덱스(522)에 해당하는 리얼 IP(524)를 검색한다(S322, S324).If the retrieved backup group index 534 exists, the controller refers to the real server group table 560 and the real server table 520 based on the group index 532 indicating the backup group index 534, The real IP 524 corresponding to the server index 522 and the real server index 522 is searched (S322 and S324).
이와 같이 제어부는 가상 IP(544)와 서비스 포트(574), 그룹의 리얼 서버/백업 그룹의 리얼 서버를 이용하여 현재 상태 테이블(580)의 가상 서버 포트 테이블(590)에서 가상 서비스 상태(599)를 파악한다. 제어부는 가상 서비스 상태(599)가 런닝인 서버가 액티브가 되고 블록이거나 값이 없으면 스탠바이 상태가 된다.In this way, the control unit accesses the
본 발명의 실시예는 이상에서 설명한 장치 및/또는 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하기 위한 프로그램, 그 프로그램이 기록된 기록 매체 등을 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다.The embodiments of the present invention are not limited to the above-described apparatuses and / or methods, but may be implemented through a program for realizing functions corresponding to the configuration of the embodiment of the present invention, a recording medium on which the program is recorded And such an embodiment can be easily implemented by those skilled in the art from the description of the embodiments described above.
이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.
전술한 구성에 의하여, 본 발명은 이중화된 시스템에서 발생하는 서버 전환에 대하여 서버의 설정 상태와 현재 상태를 파악할 수 있는 효과를 기대할 수 있다.According to the above-described configuration, the present invention can be expected to have an effect of grasping the setting state and the current state of the server with respect to server switching occurring in the duplicated system.
본 발명은 L4 스위치를 이용하여 L4 스위치의 페어 장비 추출, L4 또는 서버의 마스터, 백업 설정 상태, 액티브 스탠바이 전환 상태를 파악할 수 있는 효과를 기대할 수 있다.The present invention can expect the effect of extracting pair equipment of L4 switch, L4, master of server, backup setting state, and active standby switching state by using L4 switch.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070064273A KR101397656B1 (en) | 2007-06-28 | 2007-06-28 | Method for Managing Duplication of Server Using L4 Switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070064273A KR101397656B1 (en) | 2007-06-28 | 2007-06-28 | Method for Managing Duplication of Server Using L4 Switch |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090000305A KR20090000305A (en) | 2009-01-07 |
KR101397656B1 true KR101397656B1 (en) | 2014-05-26 |
Family
ID=40483511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070064273A KR101397656B1 (en) | 2007-06-28 | 2007-06-28 | Method for Managing Duplication of Server Using L4 Switch |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101397656B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100938738B1 (en) * | 2009-08-13 | 2010-01-26 | 삼성에스디에스 주식회사 | Electronic patch apparatus, network system and operating method in network system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004032758A (en) | 2002-06-23 | 2004-01-29 | Huawei Technologies Co Ltd | Router interface backup execution method by vrrp (virtual router redundancy protocol) |
US20040093416A1 (en) | 2002-11-07 | 2004-05-13 | Thomas David Andrew | Method and system for reestablishing connection information on a switch connected to plural servers in a computer network |
KR20050114568A (en) * | 2004-06-01 | 2005-12-06 | 삼성전자주식회사 | Method and apparatus for state transition backup router in a router redundancy system |
KR100549118B1 (en) | 2004-06-25 | 2006-02-06 | 주식회사 파이오링크 | A load balancing method of network devices by using l4 switch and a load balancing system enabling the method |
-
2007
- 2007-06-28 KR KR1020070064273A patent/KR101397656B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004032758A (en) | 2002-06-23 | 2004-01-29 | Huawei Technologies Co Ltd | Router interface backup execution method by vrrp (virtual router redundancy protocol) |
US20040093416A1 (en) | 2002-11-07 | 2004-05-13 | Thomas David Andrew | Method and system for reestablishing connection information on a switch connected to plural servers in a computer network |
KR20050114568A (en) * | 2004-06-01 | 2005-12-06 | 삼성전자주식회사 | Method and apparatus for state transition backup router in a router redundancy system |
KR100549118B1 (en) | 2004-06-25 | 2006-02-06 | 주식회사 파이오링크 | A load balancing method of network devices by using l4 switch and a load balancing system enabling the method |
Also Published As
Publication number | Publication date |
---|---|
KR20090000305A (en) | 2009-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107454155B (en) | Fault processing method, device and system based on load balancing cluster | |
US6944785B2 (en) | High-availability cluster virtual server system | |
US7848226B2 (en) | Communication system, switch | |
US7055173B1 (en) | Firewall pooling in a network flowswitch | |
US6751191B1 (en) | Load sharing and redundancy scheme | |
KR100831639B1 (en) | Information processing apparatus, communication load decentralizing method, and communication system | |
US20090172151A1 (en) | Dynamic network configuration | |
WO2020031687A1 (en) | Transfer device, transfer system, transfer method, and program | |
US9118595B2 (en) | Graceful failover of a principal link in a fiber-channel fabric | |
US20020016874A1 (en) | Circuit multiplexing method and information relaying apparatus | |
JP5338428B2 (en) | COMMUNICATION DEVICE AND METHOD, COMMUNICATION SYSTEM AND METHOD | |
US8935564B2 (en) | Method for backing up user information and apparatus in standby service node for backing up user information | |
CN104243304B (en) | The data processing method of non-full-mesh topological structure, equipment and system | |
WO2011110134A2 (en) | Method, device and broadband access server system for load share | |
CN117501641A (en) | Passive optical network for utility infrastructure resilience | |
JP3825333B2 (en) | Load distribution method using tag conversion, tag conversion apparatus, and load distribution control apparatus | |
KR101397656B1 (en) | Method for Managing Duplication of Server Using L4 Switch | |
CN114268581B (en) | Method for realizing high availability and load sharing of network equipment | |
US20170078193A1 (en) | Communication system, control apparatus, communication apparatus, and communication method | |
JP5983386B2 (en) | Computer, communication control method, and communication control program | |
JP4579850B2 (en) | Blade type system and connection management method | |
US8972771B2 (en) | Connection control apparatus, storage system, and control method of connection control apparatus | |
JP4133738B2 (en) | High-speed network address takeover method, network device, and program | |
JP2000244526A (en) | Multiplexed network connector system | |
JPH09321804A (en) | Inter network equipment and network system |
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: 20170504 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180503 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20190502 Year of fee payment: 6 |