KR20140132296A - Virtual machine state analyzing system - Google Patents

Virtual machine state analyzing system Download PDF

Info

Publication number
KR20140132296A
KR20140132296A KR1020140054343A KR20140054343A KR20140132296A KR 20140132296 A KR20140132296 A KR 20140132296A KR 1020140054343 A KR1020140054343 A KR 1020140054343A KR 20140054343 A KR20140054343 A KR 20140054343A KR 20140132296 A KR20140132296 A KR 20140132296A
Authority
KR
South Korea
Prior art keywords
virtual machine
information
module
virtual
monitoring
Prior art date
Application number
KR1020140054343A
Other languages
Korean (ko)
Other versions
KR101567879B1 (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 건국대학교 산학협력단
Publication of KR20140132296A publication Critical patent/KR20140132296A/en
Application granted granted Critical
Publication of KR101567879B1 publication Critical patent/KR101567879B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A state analyzing system for a virtual machine is provided. According to an embodiment of the present invention, the state analyzing system for a virtual machine includes a physical machine which creates a virtual machine by allocating resources; a managing module managing the virtual machine; and a supervising module monitoring the creation of the virtual machine. The managing module manages logs of the virtual machine. The supervising module analyzes the logs, extracts a particular pattern of the logs, and determines the state of the virtual machine by comparing the particular pattern with a predetermined standard pattern.

Description

가상머신 상태 진단 시스템{VIRTUAL MACHINE STATE ANALYZING SYSTEM}[0001] VIRTUAL MACHINE STATE ANALYZING SYSTEM [0002]

본 발명은 가상머신 상태 진단 시스템에 관한 것으로, 보다 자세하게는 가상화 기술 기반의 가상 컴퓨팅 환경에서 가상머신의 생성 과정의 상태를 진단하는 시스템에 관한 것이다.The present invention relates to a virtual machine status diagnosis system, and more particularly, to a system for diagnosing a status of a virtual machine creation process in a virtual computing environment based on virtualization technology.

시스템 가상화 기술은 고성능화 되어가는 컴퓨팅 시스템의 비효율적 자원 활용 및 저비용 고효율 서비스 제공 등의 문제를 해결하기 위한 대안으로써 폭넓은 인지도 형성과 함께 적용 확대가 이루어지고 있다.System virtualization technology is widely used as an alternative to solve problems such as inefficient resource utilization and low cost and high efficiency service of a high performance computing system.

특히, 시스템 가상화 기술은 클라우드 컴퓨팅 (Cloud Computing) 플랫폼을 구현하기 위한 기술 중 하나로써 각광을 받고 있으며, 가상화된 독립 컴퓨팅 환경을 제공하는 VDI (Virtual Desktop Infrastructure) 서비스의 핵심 기반 기술로써 자리매김하고 있다.In particular, system virtualization technology is becoming one of the technologies for implementing the cloud computing platform and has become a core infrastructure technology of Virtual Desktop Infrastructure (VDI) service that provides a virtualized independent computing environment .

이러한 시스템 가상화 기술은 Xen, KVM, VMWare ESX, MS Hyper-V, OpenVZ 등 다양한 가상 머신 모니터 (Virtual Machine Monitor) 또는 하이퍼바이저 (Hypervisor)로 불리는 가상화 소프트웨어를 통해 서비스 가능한 가상화된 시스템의 구축을 가능케 하는 수준에 도달했다. 더욱이 가상화 기술은 고성능화 되어가는 하드웨어 성능으로 인해 임베디드 시스템에서까지 적용되고 있다.These systems virtualization technologies enable the creation of virtualized systems that can be serviced through virtualization software called virtual machine monitors or hypervisors, including Xen, KVM, VMWare ESX, MS Hyper-V, and OpenVZ. Level. Moreover, virtualization technology is being applied to embedded systems because of the high performance hardware capabilities.

이러한 가상화된 시스템 상에서 구동되는 가상 머신은 생성에서 소멸까지 일정한 주기를 가지고 있으며, 가상 머신 운용 주기 중 생성 (Creation) 단계는 향후 운용 (Operation) 단계의 가능 여부를 결정짓는 중요한 단계이다.The virtual machine running on the virtualized system has a certain period from generation to extinction, and the creation phase of the virtual machine operation cycle is an important step for determining whether the operation phase is possible in the future.

이러한 가상 머신 생성 단계는 다양한 원인에 의해 실패할 수 있으며, 다양한 실패 원인 중 가상 디스크(Virtual Disk)와 관련된 내부 또는 외부적 문제 예를 들어, 사용자에 의한 문제 또는 해킹, 비정상적인 파일 I/O 작업 등으로 인해 발생할 수 있다.Such a virtual machine creation step may fail due to various reasons. Among various failure causes, an internal or external problem related to a virtual disk, for example, a problem caused by a user, a hacking, an abnormal file I / O operation ≪ / RTI >

더욱이 VMM 또는 특권 도메인 (Privileged Domain)의 일시적인 오류로 인한 문제뿐 아니라 가상 머신 생성의 지속적인 실패를 초래할 수 있는 영속적 문제까지 치명적인 문제들이 산재해 있다. 하지만, 기존의 가상 머신의 관리 미들웨어 및 도구들에서는 가상 컴퓨팅 자원의 준비 단계 (Provisioning Phase)에서 가상 디스크 결함에 의한 가상 머신 생성 실패의 감지 및 원인 분석 기능을 제공하지 못하고 있다.Furthermore, there are fatal problems, not only because of temporary errors in the VMM or Privileged Domain, but also to persistent problems that can lead to continuous failure of virtual machine creation. However, in the management middleware and tools of the existing virtual machine, failure to detect the virtual machine due to the virtual disk defect in the provisioning phase of the virtual computing resource and to analyze the cause of the failure can not be provided.

따라서 가상 머신 생성 실패 시 관리자는 해당 가상 머신의 생성 실패 요인을 알 수 없었으며, 요인 분석을 위해 생성 실패 상황을 수동으로 확인해야 하는 실정이다. 특히 대규모 가상 머신을 생성하는 가상 클러스터에서 일시적 혹은 영속적으로 발생할 수 있는 가상 머신 생성 실패 문제 발생 시 관리자의 수동적 대응 및 원인 파악은 관리 비용의 급격한 증가를 야기할 수 있다.Therefore, when the virtual machine is not created successfully, the administrator can not know the cause of the failure of the virtual machine. Especially, in the case of virtual machine creation failure that may occur temporarily or permanently in a virtual cluster that creates a large virtual machine, the manual response of the manager and the identification of the cause may lead to a drastic increase in the management cost.

위와 같은 문제점으로부터 안출된 것으로, 본 발명이 해결하고자 하는 기술적 과제는, 가상머신을 생성하는 단계에서 가상머신의 생성 상태를 모니터링하여 다양한 문제에 기인한 가상머신의 생성 실패 및 원인 분석을 신속하게 제공할 수 있는 가상머신 상태 진단 시스템을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for monitoring a creation state of a virtual machine in a step of creating a virtual machine, And to provide a virtual machine condition diagnosis system that can perform the same.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical objects of the present invention are not limited to the above-mentioned technical problems, and other technical subjects not mentioned can be clearly understood by those skilled in the art from the following description.

상기 언급된 기술적 과제들을 해결하기 위한, 본 발명의 일 실시예에 따른 가상머신 상태 진단 시스템은, 리소스를 할당하여 가상머신을 생성하는 물리머신, 상기 가상머신을 관리하는 관리모듈, 및 상기 가상머신의 생성을 모니터링하는 감시모듈을 포함하되, 상기 관리모듈은 상기 가상머신의 로그정보를 관리하고, 상기 감시모듈은 상기 로그정보를 분석하여 상기 로그정보 내의 특정패턴을 추출하고, 상기 감시모듈은 사전 정의된 기준패턴과 상기 특정패턴을 비교하여 상기 가상머신의 상태를 판단한다.According to an aspect of the present invention, there is provided a virtual machine status diagnosis system including a physical machine for allocating resources to create a virtual machine, a management module for managing the virtual machine, Wherein the monitoring module manages log information of the virtual machine and the monitoring module analyzes the log information to extract a specific pattern in the log information, The state of the virtual machine is determined by comparing the defined reference pattern with the specific pattern.

본 발명의 다른 실시예에 따른 가상머신 상태 진단 시스템은, 리소스를 할당하여 가상머신을 생성하는 물리머신, 상기 가상머신을 관리하는 관리모듈, 및 상기 가상머신의 생성을 모니터링하는 감시모듈을 포함하되, 상기 가상머신은 외부의 응답요청신호를 수신하고 이에 대응하여 응답신호를 전송하고, 상기 감시모듈은 상기 응답신호의 응답정보를 기초로 상기 가상머신의 상태를 판단한다.A virtual machine status diagnosis system according to another embodiment of the present invention includes a physical machine for allocating resources to create a virtual machine, a management module for managing the virtual machine, and a monitoring module for monitoring creation of the virtual machine, , The virtual machine receives an external response request signal and transmits a response signal in response thereto, and the monitoring module determines the state of the virtual machine based on the response information of the response signal.

본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템은, 리소스를 할당하여 가상머신을 생성하는 물리머신, 상기 가상머신을 관리하는 관리모듈, 및 상기 가상머신의 생성을 모니터링하는 감시모듈을 포함하되, 상기 관리모듈은 상기 가상머신의 리소스 정보를 제공하고, 상기 감시모듈은 상기 리소스 정보를 기초로 상기 리소스 구성정보를 생성하고, 상기 리소스 구성정보를 기초로 상기 가상머신의 상태를 판단한다.A virtual machine state diagnosis system according to another embodiment of the present invention includes a physical machine for allocating resources to create a virtual machine, a management module for managing the virtual machine, and a monitoring module for monitoring generation of the virtual machine Wherein the management module provides resource information of the virtual machine, the monitoring module generates the resource configuration information based on the resource information, and determines the state of the virtual machine based on the resource configuration information.

상기와 같은 본 발명에 따르면, 가상화된 가상머신에 대한 결함 감지 및 분석 기능을 제공할 수 있다.According to the present invention as described above, a defect detection and analysis function for a virtualized virtual machine can be provided.

또한, 가상 디스크의 결함으로 인한 부트 실패 및 결함 감지 시간을 단축하여 기존에 비해 단축된 시간 즉 정상 부트 시간 내에 감지할 수 있는 기능을 제공할 수 있다.In addition, it is possible to shorten a boot failure and a defect detection time due to a defect of a virtual disk, and to provide a function to detect a shortened time, that is, a normal boot time.

뿐만 아니라, 신뢰성 있는 가상 컴퓨팅 자원 생성을 위해 소요될 수 있는 시간 비용을 줄이고, 신뢰성 검사를 위한 대기 시간의 최적화를 용이하게 할 수 있다.In addition, it is possible to reduce the time cost that can be taken to create a reliable virtual computing resource, and to facilitate optimization of the latency for reliability checking.

또한, 대규모 가상 컴퓨팅 자원 생성시 발생할 수 있는 일부 VM의 생성 실패에 대해 관리자는 정확하게 문제 발생 여부를 인지할 수 있도록 함으로써 관리 효율성을 향상시킬 수 있다.In addition, administrators can improve management efficiency by allowing the administrator to accurately recognize the occurrence of a problem in the generation failure of some VMs that may occur when a large-scale virtual computing resource is created.

도 1은 본 발명의 일 실시예에 따른 가상머신 상태 진단 시스템의 블록도이다.
도 2는 도 1의 감시모듈(130)의 상세 구성을 도시한 블록도이다.
도 3은 도 1의 가상머신 상태 진단 시스템의 다른 블록도이다.
도 4는 도 1의 가상머신 상태 진단 시스템의 순차적인 상태 판단 프로세스를 설명하는 도면이다.
도 5는 본 발명의 다른 실시예에 따른 가상머신 상태 진단 시스템의 순차적인 상태 판단 프로세스를 설명하는 도면이다.
도 6은 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템의 순차적인 상태 판단 프로세스를 설명하는 도면이다.
도 7은 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트실패 처리 프로세스를 설명하는 도면이다.
도 8은 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트실패 분석 프로세스를 설명하는 도면이다.
도 9는 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트성공 처리 프로세스를 설명하는 도면이다.
도 10은 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템의 전체 프로세스를 설명하는 순서도이다.
1 is a block diagram of a virtual machine state diagnostic system in accordance with an embodiment of the present invention.
2 is a block diagram showing the detailed configuration of the monitoring module 130 of FIG.
3 is another block diagram of the virtual machine status diagnosis system of FIG.
4 is a diagram for explaining a sequential state determination process of the virtual machine state diagnosis system of FIG.
5 is a diagram illustrating a sequential state determination process of a virtual machine state diagnosis system according to another embodiment of the present invention.
6 is a view for explaining a sequential state determination process of a virtual machine state diagnosis system according to another embodiment of the present invention.
7 is a view for explaining a boot failure processing process of the virtual machine status diagnosis system according to the embodiments of the present invention.
8 is a diagram illustrating a boot failure analysis process of the virtual machine status diagnosis system according to the embodiments of the present invention.
9 is a view for explaining a boot success process process of the virtual machine status diagnosis system according to the embodiments of the present invention.
10 is a flowchart illustrating an overall process of a virtual machine status diagnosis system according to another embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention, and the manner of achieving them, will be apparent from and elucidated with reference to the embodiments described hereinafter in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. To fully disclose the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless defined otherwise, all terms (including technical and scientific terms) used herein may be used in a sense commonly understood by one of ordinary skill in the art to which this invention belongs. Also, commonly used predefined terms are not ideally or excessively interpreted unless explicitly defined otherwise.

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다.The terminology used herein is for the purpose of illustrating embodiments and is not intended to be limiting of the present invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. The terms " comprises "and / or" comprising "used in the specification do not exclude the presence or addition of one or more other elements in addition to the stated element.

이하, 도면을 참조하여 본 발명의 일 실시예에 따른 가상머신 상태 진단 시스템의 구성에 대해 설명하기로 한다. 도 1은 본 발명의 일 실시예에 따른 가상머신 상태 진단 시스템의 블록도이고, 도 2는 도 1의 감시모듈(130)의 상세 구성을 도시한 블록도이고, 도 3은 도 1의 가상머신 상태 진단 시스템의 다른 블록도이고, 도 4는 도 1의 가상머신 상태 진단 시스템의 순차적인 상태 판단 프로세스를 설명하는 도면이다.Hereinafter, a configuration of a virtual machine status diagnosis system according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a virtual machine state diagnosis system according to an embodiment of the present invention. FIG. 2 is a block diagram showing a detailed configuration of the monitoring module 130 of FIG. 1, FIG. 4 is a view for explaining a sequential state determination process of the virtual machine status diagnosis system of FIG. 1; FIG.

본 발명의 일 실시예에 따른 가상머신 상태 진단 시스템은, 리소스를 할당하여 가상머신(210)을 생성하는 물리머신(110), 상기 가상머신(210)을 관리하는 관리모듈(120), 및 상기 가상머신(210)의 생성을 모니터링하는 감시모듈(130)을 포함하되, 상기 관리모듈(120)은 상기 가상머신(210)의 로그정보를 관리하고, 상기 감시모듈(130)은 상기 로그정보를 분석하여 상기 로그정보 내의 특정패턴을 추출하고, 상기 감시모듈(130)은 사전 정의된 기준패턴과 상기 특정패턴을 비교하여 상기 가상머신(210)의 상태를 판단한다.A virtual machine state diagnosis system according to an embodiment of the present invention includes a physical machine 110 that allocates resources to create a virtual machine 210, a management module 120 that manages the virtual machine 210, And a monitoring module 130 for monitoring the generation of the virtual machine 210. The management module 120 manages log information of the virtual machine 210. The monitoring module 130 monitors the log information And the monitoring module 130 compares the predetermined pattern with the predefined reference pattern to determine the state of the virtual machine 210. [

본 명세서에서 사용되는 사용되는 '부' 또는 '모듈'이라는 용어는 소프트웨어 또는 FPGA또는 ASIC과 같은 하드웨어 구성요소를 의미하며, '부' 또는 '모듈'은 어떤 역할들을 수행한다. 그렇지만 '부' 또는 '모듈'은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '부' 또는 '모듈'은 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '부' 또는 '모듈'은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함할 수 있다. 구성요소들과 '부' 또는 '모듈'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '부' 또는 '모듈'들로 결합되거나 추가적인 구성요소들과 '부' 또는 '모듈'들로 더 분리될 수 있다.The term "sub" or "module" as used herein refers to a hardware component such as software or an FPGA or ASIC, and the term "sub" or "module" performs certain roles. However, " part " or " module " is not meant to be limited to software or hardware. The term " part " or " module " may be configured to reside on an addressable storage medium and configured to play one or more processors. Thus, by way of example, 'a' or 'module' is intended to be broadly interpreted as encompassing any type of process, including features such as software components, object-oriented software components, class components and task components, Microcode, circuitry, data, databases, data structures, tables, arrays, and variables, as used herein, Or " modules " or " modules " or " modules " or " modules " Can be further separated.

물리머신(110)은 소정의 리소스 예를 들어 저장공간, CPU, 메모리 등을 포함할 수 있으며, 리소스를 가상 영역 상의 가상머신(210)에 할당할 수 있다. 하나의 물리머신(110) 내에는 복수의 가상머신(210)이 생성될 수 있으며, 각각의 가상머신(210)은 동적으로 리소스를 할당받을 수 있으며, 리소스를 증가 또는 감소시키는 스케일 업 또는 스케일 다운 프로세스가 수행될 수도 있다.The physical machine 110 may include a predetermined resource, e.g., a storage space, a CPU, a memory, and the like, and may allocate resources to the virtual machine 210 on the virtual area. A plurality of virtual machines 210 can be created in one physical machine 110 and each virtual machine 210 can be dynamically allocated resources and can be scaled up or scaled down Process may be performed.

관리모듈(120)은 물리머신(110) 상에 형성된 복수의 가상머신(210, 220, 230)을 관리할 수 있다. 관리모듈(120)은 예를 들어 하이퍼바이저와 같은 관리 수단을 의미할 수 있으나, 이에 한정되는 것은 아니며 물리머신(110)에 포함되거나 물리머신(110)과 별개의 영역 상에 배치될 수 있다. 관리모듈(120)은 물리머신(110) 내의 리소스를 관리할 수 있으며, 가상머신(210)의 생성 및 삭제를 제어할 수 있다.The management module 120 may manage a plurality of virtual machines 210, 220, and 230 formed on the physical machine 110. The management module 120 may refer to management means such as, for example, a hypervisor, but is not limited thereto and may be included in the physical machine 110 or on a separate area from the physical machine 110. The management module 120 can manage the resources in the physical machine 110 and can control creation and deletion of the virtual machine 210.

클라우드 환경(200)은 복수의 클라우드 서비스를 제공하기 위한 물리적인 서버의 집합을 의미할 수 있으며, 물리적인 서버 상에서 구현된 복수의 가상머신이 제공되는 환경을 의미할 수도 있다.The cloud environment 200 may mean a set of physical servers for providing a plurality of cloud services, and may mean an environment in which a plurality of virtual machines implemented on a physical server are provided.

클라우드 환경(200) 상에 복수의 가상머신(210, 220, 230)이 생성될 수 있으며, 각각의 가상머신은 예를 들어 스토리지 서비스와 같은 가상 컴퓨팅 서비스를 제공하기 위한 서비스 영역 및 서비스 영역을 관리하기 위한 관리 노드를 포함할 수 있다.A plurality of virtual machines 210, 220, and 230 can be created on the cloud environment 200. Each virtual machine manages a service area and a service area for providing a virtual computing service such as a storage service The management node may include a management node.

본 실시예에서, 감시모듈(130)은 가상머신들(210, 220, 230)과 별도의 다른 가상머신으로 구성되는 것으로 도시되었으나, 이에 한정되는 것은 아니며 물리머신(110) 내에 존재하는 물리적인 모듈을 의미할 수도 있다.In this embodiment, the monitoring module 130 is shown to be configured as a separate virtual machine from the virtual machines 210, 220, and 230. However, the present invention is not limited thereto, .

감시모듈(130)은 가상머신(210)의 생성을 모니터링 할 수 있다. 가상머신(210)의 부트 과정에서 다양한 원인에 의해 가상머신(210)이 생성되지 않거나 오류가 발생할 수 있으며, 이 과정을 모니터링하여 가상머신(210)에 문제가 발생했는지 신속하게 판단할 수 있다.The monitoring module 130 may monitor the generation of the virtual machine 210. The virtual machine 210 may not be created or an error may occur due to various causes during the boot process of the virtual machine 210. This process may be monitored to promptly determine whether a problem has occurred in the virtual machine 210. [

보다 구체적으로 도 2를 참조하면, 감시모듈(130)은 가상디스크 분석 유닛(131), 가상화 시스템 분석 유닛(132), 시스템 로그 분석 유닛(133), 가상디스크 정보 조사 유닛(134), 사전체크 유닛(135), 가상머신 부팅 실패 감지 유닛(136), 가상머신 생성 모니터링 유닛(137), 가상 컴퓨팅 리소스 모니터링 유닛(138) 및 가상머신 콘솔 모니터링 유닛(139)을 포함할 수 있다.2, the monitoring module 130 includes a virtual disk analysis unit 131, a virtualization system analysis unit 132, a system log analysis unit 133, a virtual disk information examination unit 134, Unit 135, a virtual machine boot failure detection unit 136, a virtual machine creation monitoring unit 137, a virtual computing resource monitoring unit 138, and a virtual machine console monitoring unit 139.

가상디스크 분석 유닛(131), 가상화 시스템 분석 유닛(132) 및 시스템 로그 분석 유닛(133)은 테스트 가상머신에 대한 가상 컴퓨팅 자원 활용 상태를 모니터링 및 조사를 담당하는 가상 컴퓨팅 자원 모니터링 그룹을 구성할 수 있으며, 가상디스크 정보 조사 유닛(134), 사전체크 유닛(135), 가상머신 부팅 실패 감지 유닛(136), 가상머신 생성 모니터링 유닛(137), 가상 컴퓨팅 리소스 모니터링 유닛(138) 및 가상머신 콘솔 모니터링 유닛(139)은 조사 계층과 가상머신 부트 실패를 분석하는 가상머신 부트 실패 분석 그룹으로 분류될 수 있다.The virtual disk analysis unit 131, the virtualization system analysis unit 132 and the system log analysis unit 133 can configure a virtual computing resource monitoring group responsible for monitoring and investigating the virtual computing resource utilization status for the test virtual machine A virtual machine boot monitoring unit 137, a virtual computing resource monitoring unit 138, and a virtual machine console monitoring unit 136 The unit 139 can be classified into an investigation layer and a virtual machine boot failure analysis group that analyzes the virtual machine boot failure.

가상디스크 분석 유닛(Virtual Disk Analysis Unit)(131)은 가상 디스크 상태를 분석할 수 있으며, 가상화 시스템 분석 유닛(Virtualized System Analysis Unit)(132)은 가상머신을 생성을 관장하는 가상화된 시스템에 대한 분석을 수행하며, 시스템 로그 분석 유닛(System Log Analysis Unit)(133)은 가상머신이 부트 과정 중에서 발생하는 콘솔 로그를 분석할 수 있다.The virtual disk analysis unit 131 can analyze the state of the virtual disk, and the virtualized system analysis unit 132 can analyze the virtualized system that manages creation of the virtual machine. , And a system log analysis unit (133) can analyze console logs generated by the virtual machine during the boot process.

가상디스크 정보 검사 유닛(Virtual Disk Information Inspector Unit)(134)은 가상디스크 정보 추출 및 검사를 수행할 수 있으며, 사전체크 유닛(Pre-Checking Unit)(135)는 테스트를 진행할 가상화된 시스템 상에 테스트 가상머신의 존재 여부 확인 등의 테스트 환경에 대한 사전 검사를 수행할 수 있고, 가상머신 부팅 실패 감지 유닛(VM Boot Fail Detector Unit)(136)은 테스트 도중 발생할 수 있는 가상 머신 부트 실패를 감지하고, 가상머신 생성 모니터링 유닛(VM Creation Monitor Unit)(137)은 가상머신 생성을 감지하고, 가상 컴퓨팅 리소스 모니터링 유닛(Virtual Computing Resource; VCR Monitor Unit)(138)은 세부적으로 가상 컴퓨팅 자원을 모니터링 할 수 있으며, 가상머신 콘솔 모니터링 유닛(VM Console Monitor Unit)(139)은 가상머신의 부트 과정에 대한 콘솔 출력물을 모니터링한다.The Virtual Disk Information Inspector Unit 134 may perform virtual disk information extraction and inspection and a Pre-Checking Unit 135 may perform a test on the virtualized system to be tested The VM Boot Fail Detector Unit 136 can detect a virtual machine boot failure that may occur during the test, The VM Creation Monitor Unit 137 senses virtual machine creation and the Virtual Computing Resource (VCR Monitor Unit) 138 can monitor virtual computing resources in detail , The VM Console Monitor Unit 139 monitors the console output for the boot process of the virtual machine.

도 3을 참조하면, 클라이언트(미도시)를 통해 복수의 가상머신(210, 220, 230, 240, 250, 260)에 접속하여 예를 들어 스토리지 서비스나 웹서비스와 같은 클라우드 서비스를 제공받는 사용자가 하나의 저장영역을 사용하는 것으로 인식되도록, 복수의 가상머신(210, 220, 230, 240, 250, 260)은 클러스터링되어 소정의 가상 클러스터를 포함하는 클라우드 환경(200)을 구성할 수 있다.3, a user accessing a plurality of virtual machines 210, 220, 230, 240, 250 and 260 through a client (not shown) and receiving a cloud service such as a storage service or a web service A plurality of virtual machines 210, 220, 230, 240, 250, and 260 may be clustered to configure a cloud environment 200 including a predetermined virtual cluster so as to be recognized as using one storage area.

도 4를 참조하면, 제1 가상머신(210)을 관리하는 관리모듈(120)은 제1 가상머신(210)의 로그정보를 수집 및 관리할 수 있으며, 로그정보는 관리모듈(120)에서 감시모듈(130)로 전송될 수 있다. 감시모듈(130)은 로그정보를 분석하여 로그정보 내의 특정패턴을 추출하고, 사전 정의된 기준패턴과 특정패턴을 비교하여 가상머신(210)의 상태를 판단할 수 있다.4, the management module 120 managing the first virtual machine 210 may collect and manage log information of the first virtual machine 210, and the log information may be monitored by the management module 120 Module 130 as shown in FIG. The monitoring module 130 may analyze the log information to extract a specific pattern in the log information, and compare the predetermined pattern with a predetermined pattern to determine the state of the virtual machine 210.

예를 들어 특정패턴은 소정 키워드이고, 기준패턴은 특정패턴과 대응되는 키워드 그룹일 수 있다. 즉, 로그정보 중에 특정 키워드를 검출하여 가상머신의 부트 성공 또는 부트 실패를 판단할 수 있다For example, the specific pattern may be a predetermined keyword, and the reference pattern may be a keyword group corresponding to a specific pattern. That is, a specific keyword can be detected in the log information to determine the boot success or the boot failure of the virtual machine

이하, 도면을 참조하여 본 발명의 다른 실시예에 따른 가상머신 상태 진단 시스템의 구성에 대해 설명하기로 한다. 도 5는 본 발명의 다른 실시예에 따른 가상머신 상태 진단 시스템의 순차적인 상태 판단 프로세스를 설명하는 도면이다.Hereinafter, a configuration of a virtual machine status diagnosis system according to another embodiment of the present invention will be described with reference to the drawings. 5 is a diagram illustrating a sequential state determination process of a virtual machine state diagnosis system according to another embodiment of the present invention.

본 실시예에 따른 가상머신 상태 진단 시스템의 구성은 이전 실시예와 동일하되, 가상머신의 상태를 판단하는 과정이 상이하다.The configuration of the virtual machine status diagnosis system according to the present embodiment is the same as that of the previous embodiment, but the process of determining the status of the virtual machine is different.

즉, 도 5를 참조하면, 본 발명의 다른 실시예에 따른 가상머신 상태 진단 시스템은, 리소스를 할당하여 가상머신(210)을 생성하는 물리머신(110), 가상머신(210)을 관리하는 관리모듈(120), 및 가상머신(210)의 생성을 모니터링하는 감시모듈(130)을 포함하되, 가상머신(210)은 외부의 응답요청신호를 수신하고 이에 대응하여 응답신호를 전송하고, 감시모듈(130)은 응답신호의 응답정보를 기초로 가상머신의 상태를 판단한다.5, the virtual machine state diagnosis system according to another embodiment of the present invention includes a physical machine 110 that allocates resources to create a virtual machine 210, a management unit that manages the virtual machine 210, Module 120 and a monitoring module 130 for monitoring the generation of the virtual machine 210. The virtual machine 210 receives an external response request signal and transmits a response signal corresponding thereto, The controller 130 determines the state of the virtual machine based on the response information of the response signal.

응답정보는 응답요청신호에 대한 응답시간을 포함하고, 감시모듈(130)은 응답시간을 기초로 가상머신의 상태를 판단할 수 있다. 소정 기준 응답시간과 비교하여 일정 시간 이상 응답이 지연되는 경우 가상머신의 생성 상태를 실패로 판단할 수 있다. 응답요청신호는 가상머신 내부 또는 외부에서 전송될 수 있으며, 물리머신(110)의 외부에서 전송될 수도 있다.The response information includes a response time to the response request signal, and the monitoring module 130 can determine the state of the virtual machine based on the response time. If the response is delayed for a predetermined time or more compared with the predetermined reference response time, the generation state of the virtual machine can be determined as failure. The response request signal may be transmitted either inside or outside the virtual machine, or may be transmitted outside the physical machine 110. [

이하, 도면을 참조하여 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템의 구성에 대해 설명하기로 한다. 도 6은 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템의 순차적인 상태 판단 프로세스를 설명하는 도면이다.Hereinafter, a configuration of a virtual machine status diagnosis system according to another embodiment of the present invention will be described with reference to the drawings. 6 is a view for explaining a sequential state determination process of a virtual machine state diagnosis system according to another embodiment of the present invention.

본 실시예에 따른 가상머신 상태 진단 시스템의 구성은 이전 실시예와 동일하되, 가상머신의 상태를 판단하는 과정이 상이하다.The configuration of the virtual machine status diagnosis system according to the present embodiment is the same as that of the previous embodiment, but the process of determining the status of the virtual machine is different.

즉, 도 6을 참조하면, 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템은, 리소스를 할당하여 가상머신(210)을 생성하는 물리머신(110), 가상머신(210)을 관리하는 관리모듈(120), 및 가상머신(210)의 생성을 모니터링하는 감시모듈(130)을 포함하되, 관리모듈(120)은 가상머신(210)의 리소스 정보를 제공하고, 감시모듈(130)은 리소스 정보를 기초로 리소스 구성정보를 생성하고, 리소스 구성정보를 기초로 가상머신(210)의 상태를 판단할 수 있다.6, the virtual machine status diagnosis system according to another embodiment of the present invention includes a physical machine 110 that allocates resources to create a virtual machine 210, a virtual machine 210 that manages the virtual machine 210 A management module 120 and a monitoring module 130 for monitoring the generation of the virtual machine 210. The management module 120 provides resource information of the virtual machine 210 and the monitoring module 130 The resource configuration information may be generated based on the resource information, and the status of the virtual machine 210 may be determined based on the resource configuration information.

리소스 정보 또는 리소스 구성정보는, 가상머신의 생성시간, 가상머신의 컴퓨팅 자원 할당시간, 가상머신의 리소스 사용량, 가상머신의 리소스 사용시간, 가상머신의 리소스 사용률 중 하나를 포함할 수 있다.The resource information or resource configuration information may include one of a creation time of the virtual machine, a computing resource allocation time of the virtual machine, a resource usage of the virtual machine, a resource utilization time of the virtual machine, and a resource utilization rate of the virtual machine.

감시모듈(130)은 예를 들어 가상머신의 리소스 사용량이 소정 기준치 미만인 경우, 가상머신이 정상적으로 생성되지 않았거나 정상적으로 부팅되지 않은 것으로 판단할 수 있다.For example, if the resource usage of the virtual machine is less than a predetermined reference value, the monitoring module 130 can determine that the virtual machine has not been normally created or that the virtual machine has not booted normally.

이하, 도면을 참조하여 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트 처리 프로세스에 대해 설명하기로 한다. 도 7은 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트실패 처리 프로세스를 설명하는 도면이고, 도 8은 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트실패 분석 프로세스를 설명하는 도면이고, 도 9는 본 발명의 실시예들에 따른 가상머신 상태 진단 시스템의 부트성공 처리 프로세스를 설명하는 도면이다. Hereinafter, a boot processing process of a virtual machine status diagnosis system according to embodiments of the present invention will be described with reference to the drawings. FIG. 7 is a view for explaining a boot failure processing process of the virtual machine status diagnosis system according to the embodiments of the present invention, and FIG. 8 is a view for explaining the boot failure analysis process of the virtual machine status diagnosis system according to the embodiments of the present invention And FIG. 9 is a view for explaining a boot success process process of the virtual machine status diagnosis system according to the embodiments of the present invention.

도 7을 참조하면, 가상머신(210)의 상태가 부트실패인 것으로 판단되는 경우, 관리모듈(120)은 가상머신(210)에 대한 실패 프로파일을 생성할 수 있다.Referring to FIG. 7, when it is determined that the state of the virtual machine 210 is a boot failure, the management module 120 may generate a failure profile for the virtual machine 210.

몇몇 다른 실시예에서 실패 프로파일은 관리모듈(120)과 별도의 모듈에서 생성될 수 있다.In some other embodiments, the failure profile may be generated in a separate module from the management module 120. [

가상머신(210)의 상태가 부트실패인 것으로 판단되는 경우, 관리모듈(120) 또는 별도의 모듈에서 가상머신(210)의 제거명령 및 신규가상머신에 대한 생성명령을 생성할 수 있으며, 감시모듈(130)은 신규가상머신의 자원사용정보 또는 신규로그정보를 분석하여 신규가상머신의 상태를 판단할 수 있다.If it is determined that the state of the virtual machine 210 is a boot failure, the management module 120 or a separate module can generate a removal command of the virtual machine 210 and a generation command for the new virtual machine, The controller 130 may analyze the resource usage information or the new log information of the new virtual machine to determine the state of the new virtual machine.

도 8을 참조하면, 가상머신(210)의 상태가 부트실패인 경우, 로그정보를 기초로 가상머신(210)의 실패원인을 분석하는 실패분석모듈(140)을 더 포함할 수 있다. 실패분석모듈(140)은 가상머신(210)의 디스크정보를 추출하고, 디스크정보를 목록화하고, 목록화된 가상머신(210)의 파티션 정보를 기초로 가상머신(210)의 실패원인을 결정할 수 있다.Referring to FIG. 8, the failure analysis module 140 may analyze the failure cause of the virtual machine 210 based on log information when the state of the virtual machine 210 is a boot failure. The failure analysis module 140 extracts the disk information of the virtual machine 210, lists the disk information, and determines the cause of failure of the virtual machine 210 based on the partition information of the listed virtual machine 210 .

또한, 실패분석모듈(140)은, 가상머신(210)의 파티션 정보를 추출하고, 파티션 정보를 기초로 파티션 정보 검사를 수행할 수 있다.In addition, the failure analysis module 140 may extract partition information of the virtual machine 210 and perform partition information inspection based on the partition information.

도 9를 참조하면, 본 실시예에 따른 가상머신 상태 진단 시스템은 가상머신 생성 프로파일을 생성하는 프로파일모듈(150)을 더 포함할 수 있다. 생성된 프로파일은 가상머신의 부트 성공 또는 실패와 무관하게 생성될 수 있으며, 사용자 또는 관리자는 프로파일을 기초로 가상머신의 상태를 실시간 또는 사후적으로 판단할 수 있다.Referring to FIG. 9, the virtual machine status diagnosis system according to the present embodiment may further include a profile module 150 for generating a virtual machine creation profile. The generated profile can be generated regardless of the boot success or failure of the virtual machine, and the user or the administrator can judge the status of the virtual machine in real time or posteriorly based on the profile.

몇몇 다른 실시예에서, 가상머신 상태 진단 시스템은 물리머신에서 리소스를 할당하여 가상머신을 생성하되, 가상머신의 생성을 관리하는 물리머신 또는 가상머신 자체의 운영체제에서 가상머신에 대한 로그정보를 출력할 수 있다. 또는, 운영체제를 관리하는 커널에서 생성되는 로그정보를 기초로 하여 가상머신의 상태 정보를 분석할 수 있다.In some other embodiments, the virtual machine state diagnostic system allocates resources in a physical machine to create a virtual machine, but outputs log information for the virtual machine in the operating system of the physical machine or the virtual machine itself that manages the creation of the virtual machine . Alternatively, the status information of the virtual machine can be analyzed based on log information generated in the kernel managing the operating system.

또한, 몇몇 다른 실시예에서, 감시모듈(130)은 가상머신의 생성과 관련하여 출력된 로그정보를 분석하여 특정키워드의 출연패턴을 기초로 가상머신의 상태를 판단할 수 있다. 예를 들어, "fail", "hang" 이라는 단어와 "vm" 또는 "virtual machine"이라는 단어의 출연횟수, 출연빈도나 간격, 배치, 출력된 단어의 위치나 노출 지속 시간 등을 고려하여 가상머신의 생성이 실패했는지를 판단할 수 있다.Also, in some other embodiments, the monitoring module 130 may analyze the log information output in connection with the creation of the virtual machine to determine the state of the virtual machine based on the appearance pattern of a particular keyword. For example, in consideration of the number of occurrences of the words "fail" and "hang" and the words "vm" or "virtual machine", appearance frequency or interval, placement, It is possible to determine whether or not the generation of "

또한, 몇몇 다른 실시예에서, 감시모듈(130)은 가상머신의 가상 하드웨어 상태 정보 또는 가상 하드웨어의 사용패턴을 기초로 가상머신의 상태 정보를 분석할 수 있다. 예를 들어, 가상머신 생성시에 요청했던 규격(spec)이 가상HDD가 100G이고, 가상메모리가 4G이고, CPU가 3.0GHz인 경우에, 실제 생성된 가상머신의 하드웨어가 요청했던 규격과 다른 경우 이를 기초로 가상머신의 생성이 실패했다는 정보를 출력할 수 있다. 또한, 가상머신이 생성된 이후에, HDD의 I/O나 R/W 정보가 일정 시간 이상 발생하지 않거나 상태가 그대로 유지되는 경우에는 생성된 가상머신에 문제가 발생한 것으로 판단할 수 있다. 또는, 가상머신이 생성된 이후, CPU의 유휴 리소스 상태가 0%이고 이 상태가 일정 시간 예를 들어 20s 이상 유지되는 경우에는 가상머신의 생성에 문제가 발생한 것으로 판단할 수도 있다.Further, in some other embodiments, the monitoring module 130 may analyze the state information of the virtual machine based on the virtual machine state information of the virtual machine or the usage pattern of the virtual hardware. For example, if the spec requested when creating a virtual machine is 100G for a virtual HDD, 4G for a virtual memory, 3.0GHz for a CPU, and the hardware of the actually created virtual machine is different from the requested size Based on this, it is possible to output information that the creation of the virtual machine has failed. In addition, if the I / O or R / W information of the HDD does not occur for a predetermined time or after the virtual machine is created, or if the status remains unchanged, it can be determined that a problem has occurred in the created virtual machine. Or, if the idle resource state of the CPU is 0% after the virtual machine is created and the state is maintained for a certain time, for example 20 seconds or longer, it may be determined that a problem has occurred in the creation of the virtual machine.

이하, 도면을 참조하여 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템의 전체 프로세스에 대해 설명하기로 한다. 도 10은 본 발명의 또 다른 실시예에 따른 가상머신 상태 진단 시스템의 전체 프로세스를 설명하는 순서도이다.Hereinafter, the overall process of the virtual machine status diagnosis system according to another embodiment of the present invention will be described with reference to the drawings. 10 is a flowchart illustrating an overall process of a virtual machine status diagnosis system according to another embodiment of the present invention.

본 명세서에서 사용되는 처리 흐름도 도면들의 각 블록과 흐름도 도면들의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수 있음을 이해할 수 있을 것이다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 흐름도 블록(들)에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 흐름도 블록(들)에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 흐름도 블록(들)에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다.It will be appreciated that the combinations of blocks and flowchart illustrations in the process flow diagram illustrations used herein may be performed by computer program instructions. These computer program instructions may be loaded into a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, so that those instructions, which are executed through a processor of a computer or other programmable data processing apparatus, Thereby creating means for performing functions. These computer program instructions may also be stored in a computer usable or computer readable memory capable of directing a computer or other programmable data processing apparatus to implement the functionality in a particular manner so that the computer usable or computer readable memory The instructions stored in the block diagram (s) are also capable of producing manufacturing items containing instruction means for performing the functions described in the flowchart block (s). Computer program instructions may also be stored on a computer or other programmable data processing equipment so that a series of operating steps may be performed on a computer or other programmable data processing equipment to create a computer- It is also possible for the instructions to perform the processing equipment to provide steps for executing the functions described in the flowchart block (s).

도 10을 참조하면, 먼저 테스트하고자 하는 가상머신이 구동 중인지 여부를 검사한다(S11). 만약, 테스트하고자 하는 가상머신이 구동 중이지 않은 상태일 경우, 새로운 가상머신을 생성하고(S13), 동시에 테스트 시간(Test Time)을 측정하기 위한 타이머를 구동하며 가상머신 생성 감지를 시작하게 된다(S15). 새로운 테스트 가상머신이 생성되었음을 감지하는 경우, 해당 가상머신의 콘솔 출력 결과를 모니터링을 하며(S17), 가상 디스크 역할을 하게 될 가상 블록 디바이스 (Virtual Block Device) 예를 들어 가상디스크의 상태를 모니터링한다(S19).Referring to FIG. 10, it is checked whether a virtual machine to be tested is running (S11). If the virtual machine to be tested is not running, a new virtual machine is created (S13), a timer is started to measure the test time (Test Time), and virtual machine generation detection is started S15). When it detects that a new test virtual machine has been created, it monitors the console output result of the corresponding virtual machine (S17), and monitors the status of a virtual block device (Virtual Block Device) (S19).

가상머신 콘솔 모니터링 및 가상디스크 상태 모니터링 결과를 바탕으로 가상머신의 부트 성공 여부를 검사하게 된다(S21). 가상머신의 부트 성공 여부는 생성된 테스트 가상머신 운영체제가 제어대기 상태인지 여부에 따라서 가상머신의 부트 성공 혹은 실패를 판단할 수 있다(S23). 만약, 가상머신 생성이 성공적일 경우, 해당 가상머신이 재검사시 생성된 가상머신인지 여부를 검사하게 된다(S51, S53). 재검사시 생성된 가상머신일 경우, 가상머신 생성 과정에서 일시적 오류가 발생한 것으로 판단하고 일시적 오류 발생에 대해 사용자에게 통지한다(S61). 반면, 재검사시 생성된 가상머신이 아닐 경우, 정상 가상 디스크 및 커널 기반의 가상머신 생성이 이루어졌음을 사용자에게 알리고(S55), 가상머신의 전체 가상 디스크에 대한 분석 단계에 진입하게 된다(S71).Based on the results of the virtual machine console monitoring and the virtual disk status monitoring, the booting success of the virtual machine is checked (S21). The boot success or failure of the virtual machine may be determined based on whether the generated test virtual machine operating system is in the control standby state (S23). If the virtual machine creation is successful, it is checked whether or not the virtual machine is a virtual machine created at the re-examination (S51, S53). In the case of the virtual machine created at the retesting, it is determined that a temporary error has occurred in the virtual machine creation process, and the user is notified of the occurrence of the temporary error (S61). On the other hand, if it is not the virtual machine created at the retesting, the user is notified that the normal virtual disk and the kernel-based virtual machine have been created (S55), and the virtual machine enters the analysis step for the entire virtual disk (S71) .

가상머신의 부트 실패 검사시 부트 실패 상태가 발생하였을 경우(S23), 잔존 검사 횟수에 대해 확인을 한다(S25). 기본적인 반복 검사 횟수를 하였으며, 반복 검사 횟수는 미리 정해진 소정 횟수로 결정될 수 있으며, 사용자가 지정할 수도 있다. 잔존 검사 횟수 확인시 재검사가 가능할 경우, 가상머신 부트 실패 검사를 수행할 수 있으며(S31), 생성된 테스트 가상머신을 가상화된 시스템에서 제거하고(S33), 동시에 검사 횟수를 증가시키고(S35), 다시 가상머신 생성 단계로 진입하게 된다(S13).If the boot failure state occurs at the boot failure check of the virtual machine (S23), the remaining number of times of the check is checked (S25). The number of times of repetitive inspections is basically determined, and the number of repetitive inspections can be determined by a predetermined number of times, which may be predetermined by the user. If it is possible to check the number of remaining tests, the virtual machine boot failure test can be performed (S31), the generated test virtual machine is removed from the virtualized system (S33), the number of tests is simultaneously increased (S35) And then enters the virtual machine creation step again (S13).

잔존 검사 횟수가 남아 있지 않을 경우(S27), 영속적 오류 발생을 내재한 가상머신 운용 환경임을 사용자에게 알리고(S41), 앞서 언급한 성공적 가상머신 생성 진단 혹은 일시적 오류 발생 진단과 마찬가지로 가상머신 부트 로그 분석 단계(S71) 및 전체 가상 디스크에 대한 분석 단계(S73)로 진입하여 전체 가상 디스크에 대한 부트 성공 또는 부트 실패에 대한 분석을 수행할 수 있다.If there is no remaining number of inspections remaining (S27), the user is informed that the virtual machine operation environment in which the persistent error occurred is present (S41). Similarly to the above-mentioned successful virtual machine creation diagnosis or temporary error occurrence diagnosis, The process proceeds to step S71 and to the analysis step S73 for the entire virtual disk to analyze boot success or boot failure for the entire virtual disk.

이상 첨부된 도면을 참조하여 본 발명의 실시예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, You will understand. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.

100: 상태 진단 시스템
110: 물리머신
120: 관리모듈
130: 감시모듈
200: 클라우드 환경
210, 220, 230, 240, 250, 260: 가상머신
100: Condition diagnosis system
110: Physical machine
120: Management module
130: Monitoring module
200: Cloud environment
210, 220, 230, 240, 250, 260: virtual machine

Claims (13)

리소스를 할당하여 가상머신을 생성하는 물리머신;
상기 가상머신을 관리하는 관리모듈; 및
상기 가상머신의 생성을 모니터링하는 감시모듈을 포함하되,
상기 관리모듈은 상기 가상머신의 로그정보를 관리하고,
상기 감시모듈은 상기 로그정보를 분석하여 상기 로그정보 내의 특정패턴을 추출하고,
상기 감시모듈은 사전 정의된 기준패턴과 상기 특정패턴을 비교하여 상기 가상머신의 상태를 판단하는, 가상머신 상태 진단 시스템.
A physical machine that allocates resources to create a virtual machine;
A management module for managing the virtual machine; And
And a monitoring module for monitoring the generation of the virtual machine,
Wherein the management module manages log information of the virtual machine,
Wherein the monitoring module analyzes the log information to extract a specific pattern in the log information,
Wherein the monitoring module compares a predetermined pattern with a predetermined pattern to determine a state of the virtual machine.
리소스를 할당하여 가상머신을 생성하는 물리머신;
상기 가상머신을 관리하는 관리모듈; 및
상기 가상머신의 생성을 모니터링하는 감시모듈을 포함하되,
상기 가상머신은 외부의 응답요청신호를 수신하고 이에 대응하여 응답신호를 전송하고,
상기 감시모듈은 상기 응답신호의 응답정보를 기초로 상기 가상머신의 상태를 판단하는, 가상머신 상태 진단 시스템.
A physical machine that allocates resources to create a virtual machine;
A management module for managing the virtual machine; And
And a monitoring module for monitoring the generation of the virtual machine,
The virtual machine receives an external response request signal and transmits a response signal in response thereto,
Wherein the monitoring module determines the state of the virtual machine based on response information of the response signal.
리소스를 할당하여 가상머신을 생성하는 물리머신;
상기 가상머신을 관리하는 관리모듈; 및
상기 가상머신의 생성을 모니터링하는 감시모듈을 포함하되,
상기 관리모듈은 상기 가상머신의 리소스 정보를 제공하고,
상기 감시모듈은 상기 리소스 정보를 기초로 상기 리소스 구성정보를 생성하고, 상기 리소스 구성정보를 기초로 상기 가상머신의 상태를 판단하는, 가상머신 상태 진단 시스템.
A physical machine that allocates resources to create a virtual machine;
A management module for managing the virtual machine; And
And a monitoring module for monitoring the generation of the virtual machine,
Wherein the management module provides resource information of the virtual machine,
Wherein the monitoring module generates the resource configuration information based on the resource information and determines the status of the virtual machine based on the resource configuration information.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 가상머신의 상태가 부트실패인 경우, 상기 관리모듈은 상기 가상머신에 대한 실패 프로파일을 생성하는, 가상머신 상태 진단 시스템.
4. The method according to any one of claims 1 to 3,
Wherein the management module generates a failure profile for the virtual machine if the status of the virtual machine is a boot failure.
제4항에 있어서,
상기 관리모듈은,
상기 가상머신의 제거명령 및 신규가상머신에 대한 생성명령을 생성하는, 가상머신 상태 진단 시스템.
5. The method of claim 4,
The management module comprising:
And generates a removal command for the virtual machine and a generation command for the new virtual machine.
제4항에 있어서,
상기 감시모듈은 상기 신규가상머신의 자원사용정보 또는 신규로그정보를 분석하여 상기 신규가상머신의 상태를 판단하는, 가상머신 상태 진단 시스템.
5. The method of claim 4,
Wherein the monitoring module analyzes the resource usage information or the new log information of the new virtual machine to determine the state of the new virtual machine.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 가상머신의 상태가 부트실패인 경우, 상기 로그정보를 기초로 상기 가상머신의 실패원인을 분석하는 실패분석모듈을 더 포함하는, 가상머신 상태 진단 시스템.
4. The method according to any one of claims 1 to 3,
Further comprising a failure analysis module for analyzing a failure cause of the virtual machine based on the log information when the status of the virtual machine is a boot failure.
제7항에 있어서,
상기 실패분석모듈은,
상기 가상머신의 디스크정보를 추출하고,
상기 디스크정보를 목록화하고,
상기 목록화된 가상머신의 파티션 정보를 기초로 상기 가상머신의 상기 실패원인을 결정하는, 가상머신 상태 진단 시스템.
8. The method of claim 7,
The failure analysis module comprising:
Extracting disk information of the virtual machine,
The disk information is cataloged,
And determines the cause of failure of the virtual machine based on the partition information of the listed virtual machines.
제7항에 있어서,
상기 실패분석모듈은,
상기 가상머신의 파티션 정보를 추출하고,
상기 파티션 정보를 기초로 파티션 정보 검사를 수행하는, 가상머신 상태 진단 시스템.
8. The method of claim 7,
The failure analysis module comprising:
Extracting partition information of the virtual machine,
And performs partition information inspection based on the partition information.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 가상머신 생성 프로파일을 생성하는 프로파일모듈을 더 포함하는, 가상머신 상태 진단 시스템.
4. The method according to any one of claims 1 to 3,
And a profile module for generating the virtual machine creation profile.
제1항에 있어서,
상기 특정패턴은 소정 키워드이고,
상기 기준패턴은 상기 특정패턴과 대응되는 키워드 그룹인, 가상머신 상태 진단 시스템.
The method according to claim 1,
The specific pattern is a predetermined keyword,
Wherein the reference pattern is a keyword group corresponding to the specific pattern.
제2항에 있어서,
상기 응답정보는 상기 응답요청신호에 대한 응답시간을 포함하고,
상기 감시모듈은 상기 응답시간을 기초로 상기 가상머신의 상태를 판단하는, 가상머신 상태 진단 시스템.
3. The method of claim 2,
Wherein the response information includes a response time to the response request signal,
Wherein the monitoring module determines the state of the virtual machine based on the response time.
제3항에 있어서,
상기 리소스 구성정보는,
상기 가상머신의 생성시간, 상기 가상머신의 컴퓨팅 자원 할당시간, 상기 가상머신의 리소스 사용율, 상기 가상머신의 리소스 사용량, 상기 가상머신의 리소스 사용시간 중 하나를 포함하는, 가상머신 상태 진단 시스템.
The method of claim 3,
The resource configuration information includes:
Wherein the virtual machine status information includes one of a creation time of the virtual machine, a computing resource allocation time of the virtual machine, a resource utilization rate of the virtual machine, a resource usage amount of the virtual machine, and a resource usage time of the virtual machine.
KR1020140054343A 2013-05-07 2014-05-07 Virtual machine state analyzing system KR101567879B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020130051067 2013-05-07
KR20130051067 2013-05-07

Publications (2)

Publication Number Publication Date
KR20140132296A true KR20140132296A (en) 2014-11-17
KR101567879B1 KR101567879B1 (en) 2015-11-20

Family

ID=52453351

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140054343A KR101567879B1 (en) 2013-05-07 2014-05-07 Virtual machine state analyzing system

Country Status (1)

Country Link
KR (1) KR101567879B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101709116B1 (en) * 2015-10-01 2017-02-22 한국전자통신연구원 Apparatus and method for booting of virtual machines

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962545B2 (en) * 2002-12-27 2011-06-14 Intel Corporation Dynamic service registry for virtual machines
JP4980792B2 (en) * 2007-05-22 2012-07-18 株式会社日立製作所 Virtual machine performance monitoring method and apparatus using the method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101709116B1 (en) * 2015-10-01 2017-02-22 한국전자통신연구원 Apparatus and method for booting of virtual machines
US11204776B2 (en) 2015-10-01 2021-12-21 Electronics And Telecommunications Research Institute Apparatus and method for booting virtual machines

Also Published As

Publication number Publication date
KR101567879B1 (en) 2015-11-20

Similar Documents

Publication Publication Date Title
Araujo et al. Experimental evaluation of software aging effects on the eucalyptus cloud computing infrastructure
US8639984B2 (en) Checkpoint debugging using mirrored virtual machines
US8726225B2 (en) Testing of a software system using instrumentation at a logging module
US8423997B2 (en) System and method of controlling virtual machine
TWI544328B (en) Method and system for probe insertion via background virtual machine
Panda et al. {IASO}: A {Fail-Slow} Detection and Mitigation Framework for Distributed Storage Services
Dean et al. Perfcompass: Online performance anomaly fault localization and inference in infrastructure-as-a-service clouds
US10140145B1 (en) Displaying guest operating system statistics in host task manager
US8495430B2 (en) Generate diagnostic data for overdue thread in a data processing system
US10430261B2 (en) Detecting a guest operating system crash on a virtual computing instance
KR20140033169A (en) Virtual machine image analysis
CN103973515A (en) Network card stability testing method
US10733009B2 (en) Information processing apparatus and information processing method
US10216620B2 (en) Static code testing of active code
JP2016162428A (en) Information processing system, management device, and management method of information processing system
US9092333B2 (en) Fault isolation with abstracted objects
KR101567879B1 (en) Virtual machine state analyzing system
De Simone Towards fault propagation analysis in cloud computing ecosystems
Kao Testing and evaluation framework for virtualization technologies
Lo et al. An architecture for cloud service testing and real time management
Bationo et al. Efficient cloud tracing: From very high level to very low level
Nemati et al. Critical path analysis through hierarchical distributed virtualized environments using host kernel tracing
US20230119536A1 (en) Application profiling to resize and reconfigure compute instances
Zhang et al. VMFDF: a virtualization-based multi-level fault detection framework for high availability computing
US20240289156A1 (en) Methods and systems of managing hypervisor efficiency and uptime

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

Year of fee payment: 4