KR100235884B1 - Method for connecting hard disk and duplexing host in the communication system - Google Patents
Method for connecting hard disk and duplexing host in the communication system Download PDFInfo
- Publication number
- KR100235884B1 KR100235884B1 KR1019970037979A KR19970037979A KR100235884B1 KR 100235884 B1 KR100235884 B1 KR 100235884B1 KR 1019970037979 A KR1019970037979 A KR 1019970037979A KR 19970037979 A KR19970037979 A KR 19970037979A KR 100235884 B1 KR100235884 B1 KR 100235884B1
- Authority
- KR
- South Korea
- Prior art keywords
- host
- hard disk
- code
- state
- access
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0658—Controller construction arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0036—Small computer system interface [SCSI]
Abstract
본 발명은 통신 시스템의 이중화(Duplexing)된 호스트(Host)에 관한 것으로, 특히 동작중(Active)인 호스트에서 대기중(Stand by)인 호스트로 절체되었을 시에 서비스의 중단없이 신속하게 하드 디스크 드라이브(Hard Disk Drive)를 재접속할 수 있도록 한 통신 시스템 내 이중화 호스트의 하드 디스크 접속 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplexed host of a communication system. In particular, the present invention relates to a hard disk drive quickly without interruption of service when switched from an active host to a standby by host. (Hard Disk Drive) The present invention relates to a hard disk access method of a redundant host in a communication system capable of reconnecting a hard disk drive.
본 발명에 의해 이중화된 호스트에서 DAD인 하드 디스크를 접속해서 사용하는 경우에 주기적으로 자신 상태와 상대 상태를 파악하여 대기 중에서 동작 상태로 전환된 호스트의 하드 디스크를 리마운팅함으로 호스트 절체 시에 하드 디스크를 재접속하고 NVRAM의 록 여부와 DPRAM의 엑세스 코드를 사용하여 하드 디스크 동시 접속 방지하며, 호스트의 SCSI 식별 번호 구분과 호스트 상태에 따라 호스트 SCSI 버스를 리셋팅함으로 하드 디스크를 접속하며, 호스트의 상태, NVRAM의 록 코드, DPRAM의 억세스 코드에 따라 롬에서 하드 디스크를 접속하며, 호스트 상태에 따라 VNRAM에 언록 코드를 기록함으로 램에서 하드 디스크를 접속하므로서, 이중화된 호스트가 절체되었을 때 신속한 하드 디스크의 재접속을 통해 통신 시스템에서 서비스의 중단없이 정상적인 서비스를 진행할 수 있으므로 통신 시스템의 신뢰성과 효율을 향상시킬 수 있다.In the case of accessing and using a hard disk as a DAD in a redundant host according to the present invention, by periodically recognizing its own state and relative state and remounting the hard disk of the host which has been switched from the standby state to the operating state, the hard disk at the time of host switching Reconnect the disk and prevent access to the hard disk at the same time by using NVRAM lock and DPRAM access code.Connect the hard disk by resetting the host SCSI bus according to the SCSI identification number classification and host status of the host. The hard disk is accessed from the ROM according to the NVRAM lock code and the DPRAM access code, and the hard disk is accessed from RAM by writing the unlock code to the VNRAM according to the host status. Normal service without interruption of service in the communication system through It can proceed to improve the reliability and efficiency of the communication system.
Description
본 발명은 통신 시스템의 이중화(Duplexing)된 호스트(Host)에 관한 것으로, 특히 동작중(Active)인 호스트에서 대기중(Stand by)인 호스트로 절체되었을 시에 서비스의 중단없이 신속하게 하드 디스크 드라이브(Hard Disk Drive)를 재접속할 수 있도록 한 통신 시스템 내 이중화 호스트의 하드 디스크 접속 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplexed host of a communication system. In particular, the present invention relates to a hard disk drive quickly without interruption of service when switched from an active host to a standby by host. (Hard Disk Drive) The present invention relates to a hard disk access method of a redundant host in a communication system capable of reconnecting a hard disk drive.
일반적으로, 통신 시스템에 있어서 MPU(Main Processor Unit)인 호스트 보드를 DAD(Direct Access Device)인 하드 디스크 드라이브에 접속하는 경우에 해당 호스트는 서비스의 중단을 방지하기 위하여 동작중인 호스트와 대기중인 호스트로 이중화되어 있는데, 즉 해당 동작중인 호스트가 서비스를 하는 도중에 장애가 발생하였을 때 해당 동작중인 호스트를 서비스 중단시키고 해당 대기중인 호스트를 가동시켜 해당 동작중인 호스트의 장애를 점검하고 수리할 수 있게 함으므로써, 해당 호스트에 장애가 발생되더라도 다른 호스트로 절체하여 계속적인 서비스를 제공할 수 있게 된다.In general, when a host board, which is a main processor unit (MPU), is connected to a hard disk drive that is a direct access device (DAD) in a communication system, the host is a running host and a waiting host to prevent service interruption. Redundant, that is, when a live host fails, the host can be stopped and the host can be started to check and repair the failed host. Even if a host fails, it can be transferred to another host to provide continuous service.
그런데, 해당 동작중인 호스트에 서비스 장애가 발생한 경우에 가동을 중지하고 해당 대기중인 호스트로 절체하는 동작 수행에 있어 다소 시간이 걸리는데, 해당 대기중인 호스트가 정상적인 동작을 수행하기 위해서는 약간의 시간 동안 서비스의 중단이 발생하는 단점이 있었다.However, when a service failure occurs in the operating host, it takes some time to stop the operation and switch to the waiting host. In order for the waiting host to perform its normal operation, the service is interrupted for some time. There was a disadvantage of this occurring.
상술한 바와 같이 이중화된 호스트의 절체 시에 발생되는 단점을 해결하기 위해, 본 발명은 통신 시스템 내 이중화된 호스트에서 하드 디스크 드라이브를 접속하는 경우에 동작중인 호스트에 에러가 발생해 대기중인 호스트로 절체할 시 서비스의 중단없이 해당 하드 디스크 드라이브를 신속하게 재접속하여 정상적인 서비스를 수행함으로 통신 시스템의 신뢰성 및 효율을 향상시키는 것을 목적으로 한다.As described above, in order to solve the disadvantage that occurs when the redundant host is switched, the present invention, when a hard disk drive is connected to the redundant host in the communication system, an error occurs in the operating host and is transferred to the waiting host. It aims to improve the reliability and efficiency of the communication system by quickly reconnecting the hard disk drive to perform normal service without interrupting service.
도 1은 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 장치의 하드웨어적인 구성을 나타낸 블록도.1 is a block diagram showing a hardware configuration of a hard disk access device of a redundant host in a communication system according to an embodiment of the present invention.
도 2는 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 장치의 소프트웨어적인 구성을 나타낸 블록도.2 is a block diagram showing a software configuration of a hard disk access device of a redundant host in a communication system according to an embodiment of the present invention.
도 3은 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 방법을 나타낸 플로우챠트.3 is a flowchart illustrating a hard disk access method of a redundant host in a communication system according to an embodiment of the present invention.
도 4는 도 3에 있어 롬 처리부에서의 호스트 이중화에 따른 하드 디스크 접속 동작을 나타낸 플로우챠트.FIG. 4 is a flowchart illustrating a hard disk access operation in accordance with host duplication in the ROM processing unit in FIG. 3. FIG.
도 5는 도 3에 있어 하드 디스트 접속부에서의 호스트 이중화에 따른 하드 디스크 접속 동작을 나타낸 플로우챠트.FIG. 5 is a flowchart showing a hard disk connection operation according to host duplication at the hard disk connection unit in FIG. 3; FIG.
도 6은 도 3에 있어 램 처리부에서의 호스트 이중화에 따른 하드 디스크 접속 동작을 나타낸 플로우챠트.FIG. 6 is a flowchart illustrating a hard disk connection operation according to host duplication in the RAM processing unit in FIG. 3. FIG.
도 7은 도 3에 있어 타이머 처리부에서의 호스트 절체 시에 하드 디스크 재접속 및 동시 접속 방지 동작을 나타낸 플로우챠트.FIG. 7 is a flowchart showing hard disk reconnection and simultaneous connection prevention operation during host switching by the timer processor in FIG. 3; FIG.
* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10, 20 : 호스트 11, 21 : NVRAM(Nonvolatile RAM)10, 20:
12, 22 : DPRAM(Dual Port Memory)12, 22: DPRAM (Dual Port Memory)
13, 23 : SCSI부(Small Computer System Interface Unit)13, 23: SCSI (Small Computer System Interface Unit)
14 : CPU14: CPU
30 : RDC(RAID(Redundaunt Array of Independent Disks) Disks Controller)30: RDC (Redundaunt Array of Independent Disks) Disks Controller
40 : 하드 디스크 접속부 50 : 롬 처리부40: hard disk connection unit 50: ROM processing unit
60 : 램 처리부 70 : 타이머 처리부60: RAM processing unit 70: Timer processing unit
상기와 같은 목적을 달성하기 위한 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 방법은 롬 처리의 동작을 수행한 후에 램 처리의 동작을 수행하여 동작 중인 호스트와 하드 디스크의 접속 동작을 수행시킴과 동시에, 대기 중인 호스트와 하드 디스크의 재접속 및 동시 접속 방지 동작을 수행시키는 것을 특징으로 한다.In order to achieve the above object, a method of accessing a hard disk of a redundant host in a communication system according to an exemplary embodiment of the present invention provides a connection operation between a host and a hard disk in operation by performing a RAM process after performing an ROM process. At the same time, the re-connecting and simultaneous access prevention operations of the standby host and the hard disk are performed.
그리고, 상기 롬 처리 동작은 자신의 상태가 상기 동작 중인 호스트인지를 확인하는 제1과정과; 자신의 상태가 상기 동작 중인 호스트이면 록 코드를 기록하고 상기 대기 중인 호스트와 하드 디스크의 접속 방지 동작을 수행시키는 제2과정과; 자신의 상태가 상기 동작 중인 호스트가 아니면 DPRAM 코드가 억세스 인에이블되는지를 확인하는 제3과정과; 상기 대기 중인 호스트와 하드 디스크의 접속 방지 동작을 수행시킨 후 또는 상기 DPRAM 코드가 억세스 인에이블되면 상기 동작 중인 호스트와 하드 디스크의 접속 동작을 수행시키는 제4과정을 포함하여 이루어진 것을 특징으로 하며, 상기 램 처리 동작은 상기 롬 처리 동작을 수행시킨 후에 자신의 상태가 상기 동작 중인 호스트인지를 확인하는 제5과정과; 자신의 상태가 상기 동작 중인 호스트이면 언록 코드를 기록하고 상기 대기 중인 호스트와 하드 디스크의 재접속 동작을 수행시키는 제6과정을 포함하여 이루어진 것을 특징으로 하며, 상기 동작 중인 호스트와 하드 디스크의 접속 동작은 상기 호스트가 실장된 마스터 및 슬레이브 위치에 따라 SCSI 식별 번호를 구분하여 타켓에 접속시켜 자신의 상태가 동작 중일 때만 SCSI 버스를 리셋시키는 제7과정과; 디스크 드라이버, 디스크 버퍼 캐쉬 및 볼륨을 각각 순서대로 마운팅시키는 제8과정을 포함하여 이루어진 것을 특징으로 하며, 상기 대기 중인 호스트와 하드 디스크의 재접속 및 동시 접속 방지 동작은 상기 호스트의 상태 전이를 파악하고 대기 상태에서 동작 상태로 전환하는 호스트에서 볼륨만을 디스마운팅하고 다시 마운팅하여 하드 디스크를 리마운팅시키는 제9과정과; 자신의 상태가 동작 중인 호스트인지를 확인하여 상기 록 코드가 기록되어 있는지를 확인하는 제10과정과; 상기 언록 코드가 기록되어 있으면 억세스 인에이블 코드를 기록하여 상기 대기 중인 호스트를 하드 디스크에 접속시키는 제11과정과; 상기 록 코드가 기록되어 있으면 억세스 디스에이블 코드를 기록하여 대기 중인 호스트가 하드 디스크에 접속되는 것을 방지하는 제12과정을 포함하여 이루어진 것을 특징으로 한다.The ROM processing operation may include: a first process of checking whether a state of the ROM is a host in operation; A second step of recording a lock code and performing a connection prevention operation between the waiting host and a hard disk if its status is the active host; A third step of checking whether a DPRAM code is access enabled if its state is not the operating host; And performing a connection preventing operation between the standby host and the hard disk or performing a connection operation between the operating host and the hard disk when the DPRAM code is accessed. The RAM processing operation may include: a fifth process of checking whether a state of the host is the operating host after the ROM processing operation is performed; And a sixth step of recording an unlock code and performing a reconnection of the standby host and the hard disk when its state is the operating host. The connection operation of the operating host and the hard disk is performed. A seventh step of resetting the SCSI bus only when its state is in operation by classifying the SCSI identification numbers according to the mounted master and slave positions of the host to a target; And an eighth process of mounting the disk driver, the disk buffer cache, and the volumes in order, respectively. The operation of preventing reconnection and simultaneous access between the waiting host and the hard disk is performed by detecting a state transition of the host and waiting. A ninth process of dismounting and remounting only the volume in the host transitioning from the state to the operating state to remount the hard disk; A tenth step of checking whether the lock code is recorded by checking whether the state of the host is an operating host; An eleventh step of accessing the waiting host to a hard disk by recording an access enable code if the unlock code is recorded; And if the lock code is recorded, writing an access disable code to prevent the waiting host from being connected to the hard disk.
이하 첨부된 도면을 참고하여 다음과 같이 설명한다.Hereinafter, with reference to the accompanying drawings will be described as follows.
도 1은 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 장치의 하드웨어적인 구성을 나타낸 블록도이고, 도 2는 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 장치의 소프트웨어적인 구성을 나타낸 블록도이고, 도 3은 본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 방법을 나타낸 플로우챠트이고, 도 4는 도 3에 있어 롬 처리부에서의 호스트 이중화에 따른 하드 디스크 접속 동작을 나타낸 플로우챠트이고, 도 5는 도 3에 있어 하드 디스트 접속부에서의 호스트 이중화에 따른 하드 디스크 접속 동작을 나타낸 플로우챠트이고, 도 6은 도 3에 있어 램 처리부에서의 호스트 이중화에 따른 하드 디스크 접속 동작을 나타낸 플로우챠트이고, 도 7은 도 3에 있어 타이머 처리부에서의 호스트 절체 시에 하드 디스크 재접속 및 동시 접속 방지 동작을 나타낸 플로우챠트이다.1 is a block diagram illustrating a hardware configuration of a hard disk access device of a redundant host in a communication system according to an embodiment of the present invention, and FIG. 2 is a hard disk access device of a redundant host in a communication system according to an embodiment of the present invention. Figure 3 is a block diagram showing the software configuration of Figure 3 is a flow chart illustrating a hard disk access method of a redundant host in a communication system according to an embodiment of the present invention, Figure 4 is a host redundancy in the ROM processing unit in FIG. 5 is a flowchart illustrating a hard disk connection operation, FIG. 5 is a flowchart illustrating a hard disk connection operation according to host duplication at a hard disk connection unit in FIG. 3, and FIG. 6 is a host duplication at a RAM processing unit in FIG. 3. 7 is a flowchart illustrating a hard disk connection operation according to the present invention, and FIG. 7 is a timer process in FIG. 3. This is a flowchart showing hard disk reconnection and simultaneous connection prevention operations when a host is switched in a remote.
본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 장치는 크게 하드웨어적인 구성과 소프트웨어적인 구성으로 나눌 수가 있는데, 먼저 하드웨어적인 구성으로는 도 1에 도시된 바와 같이, 이중화된 제1호스트(10) 및 제2호스트(20)와, RDC(RAID Disks Controller; 30)를 포함하여 이루어진다.An apparatus for accessing a hard disk of a redundant host in a communication system according to an embodiment of the present invention can be roughly divided into a hardware configuration and a software configuration. As shown in FIG. 1, the first configuration is a redundant host. 10 and the
상기 제1호스트(10)와 제2호스트(20)는 NVRAM(Nonvolatile RAM; 11, 21)과, DPRAM(Dual Port Memory; 12, 22)과, SCSI부(Small Computer System Interface Unit; 13, 23)와, CPU(14)를 각각 포함하여 이루어진다. 여기서, 상기 NVRAM(11, 21)은 상기 호스트(10, 20) 중 대기 중인 호스트가 하드 디스크를 접속하지 못 하도록 록(Lock) 기능을 수행한다. 상기 DPRAM(12, 22)은 데이타 버스(D-Bus)를 이용하여 상기 호스트(10, 20) 중 동작 중인 호스트와 대기중인 호스트 간의 이중화 정보와 하드 디스크 억세스 인에이블 및 디스에이블 정보를 전달시키는 기능을 수행한다. 상기 SCSI부(13, 23)는 동일한 하나의 호스트 SCSI 버스 상에 연결되며, 상기 호스트(10, 20)의 실장 위치에 따라 독립된 SCSI 식별 번호를 가지게 하는데, 상기 호스트(10, 20) 중 동작 중인 호스트인 경우에 식별 번호는 제1SCSI 식별 번호(SCSI ID7)이고 대기 중인 호스트인 경우에 식별 번호는 제2SCSI 식별 번호(SCSI ID6)를 가진다. 상기 CPU(14)는 상술한 모든 동작을 제어 처리한다.The
그리고, 상기 RDC(30)는 호스트 SCSI 버스를 통해 상기 호스트(10, 20)와 데이타를 주고받고 타켓(Target) SCSI 버스를 통해 하드 디스크와 데이타를 주고받는데, 데이타 미러링(Mirroring), 데이타 스트리핑(Striping)을 통한 해당 하드 디스크를 이중화시키는 기능을 수행한다. 여기서, 상기 호스트 SCSI 버스와 타켓 SCSI 버스는 SCSI 2 방식으로 동기화(Asyncronous)되어 동작하고 송신률(Tansfer Rate)는 초 당 5(MByte)이고 8(비트)의 데이타 버스와 1패리티 비트로 이루어져 있다.In addition, the RDC 30 exchanges data with the
두 번째로, 소프트웨어적인 구성으로는 도 2에 도시된 바와 같이, 소프트웨어적인 구성으로는 상기 호스트(10, 20)와 하드 디스크 간의 접속을 제어하는 하드 디스크 접속부(40)와, 롬에서의 상기 호스트(10, 20)와 하드 디스크 간 이중화 접속을 제어하는 롬 처리부(50)와, 램에서의 상기 호스트(10, 20)와 하드 디스크 간 이중화 접속을 제어하는 램 처리부(60)와, 오퍼레이팅 시스템(Operating System)의 RTC(Real Time Clock)로 사용하는 10(msec) 주기의 태스크 모듈(Task Module)로서 상기 호스트(10, 20)의 절체 시에 하드 디스크의 재접속 및 동시 접속을 방지하도록 제어하는 타이머 처리부(70)를 포함하여 이루어진다.Secondly, as shown in FIG. 2 in the software configuration, the hard
본 발명의 실시예에 따른 통신 시스템 내 이중화 호스트의 하드 디스크 접속 방법을 다음과 같이 살펴 본다.A method of accessing a hard disk of a redundant host in a communication system according to an embodiment of the present invention will be described as follows.
롬의 부팅 시에 하드 디스크를 접속하여 하드 디스크 내의 부팅 파일을 램에 로딩한 후에 램 부팅하는 과정을 거치기 때문에 롬 처리부(50)와 램 처리부(60)로 구분된다. 즉, 도 3의 플로우챠트에 도시된 바와 같이, 해당 롬 처리부(50)에서 롬 처리 동작을 수행한 다음에(단계 S1), 해당 램 처리부(60)에서 램 처리 동작을 수행함(단계 S2)과 동시에 타이머 처리부(70)에서 호스트(10, 20)의 절체시에 하드 디스크 재접속 및 동시 접속을 방지하는 동작을 수행한다(단계 S3).The ROM is divided into a
그러면, 첫 번째로 도 4의 플로우챠트에 도시된 바와 같이, 상기 롬 처리부(50)에서의 상기 제1단계(S1)인 롬 처리 동작은 먼저 자신 상태가 동작 중인 상태인 호스트인지를 체크한다. 여기서, 하기부터 설명의 편의상으로 예를 들어 제1호스트(10)를 동작 중인 호스트라고 가정하고 제2호스트(20)를 대기 중인 호스트라고 가정하여 설명한다.First, as shown in the flowchart of FIG. 4, the ROM processing operation of the first step S1 in the
그런데, 이중화된 두 호스트(10, 20)는 웜 및 콜드 스타트(Warm/Cold Start) 시에 롬 부팅으로부터 처리되게 된다. 해당 제1호스트(10)와 제2호스트(20) 둘 모두가 하드 디스크 접속부(40)를 실행시키려 하게 되면 호스트 SCSI 버스의 비지 상태(Busy State)가 발생되므로, 하드 디스크 접속부(40)를 실행시키기 전에 자신의 상태가 제1호스트(10)인지 아니면 제2호스트(20)인지를 확인한다(단계 T1).However, the two
이 때, 자신의 상태가 동작 중인 제1호스트(10)이면, 상기 롬 처리부(50)는 NVRAM(11)에 록 코드(Lock Code)를 기록하며(단계 T2), 해당 록 코드를 기록함으로서 상기 타이머 처리부(70)에서의 상기 제3단계(S3)인 대기중인 제2호스트(20)의 하드 디스크 접속을 방지시키는 동작을 수행하게 한다(단계 T3).At this time, if its state is the
한편, 자신의 상태가 대기 중인 제2호스트(20)이면, 상기 롬 처리부(50)는 상기 타이머 처리부(70)에 기록된 DPRAM 코드가 억세스 인에이블(Access Enable)되었는지를 확인한다(단계 T4).On the other hand, if the state of the
이에, 상기 DPRAM 코드가 엑세스 인에이블되지 않았다면 계속해서 자신의 상태가 제1호스트(10)인지 아니면 제2호스트(20)인지를 확인하며, 상기 DPRAM 코드가 엑세스 인에이블되었거나 상기 타이머 처리부(70)에서의 상기 제3단계(S3)인 대기중인 제2호스트(20)의 하드 디스크 접속을 방지시키는 동작을 수행하였다면 상기 하드 디스크 접속부(40)에서의 하드 디스크 접속 동작을 수행하도록 한다(단계 T5).Accordingly, if the DPRAM code is not accessible, the controller continuously checks whether its state is the
두 번째로, 도 5의 플로우챠트에 도시된 바와 같이, 상기 하드 디스크 접속부(40)에서의 하드 디스크 접속 동작은 다음과 같다.Secondly, as shown in the flowchart of FIG. 5, the hard disk connecting operation in the hard
상기 이중화된 호스트(10, 20)가 동일한 호스트 SCSI 버스 상에 존재하기 때문에 상기 호스트(10, 20)의 실장 위치에 따라 독립된 SCSI 식별 번호를 가지게 되는데, 즉 해당 호스트(10, 20)가 실장된 마스터 및 슬레이브 위치에 따라 SCSI 식별 번호를 구분하여 타켓 SCSI 버스에 접속하게 된다(단계 T6).Since the
이 때, 상기 호스트(10, 20)가 모두 SCSI 식별 번호를 리셋시키는 경우에 상기 제2호스트(20)의 버스 리셋에 의해 상기 제1호스트(10)가 영향을 받기 때문에, 자신의 상태가 동작 중일 때만 SCSI 버스를 리셋시킨다(단계 T7).At this time, when both the
그리고, 상기 하드 디스크 접속부(70)는 디스크 드라이버를 마운팅(Mounting)하고(단계 T8) 디스크 버퍼 캐쉬를 마운팅한 다음(단계 T9), 볼륨(File Manager)을 마운팅한다(단계 T10).The
세 번째로, 도 6의 플로우챠트에 도시된 바와 같이, 상기 램 처리부(60)에서의 램 처리 동작은 먼저 상기 롬 처리부(50)에서의 상기 제1단계(S1)인 롬 처리 동작을 수행하도록 한다(단계 T11).Third, as illustrated in the flowchart of FIG. 6, the RAM processing operation of the
그리고, 상기 램 처리부(60)는 자신의 상태가 동작 중인 호스트인지 아니면 대기중인 호스트인지를 확인하는데(단계 T12), 이 때 자신의 상태가 대기 중인 호스트이면 그대로 종료하며, 자신의 상태가 동작 중인 호스트이면 상기 NVRAM(11, 21)에 언록 코드(Unlock Code)를 기록하며(단계 T13), 해당 언록 코드를 기록함으로서 상기 타이머 처리부(70)에서의 대기 중인 호스트를 하드 디스크에 재접속 동작을 수행하도록 한다(단계 T14).Then, the
네 번째로, 도 7의 플로우챠트에 도시된 바와 같이, 상기 타이머 처리부(70)에서의 상기 호스트(10, 20)의 이중화 동작과 상기 호스트(10, 20)의 절체 시에 대기중인 호스트와 하드 디스크의 재접속 동작과 하드 디스크의 동시 접속 방지 동작은 다음과 같다.Fourth, as shown in the flowchart of FIG. 7, a host and a hard disk are waiting for the redundancy operation of the
상기 타이머 처리부(70)는 상기 호스트(10, 20)의 이중화 동작을 수행하다가 동작중인 호스트에서 대기중인 호스트로 절체가 발생한 경우, 상기 호스트(10, 20)의 상태 전이를 파악하며(단계 T15), 대기중인 호스트에서 동작 상태로 전환하는 호스트는 우선적으로 하드 디스크를 리마운팅(Remounting)시킨다(단계 T16).When the
그런데, 종래에는 하드 디스크의 디스마운팅(Dismounting) 과정은 상기 하드 디스크 접속부(40)에서의 하드 디스크 접속 동작 과정의 역순으로 진행되는데, 즉 볼륨을 디스마운팅하고 디스크 버퍼 캐쉬를 디스마운팅한 다음에 디스크 드라이버를 디스마운팅하였었다.However, in the related art, the dismounting process of the hard disk proceeds in the reverse order of the hard disk access operation in the hard
그러나, 상기 타이머 처리부(70)에서의 리마운팅은 볼륨만을 디스마운팅하고 다시 마운팅함으로서 대기중인 호스트가 하드 디스크를 접속하는 시간을 단축시킬 수 있다.However, the remounting in the
그리고, 자신의 상태가 동작 중인 호스트인지 아니면 대기중인 호스트인지를 확인하는데(단계 T17), 이 때 자신의 상태가 동작 중인 호스트이면 상기 NVRAM(11, 21)에 기록된 코드가 록 코드인지 아니면 언록 코드인지를 체크한다(단계 T18).Then, it is checked whether its own state is an operating host or a waiting host (step T17). At this time, if the own state is an active host, the code recorded in the
이에, 상기 NVRAM(11, 21)에 기록된 코드가 언록 코드인 경우에는 DPRAM(12, 22)에 억세스 인에이블 코드를 기록하며(단계 T19), 해당 억세스 인에이블 코드를 기록함으로서 대기 중인 호스트가 하드 디스크와의 접속 동작을 수행하도록 한다(단계 T20).When the code recorded in the
한편, 상기 NVRAM(11, 21)에 기록된 코드가 록 코드인 경우에는 상기 DPRAM(12, 22)에 억세스 디스에이블 코드를 기록하며(단계 T21), 해당 억세스 인에이블 코드를 기록함으로서 대기 중인 호스트의 하드 디스크 접속 방지 동작을 수행한다(단계 T22).On the other hand, if the code recorded in the
이상과 같이, 본 발명에 의해 이중화된 호스트에서 DAD인 하드 디스크를 접속해서 사용하는 경우에 주기적으로 자신 상태와 상대 상태를 파악하여 대기 중에서 동작 상태로 전환된 호스트의 하드 디스크를 리마운팅함으로 호스트 절체 시에 하드 디스크를 재접속하고 NVRAM의 록 여부와 DPRAM의 엑세스 코드를 사용하여 하드 디스크 동시 접속 방지하며, 호스트의 SCSI 식별 번호 구분과 호스트 상태에 따라 호스트 SCSI 버스를 리셋팅함으로 하드 디스크를 접속하며, 호스트의 상태, NVRAM의 록 코드, DPRAM의 억세스 코드에 따라 롬에서 하드 디스크를 접속하며, 호스트 상태에 따라 VNRAM에 언록 코드를 기록함으로 램에서 하드 디스크를 접속하므로서, 이중화된 호스트가 절체되었을 때 신속한 하드 디스크의 재접속을 통해 통신 시스템에서 서비스의 중단없이 정상적인 서비스를 진행할 수 있으므로 통신 시스템의 신뢰성과 효율을 향상시킬 수 있다.As described above, when the DAD hard disk is connected to and used by the present invention, the host is transferred by remounting the hard disk of the host which has been switched from the standby state to its own state and the relative state periodically. Reconnect the hard disk at the same time, prevent access to the hard disk simultaneously by using NVRAM lock and DPRAM access code, and connect the hard disk by resetting the host SCSI bus according to the host's SCSI identification number classification and host status. The hard disk is accessed from ROM according to the host status, NVRAM lock code, and DPRAM access code, and the hard disk is accessed from RAM by writing the unlock code to VNRAM according to the host status. By reconnecting the hard disk, the communication system can We can proceed with the service it is possible to improve the reliability and efficiency of the communication system.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970037979A KR100235884B1 (en) | 1997-08-08 | 1997-08-08 | Method for connecting hard disk and duplexing host in the communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970037979A KR100235884B1 (en) | 1997-08-08 | 1997-08-08 | Method for connecting hard disk and duplexing host in the communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990015707A KR19990015707A (en) | 1999-03-05 |
KR100235884B1 true KR100235884B1 (en) | 1999-12-15 |
Family
ID=19517138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970037979A KR100235884B1 (en) | 1997-08-08 | 1997-08-08 | Method for connecting hard disk and duplexing host in the communication system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100235884B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100438555B1 (en) * | 2001-12-05 | 2004-07-03 | 엘지전자 주식회사 | Dual processor system using a hard disk and control method thereof |
-
1997
- 1997-08-08 KR KR1019970037979A patent/KR100235884B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19990015707A (en) | 1999-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7941693B2 (en) | Disk array apparatus and method for controlling the same | |
US5740397A (en) | IDE disk drive adapter for computer backup and fault tolerance | |
EP0772127B1 (en) | Controller failure recovery for an Input/Output device | |
US6708283B1 (en) | System and method for operating a system with redundant peripheral bus controllers | |
JP3151008B2 (en) | Disk sector analysis method | |
US6279078B1 (en) | Apparatus and method for synchronizing a cache mode in a dual controller, dual cache memory system operating in a plurality of cache modes | |
US6425049B1 (en) | Disk array system and method of changing the configuration of the disk array system | |
US6009535A (en) | SCSI adaptor failover for a disk drive system | |
US7216258B2 (en) | Method and apparatus for recovering from a non-fatal fault during background operations | |
JP3136036B2 (en) | Control method of disk controller | |
US5829019A (en) | Computer network server backup with posted write cache disk controllers | |
US20040078663A1 (en) | Information processing system and disk control method used in the same | |
US7870417B2 (en) | Apparatus, system, and method for adapter card failover | |
US20110185268A1 (en) | Storage apparatus and data verification methd in storage apparatus | |
GB2375633A (en) | Redundant controller data storage system having hot insertion system and method | |
KR20000045794A (en) | Method for reconnection when error of scsi bus | |
US20010016919A1 (en) | Storage system | |
US6389559B1 (en) | Controller fail-over without device bring-up | |
US20120331199A1 (en) | Computer system, host-bus-adaptor control method, and program thereof | |
US7209982B2 (en) | Electronic apparatus including plural processors | |
US20020078276A1 (en) | RAID controller with IDE interfaces | |
KR100235884B1 (en) | Method for connecting hard disk and duplexing host in the communication system | |
JP3050148B2 (en) | Duplex information processing device | |
JP3783560B2 (en) | Information processing system | |
JP2002304331A (en) | Device and method for controlling redundant pass |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |