KR20200085516A - Method for displaying status of soft-RAID using homepage - Google Patents

Method for displaying status of soft-RAID using homepage Download PDF

Info

Publication number
KR20200085516A
KR20200085516A KR1020190001706A KR20190001706A KR20200085516A KR 20200085516 A KR20200085516 A KR 20200085516A KR 1020190001706 A KR1020190001706 A KR 1020190001706A KR 20190001706 A KR20190001706 A KR 20190001706A KR 20200085516 A KR20200085516 A KR 20200085516A
Authority
KR
South Korea
Prior art keywords
status
raid
soft
homepage
server
Prior art date
Application number
KR1020190001706A
Other languages
Korean (ko)
Other versions
KR102136710B1 (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 KR1020190001706A priority Critical patent/KR102136710B1/en
Publication of KR20200085516A publication Critical patent/KR20200085516A/en
Application granted granted Critical
Publication of KR102136710B1 publication Critical patent/KR102136710B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • 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
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a redundant array of independent disk (RAID) system in which a plurality of hard disks are multiplexed in an array in order to secure data stability and a method thereof. According to the present invention, in order to solve the problem of soft-RAID of the related art in which there is a limit in which errors found in a storage device of a server system composed of Unix or Linux are reported through a file or e-mail, by using the Internet homepage generated from a Unix or Linux server, it is configured to easily check the status of the server remotely from anywhere on the Internet or Wi-Fi without the need for a complicated login process or moving to a console device. As the status of the storage device can be checked more easily and intuitively, the convenience and reliability of the soft-RAID can be greatly increased and, at the same time, when an error occurs in the system, the administrator can quickly check and take action. Therefore, it is possible to provide a method of displaying the status of a soft-RAID by using a homepage of the present invention, thereby greatly increasing stability.

Description

홈페이지를 이용한 소프트-RAID의 상태표시방법{Method for displaying status of soft-RAID using homepage}Method for displaying status of soft-RAID using homepage}

본 발명은 데이터의 안정성을 확보하기 위해 복수의 하드디스크를 어레이(array)로 구성하여 다중화하도록 이루어지는 RAID(Redundant Array of Independent Disks) 시스템 및 방법에 관한 것으로, 더 상세하게는, 유닉스 또는 리눅스로 구성된 서버 시스템의 저장장치에서 발견된 오류를 파일이나 메일을 통하여 보고함으로 인해 시스템 관리자가 항상 직접 시스템에 접속하여 확인해야만 오류를 인지할 수 있는 한계가 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위해, 복잡한 과정이 필요 없이 저장장치의 상태를 보다 용이하게 확인할 수 있도록 구성됨으로써 서버 관리자에게 편리성을 제공하는 동시에, 오류발생시 최대한 빠른 시간에 관리자가 인지하고 대응하여 서버의 데이터 안정성을 높일 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법에 관한 것이다. The present invention relates to a RAID (Redundant Array of Independent Disks) system and method that is configured to multiplex a plurality of hard disks in an array to secure the stability of data, and more specifically, is composed of Unix or Linux In order to solve the problem of soft-RAID of the prior art, there was a limit to recognize the error only when the system administrator always accesses the system and checks the error found in the storage of the server system through a file or mail. It is configured to make it easier to check the status of the storage device without the need for complicated processes, and provides convenience to the server administrator, while also allowing administrators to recognize and respond to errors as quickly as possible to increase the data stability of the server. It relates to a method of displaying the status of soft-RAID using the homepage.

또한, 본 발명은, 상기한 바와 같이 저장장치에서 발견된 오류를 시스템 관리자가 직접 확인해야만 인지할 수 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위해, 유닉스 또는 리눅스 서버에서 발생되는 인터넷 홈페이지를 이용하여, 복잡한 로그인 과정이나 콘솔장치로 이동하는 과정이 필요 없이 인터넷이나 와이파이가 되는 곳이면 어디서나 원격에서 수시로 서버의 상태를 직관적으로 용이하게 확인할 수 있도록 구성됨으로써 소프트-RAID의 사용의 편리성과 신뢰성이 크게 향상될 수 있는 동시에, 시스템에 이상이 발생한 경우 관리자가 신속하게 확인하고 조치를 취할 수 있으므로 서버의 데이터 안정성이 크게 증진될 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법에 관한 것이다. In addition, the present invention, as described above, in order to solve the problem of the soft-RAID of the prior art that can be recognized only by the system administrator to check the error found in the storage device, the Internet homepage generated in the Unix or Linux server By using it, it is possible to intuitively and easily check the status of the server from anywhere remotely on the Internet or Wi-Fi without the need for a complicated login process or moving to a console device. It can be greatly improved and at the same time, it is related to a method of displaying the status of soft-RAID using a homepage that is configured so that the data stability of the server can be greatly improved because an administrator can quickly check and take action in case of a system error.

종래, 일반적으로, RAID(Redundant Array of Independent Disks) 시스템이란 서버에서 주 저장장치(main storage)로 사용되는 하드디스크의 데이터 안정성을 확보하기 위한 하드웨어 장치이다. Conventionally, in general, a RAID (Redundant Array of Independent Disks) system is a hardware device for securing data stability of a hard disk used as a main storage in a server.

더 상세하게는, 예를 들면, RAID Level-1은, 미러링(mirroring)이라는 기법을 사용하여, 2대의 동일한 하드 디스크를 설치하고 데이터를 기록할 때 2개의 하드 디스크에 동일한 데이터를 동시에 기록하도록 구성됨으로써, 비록 하드디스크 용량은 1대 분량밖에 확보되지 않으나, 만약 하나의 하드디스크에서 이상이 발생한 경우 이를 관리자에게 알려 장치를 교체하도록 요구하고, 새롭게 하드디스크 장치가 교체되면 RAID 시스템에서 자동으로 새로운 장치에 정상적인 장치의 내용을 그대로 복사하여 두 대의 하드디스크 장치가 항상 동일한 상태가 유지되도록 한다. More specifically, for example, RAID Level-1 is configured to install two identical hard disks and write the same data to the two hard disks at the same time, using a technique called mirroring. As a result, although only one hard disk capacity is secured, if there is an error in one hard disk, the administrator is notified to change the device, and when a new hard disk device is replaced, the RAID system automatically starts a new device. Copy the contents of the normal device as it is, so that the two hard disk devices always remain the same.

따라서 상기한 바와 같은 RAID 시스템을 이용하면, 일반적으로 2개의 하드디스크 장치가 동시에 파손되는 경우는 거의 없으므로 관리자가 신속히 대응하는 경우 데이터 보전에 매우 안전한 시스템이 될 수 있다. Therefore, when using the RAID system as described above, in general, two hard disk devices are rarely damaged at the same time, so if an administrator responds quickly, it can be a very safe system for data conservation.

여기서, 상기한 바와 같은 RAID 시스템 및 방법에 대한 종래기술의 예로는, 예를 들면, 먼저, 한국 공개특허공보 제10-2018-0022515호에 따르면, 호스트 장치로부터 RAID 동작을 위한 입/출력 커맨드를 수신받되, 상기 입/출력 커맨드는 데이터 및 태그를 포함하고, 수신받은 입/출력 커맨드의 태그를 디코딩하여 입/출력 커맨드로부터 RAID 동작의 입/출력 속성정보를 추출하고, 입/출력 속성정보를 플래쉬 저장장치의 SRAM(Static Random Access Memory)의 RAID 메타 저장영역에 저장하고, 데이터를 플래쉬 저장장치의 플래쉬 메모리에 저장하는 것을 포함하여, 갑작스러운 파워오프가 발생한 플래쉬 저장장치의 플래쉬 메모리에, 플래쉬 저장장치의 메타데이터와 함께 RAID 메타 저장영역에 저장된 입/출력 속성정보를 플러시(flushing) 하도록 구성되는 RAID 동작을 제어하는 방법 및 시스템이 제시된 바 있다. Here, as an example of the prior art for the above-described RAID system and method, for example, first, according to Korean Patent Publication No. 10-2018-0022515, input/output commands for RAID operation from a host device Received, the input/output command includes data and tags, decodes the input/output command tag to extract input/output attribute information of the RAID operation from the input/output command, and input/output attribute information. Flash storage device's flash memory, which includes sudden power-off, including storing it in the RAID meta storage area of the static random access memory (SRAM) of the flash storage device and storing the data in the flash memory device of the flash storage device. A method and system for controlling a RAID operation configured to flush input/output attribute information stored in a RAID meta storage area together with metadata of a storage device has been proposed.

또한, 상기한 바와 같은 RAID 시스템 및 방법에 대한 종래기술의 다른 예로는, 예를 들면, 한국 등록특허공보 제10-1317759호에 따르면, 호스트 컴퓨터에 연결되는 비대칭 RAID 컨트롤러; 및 비대칭 RAID 컨트롤러에 연결되고 이종의 저장 드라이브를 복수 개 가지는 저장 드라이브 세트를 포함하며, 상기 비대칭 RAID 컨트롤러는, 데이터 파일 또는 블록이 외부로부터 저장 드라이브 세트로 저장될 경우 저장 드라이브 세트들 각각의 대기시간, 처리량 및 용량을 포함하는 저장성능 파라미터 세트를 평가하고, 저장 드라이브들 중 대기시간 파라미터가 상대적으로 낮은 저장 드라이브에 데이터 파일 또는 블록의 시작부분을 저장하며, 대기시간 파라미터가 상대적으로 높은 저장 드라이브에 데이터 파일 또는 블록의 나머지 부분을 저장하고, 처리량 파라미터 및 용량 파라미터가 각각 상대적으로 높은 저장 드라이브에 더 많은 데이터를 저장하여, 저장 드라이브 세트 각각의 RAID 구성이 변경되도록 구성되는 RAID 저장 기반 반도체 저장 장치 시스템 아키텍쳐가 제시된 바 있다. In addition, another example of the prior art for the above-described RAID system and method, for example, according to Korean Patent Publication No. 10-1317759, an asymmetric RAID controller connected to a host computer; And a storage drive set connected to the asymmetric RAID controller and having a plurality of heterogeneous storage drives, wherein the asymmetric RAID controller waits for each of the storage drive sets when a data file or block is stored as a storage drive set from the outside. , Evaluates a set of storage performance parameters including throughput and capacity, stores the beginning of a data file or block on a storage drive with a lower latency parameter among storage drives, and a storage drive with a higher latency parameter A RAID storage-based semiconductor storage system configured to store the rest of a data file or block, and store more data in a storage drive with relatively high throughput parameters and capacity parameters, so that the RAID configuration of each storage drive set is changed. Architecture has been suggested.

상기한 바와 같이, 종래, RAID 시스템 및 방법에 대하여 여러 가지 기술내용들이 제시된 바 있으나, 상기한 바와 같은 종래기술의 내용들은 다음과 같은 문제점이 있는 것이었다. As described above, various technical contents have been suggested for the conventional RAID system and method, but the contents of the prior art as described above have the following problems.

즉, 일반적으로, 기존의 RAID 시스템들은, 저장장치의 상태를 표시하기 위해 각각 LED들이 설치되어 장치의 정상작동 여부를 표시하며, 예를 들면, 특정 저장장치에 오류가 발생한 경우 해당 장치에 대한 오류표시 LED가 점멸하는 방식으로 시스템 관리자에게 알려 조치를 취할 수 있도록 하고, 시스템에 따라서는 알람소리를 발생하여 더 적극적으로 알리도록 구성된 경우도 있다. That is, in general, conventional RAID systems, each LED is installed to indicate the status of the storage device to indicate whether the device is operating normally, for example, when an error occurs in a specific storage device, the error for the device The display LED flashes to inform the system administrator to take action, and depending on the system, it may be configured to generate an alarm sound to more actively notify.

그러나 상기한 바와 같은 종래기술의 RAID 시스템들은, 2대 또는 그 이상의 하드디스크를 구비하는 하드웨어 형태로 구현되는 하드웨어 RAID 시스템으로 구성됨으로 인해, 저장장치의 용량을 절반밖에 사용하지 못하는 더하여, 전체적인 장치 구성이 복잡해지고 비용이 고가인 문제도 있었다. However, since the RAID systems of the prior art as described above are composed of a hardware RAID system implemented in a hardware form having two or more hard disks, only half of the capacity of the storage device is used, and the overall device configuration There was also the problem of this complexity and cost.

여기서, 인터넷 서버를 비롯하여 각종 서버 시스템에서 주로 사용되는 OS(Operation System)로서, 유닉스(UNIX)와 이의 파생품으로서 기능이 동일한 리눅스(Linux) 등의 OS에는 소프트웨어로 구현되는 RAID 시스템인 소프트-RAID를 내장하고 있어 고가 장비인 하드웨어 RAID 시스템을 갖추지 않고서도 RAID 기능을 사용할 수 있으나, 소프트-RAID는 소프트웨어에 의해 가동되기 때문에 하드웨어로 구성된 진정한 RAID 시스템에 비해 속도가 많이 떨어지므로 소규모 서버나 간이형 서버에서 주로 사용된다. Here, as an OS (Operation System) mainly used in various server systems, including Internet servers, Unix (UNIX) and its derivatives, such as Linux (Linux), the same function as the software is implemented in software RAID system Soft-RAID With built-in, you can use the RAID function without having an expensive hardware RAID system, but since the Soft-RAID is operated by software, it is much slower than a true RAID system composed of hardware, so it is a small server or a simple server. It is mainly used in

또한, 소프트-RAID는 하드웨어 RAID 시스템과 달리 소프트웨어에 의해 구현됨으로 인해 LED 등과 같은 하드웨어를 이용하여 오류보고를 할 수 없으므로, 특정한 파일(mdstat라는 이름의 파일)에 하드디스크 장치들의 상태를 수시로 기록하며, 서버 관리자는 이 파일을 열람함으로서 하드디스크 장치들의 상태를 확인할 수 있다. In addition, since the soft-RAID is implemented by software unlike a hardware RAID system, error reporting cannot be performed using hardware such as LEDs, so the status of hard disk devices is frequently recorded in a specific file (a file named mdstat). , The server administrator can check the status of the hard disk devices by viewing this file.

그러나 이러한 방식으로는, OS가 하드디스크에 문제가 발생한 것을 감지하여 상태보고 파일에 기록해 놓더라도 관리자가 서버에 접속하여 이를 확인해야 이상발생을 인지할 수 있으므로, 하드웨어 RAID 시스템과 달리 이상이 발생한 사실을 관리자에게 빠르고 쉽게 알릴 수 있는 방법이 없어 적절한 대응 타이밍을 놓치는 경우가 자주 발생하는 문제가 있다. However, in this way, even if the OS detects a problem with the hard disk and records it in the status report file, the administrator must connect to the server and check it, so that an abnormality can be recognized. There is a problem that frequently misses the appropriate response timing because there is no quick and easy way to notify the administrator.

따라서 상기한 바와 같이, 하드웨어 RAID 시스템에 비해 처리속도가 떨어지는 데 더하여, 하드웨어 RAID 시스템과 달리 이상이 발생한 사실을 관리자에게 빠르고 쉽게 알릴 수 있는 방법이 없음으로 인해 관리자가 서버에 접속하여 직접 확인해야만 이상발생을 인지할 수 있는 한계가 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위하여는, 복잡한 과정이 필요 없이 원격에서 수시로 서버의 상태를 용이하게 확인할 수 있도록 구성되는 소프트-RAID의 상태표시방법을 제공하는 것이 바람직하나, 아직까지 그러한 요구를 모두 만족시키는 장치나 방법은 제시되지 못하고 있는 실정이다. Therefore, as described above, in addition to the lower processing speed than the hardware RAID system, there is no way to notify the administrator of an abnormality quickly and easily unlike the hardware RAID system, so the administrator must contact the server and check directly. In order to solve the problem of the soft-RAID of the prior art, which had a limitation in recognizing the occurrence, a method of displaying the status of the soft-RAID configured to easily check the server status from time to time without the need for a complicated process is required. It is desirable to provide, but no device or method that satisfies all of these needs has yet to be presented.

[선행기술문헌] [Advanced technical literature]

1. 한국 공개특허공보 제10-2018-0022515호 (2018.03.06.) 1. Korea Patent Publication No. 10-2018-0022515 (2018.03.06.)

2. 한국 등록특허공보 제10-1317759호 (2013.10.02.) 2. Korean Registered Patent Publication No. 10-1317759 (2013.10.02.)

본 발명은 상기한 바와 같은 종래기술의 문제점을 해결하고자 하는 것으로, 따라서 본 발명의 목적은, 저장장치에서 발견된 오류를 파일이나 메일을 통하여 보고함으로 인해 시스템 관리자가 항상 직접 시스템에 접속하여 확인해야만 오류를 인지할 수 있는 한계가 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위해, 복잡한 과정이 필요 없이 저장장치의 상태를 원격에서 용이하게 확인할 수 있도록 구성됨으로써 서버 관리자에게 편리성을 제공하는 동시에, 오류발생시 최대한 빠른 시간에 관리자가 인지하고 대응하여 서버의 데이터 안정성을 높일 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법을 제공하고자 하는 것이다. The present invention is intended to solve the problems of the prior art as described above, and therefore, the object of the present invention is that a system administrator must always access and check the system by reporting errors found in the storage device through a file or mail. In order to solve the problem of the soft-RAID of the prior art, which had a limitation in recognizing errors, it is configured to easily check the state of the storage device remotely without the need for a complicated process, while providing convenience to the server administrator. In order to provide a method for displaying the status of soft-RAID using a homepage configured to increase the data stability of the server by recognizing and responding to the administrator as soon as possible when an error occurs.

또한, 본 발명의 다른 목적은, 상기한 바와 같이 저장장치에서 발견된 오류를 시스템 관리자가 직접 확인해야만 인지할 수 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위해, 유닉스 또는 리눅스 서버에서 발생되는 인터넷 홈페이지를 이용하여, 복잡한 로그인 과정이나 콘솔장치로 이동하는 과정이 필요 없이 인터넷이나 와이파이가 되는 곳이면 어디서나 원격에서 수시로 서버의 상태를 직관적으로 용이하게 확인할 수 있도록 구성됨으로써 소프트-RAID의 사용의 편리성과 신뢰성이 크게 향상될 수 있는 동시에, 시스템에 이상이 발생한 경우 관리자가 신속하게 확인하고 조치를 취할 수 있으므로 서버의 데이터 안정성이 크게 증진될 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법을 제공하고자 하는 것이다. In addition, another object of the present invention, in order to solve the problem of the soft-RAID of the prior art that can be recognized only by the system administrator to check the error found in the storage device as described above, is generated in the Unix or Linux server It is convenient to use soft-RAID by using the internet homepage, so that it is possible to intuitively check the server status from remote to frequent anywhere on the Internet or Wi-Fi, without the need for a complicated login process or moving to a console device. Performance and reliability can be greatly improved, and if an error occurs in the system, the administrator can quickly check and take action, so the method of displaying the status of soft-RAID using the homepage is configured to greatly improve the data stability of the server. Is to provide.

상기한 바와 같은 목적을 달성하기 위해, 본 발명에 따르면, 서버에서 발생되는 인터넷 홈페이지를 통하여 서버의 상태를 로그인 절차 없이 원격으로 확인할 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID(Redundant Array of Independent Disks)의 상태표시방법에 있어서, 홈페이지를 통하여 상태표시 프로그램을 호출하는 처리가 수행되는 상태표시 프로그램 호출단계; 상기 상태표시 프로그램 호출단계에서 호출된 상기 상태표시 프로그램을 통하여 이상발생 여부를 판단하는 처리가 수행되는 상태분석단계; 상기 상태분석단계의 분석결과에 따라 해당하는 이미지 파일을 상기 홈페이지로 전송하는 처리가 수행되는 이미지 전송단계; 및 상기 이미지 전송단계에서 전송된 이미지를 상기 홈페이지상에 표시하는 처리가 수행되는 표시단계를 포함하여 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법이 제공된다. In order to achieve the above object, according to the present invention, a soft-RAID (Redundant Array of Independent Disks) using a homepage configured to remotely check a server state without a login procedure through an internet homepage generated by the server. A method of displaying a status, comprising: a step of invoking a status display program in which a process of calling a status display program through a homepage is performed; A status analysis step in which processing for determining whether an abnormality has occurred through the status display program called in the status display program calling step; An image transmission step in which a process of transmitting a corresponding image file to the homepage is performed according to the analysis result of the status analysis step; And a display step in which a process of displaying the image transmitted in the image transmission step on the homepage is performed.

여기서, 상기 상태표시 프로그램 호출단계는, <IMG SRC="프로그램명"> 태그(tag)를 이용하여 상기 상태표시 프로그램을 호출하는 처리가 수행되도록 구성되는 것을 특징으로 한다. Here, the status display program calling step is characterized in that the <IMG SRC = "program name"> tag is used to perform the process of calling the status display program.

또한, 상기 상태분석단계는, 상기 상태표시 프로그램 호출단계에서 호출된 상기 상태표시 프로그램을 통하여 소프트-RAID의 상태보고 파일(mdstat)의 내용을 분석하는 처리가 수행되도록 구성되는 것을 특징으로 한다. In addition, the status analysis step is characterized in that it is configured to perform a process of analyzing the contents of the soft-RAID status report file (mdstat) through the status display program called in the status display program call step.

아울러, 상기 상태분석단계는, 상기 상태보고 파일(mdstat)의 상태표시 항목([UU])의 내용에 언더바(under-bar) 표시가 되어 있으면 해당 장치에 이상이 있는 것으로 판단하는 처리가 수행되도록 구성되는 것을 특징으로 한다. In addition, in the status analysis step, when an under-bar is displayed on the content of the status display item ([UU]) of the status report file mdstat, processing for determining that there is an abnormality in the corresponding device is performed. It is characterized by being configured as possible.

더욱이, 상기 이미지 전송단계는, 각각의 상태에 따라 홈페이지 표시되는 이미지를 미리 외부 파일의 형태로 저장하여 두고, 상기 상태분석단계의 분석결과에 따라 미리 저장된 이미지 중에서 해당하는 이미지 파일을 선택하여 상기 서버로 전송하는 처리가 수행되도록 구성되는 것을 특징으로 한다. Moreover, in the image transmission step, images displayed on the homepage are stored in the form of an external file in advance according to each state, and the corresponding image file is selected from the images stored in advance according to the analysis result of the state analysis step to the server. Characterized in that it is configured to perform the processing to transmit to.

또한, 상기 상태표시 프로그램은, 상기 상태표시 프로그램이 호출되면 소프트-RAID의 상태보고 파일(mdstat)을 읽기(read) 모드로 여는(open) 단계; 상기 상태보고 파일에서 상태 데이터가 있는 위치를 찾아 해당 내용을 추출하는 단계; 필요한 데이터를 모두 추출하면 상기 상태보고 파일과의 연결을 종료하기 위해 상기 상태보고 파일을 닫는(close) 단계; 이미지 마임(mime) 데이터를 출력하여 지금부터 이미지 데이터가 전송됨을 알리는 단계; 이미지 데이터가 전송되면 해당 이미지 파일을 여는(open) 단계; 이미지 파일의 데이터가 종료될 때까지 데이터를 읽어 출력하는 단계; 및 이미지 파일의 데이터가 종료되면 해당 이미지 파일을 닫는(close) 단계를 포함하는 처리가 수행되도록 구성되는 것을 특징으로 한다. In addition, the status display program, when the status display program is called, open the soft-RAID status report file (mdstat) in a read (read) mode; Finding a location of status data in the status report file and extracting the contents; When all necessary data are extracted, closing the status report file to terminate connection with the status report file; Outputting image mime data to notify that image data is transmitted from now on; Opening the image file when the image data is transmitted; Reading and outputting data until the data of the image file ends; And closing the corresponding image file when the data of the image file is finished.

아울러, 본 발명에 따르면, 상기에 기재된 소프트-RAID의 상태표시방법을 이용하여 상태표시가 이루어지도록 구성되는 것을 특징으로 하는 RAID 시스템이 제공된다. In addition, according to the present invention, there is provided a RAID system characterized in that it is configured to display the status using the soft-RAID status display method described above.

더욱이, 본 발명에 따르면, 상기에 기재된 소프트-RAID의 상태표시방법을 이용하여 상태표시가 이루어지도록 구성되는 것을 특징으로 하는 서버가 제공된다. Moreover, according to the present invention, there is provided a server characterized in that the status display is made by using the above-described soft-RAID status display method.

상기한 바와 같이, 본 발명에 따르면, 유닉스 또는 리눅스 서버에서 발생되는 인터넷 홈페이지를 이용하여 복잡한 로그인 과정이나 콘솔장치로 이동하는 과정이 필요 없이 인터넷이나 와이파이가 되는 곳이면 어디서나 원격에서 수시로 서버의 상태를 직관적으로 용이하게 확인할 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법이 제공됨으로써, 저장장치에서 발견된 오류를 파일이나 메일을 통하여 보고함으로 인해 시스템 관리자가 항상 직접 시스템에 접속하여 확인해야만 오류를 인지할 수 있는 한계가 있었던 종래기술의 소프트-RAID의 문제점을 해결할 수 있다. As described above, according to the present invention, by using the Internet homepage generated by the Unix or Linux server, there is no need for a complicated login process or a process of moving to a console device. By providing a soft-RAID status display method using a homepage that is configured to be easily and intuitively checked, errors found in the storage device are reported through a file or e-mail, so the system administrator must always access and check the system for errors. It is possible to solve the problem of the soft-RAID of the prior art had a limitation to recognize the.

또한, 본 발명에 따르면, 상기한 바와 같이 복잡한 과정이 필요 없이 저장장치의 상태를 원격에서 용이하게 확인할 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법이 제공됨으로써, 서버 관리자에게 편리성을 제공하고 소프트-RAID의 사용의 편리성과 신뢰성이 크게 향상될 수 있는 동시에, 시스템에 이상이 발생한 경우 관리자가 신속하게 확인하고 조치를 취할 수 있으므로 서버의 데이터 안정성이 크게 증진될 수 있다. In addition, according to the present invention, by providing a method for displaying the status of the soft-RAID using a homepage configured to easily check the status of the storage device remotely without the need for a complicated process as described above, convenience for the server administrator is provided. Provided, the ease of use and reliability of the soft-RAID can be greatly improved, and at the same time, when the system has an error, the administrator can quickly check and take action, so the data stability of the server can be greatly improved.

도 1은 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 전체적인 구성을 개략적으로 나타내는 도면이다.
도 2는 홈페이지에서 소프트-RAID 상태표시 프로그램을 호출하는 소스코드의 구성예를 나타내는 도면이다.
도 3은 소프트-RAID에서 하드디스크 장치들의 상태를 기록하는 mdstat 파일의 구성예를 나타내는 도면이다.
도 4는 장치의 상태를 홈페이지 표시하기 위해 홈페이지로 회신되는 이미지의 구성예를 개략적으로 나타내는 도면이다.
도 5는 소프트-RAID 상태표시 프로그램의 전체적인 처리과정을 개략적으로 나타내는 플로차트이다.
도 6은 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법에 의해 작성된 상태표시 프로그램(mdstat.cgi)을 홈페이지에서 호출하여 실행한 결과의 표시예를 개략적으로 나타낸 도면이다.
도 7은 도 6에 나타낸 실행결과의 다른 표시예를 개략적으로 나타낸 도면이다.
도 8은 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 전체적인 구성을 개략적으로 나타내는 플로차트이다.
1 is a view schematically showing an overall configuration of a method for displaying a status of a soft-RAID using a homepage according to an embodiment of the present invention.
2 is a diagram showing an example of the configuration of the source code that calls the soft-RAID status display program on the homepage.
FIG. 3 is a diagram showing an example of a configuration of an mdstat file for recording the status of hard disk devices in soft-RAID.
4 is a diagram schematically showing a configuration example of an image returned to the homepage to display the homepage of the device.
5 is a flowchart schematically showing the overall processing of the soft-RAID status display program.
6 is a view schematically showing an example of a result of executing a status display program (mdstat.cgi) created by a method for displaying a status of a soft-RAID using a homepage according to an embodiment of the present invention and executing it on the homepage.
FIG. 7 is a diagram schematically showing another display example of the execution result shown in FIG. 6.
8 is a flowchart schematically showing the overall configuration of a soft-RAID status display method using a homepage according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여, 본 발명에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 구체적인 실시예에 대하여 설명한다. Hereinafter, with reference to the accompanying drawings, a specific embodiment of a method for displaying the status of soft-RAID using the homepage according to the present invention will be described.

여기서, 이하에 설명하는 내용은 본 발명을 실시하기 위한 하나의 실시예일 뿐이며, 본 발명은 이하에 설명하는 실시예의 내용으로만 한정되는 것은 아니라는 사실에 유념해야 한다. Here, it should be noted that the contents described below are only one embodiment for carrying out the present invention, and the present invention is not limited to the contents of the embodiments described below.

또한, 이하의 본 발명의 실시예에 대한 설명에 있어서, 종래기술의 내용과 동일 또는 유사하거나 당업자의 수준에서 용이하게 이해하고 실시할 수 있다고 판단되는 부분에 대하여는, 설명을 간략히 하기 위해 그 상세한 설명을 생략하였음에 유념해야 한다. In addition, in the following description of the embodiments of the present invention, the same or similar to the contents of the prior art or those that are determined to be easily understood and practiced at the level of those skilled in the art, for the sake of brevity of the detailed description It should be noted that is omitted.

즉, 본 발명은, 후술하는 바와 같이, 저장장치에서 발견된 오류를 파일이나 메일을 통하여 보고함으로 인해 시스템 관리자가 항상 직접 시스템에 접속하여 확인해야만 오류를 인지할 수 있는 한계가 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위해, 복잡한 과정이 필요 없이 저장장치의 상태를 원격에서 용이하게 확인할 수 있도록 구성됨으로써 서버 관리자에게 편리성을 제공하는 동시에, 오류발생시 최대한 빠른 시간에 관리자가 인지하고 대응하여 서버의 데이터 안정성을 높일 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법에 관한 것이다. That is, the present invention, as will be described later, is a software of the prior art that has a limitation in recognizing an error only when a system administrator always accesses and checks the system directly by reporting an error found in a storage device through a file or an email. -To solve the problem of RAID, it is configured to be able to easily check the status of the storage device remotely without the need for a complicated process, while providing convenience to the server administrator, and when the error occurs, the administrator recognizes and responds as quickly as possible The present invention relates to a method for displaying the status of soft-RAID using a homepage configured to increase data stability of a server.

아울러, 본 발명은, 후술하는 바와 같이, 저장장치에서 발견된 오류를 시스템 관리자가 직접 확인해야만 인지할 수 있었던 종래기술의 소프트-RAID의 문제점을 해결하기 위해, 유닉스 또는 리눅스 서버에서 발생되는 인터넷 홈페이지를 이용하여, 복잡한 로그인 과정이나 콘솔장치로 이동하는 과정이 필요 없이 인터넷이나 와이파이가 되는 곳이면 어디서나 원격에서 수시로 서버의 상태를 직관적으로 용이하게 확인할 수 있도록 구성됨으로써 소프트-RAID의 사용의 편리성과 신뢰성이 크게 향상될 수 있는 동시에, 시스템에 이상이 발생한 경우 관리자가 신속하게 확인하고 조치를 취할 수 있으므로 서버의 데이터 안정성이 크게 증진될 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법에 관한 것이다. In addition, the present invention, as will be described later, in order to solve the problem of the soft-RAID of the prior art that can be recognized only by the system administrator to check the errors found in the storage device, Internet homepage generated in the Unix or Linux server By using, it is configured to be able to intuitively easily check the server's status from remote to anywhere on the Internet or Wi-Fi without the need for complicated login process or moving to the console device. While this can be greatly improved, the administrator can quickly check and take action when an error occurs in the system, so it is related to a soft-RAID status display method using a homepage configured to greatly improve the data stability of the server. .

여기서, 본 발명에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 구체적인 내용에 대하여 설명하기 전에, 먼저, 소프트-RAID의 구체적인 내용에 대하여 설명한다. Here, before describing the details of the method for displaying the status of the soft-RAID using the homepage according to the present invention, first, the specific contents of the soft-RAID will be described.

또한, 소프트-RAID는 내부 기능에 따라 여러 가지 레벨(Level)이 있으나, 여기서는 가장 단순한 RAID Level-1을 기준으로 설명한다. In addition, soft-RAID has various levels according to internal functions, but it is described here based on the simplest RAID Level-1.

즉, 소프트-RAID는, 하드웨어 RAID 시스템과 마찬가지로 2개의 동일한 하드디스크를 설치한 후 이들을 1개의 하드디스크로서 관리하고, 서버에서 어떤 데이터를 기록할 때 OS의 RAID 관리 소프트웨어에 의해 2개의 하드 디스크에 각각 동일한 데이터를 기록하며, 이때, 단일로 구성된 하드디스크 또는 하드웨어 RAID 시스템에 비해 2배의 시간이 소요되지만 하드웨어 RAID 시스템과 동일한 데이터 안정성을 확보할 수 있다. In other words, Soft-RAID, like a hardware RAID system, installs two identical hard disks, manages them as one hard disk, and when writing any data from the server, it is installed on the two hard disks by the RAID management software of the OS. Each record the same data, and at this time, it takes twice the time compared to a single hard disk or a hardware RAID system, but can secure the same data stability as a hardware RAID system.

그러나 소프트-RAID는, 소프트웨어에 의해 구현되는 것임으로 인해 하드웨어 RAID 시스템과 달리 LED 등과 같은 하드웨어를 이용하여 오류보고를 할 수 없으므로, 특정한 파일(mdstat라는 이름의 파일)에 하드디스크 장치들의 상태를 수시로 기록하고, 서버 관리자는 이 파일을 열람하여 하드디스크 장치들의 상태를 확인할 수 있다. However, since soft-RAID is implemented by software, it is not possible to report errors using hardware such as LEDs, unlike hardware RAID systems, so the status of hard disk devices in a specific file (file named mdstat) is often Record, and the server administrator can view the file to check the status of the hard disk devices.

상기한 바와 같이, 소프트-RAID는 기본적으로 소프트웨어에 의해 운영되는 시스템이므로 몇 가지 제약점이 발생하는데, 그 중 가장 큰 제약점은 하드디스크 장치에서 이상이 발생했을 때 이를 관리자에게 빠르고 쉽게 알릴 수 없다는 것이다. As described above, since soft-RAID is basically a system operated by software, there are some limitations. Among them, the biggest limitation is that an error in the hard disk device cannot be quickly and easily notified to the administrator. .

즉, 서버 시스템을 구성하는 하드디스크 중 어느 하나에 이상이 발생한 경우 시스템 관리자가 이를 최대한 빠른 시간에 인식하고 조치해야 데이터의 안정성이 확보되므로, 하드웨어 RAID 시스템에서는 오류가 발생하면 경보와 함께 어떤 하드 디스크에 문제가 발생했는지 경고램프 등을 통해 표시하도록 구성된다. In other words, if any one of the hard disks constituting the server system has an error, the system administrator must recognize and take action as soon as possible to ensure the stability of the data. It is configured to indicate whether a problem has occurred with a warning lamp.

반면, 소프트-RAID의 경우는, OS가 하드디스크에 문제가 발생한 것을 감지하여 상태보고 파일에 기록해 놓더라도 관리자가 서버에 접속하여 이를 확인해야만 비로소 오류발생을 인지할 수 있으므로, 하드웨어 RAID 시스템과 같이 장치에 이상이 발생한 사실을 관리자에게 빠르고 쉽게 알릴 수 있는 방법이 없어 적절한 유지보수 타이밍을 놓치는 경우가 빈번하게 발생하는 문제가 있다. On the other hand, in the case of soft-RAID, even if the OS detects a problem with the hard disk and records it in the status report file, the administrator can connect to the server and check it, so that an error can be recognized only. There is a problem that frequently misses proper maintenance timing because there is no quick and easy way to notify the administrator of an abnormality in the device.

여기서, 소프트-RAID에서 관리자가 서버 시스템의 상태를 확인하는 절차는, 크게 나누어, ID 입력, 비밀번호 입력, 상태보고 파일의 확인명령 입력의 과정을 포함하여 이루어진다. Here, in soft-RAID, the procedure for the administrator to check the status of the server system is largely divided, and includes a process of inputting an ID, inputting a password, and inputting a confirmation command of a status report file.

더 상세하게는, 먼저, ID 입력절차는, 서버 시스템의 콘솔(console) 장치(모니터)를 켜고 시스템 관리자 ID를 입력하는 과정으로, 이때, 서버 보안상 시스템 관리는 일반적으로 원격에서는 불가능하도록 구성되므로, ID 입력은 반드시 관리자가 서버가 위치한 장소로 이동하여 서버에 설치된 콘솔장치에서 입력해야 한다. More specifically, first, the ID input process is a process of turning on a console device (monitor) of a server system and inputting a system administrator ID. At this time, system management is generally configured to be impossible remotely due to server security. , ID input must be made by the administrator to go to the location where the server is located and input from the console device installed on the server.

이어서, 비밀번호 입력절차는 시스템 관리자의 비밀번호를 입력하여 로그인(log-in)을 행하는 과정이고, 상태보고 파일의 확인명령 입력절차는 로그인 후 상태보고 파일이 위치한 디렉토리로 이동하여 확인명령을 입력하고 상태보고 파일의 내용을 확인하는 과정이다. Subsequently, the password input procedure is a process of entering the password of the system administrator to log-in, and the input procedure of the confirmation command of the status report file is entered after logging in to the directory where the status report file is located and inputting the confirmation command and status This is the process of checking the contents of the report file.

상기한 바와 같이, 종래의 소프트-RAID는, 서버의 상태를 확인하기 위해 최소 3단계의 입력절차를 거쳐야 비로소 상태보고 파일을 확인할 수 있고, 또한, 파일 내용을 해독해야 어떤 장치가 이상이 있는지를 비로소 관리자가 인지할 수 있으므로, 전체적인 과정이 복잡하여 일반적으로 관리자가 거의 확인하지 않는 경우가 많아 시스템 안정성을 최상으로 유지하기 어려운 문제가 있으며, 그로 인해, 소프트-RAID는 상당한 데이터 안정성을 제공하는 방법임에도 불구하고 실제 시스템 관리자들 사이에서는 그다지 실효성이 없는 것으로 간주되어 널리 사용되지 않는 실정이다. As described above, in the conventional soft-RAID, at least three steps of input procedures are required to check the status of the server so that the status report file can be confirmed only, and also, what device is in trouble by decrypting the file contents As the administrator can recognize it, the overall process is complicated, and it is difficult to maintain the system stability at the best because the administrator usually rarely checks it. Therefore, soft-RAID provides a method for providing considerable data stability. Despite this, it is not widely used because it is regarded as very ineffective among actual system administrators.

이에, 소프트-RAID를 개발한 팀에서도 상기한 바와 같은 제약점을 인지하고 이를 개선하고자 최근에는 관리자의 이메일(e-mail)로 오류보고를 전송하도록 하였으나, 이 방법은 서버에 메일처리 데몬(daemon)을 설치하고, RAID 장치들의 상태를 감시하여 메일로 보내는 데몬을 또 설치해야 하는 등의 복잡한 과정을 거쳐야 하며, 이들 프로그램에 의해 서버에 부하가 가중되는 단점이 있다. Therefore, the team that developed the Soft-RAID has recently sent an error report to the administrator's e-mail in order to recognize the above-mentioned limitations and improve them, but this method uses a mail processing daemon (daemon) on the server. ), and it is necessary to go through complicated processes such as installing a daemon to send e-mail by monitoring the status of RAID devices, and there is a disadvantage in that the load is increased on the server by these programs.

또한, 이 방법은 비록 설치과정은 복잡하지만 개발 초기에는 매우 효과적으로 관리자에게 오류보고를 할 수 있는 유용한 수단이었으나, 최근에는 이러한 오류보고 메일로 위장해 각종 악성 프로그램, 해킹 프로그램이나 랜섬웨어 등을 전송함으로 인해 오히려 관리자의 보안이 취약해지는 폐단이 발생함에 따라 보고 메일이 오더라도 열람하지 않고 무시하는 경우가 증가하여 큰 효과를 얻지 못하고 있다.Also, although the installation process was complicated, it was a useful means to report errors to the administrator very effectively in the early stages of development, but recently it was disguised as an error report e-mail to transmit various malicious programs, hacking programs or ransomware. As a result, as the administrator's security is weakened, there is an increase in the number of cases in which the report e-mail is not viewed and ignored even if an e-mail is received.

여기서, 데몬(daemon)이란 서버나 PC에서 항상 가동상태에서 대기 중인 프로그램을 의미하며, PC에서는 바이러스 백신이나 USB 자동감지 프로그램 등이 여기에 속하고, 반면, 예를 들면, 엑셀이나 파워포인트 등과 같이, 사용자가 필요에 의해 실행시키는 프로그램 종류를 어플리케이션 프로그램(application program)이라 한다. Here, the daemon (daemon) refers to a program that is always in a running state on a server or PC, and an antivirus or USB auto-detection program belongs to the PC, whereas, for example, Excel or PowerPoint. , A program type executed by a user when necessary is called an application program.

따라서 상기한 바와 같은 종래기술의 소프트-RAID의 문제점들을 해소하기 위해, 본 발명은, 후술하는 바와 같이 하여 복잡한 로그인 과정 없이 원격에서도 수시로 서버의 상태를 용이하게 확인할 수 있도록 구성되는 소프트-RAID의 상태표시방법을 제시하였다. Therefore, in order to solve the problems of the soft-RAID of the prior art as described above, the present invention, as described below, the status of the soft-RAID configured to be able to easily check the status of the server from time to time even without a complicated login process The presentation method was presented.

계속해서, 도면을 참조하여, 본 발명에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 구체적인 내용에 대하여 설명한다. Subsequently, with reference to the drawings, detailed contents of the method for displaying the status of soft-RAID using the homepage according to the present invention will be described.

먼저, 도 1을 참조하면, 도 1은 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 전체적인 구성을 개략적으로 나타내는 도면이다. First, referring to FIG. 1, FIG. 1 is a diagram schematically showing an overall configuration of a method for displaying a status of a soft-RAID using a homepage according to an embodiment of the present invention.

도 1에 나타낸 바와 같이, 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법은, 상태표시 프로그램을 통하여 상태 보고파일을 분석하고, 분석된 결과에 해당하는 표시내용을 가져와 인터넷 홈페이지를 통해 표시하는 것으로 서버의 장치 상태를 원격에서 쉽게 확인할 수 있도록 구성된다. As shown in Fig. 1, the method for displaying status of a soft-RAID using a homepage according to an embodiment of the present invention analyzes a status report file through a status display program and fetches the display contents corresponding to the analyzed results, and then displays the internet homepage. It is configured to be able to easily check the device status of the server by displaying through.

더 상세하게는, 복잡한 로그인 과정 없이 서버의 상태를 확인하고, 특히, 콘솔장치로 이동하지 않고 원격에서 수시로 확인할 수 있는 방법으로는 서버에서 발생되는 인터넷 홈페이지를 이용하는 것이 있으며, 서버 시스템이 본래 웹서버용이라면 당연히 홈페이지가 발생할 것이고, 다른 용도의 서버라 할지라도 홈페이지 발생기능은 리눅스 OS에서 기본적으로 가지고 있는 기능이므로, 별도의 추가적인 구성이 없이도 인터넷 홈페이지를 통해 소프트-RAID의 장치 상태를 표시하는 것이 가능하다. More specifically, it is possible to check the status of the server without a complicated login process, and in particular, a method for checking remotely from time to time without moving to a console device is to use an Internet homepage generated by the server. Of course, the homepage will be generated, and even if it is a server for other purposes, the homepage generation function is a function basically possessed by the Linux OS, so it is possible to display the soft-RAID device status through the internet homepage without additional configuration. .

여기서, 인터넷 홈페이지를 통해 소프트-RAID의 장치 상태를 표시하도록 구성시, 홈페이지 자체에서 기능을 구현할 경우 홈페이지의 구성이 복잡해지고 홈페이지 재편성시 항상 신경을 써야 하는 단점이 있으므로, 따라서 홈페이지에서 소프트-RAID 상태표시 프로그램을 호출하는 방법으로 구성해야 홈페이지와 소프트-RAID 상태표시 기능이 분리되어 홈페이지 관리 및 개편이 용이해진다. Here, when configuring to display the device status of the soft-RAID through the internet homepage, there is a disadvantage that the configuration of the homepage is complicated when the function is implemented in the homepage itself, and the homepage is reorganized. Therefore, the homepage has a soft-RAID state. The homepage and the soft-RAID status display function are separated only when the display program is called to facilitate the homepage management and reorganization.

이를 위해, 홈페이지에서 소프트-RAID 상태표시 프로그램을 호출하는 가장 간단한 방법은 홈페이지 코드 중의 원하는 곳에 <IMG SRC=""> 태그(tag)를 이용해 그림으로 표시하는 것이다. To this end, the simplest way to call the soft-RAID status display program on the homepage is to display it as a picture using the <IMG SRC=""> tag anywhere in the homepage code.

즉, 도 2를 참조하면, 도 2는 홈페이지에서 소프트-RAID 상태표시 프로그램을 호출하는 소스코드의 구성예를 나타내는 도면이다. That is, referring to FIG. 2, FIG. 2 is a diagram showing a configuration example of a source code that calls a soft-RAID status display program on a homepage.

더 상세하게는, 예를 들면, <IMG SRC = "abc.jpg">라는 태그는 홈페이지 상에 abc.jpg라는 그림을 표시하라는 것이고, 일반적으로 인터넷 서버에서는 시스템 보안관리를 위해 프로그램 종류들은 "cgi-bin"이라는 특정한 장소에 저장하고 집중 관리하며, 이에, 도 2의 리스트에서는 그림 이름 대신 "cgi-bin" 디렉토리에 있는 mdstat.cgi라는 프로그램을 호출하면 이 프로그램에서 그림 데이터를 전송해 표시하도록 구성된다. More specifically, for example, the tag <IMG SRC = "abc.jpg"> is to display the picture abc.jpg on the homepage. In general, in the Internet server, program types for the system security management are "cgi -bin" is stored in a specific place and intensively managed. Therefore, in the list of FIG. 2, when a program called mdstat.cgi in the "cgi-bin" directory is called instead of the picture name, this program is configured to transmit and display picture data. do.

또한, 소프트-RAID 상태표시 프로그램에서 그림의 형태로 상태를 나타내도록 구성할 때, 그림 데이터를 프로그램 내부에 포함시킬 경우 홈페이지 배경색이나 디자인과 어울리도록 조절하기 매우 어렵고, 즉, 발생될 그림의 형태나 색상 등을 변경하려면 해당 프로그램을 개조해야 하는 불편함이 뒤따르므로, 그림 데이터를 외부 파일의 형태로 유지하고 이를 프로그램에서 가져오는(fetch) 형태가 바람직하다. In addition, when configuring to display the status in the form of a picture in the soft-RAID status display program, it is very difficult to adjust it to match the background color or design of the homepage when including the picture data inside the program, that is, the form of the picture to be generated or Since it is inconvenient to change the program to change the color, etc., it is desirable to keep the picture data in the form of an external file and fetch it from the program.

즉, 도 1에 나타낸 전체 계통도에 있어서, 인터넷 홈페이지를 구성하는 내용에 적혀있는 <IMG SRC=""> 태그에서 그림 이름 대신 상태표시 프로그램을 호출하면(과정 ①), 호출된 프로그램에서는 소프트-RAID의 상태 보고파일을 분석하고(과정 ②), 분석결과에 따라 장치의 상태에 해당하는 그림을 가져오며(과정 ③), 이를 홈페이지로 회신하면(과정 ④), 홈페이지에서는 이 그림을 홈페이지상에 표시하는(과정 ⑤) 일련의 처리과정을 통하여 로그인 등의 복잡한 절차가 필요 없이 서버의 상태를 홈페이지를 통해 원격에서 수시로 확인할 수 있다. That is, in the entire system diagram shown in FIG. 1, if the status display program is called instead of the picture name in the <IMG SRC=""> tag written in the contents constituting the Internet homepage (process ①), the called program is soft-RAID Analyze the status report file of (process ②), bring the picture corresponding to the device status according to the analysis result (process ③), and return it to the homepage (process ④), and the homepage displays this picture on the homepage Through the process (process ⑤), the status of the server can be checked remotely through the homepage without the need for complicated procedures such as login.

계속해서, 상태표시 프로그램에서 진행되는 구체적인 처리과정에 대하여 설명한다. Subsequently, a specific processing process performed in the status display program will be described.

먼저, 도 3을 참조하면, 도 3은 소프트-RAID에서 하드디스크 장치들의 상태를 기록하는 mdstat 파일의 구성예를 나타내는 도면이다. First, referring to FIG. 3, FIG. 3 is a diagram showing an example of a configuration of an mdstat file for recording the status of hard disk devices in soft-RAID.

도 3에 나타낸 바와 같이, 소프트-RAID는 특정한 파일(mdstat라는 이름의 파일)에 하드디스크 장치들의 상태를 기록해 나타내며, 도 3에서 화살표로 표시한 부분이 하드디스크 장치들의 상태를 나타낸 것으로서, 각각 다음과 같은 의미를 나타낸다. As shown in FIG. 3, soft-RAID records the status of hard disk devices in a specific file (a file named mdstat), and the part indicated by the arrow in FIG. 3 shows the state of hard disk devices, respectively. It has the same meaning.

ⓐ 라인 Ⓐ line

md0 : 2개의 하드 디스크 장치가 md0라는 이름으로 함께 묶여 있음을 나타내며, 즉, 사용자가 md0라는 이름의 가상적인 하드디스크 장치에 데이터를 기록하면, 실제로는 md0를 구성하고 있는 각각의 하드 디스크 장치들에 모두 기록된다. md0: indicates that two hard disk devices are grouped together under the name md0, that is, when a user writes data to a virtual hard disk device named md0, each of the hard disk devices that actually constitute md0 It is all written on.

active raid1 hdc1[0] hdd1[1] : hdc1이라는 하드디스크 장치(일렬번호 [0])와 hdd1이라는 하드디스크 장치(일렬번호 [1]) 2개가 raid1(RAID Level-1)로서 가동상태에 있음을 의미하고, 만약 2개의 하드디스크 장치 중 이상이 발생한 것이 있다면 그 장치명은 이 리스트에서 제거되어 나타난다. active raid1 hdc1[0] hdd1[1]: Two hard disk devices called hdc1 (serial number [0]) and two hard disk devices called hdd1 (serial number [1]) are operating as raid1 (RAID Level-1). Means, if any of the two hard disk devices have an error, the device name is removed from this list.

ⓑ 라인 Ⓑ line

숫자 : 하드디스크의 용량을 블록 단위로 나타낸 것(블록은 RAID로 묶여 데이터가 기록되는 단위)이다. Number: It shows the capacity of the hard disk in block units (blocks are grouped in RAID and data is recorded).

[2/2] : 2개의 하드디스크 중 2개가 모두 정상 가동 중임을 나타낸다. [2/2]: Indicates that 2 out of 2 hard disks are operating normally.

[UU] : 하드 디스크 장치들의 가동상태를 표시한 것으로서, 두 하드디스크 장치가 모두 정상일 경우 [UU]로 표시하고, 장치 리스트(hdc1, hdd1) 중 앞의 장치(hdc1)에 이상이 발생한 경우 [_U]로, 뒤의 장치(hdd1)에 이상이 발생한 경우 [U_]로 이상 유무를 표시한다. [UU]: It indicates the operation status of hard disk devices. When both hard disk devices are normal, it is displayed as [UU], and when an error occurs in the previous device (hdc1) in the device list (hdc1, hdd1) [ _U], when an abnormality occurs in the next device (hdd1), the presence or absence of the abnormality is indicated by [U_].

즉, 상기한 각종 정보들 중 최종적으로 ⓑ 라인 마지막의 [UU]에 언더바(under-bar) 표시가 되어 있으면 해당 장치에 이상이 있음을 확인할 수 있다. That is, if an under-bar is displayed on [UU] at the end of the line ⓑ of the above-mentioned various information, it can be confirmed that there is an abnormality in the corresponding device.

그 후, 상기한 바와 같이 하여 분석된 결과에 따라 미리 저장된 이미지 중 하나를 선택하여 홈페이지로 회신한다. Then, according to the analyzed result as described above, one of the images stored in advance is selected and returned to the homepage.

즉, 도 4를 참조하면, 도 4는 장치의 상태를 홈페이지 표시하기 위해 홈페이지로 회신되는 이미지의 구성예를 개략적으로 나타내는 도면이다. That is, referring to FIG. 4, FIG. 4 is a diagram schematically showing a configuration example of an image returned to the homepage in order to display the homepage of the device.

도 4에 있어서, 예를 들면, 백색의 원은 녹색, 흑색 원은 적색으로 표현할 수 있으며, 배경색은 투명, 즉, 통과(transparency)로 구성할 수 있다. In FIG. 4, for example, a white circle may be green and a black circle may be red, and the background color may be transparent, that is, transparency.

따라서 상기한 바와 같이 하여 홈페이지 표시되는 이미지를 외부 파일의 형태로 구성함으로써, 차후 이미지만 교체하는 것으로 표시될 이미지를 쉽게 변경할 수 있다. Therefore, by configuring the image displayed on the homepage in the form of an external file as described above, it is possible to easily change the image to be displayed by replacing only the next image.

계속해서, 도 5를 참조하면, 도 5는 상기한 바와 같이 하여 이루어지는 소프트-RAID 상태표시 프로그램의 전체적인 처리과정을 개략적으로 나타내는 플로차트이다. Continuing with reference to FIG. 5, FIG. 5 is a flowchart schematically showing the overall processing of the soft-RAID status display program made as described above.

도 5에 나타낸 바와 같이, 먼저, 소프트-RAID 상태표시 프로그램이 호출되면 상태보고 파일을 읽기(read) 모드로 open하고, 이에 대한 C-언어 코드의 예는 다음과 같다. As shown in FIG. 5, first, when the soft-RAID status display program is called, the status report file is opened in a read mode, and an example of the C-language code for this is as follows.

Figure pat00001
Figure pat00001

이어서, [UU], [_U] 등의 상태 데이터가 있는 위치를 찾아 이를 추출하며, 이에 대한 C-언어 코드의 예는 다음과 같다. Subsequently, a location with status data such as [UU] and [_U] is found and extracted, and an example of the C-language code for this is as follows.

Figure pat00002
Figure pat00002

상기한 바와 같이 하여 필요한 데이터를 모두 추출하면 상태보고 파일과의 연결을 종료하기 위해 상태보고 파일을 close 하고, 이에 대한 C-언어 코드의 예는 다음과 같다. When all necessary data is extracted as described above, the status report file is closed to terminate the connection with the status report file, and an example of the C-language code for this is as follows.

Figure pat00003
Figure pat00003

다음으로, 이미지 마임(mime) 데이터를 출력하여 지금부터 이미지 데이터가 전송됨을 알리며, 이는 홈페이지를 처리하는 브라우저(browser), 즉, 익스플로러나 크롬 등과 같은 프로그램에서 어떤 종류의 데이터를 수신하고 있는지를 알리는 것으로서, 이미지 마임이라면 화면에 보여주는 동작, 소리 마임이라면 소리로 발생하는 동작, 글자 마임이라면 글자를 표시해 주는 동작 등을 지시하는 일종의 브라우저에 대한 명령이고, 이에 대한 C-언어 코드의 예는 다음과 같다. Next, it outputs image mime data to notify that image data is transmitted from now on, which informs what kind of data is being received from a browser that processes the homepage, that is, programs such as Explorer or Chrome. As an example, this is a command for a browser that instructs the action to be displayed on the screen if it is an image mime, the action that occurs as a sound if it is a sound mime, and the action to display a character if it is a mime. .

Figure pat00004
Figure pat00004

즉, 상기한 실시예에서는 이미지 데이터이고 gif 형식으로 되어 있음을 알리고 있다. That is, in the above-described embodiment, it is announced that the image data is in gif format.

이미지 데이터를 전송하기 위해 해당 이미지 파일을 open 하며, 이에 대한 C-언어 코드의 예는 다음과 같다. To transmit the image data, the corresponding image file is opened, and an example of C-language code for this is as follows.

Figure pat00005
Figure pat00005

여기서, 본 실시예에서는, 4가지 파일의 명칭을 "gUU.gif", "g_U.gif", "gU_.gif", "g__.gif" 로 구성하여 장치의 상태정보가 그대로 파일명으로 사용될 수 있도록 하였다. Here, in this embodiment, the names of the four files are composed of "gUU.gif", "g_U.gif", "gU_.gif", and "g__.gif" so that the device status information can be used as the file name. Did.

계속해서, 이미지 파일의 데이터가 종료될 때까지 데이터를 읽어 출력하며, 이에 대한 C-언어 코드의 예는 다음과 같다. Subsequently, data is read and output until the data of the image file is finished, and an example of the C-language code for this is as follows.

Figure pat00006
Figure pat00006

이미지 파일의 데이터가 종료되면 해당 이미지 파일을 close 하고, 이에 대한 C-언어 코드의 예는 다음과 같다. When the data of the image file is finished, the image file is closed, and an example of C-language code for this is as follows.

Figure pat00007
Figure pat00007

계속해서, 도 6을 참조하면, 도 6은 상기한 바와 같이 하여 구성되는 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법에 의해 작성된 상태표시 프로그램(mdstat.cgi)을 홈페이지에서 호출하여 실행한 결과의 표시예를 개략적으로 나타낸 도면이다. Subsequently, referring to FIG. 6, FIG. 6 shows a status display program (mdstat.cgi) created by the soft-RAID status display method using the homepage according to an embodiment of the present invention configured as described above on the homepage. It is a diagram schematically showing an example of display of the result of calling and executing.

도 6에 나타낸 바와 같이, 홈페이지의 HTML 코드로서 홈페이지 구성 중에 <IMG SRC="프로그램명"> 태그를 삽입해 상태표시 프로그램을 호출하고, 그 결과 도 6(b)와 같이 이미지의 형태로 결과가 표시된다. As shown in Fig. 6, as the HTML code of the homepage, the <IMG SRC="program name"> tag is inserted during the homepage configuration to invoke the status display program, and as a result, the result in the form of an image as shown in Fig. 6(b). Is displayed.

도 6에 나타낸 표시예에서는 모두 녹색으로서 두 하드디스크 장치가 모두 정상임을 나타내고 있다. In the display example shown in FIG. 6, both are green, indicating that both hard disk devices are normal.

또한, 도 7을 참조하면, 도 7은 도 6에 나타낸 실행결과의 다른 표시예를 개략적으로 나타낸 도면이다. In addition, referring to FIG. 7, FIG. 7 is a diagram schematically showing another display example of the execution result shown in FIG. 6.

도 7에 나타낸 바와 같이, 필요에 따라 홈페이지를 다른 형태로 구성하고 상태표시용 이미지도 다른 형태로 구성될 수 있으며, 만약 홈페이지의 배경색이나 디자인이 변경되었을 경우 도 7(b)의 실행결과와 같이 다른 이미지의 형태로 구성할 수 있다. As shown in FIG. 7, if necessary, the homepage may be configured in a different form, and the image for status display may also be configured in a different form. If the background color or design of the homepage is changed, as in the execution result of FIG. 7B It can be configured in the form of other images.

즉, 도 7에 나타낸 표시예에서는 1번 장치는 정상이지만 2번 장치에 이상이 발생한 것을 스마일 이미지의 형태로 나타내었으며, 즉, 본 발명은, 홈페이지의 배경색이나 홈페이지의 분위기 및 디자인에 따라 이미지 파일을 교체함으로써 일반 사용자들 입장에서는 어색하지 않으면서도 관리자 입장에서는 항시 서버의 상태를 용이하게 확인할 수 있다. That is, in the display example shown in FIG. 7, device 1 is normal, but an abnormality has occurred in device 2 in the form of a smile image. That is, the present invention is an image file according to the background color of the homepage or the atmosphere and design of the homepage. By replacing it, the status of the server can be easily checked at all times by administrators without being awkward for the general users.

따라서 상기한 바와 같은 내용으로부터, 본 발명에 따르면, 서버의 상태를 홈페이지를 통해 표시하므로 인터넷이나 와이파이가 되는 곳이면 어디서나 원격에서 서버의 상태를 확인할 수 있고, 복잡한 로그인 과정 없이 수시로 서버의 소프트-RAID 상태를 확인할 수 있으므로, 시스템에 이상이 발생한 경우 관리자가 빠른 시간에 적절한 조치를 취하여 서버의 데이터 안정성이 크게 증진될 수 있다. Therefore, from the above, according to the present invention, since the server status is displayed through the homepage, the server status can be remotely checked from anywhere on the Internet or Wi-Fi, and the server's soft-RAID is often performed without complicated login process. Since the status can be checked, the server's data stability can be greatly improved by taking appropriate measures in a short time if the system has an error.

또한, 본 발명에 따르면, 홈페이지 태그를 이용해 서버 상태를 표시하므로 홈페이지의 어느 위치에나 자유롭게 정보를 위치시킬 수 있으며, 상태표시용 이미지를 외부 파일의 형태로 유지하는 것에 의해 필요에 따라 홈페이지의 디자인에 맞는 그림으로 교체하는 작업이 매우 용이하게 이루어질 수 있다. In addition, according to the present invention, since the server status is displayed using the homepage tag, information can be freely located at any location on the homepage, and the image for status display can be used to design the homepage as needed by maintaining the image in the form of an external file. It can be very easy to replace with the right picture.

아울러, 본 발명에 따르면, 상기한 바와 같은 특징들에 의해 관리자가 서버 상태를 용이하게 확인하기 어려웠던 종래기술의 소프트-RAID의 단점을 해결하여, 고가의 하드웨어 RAID 시스템과 같이 쉽게 장치상태의 확인이 가능한 데 더하여, 원격에서도 용이하게 확인이 가능하므로 소프트-RAID의 사용과 신뢰성이 크게 향상될 수 있을 것으로 기대된다. In addition, according to the present invention, by solving the disadvantages of the soft-RAID of the prior art, which was difficult for the administrator to easily check the server status by the above-described features, it is easy to check the device status, such as an expensive hardware RAID system. In addition, it is expected that the use and reliability of Soft-RAID can be greatly improved because it can be easily checked remotely.

이상, 상기한 바와 같이 하여 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법을 구현할 수 있으며, 즉, 도 8을 참조하면, 도 8은 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 전체적인 구성을 개략적으로 나타내는 플로차트이다. As described above, it is possible to implement a soft-RAID status display method using a homepage according to an embodiment of the present invention, that is, referring to FIG. 8, FIG. 8 uses a homepage according to an embodiment of the present invention. This is a flowchart schematically showing the overall configuration of the soft-RAID status display method.

도 8에 나타낸 바와 같이, 본 발명의 실시예에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법은, 크게 나누어, 서버에서 발생되는 인터넷 홈페이지를 통하여 상태표시 프로그램을 호출하는 프로그램 호출단계(S10)와, 상태표시 프로그램을 통하여 상태보고 파일의 내용을 분석하는 처리가 수행되는 상태분석단계(S20)와, 분석결과에 따라 해당하는 이미지 파일을 선택하여 홈페이지로 전송하는 이미지 전송단계(S30) 및 전송된 이미지를 홈페이지상에 표시하는 표시단계(S40)를 포함하여 구성될 수 있다. As shown in FIG. 8, the method for displaying status of soft-RAID using a homepage according to an embodiment of the present invention is largely divided into a program call step (S10) of calling a status display program through an internet homepage generated by a server. , A status analysis step (S20) in which the processing of analyzing the contents of the status report file is performed through the status display program, and an image transmission step (S30) in which the corresponding image file is selected and transmitted to the homepage according to the analysis result and transmitted It may be configured to include a display step (S40) for displaying the image on the homepage.

여기서, 상기한 상태분석단계(S20) 및 이미지 전송단계(S30)의 처리는 상태표시 프로그램에 의해 수행되도록 구성될 수 있으며, 아울러, 상기한 각 단계(S10 ~ S40)의 처리에 대한 구체적인 내용은 도 1 내지 도 7을 참조하여 상기한 바와 같이 하여 구성될 수 있으므로, 여기서는 설명을 간략히 하기 위해 중복되는 내용에 대한 설명은 생략하였음에 유념해야 한다. Here, the processing of the above-described state analysis step (S20) and the image transmission step (S30) may be configured to be performed by the status display program, and further details on the processing of each of the above steps (S10 to S40) Since it may be configured as described above with reference to FIGS. 1 to 7, it should be noted that descriptions of overlapping contents are omitted here for the sake of brevity.

따라서 상기한 바와 같이 하여 본 발명에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법을 구현할 수 있다. Therefore, as described above, a method for displaying the status of soft-RAID using the homepage according to the present invention can be implemented.

또한, 상기한 바와 같이 하여 본 발명에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법을 구현하는 것에 의해, 본 발명에 따르면, 유닉스 또는 리눅스 서버에서 발생되는 인터넷 홈페이지를 이용하여 복잡한 로그인 과정이나 콘솔장치로 이동하는 과정이 필요 없이 인터넷이나 와이파이가 되는 곳이면 어디서나 원격에서 수시로 서버의 상태를 직관적으로 용이하게 확인할 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법이 제공됨으로써, 저장장치에서 발견된 오류를 파일이나 메일을 통하여 보고함으로 인해 시스템 관리자가 항상 직접 시스템에 접속하여 확인해야만 오류를 인지할 수 있는 한계가 있었던 종래기술의 소프트-RAID의 문제점을 해결할 수 있다. In addition, by implementing the soft-RAID status display method using the homepage according to the present invention as described above, according to the present invention, a complex login process or console device using an internet homepage generated by a Unix or Linux server Provided is a method for displaying the status of the soft-RAID using a homepage, which is configured to easily and intuitively check the status of the server from anywhere on the Internet or Wi-Fi where there is no need to go to the Internet. By reporting the error through a file or mail, the system administrator can always solve the problem of the soft-RAID of the prior art, which had a limitation in recognizing the error only by directly accessing and checking the system.

아울러, 본 발명에 따르면, 상기한 바와 같이 복잡한 과정이 필요 없이 저장장치의 상태를 원격에서 용이하게 확인할 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID의 상태표시방법이 제공됨으로써, 서버 관리자에게 편리성을 제공하고 소프트-RAID의 사용의 편리성과 신뢰성이 크게 향상될 수 있는 동시에, 시스템에 이상이 발생한 경우 관리자가 신속하게 확인하고 조치를 취할 수 있으므로 서버의 데이터 안정성이 크게 증진될 수 있다. In addition, according to the present invention, by providing a method for displaying the status of the soft-RAID using a homepage configured to easily check the status of the storage device remotely without the need for a complicated process as described above, convenience to the server administrator is provided. Provided, the ease of use and reliability of the soft-RAID can be greatly improved, and at the same time, when the system has an error, the administrator can quickly check and take action, so the data stability of the server can be greatly improved.

이상, 상기한 바와 같은 본 발명의 실시예를 통하여 본 발명에 따른 홈페이지를 이용한 소프트-RAID의 상태표시방법의 상세한 내용에 대하여 설명하였으나, 본 발명은 상기한 실시예에 기재된 내용으로만 한정되는 것은 아니며, 따라서 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 설계상의 필요 및 기타 다양한 요인에 따라 여러 가지 수정, 변경, 결합 및 대체 등이 가능한 것임은 당연한 일이라 하겠다. In the above, through the embodiments of the present invention as described above, the details of the method for displaying the status of soft-RAID using the homepage according to the present invention have been described, but the present invention is limited only to the contents described in the above embodiments. No, therefore, the present invention will be understood that various modifications, changes, combinations, and substitutions are possible according to design needs and various other factors by those skilled in the art to which the present invention pertains.

Claims (8)

서버에서 발생되는 인터넷 홈페이지를 통하여 서버의 상태를 로그인 절차 없이 원격으로 확인할 수 있도록 구성되는 홈페이지를 이용한 소프트-RAID(Redundant Array of Independent Disks)의 상태표시방법에 있어서,
홈페이지를 통하여 상태표시 프로그램을 호출하는 처리가 수행되는 상태표시 프로그램 호출단계;
상기 상태표시 프로그램 호출단계에서 호출된 상기 상태표시 프로그램을 통하여 이상발생 여부를 판단하는 처리가 수행되는 상태분석단계;
상기 상태분석단계의 분석결과에 따라 해당하는 이미지 파일을 상기 홈페이지로 전송하는 처리가 수행되는 이미지 전송단계; 및
상기 이미지 전송단계에서 전송된 이미지를 상기 홈페이지상에 표시하는 처리가 수행되는 표시단계를 포함하여 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법.
In the method of displaying the status of soft-RAID (Redundant Array of Independent Disks) using a homepage configured to remotely check the server status through an internet homepage generated by the server, without a login procedure,
A status display program calling step in which a process of calling a status display program through a homepage is performed;
A status analysis step in which processing for determining whether an abnormality has occurred through the status display program called in the status display program calling step;
An image transmission step in which a process of transmitting a corresponding image file to the homepage is performed according to the analysis result of the status analysis step; And
And displaying the image transmitted in the image transmission step on the homepage, including a display step in which processing is performed.
제 1항에 있어서,
상기 상태표시 프로그램 호출단계는,
<IMG SRC="프로그램명"> 태그(tag)를 이용하여 상기 상태표시 프로그램을 호출하는 처리가 수행되도록 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법.
According to claim 1,
The status display program calling step,
<IMG SRC="program name"> A method of displaying a status of a soft-RAID, characterized in that the processing for calling the status display program is performed using a tag.
제 1항에 있어서,
상기 상태분석단계는,
상기 상태표시 프로그램 호출단계에서 호출된 상기 상태표시 프로그램을 통하여 소프트-RAID의 상태보고 파일(mdstat)의 내용을 분석하는 처리가 수행되도록 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법.
According to claim 1,
The state analysis step,
A method for displaying the status of a soft-RAID, characterized in that the processing for analyzing the contents of the status report file (mdstat) of the soft-RAID is performed through the status display program called in the status display program calling step.
제 3항에 있어서,
상기 상태분석단계는,
상기 상태보고 파일(mdstat)의 상태표시 항목([UU])의 내용에 언더바(under-bar) 표시가 되어 있으면 해당 장치에 이상이 있는 것으로 판단하는 처리가 수행되도록 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법.
According to claim 3,
The state analysis step,
If the under-bar is displayed on the content of the status display item ([UU]) of the status report file (mdstat), the software is characterized in that it is configured to perform processing to determine that there is an abnormality in the corresponding device. -How to display the status of RAID.
제 1항에 있어서,
상기 이미지 전송단계는,
각각의 상태에 따라 홈페이지에 표시되는 이미지를 미리 외부 파일의 형태로 저장하여 두고, 상기 상태분석단계의 분석결과에 따라 미리 저장된 이미지 중에서 해당하는 이미지 파일을 선택하여 상기 서버로 전송하는 처리가 수행되도록 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법.
According to claim 1,
The image transmission step,
According to each state, the image displayed on the homepage is stored in the form of an external file in advance, and according to the analysis result of the state analysis step, a corresponding image file is selected from the pre-stored image and transmitted to the server. Soft-RAID status display method characterized in that the configuration.
제 1항에 있어서,
상기 상태표시 프로그램은,
상기 상태표시 프로그램이 호출되면 소프트-RAID의 상태보고 파일(mdstat)을 읽기(read) 모드로 여는(open) 단계;
상기 상태보고 파일에서 상태 데이터가 있는 위치를 찾아 해당 내용을 추출하는 단계;
필요한 데이터를 모두 추출하면 상기 상태보고 파일과의 연결을 종료하기 위해 상기 상태보고 파일을 닫는(close) 단계;
이미지 마임(mime) 데이터를 출력하여 지금부터 이미지 데이터가 전송됨을 알리는 단계;
이미지 데이터를 전송하기 위해 해당 이미지 파일을 여는(open) 단계;
이미지 파일의 데이터가 종료될 때까지 데이터를 읽어 출력하는 단계; 및
이미지 파일의 데이터가 종료되면 해당 이미지 파일을 닫는(close) 단계를 포함하는 처리가 수행되도록 구성되는 것을 특징으로 하는 소프트-RAID의 상태표시방법.
According to claim 1,
The status display program,
When the status display program is called, opening a status report file (mdstat) of soft-RAID in a read mode;
Finding a location of status data in the status report file and extracting the contents;
When all necessary data are extracted, closing the status report file to terminate connection with the status report file;
Outputting image mime data to notify that image data is transmitted from now on;
Opening the image file to transmit image data;
Reading and outputting data until the data of the image file ends; And
When the data of the image file is finished, the method of displaying the status of the soft-RAID, characterized in that the processing including the step of closing the image file is performed.
청구항 1항 내지 청구항 6항 중 어느 한 항에 기재된 소프트-RAID의 상태표시방법을 이용하여 상태표시가 이루어지도록 구성되는 것을 특징으로 하는 RAID 시스템.
Claim 1 to claim 6, wherein the RAID system, characterized in that configured to display the status using the soft-RAID status display method according to any one of claims.
청구항 1항 내지 청구항 6항 중 어느 한 항에 기재된 소프트-RAID의 상태표시방법을 이용하여 상태표시가 이루어지도록 구성되는 것을 특징으로 하는 서버.
Claim 1 to claim 6, characterized in that the server is configured to display the status using the soft-RAID status display method according to any one of claims.
KR1020190001706A 2019-01-07 2019-01-07 Method for displaying status of soft-RAID using homepage KR102136710B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190001706A KR102136710B1 (en) 2019-01-07 2019-01-07 Method for displaying status of soft-RAID using homepage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190001706A KR102136710B1 (en) 2019-01-07 2019-01-07 Method for displaying status of soft-RAID using homepage

Publications (2)

Publication Number Publication Date
KR20200085516A true KR20200085516A (en) 2020-07-15
KR102136710B1 KR102136710B1 (en) 2020-07-22

Family

ID=71603598

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190001706A KR102136710B1 (en) 2019-01-07 2019-01-07 Method for displaying status of soft-RAID using homepage

Country Status (1)

Country Link
KR (1) KR102136710B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305329A (en) * 1996-05-14 1997-11-28 Ekushingu:Kk Storage device array system
JP2001306425A (en) * 2000-04-20 2001-11-02 Sel Kk Monitor and control system using internet home page
JP2005293547A (en) * 2004-03-11 2005-10-20 Hitachi Ltd Storage device
JP2015201016A (en) * 2014-04-07 2015-11-12 株式会社STNet cloud server management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305329A (en) * 1996-05-14 1997-11-28 Ekushingu:Kk Storage device array system
JP2001306425A (en) * 2000-04-20 2001-11-02 Sel Kk Monitor and control system using internet home page
JP2005293547A (en) * 2004-03-11 2005-10-20 Hitachi Ltd Storage device
JP2015201016A (en) * 2014-04-07 2015-11-12 株式会社STNet cloud server management system

Also Published As

Publication number Publication date
KR102136710B1 (en) 2020-07-22

Similar Documents

Publication Publication Date Title
US8214333B2 (en) Storage system for managing a log of access
US20050276092A1 (en) Virtual mass storage device for server management information
US10229178B2 (en) Techniques for visualizing storage cluster system configurations and events
CN102779030B (en) A kind of manner of execution of registry operations and device
JP7448593B2 (en) Improved data control and access methods and systems
CN110188013A (en) A kind of log read-write capability test method, device and electronic equipment and storage medium
US10514972B2 (en) Embedding forensic and triage data in memory dumps
JP2016085728A (en) Console message recovery method and system after device failure
WO2023226380A1 (en) Disk processing method and system, and electronic device
US7779428B2 (en) Storage resource integration layer interfaces
CN106021030A (en) Database system and database fault processing method and device
CN113076233B (en) IO performance detection method, device, equipment and storage medium
JP5214135B2 (en) Work content recording system and method, and program thereof
KR102136710B1 (en) Method for displaying status of soft-RAID using homepage
US8122203B2 (en) Serviceability level indicator processing for storage alteration
KR102137891B1 (en) Server managing Method, Server, and Recording medium using User Specialized Operating Mechanism on BMC environment
US20110252256A1 (en) Methods, systems, and computer program products for managing an idle computing component
US20090144466A1 (en) Storage apparatus, storage system and path information setting method
JP6559984B2 (en) Digital evidence creation device, digital evidence creation system, and digital evidence creation program
TWM520713U (en) Hard disk monitoring system
KR101572665B1 (en) Security system to supply screen watch information to prepare information leak and method thereof
WO2011148428A1 (en) Information apparatus and method for controlling the same
CN116881091B (en) System event log reporting method, device, chip, equipment and storage medium
JP2013008188A (en) Computing machine, device management method, program and storage medium
JP6477524B2 (en) Server device, screen information acquisition method, and BMC

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant