KR100304362B1 - A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals - Google Patents

A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals Download PDF

Info

Publication number
KR100304362B1
KR100304362B1 KR1019980050020A KR19980050020A KR100304362B1 KR 100304362 B1 KR100304362 B1 KR 100304362B1 KR 1019980050020 A KR1019980050020 A KR 1019980050020A KR 19980050020 A KR19980050020 A KR 19980050020A KR 100304362 B1 KR100304362 B1 KR 100304362B1
Authority
KR
South Korea
Prior art keywords
scsi
failure
failure detection
message
interrupt
Prior art date
Application number
KR1019980050020A
Other languages
Korean (ko)
Other versions
KR20000033245A (en
Inventor
이은향
임동선
이형호
Original Assignee
오길록
한국전자통신연구원
이계철
한국전기통신공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 오길록, 한국전자통신연구원, 이계철, 한국전기통신공사 filed Critical 오길록
Priority to KR1019980050020A priority Critical patent/KR100304362B1/en
Publication of KR20000033245A publication Critical patent/KR20000033245A/en
Application granted granted Critical
Publication of KR100304362B1 publication Critical patent/KR100304362B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0772Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0036Small computer system interface [SCSI]

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 SCSI 장치의 실시간 장애 검출 장치 및 그 방법에 관한 것임.The present invention relates to a real-time failure detection apparatus and method of a SCSI device.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은 SCSI 장치가 장애 발생 신호를 갖는 경우에 SCSI 장애 정보를 실시간으로 검출하여 사용자에게 알려주기 위한 실시간 장애 검출 장치 및 그 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있음.The present invention provides a real-time failure detection device for detecting and reporting SCSI failure information in real time when a SCSI device has a failure signal and a method thereof and a computer-readable recording medium recording a program for realizing the method. To provide the purpose.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, SCSI 장치의 장애 검출을 위해 초기화 작업을 수행하는 제 1 단계; 장애 발생 메시지를 수신하기 위해 대기하는 제 2 단계; SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 3 단계; SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하여 인터럽트에 따른 처리를 한 후에 SCSI 장애 발생을 알리는 제 4 단계; 및 SCSI 장애 종류를 판별하여 장애 종류에 따른 메시지를 사용자에게 출력하는 제 5 단계를 포함한다.The present invention includes a first step of performing an initialization operation for detecting a failure of a SCSI device; A second step of waiting to receive a failure message; A third step of waiting for detecting a hardware interrupt in response to a failure signal from the SCSI device; A fourth step of detecting a hardware interrupt according to a failure occurrence signal from the SCSI device and notifying the occurrence of a SCSI failure after processing according to the interrupt; And a fifth step of determining a SCSI failure type and outputting a message according to the failure type to a user.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 SCSI 장치 등에 이용됨.The invention is used in SCSI devices and the like.

Description

장애 발생 신호를 갖는 에스씨에스아이 장치의 실시간 장애 검출 장치 및 그 방법 {A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals}A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals}

본 발명은 장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치에서 발생하는 장애 발생 정보를 실시간으로 검출하는 실시간 장애 검출 장치 및 그 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention provides a real-time fault detection apparatus for detecting fault occurrence information occurring in a small computer system interface (SCSI) device having a fault occurrence signal, a method thereof, and a computer-readable recording program recording a program for realizing the method. It is about the medium.

일반적으로, 장애 발생 신호가 없는 일반적인 디스크와 같은 SCSI 장치들에 대한 SCSI 케이블 탈장이나 전원 꺼짐과 같은 장애 발생을 그 장치를 제어하는 파일 시스템(장애 검출 장치)에서 실시간으로 검출하는 것은 거의 불가능하다. 그래서, 유닉스(UNIX)와 같은 범용 운영체제의 파일 시스템에서는 SCSI 장치에 대한 실시간 장애 검출을 하지 않는다.In general, it is almost impossible to detect in real time the file system (failure detection device) that controls a device such as a SCSI cable hernia or a power off for a SCSI device such as a disk without a fault signal. Thus, file systems in general-purpose operating systems such as UNIX do not detect real-time failures for SCSI devices.

따라서, 유닉스와 같은 종래의 범용 운영체제의 파일 시스템은 SCSI 장치에대한 실시간 장애 검출 기능이 없음으로, 만약 장애 발생 신호를 갖는 SCSI 장치를 구비한다고 하더라도 그 장치에 대해 실시간으로 장애 검출을 할 수 없는 문제점이 있었다.Therefore, the file system of a conventional general-purpose operating system such as Unix does not have a real-time fault detection function for a SCSI device, so even if a SCSI device having a fault signal is provided, the fault cannot be detected in real time for the device. There was this.

따라서, 장애 발생 신호가 있더라도 이를 검출하는 기능이 없는 종래의 운영체제의 파일 시스템을 사용하는 사용자는 SCSI 장치에서 장애가 발생하더라도 즉각 그 이유를 알지 못해 신속하게 적절한 처리를 할 수 없는 문제점이 있었다.Therefore, a user using a file system of a conventional operating system that does not have a function of detecting a failure signal, even if a failure occurs in a SCSI device, does not immediately know the reason and may not be able to quickly perform an appropriate process.

그런데, 교환 시스템의 과금 정보와 같은 중요한 자료를 SCSI 장치에 기록하는 경우에는, SCSI 장치의 장애를 실시간으로 탐지하여 신속한 조치를 취하기 위하여, SCSI 장치의 장애 여부를 실시간으로 알 수 있는 기능이 필수적으로 요구되고 있다.However, in the case of recording important data such as billing information of the switching system on the SCSI device, in order to detect the failure of the SCSI device in real time and take a quick action, a function that can know the failure of the SCSI device in real time is essential. It is required.

상기 문제점을 해결하기 위하여 안출된 본 발명은, 교환 시스템의 과금 정보 등과 같은 중요한 자료를 디스크와 같은 SCSI 장치에 기록하고, 그 SCSI 장치가 장애 발생 신호를 갖는 경우에 SCSI 장애 정보를 실시간으로 검출하여 사용자에게 알려줌으로써 장애가 발생한 SCSI 장치에 대해 사용자가 신속하게 조치를 취할 수 있도록 하기 위한 실시간 장애 검출 장치 및 그 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention records important data such as billing information of a switching system in a SCSI device such as a disk, and detects SCSI failure information in real time when the SCSI device has a failure signal. To provide a real-time failure detection device and a computer-readable recording medium recording a program for realizing the method and a real-time failure detection device to notify the user to quickly take action on a failed SCSI device. There is this.

도 1 은 본 발명이 적용되는 하드웨어 시스템의 구성예시도.1 is an exemplary configuration diagram of a hardware system to which the present invention is applied.

도 2 는 본 발명에 따른 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 장치의 일실시예 구성도.2 is a block diagram of an embodiment of a real-time failure detection apparatus of a SCSI device having a failure occurrence signal according to the present invention.

도 3 은 본 발명에 따른 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법에 대한 일실시예 흐름도.3 is a flow diagram of an embodiment of a real-time failure detection method of a SCSI device having a failure occurrence signal in accordance with the present invention.

도 4 는 본 발명에 따른 초기화 처리부에서의 상세 처리 흐름도.4 is a detailed processing flowchart of the initialization processing unit according to the present invention;

도 5 는 본 발명에 따른 SCSI 장애 검출부에서의 상세 처리 흐름도.5 is a detailed processing flowchart of the SCSI failure detection unit according to the present invention.

도 6 은 본 발명에 따른 SCSI 명령어 처리부에서의 상세 처리 흐름도.6 is a detailed processing flowchart of the SCSI command processing unit according to the present invention.

도 7 은 본 발명에 따른 SCSI 장애 감지 인터럽트 처리부에서의 상세 처리 흐름도.7 is a detailed processing flowchart of the SCSI failure detection interrupt processing unit according to the present invention.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

1 : 운용 보전 프로세서 2 : SCSI 케이블1: operational preservation processor 2: SCSI cable

3 : 장애 발생 신호를 갖는 SCSI 장치 4 : 호처리 프로세서3: SCSI device with fault signal 4: Call processor

5 : 스위치 망 6 : 교환 시스템5: switch network 6: switching system

7 : 파일시스템 8 : 초기화 처리부7: file system 8: initialization processing unit

9 : SCSI 장애 검출부 10 : SCSI 명령어 처리부9: SCSI failure detection unit 10: SCSI command processing unit

11 : SCSI 장애 감지 인터럽트 처리부 12 : 사용자11: SCSI failure detection interrupt processor 12: user

13 : 장애 발생 신호를 갖는 SCSI 장치13: SCSI device with fault signal

상기 목적을 달성하기 위한 본 발명의 장치는, 장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치의 실시간 장애 검출 장치에 있어서, 상기 SCSI 장치의 장애를 검출하는데 필요한 메시지 큐와 같은 자원을 생성하고, SCSI 명령어 처리 수단을 통하여 상기 SCSI 장치를 감지하여 SCSI 장애 감지를 위한 하드웨어 인터럽트를 등록하여 구동시키며, SCSI 장애 검출 수단을 생성시켜 실행시키기 위한 초기화 처리 수단; SCSI 장애 감지 인터럽트 처리 수단으로부터 장애 발생을 통보받고, 상기 SCSI 명령어 처리 수단을 통하여 상기 SCSI 장치를 감지하여 장애의 종류를 판별하여 그에 따른 메시지를 사용자에게 출력하기 위한 상기 SCSI 장애 검출 수단; 상기 초기화 처리 수단이 하드웨어 인터럽트를 등록하여 구동시키기 위해 사용하는 SCSI 명령어와 상기 SCSI 장애 검출 수단이 장애 종류를 판별하기 위해 사용하는 SCSI 명령어를 수행시켜 그 결과를 전달하기 위한 상기 SCSI 명령어 처리 수단; 및 상기 SCSI 장치로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하여 상기 SCSI 장애 검출 수단으로 상기 SCSI 장치에서 장애가 발생하였음을 알려주기 위한 상기 SCSI 장애 감지 인터럽트 처리 수단을 포함하여 이루어진 것을 특징으로 한다.A device of the present invention for achieving the above object, in the real-time failure detection device of a small computer system interface (SCSI) device having a failure signal, generating a resource such as a message queue required for detecting the failure of the SCSI device; Initialization processing means for detecting the SCSI device through SCSI command processing means, registering and driving a hardware interrupt for SCSI failure detection, and generating and executing the SCSI failure detecting means; The SCSI failure detection means for receiving a notification of a failure from a SCSI failure detection interrupt processing means, detecting the SCSI device through the SCSI command processing means, determining a type of failure, and outputting a message accordingly; The SCSI command processing means for executing the SCSI command used by the initialization processing means to register and drive a hardware interrupt and the SCSI command used by the SCSI failure detecting means to determine the type of failure, and transferring the result; And the SCSI failure detection interrupt processing means for detecting a hardware interruption caused by a failure from the SCSI device to inform the SCSI failure detection means that the failure has occurred in the SCSI device.

한편, 본 발명의 방법은, 장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치의 실시간 장애 검출 장치에 적용되는 실시간 장애 검출 방법에 있어서, 상기 SCSI 장치의 장애 검출을 위해 초기화 처리부에서 초기화 작업을 수행하는 제 1 단계; SCSI 장애 검출 데몬은 SCSI 장애 감지 인터럽트 처리부로부터 장애 발생 메시지를 수신하기 위해 대기하는 제 2 단계; 상기 SCSI 장애 감지인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 3 단계; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하여 인터럽트에 따른 처리를 한 후에 상기 SCSI 장애 검출 데몬으로 SCSI 장애 발생을 알리는 제 4 단계; 및 SCSI 장애 발생을 보고받은 상기 SCSI 장애 검출 데몬은 SCSI 명령어 처리부를 통하여 상기 SCSI 장치를 감지하여 SCSI 장애 종류를 판별하여 장애 종류에 따른 메시지를 사용자에게 출력하는 제 5 단계를 포함하여 이루어진 것을 특징으로 한다.Meanwhile, the method of the present invention is a real-time failure detection method applied to a real-time failure detection apparatus of a SCSI (Small Computers System Interface) device having a failure occurrence signal. Performing a first step; The SCSI failure detection daemon may include a second step of waiting for a failure occurrence message from the SCSI failure detection interrupt processing unit; A third step of waiting for the SCSI failure detection interrupt processing unit to detect a hardware interrupt according to a failure occurrence signal from the SCSI device; A fourth step of the SCSI failure detection interrupt processing unit notifying a SCSI failure occurrence to the SCSI failure detection daemon after detecting a hardware interrupt according to a failure occurrence signal from the SCSI device and processing the interrupt; And the SCSI failure detection daemon, which has been reported to report a SCSI failure, comprises a fifth step of detecting the SCSI device through a SCSI command processor to determine a SCSI failure type, and outputting a message according to the failure type to the user. do.

한편, 본 발명은, 대용량 프로세서를 구비하는, 장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치의 실시간 장애 검출 장치에, 상기 SCSI 장치의 장애 검출을 위해 초기화 처리부에서 초기화 작업을 수행하는 제 1 기능; SCSI 장애 검출 데몬은 SCSI 장애 감지 인터럽트 처리부로부터 장애 발생 메시지를 수신하기 위해 대기하는 제 2 기능; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 3 기능; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하여 인터럽트에 따른 처리를 한 후에 상기 SCSI 장애 검출 데몬으로 SCSI 장애 발생을 알리는 제 4 기능; 및 SCSI 장애 발생을 보고받은 상기 SCSI 장애 검출 데몬은 SCSI 명령어 처리부를 통하여 상기 SCSI 장치를 감지하여 SCSI 장애 종류를 판별하여 장애 종류에 따른 메시지를 사용자에게 출력하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 포함한다.On the other hand, the present invention, the real-time failure detection device of a SCSI (Small Computers System Interface) device having a failure signal, having a high-capacity processor, the first operation for performing an initialization operation in the initialization processing unit for the failure detection of the SCSI device; function; The SCSI failure detection daemon has a second function of waiting for receiving a failure message from the SCSI failure detection interrupt processor; The SCSI failure detection interrupt processing unit may be configured to wait to detect a hardware interrupt according to a failure occurrence signal from the SCSI device; The SCSI failure detection interrupt processing unit may further include: a fourth function of notifying a SCSI failure occurrence to the SCSI failure detection daemon after detecting a hardware interrupt according to a failure occurrence signal from the SCSI device and processing the interrupt; And the SCSI failure detection daemon, which has been reported to report a SCSI failure, writes a program for realizing a fifth function of detecting the SCSI device through a SCSI command processing unit, determining a SCSI failure type, and outputting a message according to the failure type to the user. It includes a computer readable recording medium.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 하드웨어 시스템의 구성예시도로서, 운용 보전 프로세서(1)와 SCSI 케이블(2)로 연결된 장애 발생 신호를 갖는 SCSI 장치(3) 및 호처리 프로세서들(4)이 스위치 망(5)으로 연결된 교환 시스템(6)을 구비한다.1 is an exemplary configuration diagram of a hardware system to which the present invention is applied, in which a SCSI device 3 and call processing processors 4 having a failure signal connected to an operation maintenance processor 1 and a SCSI cable 2 are switched. An exchange system 6 connected by a network 5.

본 발명은 교환 시스템에서 파일 시스템(장애 검출 장치)이 있는 운영체제를 탑재한 운용 보전 프로세서(1)와 장애 발생 신호를 갖는 SCSI 장치(3)가 SCSI 케이블(2)로 물리적으로 연결되어 있을 때 파일 시스템에서 장애 발생 신호를 갖는 SCSI 장치(3)의 장애를 실시간으로 검출한다.The present invention relates to an operation preservation processor (1) equipped with an operating system with a file system (failure detection device) in a switching system and a SCSI device (3) having a failure signal when a physical connection is made with a SCSI cable (2). The system detects a failure of the SCSI device 3 having a failure signal in real time.

도 2 는 본 발명에 따른 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 장치의 일실시예 구성도이다.2 is a block diagram of an embodiment of a real-time failure detection apparatus of a SCSI device having a failure occurrence signal according to the present invention.

SCSI 장애 검출을 위한 초기화 처리부(8)는 SCSI 장치(13)의 장애를 검출하는데 필요한 메시지 큐와 같은 자원을 생성하고, SCSI 명령어 처리부(10)를 통하여 SCSI 장치(13)를 감지하여 SCSI 장애 감지를 위한 하드웨어 인터럽트를 등록하여 구동시키며, SCSI 장애 검출 데몬을 생성시켜 실행시키는 역할을 한다.The initialization processing unit 8 for detecting a SCSI failure generates a resource such as a message queue necessary for detecting a failure of the SCSI device 13, and detects the SCSI device 13 by detecting the SCSI device 13 through the SCSI command processing unit 10. It registers and runs hardware interrupts for the system and creates and executes the SCSI fault detection daemon.

SCSI 장애 검출부(9)는 SCSI 장애 감지 인터럽트 처리부(11)로부터 장애 발생을 통보받고, SCSI 명령어 처리부(10)를 통하여 SCSI 장치(13)를 감지하여 장애의 종류를 판별하여 사용자(12)에게 출력하는 역할을 한다.The SCSI failure detection unit 9 is notified of the failure from the SCSI failure detection interrupt processing unit 11, detects the SCSI device 13 through the SCSI command processing unit 10, determines the type of failure, and outputs it to the user 12. It plays a role.

SCSI 명령어 처리부(10)는 초기화 처리부(8)가 하드웨어 인터럽트를 등록하여 구동시키기 위해 사용하는 SCSI 명령어와 SCSI 장애 검출부(9)가 장애 종류를 판별하기 위해 사용하는 SCSI 명령어를 수행시켜 결과를 전달하는 역할을 한다.The SCSI command processor 10 executes a SCSI command used by the initialization processor 8 to register and drive a hardware interrupt and a SCSI command used by the SCSI failure detector 9 to determine a failure type, and delivers the result. Play a role.

SCSI 장애 감지 인터럽트 처리부(11)는 장애 발생 신호를 갖는 SCSI 장치(13)로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하여 SCSI 장애 검출부(9)로 SCSI 장치(13)에서 장애가 발생하였음을 알려주는 역할을 한다.The SCSI failure detection interrupt processor 11 detects a hardware interrupt according to the failure from the SCSI device 13 having the failure signal and informs the SCSI failure detection unit 9 that the failure has occurred in the SCSI device 13. do.

도 3 은 본 발명에 따른 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법에 대한 일실시예 흐름도이다.3 is a flowchart illustrating a real-time failure detection method of a SCSI device having a failure occurrence signal according to the present invention.

먼저, SCSI 장애 검출을 위해 초기화 처리부(8)에서 장애 발생을 알리는 메시지를 전달하기 위한 메시지 큐 생성, SCSI 명령어 처리부(10)를 통하여 SCSI 장치(13)를 감지하여 장애 감지를 위한 하드웨어 인터럽트 등록 및 SCSI 장애 검출 데몬을 생성하여 실행시키는 등의 일련의 초기화 작업을 수행한다(14).First, in order to detect a SCSI failure, a message queue is generated to transmit a message indicating a failure in the initialization processor 8, a SCSI device 13 is detected through the SCSI command processor 10 to register a hardware interrupt for failure detection. It performs a series of initialization tasks, such as creating and running a SCSI failure detection daemon (14).

이후, SCSI 장애 검출 데몬은 SCSI 장애 감지 인터럽트 처리부(11)로부터 장애 발생 메시지를 수신하기 위해 대기하고(15), SCSI 장애 감지 인터럽트 처리부(11)는 장애 발생 신호를 갖는 SCSI 장치(13)로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하기 위해 대기한다(16).Thereafter, the SCSI failure detection daemon waits to receive a failure message from the SCSI failure detection interrupt processor 11 (15), and the SCSI failure detection interrupt processor 11 fails from the SCSI device 13 having the failure signal. It waits to detect a hardware interrupt according to the generated signal (16).

다음으로, SCSI 장애 감지 인터럽트 처리부(11)는 장애 발생 신호를 갖는 SCSI 장치(13)로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하면 인터럽트에 따른 처리를 한 후에 SCSI 장애 검출 데몬으로 SCSI 장애가 발생하였음을 알린다(17).Next, when the SCSI failure detection interrupt processing unit 11 detects a hardware interrupt in response to the failure signal from the SCSI device 13 having the failure signal, the SCSI failure detection daemon generates a SCSI failure in the SCSI failure detection daemon. Inform (17).

이후, SCSI 장애가 발생했음을 SCSI 장애 감지 인터럽트 처리부(11)로부터 보고받은 SCSI 장애 검출 데몬은 SCSI 명령어 처리부(10)를 통하여 SCSI 장치(13)를 감지하여 SCSI 장애 종류를 판별하여 장애 종류에 따른 메시지를 사용자에게 출력한 후에(18), 또다른 SCSI 장치의 장애를 검출하기 위해 SCSI 장애 검출 데몬과 SCSI 장애 감지 인터럽트 처리부에서 대기하는 과정(15,16)부터 반복 수행한다.Subsequently, the SCSI failure detection daemon, which is reported from the SCSI failure detection interrupt processing unit 11 that the SCSI failure has occurred, detects the SCSI device 13 through the SCSI command processing unit 10 to determine the type of SCSI failure and displays a message according to the failure type. After outputting to the user (18), it repeats the process (15, 16) waiting for the SCSI failure detection daemon and SCSI failure detection interrupt processing unit to detect another SCSI device failure.

도 4 는 본 발명에 따른 초기화 처리부에서의 상세 처리 흐름도이다.4 is a detailed processing flowchart of the initialization processing unit according to the present invention.

먼저, SCSI 장애 감지 인터럽트 처리부(11)가 SCSI 장애 검출 데몬에게 SCSI 장치(13)에서 장애가 발생했음을 알리는 메시지를 전송하기 위해 사용할 메시지 큐를 생성한 후에(19), SCSI 장애 검출 데몬 프로세스를 생성하여 실행시킨다(20).First, the SCSI fault detection interrupt processor 11 creates a message queue to be used to send a message to the SCSI fault detection daemon indicating that the SCSI device 13 has failed (19), and then generates a SCSI fault detection daemon process. To execute (20).

이후, 장애 발생 신호가 있는 SCSI 장치인지 조사하기 위해 SCSI 모드 센스 명령어를 SCSI 명령어 처리부(10)에서 수행하도록 의뢰하고 응답을 기다린다(21).Subsequently, the SCSI command processing unit 10 requests the SCSI mode sense command to be performed to check whether the SCSI device has a failure signal and waits for a response (21).

다음으로, SCSI 명령어 처리부(10)로부터 SCSI 모드 센스에 대한 응답 메시지를 수신하면(22), 응답 메시지를 분석하여 SCSI 케이블로 연결된 SCSI 장치(13)가 장애 발생 신호를 갖는지를 조사하여(23) 장애 발생 신호가 있는 SCSI 장치인지를 판단한다(24).Next, upon receiving the response message for the SCSI mode sense from the SCSI command processor 10 (22), the response message is analyzed to determine whether the SCSI device 13 connected by the SCSI cable has a failure signal (23). It is determined whether the SCSI device has a failure signal (24).

상기 판단 결과(24), SCSI 장애 발생 신호가 있는 SCSI 장치가 아니면 SCSI 장애 발생을 전송하기 위해 생성했던 메시지 큐를 삭제하고(25) 생성하여 실행시킨 SCSI 검출 데몬 프로세스를 삭제한다(26).As a result of the determination (24), if it is not a SCSI device having a SCSI failure signal, the message queue created to transmit the SCSI failure is deleted (25) and the SCSI detection daemon process generated and executed is deleted (26).

그러나, 상기 판단 결과(24), 장애 발생 신호가 있는 SCSI 장치이면 SCSI 장애 발생 신호에 따른 하드웨어 인터럽트 및 그의 핸들러를 등록하고(27) SCSI 장애감지 하드웨어 인터럽트 핸들러를 구동시킨다(28).However, in the determination result 24, if the SCSI device has a failure signal, the hardware interrupt and its handler according to the SCSI failure signal are registered (27) and the SCSI failure detection hardware interrupt handler is driven (28).

도 5 는 본 발명에 따른 SCSI 장애 검출부에서의 상세 처리 흐름도이다.5 is a detailed processing flowchart of the SCSI failure detection unit according to the present invention.

먼저, SCSI 장애 감지 인터럽트 처리부(11)로부터 SCSI 장치(13)에서 장애가 발생했음을 알리는 메시지를 수신하기 위해 메시지 큐에서 대기한다(29).First, it waits in the message queue to receive a message indicating that a failure has occurred in the SCSI device 13 from the SCSI failure detection interrupt processor 11 (29).

이후, SCSI 장치(13)에서 장애가 발생했음을 알리는 메시지가 메시지 큐에 도착하면 이 메시지를 메시지 큐에서 삭제한 후에(30), SCSI 장치의 장애 종류를 판별하기 위해 SCSI 모드 센스 명령어를 SCSI 명령어 처리부(10)가 수행하도록 의뢰하고 응답을 기다린다(31).Thereafter, when a message indicating that a failure has occurred in the SCSI device 13 arrives in the message queue, the message is deleted from the message queue (30), and then a SCSI mode sense command is executed by the SCSI command processing unit to determine the failure type of the SCSI device. 10) to perform and wait for a response (31).

다음으로, SCSI 명령어 처리부(10)로부터 SCSI 모드 센스 명령어에 대한 응답 메시지를 수신하면(32) 수신한 응답메시지를 분석하여 SCSI 장치의 장애 종류를 판별한 후에(33), SCSI 장치의 장애 종류에 따라 출력할 메시지를 미리 저장해 놓은 테이블을 검색하여 해당 메시지를 사용자에게 출력한다(34).Next, when the response message for the SCSI mode sense command is received from the SCSI command processor 10 (32), the received response message is analyzed to determine the failure type of the SCSI device (33). According to the search for a table in which a message to be output is stored in advance, the message is output to the user (34).

이후, SCSI 장치의 장애 처리를 위해 잠시 구동을 중단시켜 둔 SCSI 장애 감지 하드웨어 인터럽트를 또다른 SCSI 장애 검출을 위해 다시 구동시킨 후에(35), 처음 과정(29)부터 다시 반복 수행한다.After that, the SCSI failure detection hardware interrupt, which has been temporarily stopped for the failure of the SCSI device, is driven again for another SCSI failure detection (35), and then repeated again from the first step (29).

도 6 은 본 발명에 따른 SCSI 명령어 처리부에서의 상세 처리 흐름도이다.6 is a detailed processing flowchart of the SCSI command processing unit according to the present invention.

먼저, SCSI 명령어 수행 요청을 받으면(36) SCSI 명령어 종류에 따른 SCSI 명령어 메시지를 구성하여(37), 구성한 SCSI 명령어 메시지를 SCSI 장치(13)로 전송한 후에 SCSI 장치(13)로부터 응답 메시지를 수신하기 위해 대기한다(38).First, upon receiving a request to perform a SCSI command (36), a SCSI command message according to the SCSI command type is configured (37), and the configured SCSI command message is transmitted to the SCSI device 13, and then a response message is received from the SCSI device 13. To wait (38).

이후, SCSI 장치(13)로부터 응답 메시지를 수신하면 그 응답메시지를 SCSI명령어 수행 요청자에게 전송한다(39).Thereafter, upon receiving the response message from the SCSI device 13, the response message is transmitted to the SCSI command execution requester (39).

도 7 은 본 발명에 따른 SCSI 장애 감지 인터럽트 처리부에서의 상세 처리 흐름도이다.7 is a detailed flowchart of a SCSI failure detection interrupt processing unit according to the present invention.

먼저, 장애 발생 신호를 갖는 SCSI 장치(13)로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하기 위해 대기한다(40).First, it waits 40 to detect a hardware interrupt due to a failure from the SCSI device 13 having a failure signal.

이후, 장애 발생 신호를 갖는 SCSI 장치(13)로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하면(41) 장애 발생에 대한 처리를 완료하기 전에 또다시 장애 발생 하드웨어 인터럽트가 발생하지 않도록 인터럽트를 조치하고(42), SCSI 장치(13)에서 장애가 발생했음을 알리는 메지지를 구성하여 메시지 큐를 이용하여 SCSI 장애 검출 데몬에게 전송한 후에(43) 처음부터 다시 반복 수행하기 위해 처음 과정(40)으로 천이한다.Then, if a hardware interrupt according to the failure is detected from the SCSI device 13 having the failure signal (41), the interrupt is handled again so that the failed hardware interrupt does not occur before completing the processing for the failure (42). ), A message indicating that a failure has occurred in the SCSI device 13 is configured and transmitted to the SCSI failure detection daemon using a message queue (43), and then the process proceeds to the first step (40) to repeat again from the beginning.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes can be made in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기와 같은 본 발명은, 교환 시스템의 과금 정보 등과 같은 중요한 데이터를 디스크와 같은 SCSI 장치에 기록하고, 그 SCSI 장치가 장애 발생 신호를 갖는 경우에 파일 시스템에서 SCSI 장애 정보를 실시간으로 검출하여 운용자에게 알려주어, 장애를 발생한 SCSI 장치에 대해 운용자가 신속하게 조치를 취할 수 있도록 해줌으로써 중요한 데이터의 손실을 방지할 수 있는 효과가 있다.As described above, the present invention records important data such as billing information of a switching system on a SCSI device such as a disk, and detects SCSI failure information in a file system in real time when the SCSI device has a failure signal. This helps prevent operator loss of critical data by allowing operators to quickly act on a failed SCSI device.

Claims (11)

장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치의 실시간 장애 검출 장치에 있어서,In the real-time failure detection device of a SCSI (Small Computers System Interface) device having a failure signal, 상기 SCSI 장치의 장애를 검출하는데 필요한 메시지 큐와 같은 자원을 생성하고, SCSI 명령어 처리 수단을 통하여 상기 SCSI 장치를 감지하여 SCSI 장애 감지를 위한 하드웨어 인터럽트를 등록하여 구동시키며, SCSI 장애 검출 수단을 생성시켜 실행시키기 위한 초기화 처리 수단;Creates a resource such as a message queue required to detect the failure of the SCSI device, detects the SCSI device through SCSI command processing means, registers and drives a hardware interrupt for SCSI failure detection, and generates a SCSI failure detection means. Initialization processing means for executing; SCSI 장애 감지 인터럽트 처리 수단으로부터 장애 발생을 통보받고, 상기 SCSI 명령어 처리 수단을 통하여 상기 SCSI 장치를 감지하여 장애의 종류를 판별하여 그에 따른 메시지를 사용자에게 출력하기 위한 상기 SCSI 장애 검출 수단;The SCSI failure detection means for receiving a notification of a failure from a SCSI failure detection interrupt processing means, detecting the SCSI device through the SCSI command processing means, determining a type of failure, and outputting a message accordingly; 상기 초기화 처리 수단이 하드웨어 인터럽트를 등록하여 구동시키기 위해 사용하는 SCSI 명령어와 상기 SCSI 장애 검출 수단이 장애 종류를 판별하기 위해 사용하는 SCSI 명령어를 수행시켜 그 결과를 전달하기 위한 상기 SCSI 명령어 처리 수단; 및The SCSI command processing means for executing the SCSI command used by the initialization processing means to register and drive a hardware interrupt and the SCSI command used by the SCSI failure detecting means to determine the type of failure, and transferring the result; And 상기 SCSI 장치로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하여 상기 SCSI 장애 검출 수단으로 상기 SCSI 장치에서 장애가 발생하였음을 알려주기 위한 상기 SCSI 장애 감지 인터럽트 처리 수단The SCSI failure detection interrupt processing means for detecting a hardware interruption according to a failure occurrence from the SCSI device and notifying the SCSI failure detection means that the failure has occurred in the SCSI device; 을 포함하는 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 장치.Real-time failure detection device of a SCSI device having a failure signal comprising a. 장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치의 실시간 장애 검출 장치에 적용되는 실시간 장애 검출 방법에 있어서,In the real-time failure detection method applied to the real-time failure detection device of a SCSI (Small Computers System Interface) device having a failure signal, 상기 SCSI 장치의 장애 검출을 위해 초기화 처리부에서 초기화 작업을 수행하는 제 1 단계;A first step of performing an initialization operation in an initialization processing unit to detect a failure of the SCSI device; SCSI 장애 검출 데몬은 SCSI 장애 감지 인터럽트 처리부로부터 장애 발생 메시지를 수신하기 위해 대기하는 제 2 단계;The SCSI failure detection daemon may include a second step of waiting for a failure occurrence message from the SCSI failure detection interrupt processing unit; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 3 단계;A third step of waiting for the SCSI failure detection interrupt processing unit to detect a hardware interrupt according to a failure occurrence signal from the SCSI device; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하여 인터럽트에 따른 처리를 한 후에 상기 SCSI 장애 검출 데몬으로 SCSI 장애 발생을 알리는 제 4 단계; 및A fourth step of the SCSI failure detection interrupt processing unit notifying a SCSI failure occurrence to the SCSI failure detection daemon after detecting a hardware interrupt according to a failure occurrence signal from the SCSI device and processing the interrupt; And SCSI 장애 발생을 보고받은 상기 SCSI 장애 검출 데몬은 SCSI 명령어 처리부를 통하여 상기 SCSI 장치를 감지하여 SCSI 장애 종류를 판별하여 장애 종류에 따른 메시지를 사용자에게 출력하는 제 5 단계The SCSI failure detection daemon, which has reported the occurrence of a SCSI failure, detects the SCSI device through a SCSI command processor, determines a SCSI failure type, and outputs a message according to the failure type to a user. 를 포함하는 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법.Real-time failure detection method of a SCSI device having a failure signal comprising a. 제 2 항에 있어서,The method of claim 2, 상기 제 1 단계는,The first step is, 상기 SCSI 장애 감지 인터럽트 처리부가 상기 SCSI 장애 검출 데몬에게 상기 SCSI 장치에서 장애가 발생했음을 알리는 메시지를 전송하기 위해 사용할 메시지 큐를 생성한 후에, SCSI 장애 검출 데몬 프로세스를 생성하여 실행시키는 제 6 단계;A sixth step of generating and executing a SCSI failure detection daemon process after the SCSI failure detection interrupt processing unit generates a message queue to be used to transmit a message indicating that a failure has occurred in the SCSI device to the SCSI failure detection daemon; 상기 SCSI 장치를 조사하기 위해 SCSI 모드 센스 명령어를 상기 SCSI 명령어 처리부에서 수행하도록 의뢰하여 응답 메시지를 수신하면, 응답 메시지를 분석하여 상기 SCSI 장치가 장애 발생 신호를 갖는지를 조사하는 제 7 단계;A seventh step of requesting to perform a SCSI mode sense command in the SCSI command processing unit to investigate the SCSI device and receiving a response message, analyzing the response message to investigate whether the SCSI device has a failure signal; 상기 제 7 단계의 조사 결과, SCSI 장애 발생 신호가 있는 SCSI 장치가 아니면 상기 생성된 메시지 큐를 삭제하고, 상기 생성/실행시킨 SCSI 장애 검출 데몬 프로세스를 삭제하는 제 8 단계; 및An eighth step of deleting the created message queue and deleting the created / executed SCSI failure detection daemon process if the SCSI device having the SCSI failure occurrence signal is found as a result of the seventh step; And 상기 제 7 단계의 조사 결과, 장애 발생 신호가 있는 SCSI 장치이면 SCSI 장애 발생 신호에 따른 하드웨어 인터럽트 및 그의 핸들러를 등록하고, SCSI 장애 감지 하드웨어 인터럽트 핸들러를 구동시키는 제 9 단계As a result of the investigation in the seventh step, if the SCSI device has a failure signal, the ninth step of registering a hardware interrupt and its handler according to the SCSI failure signal and driving the SCSI failure detection hardware interrupt handler 를 포함하는 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법.Real-time failure detection method of a SCSI device having a failure signal comprising a. 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 SCSI 장애 검출 데몬의 동작은,The operation of the SCSI failure detection daemon is 상기 SCSI 장애 감지 인터럽트 처리부로부터 상기 SCSI 장치에서 장애가 발생했음을 알리는 메시지를 수신하기 위해 상기 메시지 큐에서 대기하다가 메시지가도착하면 해당 메시지를 상기 메시지 큐에서 삭제하는 제 10 단계;A tenth step of waiting in the message queue to receive a message indicating that a failure has occurred in the SCSI device from the SCSI failure detection interrupt processor and deleting the message from the message queue when the message arrives; 상기 SCSI 장치의 장애 종류를 판별하기 위해 SCSI 모드 센스 명령어를 상기 SCSI 명령어 처리부가 수행하도록 의뢰하여 응답 메시지를 수신하면, 응답메시지를 분석하여 상기 SCSI 장치의 장애 종류를 판별하는 제 11 단계; 및An eleventh step of determining a failure type of the SCSI device by analyzing a response message when receiving a response message by requesting the SCSI command processing unit to perform a SCSI mode sense command to determine a failure type of the SCSI device; And 상기 SCSI 장치의 장애 종류에 따라 출력할 메시지를 미리 저장해 놓은 테이블을 검색하여 해당 메시지를 상기 사용자에게 출력한 후에, 상기 SCSI 장치의 장애 처리를 위해 잠시 구동을 중단시켜 둔 SCSI 장애 감지 하드웨어 인터럽트를 또다른 SCSI 장애 검출을 위해 구동시키는 제 12 단계After retrieving the table that stores the message to be output according to the type of failure of the SCSI device and outputting the message to the user, the SCSI failure detection hardware interrupt is stopped for a while to handle the failure of the SCSI device. Twelfth Step to Run for Other SCSI Failure Detection 를 포함하는 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법.Real-time failure detection method of a SCSI device having a failure signal comprising a. 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 SCSI 명령어 처리부의 동작은,The operation of the SCSI command processor, SCSI 명령어 수행 요청을 받으면 SCSI 명령어 종류에 따른 SCSI 명령어 메시지를 구성하는 제 10 단계;A tenth step of constructing a SCSI command message according to a SCSI command type upon receiving a SCSI command execution request; 구성한 SCSI 명령어 메시지를 상기 SCSI 장치로 전송한 후에 상기 SCSI 장치로부터 응답 메시지를 수신하기 위해 대기하는 제 11 단계; 및An eleventh step of waiting for a response message from the SCSI device after transmitting the configured SCSI command message to the SCSI device; And 상기 SCSI 장치로부터 응답 메시지를 수신하면 그 응답메시지를 SCSI 명령어 수행 요청자에게 전송하는 제 12 단계A twelfth step of receiving a response message from the SCSI device; 를 포함하는 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법.Real-time failure detection method of a SCSI device having a failure signal comprising a. 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 SCSI 장애 감지 인터럽트 처리부의 동작은,The operation of the SCSI failure detection interrupt processing unit, 상기 SCSI 장치로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 10 단계;A tenth step of waiting for detecting a hardware interruption caused by a failure from the SCSI device; 상기 SCSI 장치로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하면 장애 발생에 대한 처리를 완료하기 전에 또다시 장애 발생 하드웨어 인터럽트가 발생하지 않도록 인터럽트를 조치하는 제 11 단계; 및An eleventh step of, upon detecting a hardware interrupt according to a failure from the SCSI device, taking an interrupt so that the failed hardware interrupt does not occur again before completing processing for the failure; And 상기 SCSI 장치에서 장애가 발생했음을 알리는 메지지를 구성하여 상기 메시지 큐를 이용하여 상기 SCSI 장애 검출 데몬으로 전송하는 제 12 단계A twelfth step of constructing a message indicating that a failure has occurred in the SCSI device and transmitting the message to the SCSI failure detection daemon by using the message queue; 를 포함하는 장애 발생 신호를 갖는 SCSI 장치의 실시간 장애 검출 방법.Real-time failure detection method of a SCSI device having a failure signal comprising a. 대용량 프로세서를 구비하는, 장애 발생 신호를 갖는 SCSI(Small Computers System Interface) 장치의 실시간 장애 검출 장치에,In a real-time failure detection device of a SCSI (Small Computers System Interface) device having a failure signal, having a large processor, 상기 SCSI 장치의 장애 검출을 위해 초기화 처리부에서 초기화 작업을 수행하는 제 1 기능;A first function of performing an initialization operation in an initialization processing unit to detect a failure of the SCSI device; SCSI 장애 검출 데몬은 SCSI 장애 감지 인터럽트 처리부로부터 장애 발생 메시지를 수신하기 위해 대기하는 제 2 기능;The SCSI failure detection daemon has a second function of waiting for receiving a failure message from the SCSI failure detection interrupt processor; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 3 기능;The SCSI failure detection interrupt processing unit may be configured to wait to detect a hardware interrupt according to a failure occurrence signal from the SCSI device; 상기 SCSI 장애 감지 인터럽트 처리부는 상기 SCSI 장치로부터 장애 발생 신호에 따른 하드웨어 인터럽트를 감지하여 인터럽트에 따른 처리를 한 후에 상기 SCSI 장애 검출 데몬으로 SCSI 장애 발생을 알리는 제 4 기능; 및The SCSI failure detection interrupt processing unit may further include: a fourth function of notifying a SCSI failure occurrence to the SCSI failure detection daemon after detecting a hardware interrupt according to a failure occurrence signal from the SCSI device and processing the interrupt; And SCSI 장애 발생을 보고받은 상기 SCSI 장애 검출 데몬은 SCSI 명령어 처리부를 통하여 상기 SCSI 장치를 감지하여 SCSI 장애 종류를 판별하여 장애 종류에 따른 메시지를 사용자에게 출력하는 제 5 기능The SCSI failure detection daemon, which has reported the occurrence of a SCSI failure, detects the SCSI device through a SCSI command processor, determines a SCSI failure type, and outputs a message according to the failure type to the user. 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 제 7 항에 있어서,The method of claim 7, wherein 상기 제 1 기능은,The first function, 상기 SCSI 장애 감지 인터럽트 처리부가 상기 SCSI 장애 검출 데몬에게 상기 SCSI 장치에서 장애가 발생했음을 알리는 메시지를 전송하기 위해 사용할 메시지 큐를 생성한 후에, SCSI 장애 검출 데몬 프로세스를 생성하여 실행시키는 제 6 기능;A sixth function of creating and executing a SCSI failure detection daemon process after the SCSI failure detection interrupt processing unit generates a message queue to be used to send a message indicating that a failure has occurred in the SCSI device to the SCSI failure detection daemon; 상기 SCSI 장치를 조사하기 위해 SCSI 모드 센스 명령어를 상기 SCSI 명령어 처리부에서 수행하도록 의뢰하여 응답 메시지를 수신하면, 응답 메시지를 분석하여 상기 SCSI 장치가 장애 발생 신호를 갖는지를 조사하는 제 7 기능;A seventh function of requesting to execute a SCSI mode sense command in the SCSI command processing unit to examine the SCSI device and receiving a response message by analyzing the response message to determine whether the SCSI device has a failure signal; 상기 제 7 기능에서의 조사 결과, SCSI 장애 발생 신호가 있는 SCSI 장치가아니면 상기 생성된 메시지 큐를 삭제하고, 상기 생성/실행시킨 SCSI 장애 검출 데몬 프로세스를 삭제하는 제 8 기능; 및An eighth function that deletes the generated message queue or the created / executed SCSI failure detection daemon process as a result of the investigation in the seventh function, the SCSI device having a SCSI failure occurrence signal; And 상기 제 7 기능에서의 조사 결과, 장애 발생 신호가 있는 SCSI 장치이면 SCSI 장애 발생 신호에 따른 하드웨어 인터럽트 및 그의 핸들러를 등록하고, SCSI 장애 감지 하드웨어 인터럽트 핸들러를 구동시키는 제 9 기능As a result of the investigation in the seventh function, if the SCSI device has a failure signal, the ninth function of registering a hardware interrupt and its handler according to the SCSI failure signal and driving a SCSI failure detection hardware interrupt handler 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 제 7 항 또는 제 8 항에 있어서,The method according to claim 7 or 8, 상기 SCSI 장애 검출 데몬의 동작은,The operation of the SCSI failure detection daemon is 상기 SCSI 장애 감지 인터럽트 처리부로부터 상기 SCSI 장치에서 장애가 발생했음을 알리는 메시지를 수신하기 위해 상기 메시지 큐에서 대기하다가 메시지가 도착하면 해당 메시지를 상기 메시지 큐에서 삭제하는 제 10 기능;A tenth function of waiting in the message queue to receive a message indicating that a failure has occurred in the SCSI device from the SCSI failure detection interrupt processing unit and deleting the message from the message queue when a message arrives; 상기 SCSI 장치의 장애 종류를 판별하기 위해 SCSI 모드 센스 명령어를 상기 SCSI 명령어 처리부가 수행하도록 의뢰하여 응답 메시지를 수신하면, 응답메시지를 분석하여 상기 SCSI 장치의 장애 종류를 판별하는 제 11 기능; 및An eleventh function for determining a failure type of the SCSI device by analyzing a response message when receiving a response message by requesting the SCSI command processing unit to perform a SCSI mode sense command to determine a failure type of the SCSI device; And 상기 SCSI 장치의 장애 종류에 따라 출력할 메시지를 미리 저장해 놓은 테이블을 검색하여 해당 메시지를 상기 사용자에게 출력한 후에, 상기 SCSI 장치의 장애 처리를 위해 잠시 구동을 중단시켜 둔 SCSI 장애 감지 하드웨어 인터럽트를 또다른 SCSI 장애 검출을 위해 구동시키는 제 12 기능After retrieving the table that stores the message to be output according to the type of failure of the SCSI device and outputting the message to the user, the SCSI failure detection hardware interrupt is stopped for a while to handle the failure of the SCSI device. 12th function to run for other SCSI failure detection 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 제 7 항 또는 제 8 항에 있어서,The method according to claim 7 or 8, 상기 SCSI 명령어 처리부의 동작은,The operation of the SCSI command processor, SCSI 명령어 수행 요청을 받으면 SCSI 명령어 종류에 따른 SCSI 명령어 메시지를 구성하는 제 10 기능;A tenth function of constructing a SCSI command message according to a SCSI command type upon receiving a SCSI command execution request; 구성한 SCSI 명령어 메시지를 상기 SCSI 장치로 전송한 후에 상기 SCSI 장치로부터 응답 메시지를 수신하기 위해 대기하는 제 11 기능; 및An eleventh function of waiting for receiving a response message from the SCSI device after transmitting the configured SCSI command message to the SCSI device; And 상기 SCSI 장치로부터 응답 메시지를 수신하면 그 응답메시지를 SCSI 명령어 수행 요청자에게 전송하는 제 12 기능A twelfth function for receiving a response message from the SCSI device and sending the response message to a requester for executing a SCSI command; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 제 7 항 또는 제 8 항에 있어서,The method according to claim 7 or 8, 상기 SCSI 장애 감지 인터럽트 처리부의 동작은,The operation of the SCSI failure detection interrupt processing unit, 상기 SCSI 장치로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하기 위해 대기하는 제 10 기능;A tenth function of waiting for detecting a hardware interruption caused by a failure from the SCSI device; 상기 SCSI 장치로부터 장애 발생에 따른 하드웨어 인터럽트를 감지하면 장애 발생에 대한 처리를 완료하기 전에 또다시 장애 발생 하드웨어 인터럽트가 발생하지 않도록 인터럽트를 조치하는 제 11 기능; 및An eleventh function for detecting an interrupt from the SCSI device so that the failing hardware interrupt is not generated again before completing the processing for the failing; And 상기 SCSI 장치에서 장애가 발생했음을 알리는 메지지를 구성하여 상기 메시지 큐를 이용하여 상기 SCSI 장애 검출 데몬으로 전송하는 제 12 기능A twelfth function of constructing a message indicating that a failure has occurred in the SCSI device and transmitting the message to the SCSI failure detection daemon by using the message queue; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019980050020A 1998-11-20 1998-11-20 A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals KR100304362B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980050020A KR100304362B1 (en) 1998-11-20 1998-11-20 A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980050020A KR100304362B1 (en) 1998-11-20 1998-11-20 A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals

Publications (2)

Publication Number Publication Date
KR20000033245A KR20000033245A (en) 2000-06-15
KR100304362B1 true KR100304362B1 (en) 2001-11-02

Family

ID=19559187

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980050020A KR100304362B1 (en) 1998-11-20 1998-11-20 A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals

Country Status (1)

Country Link
KR (1) KR100304362B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100498451B1 (en) * 2002-10-17 2005-07-01 삼성전자주식회사 Method for providing an information about error of HDD, HDD therefor and information processing apparatus thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100393982B1 (en) * 1998-12-10 2003-09-19 엘지전자 주식회사 Method for transmission data and Apparatus of Remote Data Concentrator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100498451B1 (en) * 2002-10-17 2005-07-01 삼성전자주식회사 Method for providing an information about error of HDD, HDD therefor and information processing apparatus thereof

Also Published As

Publication number Publication date
KR20000033245A (en) 2000-06-15

Similar Documents

Publication Publication Date Title
JP5079080B2 (en) Method and computer program for collecting data corresponding to failure in storage area network
US6742139B1 (en) Service processor reset/reload
JP5286942B2 (en) Control method, control program, and information processing apparatus
US6836881B2 (en) Remote tracing of data processing nodes in an asynchronous messaging network
US7788520B2 (en) Administering a system dump on a redundant node controller in a computer system
US20080140895A1 (en) Systems and Arrangements for Interrupt Management in a Processing Environment
CN100375960C (en) Method and apparatus for regulating input/output fault
CN113821257B (en) Method and device for inquiring information of processor kernel call stack
JP2011113122A (en) Failure influence analysis device, application system, and failure influence analysis method
KR100304362B1 (en) A real-time fault detection apparatus and method for SCSI devices that have fault occurring signals
US8880957B2 (en) Facilitating processing in a communications environment using stop signaling
JP2001005692A (en) Computer system, its maintenance and management system, and method for informing of fault
JP2006039763A (en) Guest os debug supporting method and virtual computer manager
KR101130781B1 (en) Partial virtual machine and device driver processing method using the same
JP2002182951A (en) Maintenance method for information processor and information processor
CN109491846A (en) A kind of method and system for server crawl SATA hard disc trace
JP2000112847A (en) Client-server system and method for monitoring operation of client
KR20020065188A (en) Method for managing fault in computer system
KR100257162B1 (en) Method and apparatus for supervising relative system in duplex system
JPS6024651A (en) Fault processing system
JPH022180B2 (en)
JPH0789327B2 (en) Information processing system
JPH10112714A (en) Communication converter
JP2000082052A (en) Multiprocessor system, its diagnostic method, and recording medium recorded with its control program
JPH01205245A (en) Automatic trace system for peripheral system and line system devices for electronic computer

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

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee