KR101535153B1 - Method and system for automatically installing operating system, and media that can record computer program sources thereof - Google Patents

Method and system for automatically installing operating system, and media that can record computer program sources thereof Download PDF

Info

Publication number
KR101535153B1
KR101535153B1 KR1020080119119A KR20080119119A KR101535153B1 KR 101535153 B1 KR101535153 B1 KR 101535153B1 KR 1020080119119 A KR1020080119119 A KR 1020080119119A KR 20080119119 A KR20080119119 A KR 20080119119A KR 101535153 B1 KR101535153 B1 KR 101535153B1
Authority
KR
South Korea
Prior art keywords
installation
host
client host
operating system
dhcp
Prior art date
Application number
KR1020080119119A
Other languages
Korean (ko)
Other versions
KR20100060505A (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 KR1020080119119A priority Critical patent/KR101535153B1/en
Publication of KR20100060505A publication Critical patent/KR20100060505A/en
Application granted granted Critical
Publication of KR101535153B1 publication Critical patent/KR101535153B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

본 발명은 원격에서 클라이언트 호스트(설치하고자 하는 서버)에 운영체제를 자동설치하기 위한 제어 시스템 및 방법과 그 프로그램 소스를 기록한 기록매체에 대한 것으로서, 더욱 상세히는 호스트에 대한 MAC Address정보를 확인하는 과정없이 빠르게 운영체제를 설치할 수 있을 뿐만 아니라 호스트의 설치 요청 시 대기모드로 전환하여 관리자가 설치판단 및 설치시점을 결정할 수 있으며, 설치이력에 대한 정보를 별도 관리하여 다수의 호스트에 대한 운영체제 설치를 용이하게 제어할 수 있는 시스템 및 방법, 그 프로그램 소스를 기록한 기록매체에 대한 것이다.The present invention relates to a control system and method for automatically installing an operating system on a client host (a server to be installed) remotely, and a recording medium on which the program source is recorded. More specifically, In addition to being able to install operating system quickly, it can switch to standby mode when a host installation request is made, allowing the administrator to determine installation determination and installation time, and separately manage the installation history to easily install an operating system on multiple hosts And a recording medium on which the program source is recorded.

운영체제, 원격, 자동설치, PXE, DHCP, TFTP Operating system, remote, silent installation, PXE, DHCP, TFTP

Description

운영체제 원격 자동설치 제어 시스템 및 방법, 그 프로그램 소스를 기록한 기록매체{Method and system for automatically installing operating system, and media that can record computer program sources thereof}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a remote automatic installation control system and method for an operating system, and a recording medium recording the program source,

본 발명은 원격에서 클라이언트 호스트(설치하고자 하는 서버)에 운영체제를 자동설치하기 위한 제어 시스템 및 방법과 그 프로그램 소스를 기록한 기록매체에 대한 것으로서, 더욱 상세히는 호스트에 대한 MAC Address정보를 확인하는 과정없이 빠르게 운영체제를 설치할 수 있으며, 설치이력에 대한 정보를 별도 관리하여 다수의 호스트에 대한 운영체제 설치를 용이하게 제어할 수 있는 시스템 및 방법, 그 프로그램 소스를 기록한 기록매체에 대한 것이다.The present invention relates to a control system and method for automatically installing an operating system on a client host (a server to be installed) remotely, and a recording medium on which the program source is recorded. More specifically, A system and method for easily installing an operating system on a plurality of hosts by separately managing information on an installation history, and a recording medium on which the program source is recorded.

다수의 호스트 컴퓨터로 이루어진 네트워크 환경에서 클라이언트 호스트의 운영체제상에 문제점이 발생하여 재설치 또는 업그레이드가 요구되는 경우 관리 호스트에 의하여 원격에서 운영체제를 자동적으로 설치할 수 있도록 하는 클러스트 시스템을 들 수 있다.A cluster system that allows a management host to automatically install an operating system remotely when a problem occurs on an operating system of a client host in a network environment composed of a plurality of host computers and reinstallation or upgrade is required.

이와 같은 클러스트 시스템에서는 다수의 클라이언트 호스트에서 바이러스나 크래킹에 의해 동시다발적으로 운영체제상 심각한 문제가 발생하는 경우에 대하여, 일일이 하나의 클라이언트 호스트에 대하여 운영체제를 다시 설치할 필요없이 관리 호스트에 의한 원격 제어에 의하여 운영체제의 손상을 복구하거나 업그레이드 하여 보안성을 높이는 시스템으로 그 효율성을 인정받고 있다.In such a cluster system, when a serious problem occurs in the operating system due to viruses or cracking in a plurality of client hosts simultaneously, it is not necessary to reinstall the operating system for one client host, It is recognized as a system that improves the security by restoring or upgrading the damage of the operating system.

도 1을 참고하여 종래 클러스트 시스템의 구성을 간단히 살펴보면, 종래 클러스트 시스템은 DHCP(Dynamic Host Configuration Protocol) 서버(11)와 TFTP(Trivial File Transfer Protocol) 서버(12)를 포함하는 관리 호스트(10)와, PXE(PreBoot Execution Environment) 서버(21)를 포함하는 클라이언트 호스트(20)로 구성된다.1, a conventional cluster system includes a management host 10 including a DHCP (Dynamic Host Configuration Protocol) server 11 and a TFTP (Trivial File Transfer Protocol) server 12, , And a client host 20 including a PXE (PreBoot Execution Environment) server 21.

상기 DHCP 서버(11)는 PXE 클라이언트 호스트(20)가 IP 주소를 얻기 위해서 필요한 것이며, PXE 서버(21)는 네트워크 부팅을 지원하기 위하여 필요한 것이며, TFTP 서버(21)는 운영체제의 소스를 전송하는 기능을 수행한다.The DHCP server 11 is necessary for the PXE client host 20 to obtain the IP address and the PXE server 21 is necessary for supporting the network boot. The TFTP server 21 has a function of transmitting the source of the operating system .

도 1은 본 발명에 따른 운영체제의 원격 자동 설치 방법의 절차를 나타내고 있다. 운영체제의 원격 설치를 수행하기 위해서는 설치대상 클라이언트 호스트(20)가 인터넷 주소를 할당받아야 하므로, 설치대상 클라이언트 호스트(20)에 장착되어 있는 네트워크 인터페이스 카드(NIC : Network Interface Card)의 맥 어드레스(MAC Address)를 미리 인지하고 있어야 한다. FIG. 1 shows a procedure of a remote automatic installation method of an operating system according to the present invention. The client host 20 must be assigned an Internet address in order to perform the remote installation of the operating system and therefore the MAC address (MAC address) of the network interface card (NIC) ) In advance.

도 1에 도시된 바와 같이, 관리 호스트(10)는 우선 웨이크-온-랜(Wake-On-Lan)을 이용하여 원격지의 클라이언트 호스트(20)를 파워온(Power-On)시킨다. 파워온된 원격지의 클라이언트 호스트(20)는 관리 호스트(10)의 DHCP 서버(11)를 탐지 하고(①), 관리 호스트의 DHCP 서버(11)는 클라이언트 호스트(20)의 PXE 서버(21)에 IP 주소를 할당한다(②).As shown in FIG. 1, the management host 10 first powers on a remote client host 20 using a wake-on-LAN. The client host 20 at the remote power on is detected by the DHCP server 11 of the management host 10 and the DHCP server 11 of the management host transmits the request to the PXE server 21 of the client host 20 Assign an IP address (②).

이후, IP 주소를 할당받은 클라이언트 호스트(10)는 관리 호스트(10)의 TFTP 서버(12)에게 bstrap.0 파일을 요청한다. 관리 호스트의 TFTP 서버(12)는 클라이언트 호스트의 요청에 응답하여 bstrap.0 파일을 전송한다. 그리고 나서, 클라이언트 호스트는 원격 설치를 선택한다. 다음으로 클라이언트 호스트(20)가 관리 호스트(10)에 설치 이미지(installation image)를 요청하고, 이 요청에 응답하여 관리 호스트가 클라이언트 호스트에게 설치 이미지를 전송하기 위한 절차로서, 상기 TFTP가 배포판 CD 이미지를 마운트 또는 적당한 디렉토리에 복사한 후 엑스포트(export)하는 과정으로 이루어진다(③).Then, the client host 10 having the IP address assigned thereto requests the TFTP server 12 of the management host 10 for the bstrap.0 file. The TFTP server 12 of the management host transmits the bstrap.0 file in response to a request from the client host. The client host then selects the remote installation. Next, a procedure for the client host 20 to request an installation image to the management host 10, and for the management host to send an installation image to the client host in response to the request, wherein the TFTP is a distribution CD image To the mount or an appropriate directory, and then exporting it (③).

일례로, 도 1에 도시된 바와 마찬가지로 레드햇 리눅스 배포판에서는 '/kickstart/' 디렉토리(22) 아래에 각 클라이언트 호스트(20)별로 '<host IP addr>-kickstart'라는 이름으로 파일을 작성한다.For example, as shown in FIG. 1, the RedHat Linux distribution creates a file named '<host IP addr> -kickstart' for each client host 20 under the '/ kickstart /' directory 22.

이와 같은 과정이 완료된 후, 설치할 클라이언트 호스트의 바이오스 설정에서 네트워크 부팅을 최우선으로 설정하고 재부팅을 하게되면 설정된 커널과 램디스크로 부팅이 되어 운영체제를 설치할 수 있게 된다.After the above process is completed, the network boot is set to the highest priority in the BIOS setting of the client host to be installed, and when the reboot is performed, the installed kernel and the RAM disk are booted and the operating system can be installed.

상기한 바와 같은 운영체제의 원격 네트워크 설치 방법은 다수의 클라이언트 호스틀 관리할 수 있는 편이성이 있으나, 운영체제 원격 자동 설치시 클라이언트 호스트가 이미 네트워크 부팅을 통해 운영체제가 설치된 상태에서, 하드웨어 문제나 디스크 fail로 인하여 정상적으로 운영체제가 로드되지 않아 재부팅이 이루어지 는 경우 다시 네트워크 부팅을 통해 운영체제가 반복 설치되는 문제점이 있다.Although the remote network installation method of the operating system as described above is convenient for managing a plurality of client hosts, when the remote host of the operating system is automatically installed, the operating system is installed through the network boot, If the operating system is not normally loaded and rebooted, the operating system is repeatedly installed via network boot.

또한, 관리자의 관리 소홀로 인한 실수 및 확인 부재등으로 인하여 운영체제가 정상적으로 설치된 상태에서 바이오스 설정이 네트워크 부팅으로 설정되어 있다면, 이와 같은 경우 또한 운영체제가 반복 설치되는 문제점이 나타날 수 있게 된다.Also, if the BIOS setting is set to network boot in a state where the operating system is normally installed due to mistakes or lack of confirmation due to the management shortage of the administrator, in such a case, the operating system may be repeatedly installed.

이외에도, 종래기술에서는 클라이언트 호스트에 운영체제를 설치하기 위해서는 사전에 설치할 클라이언트 호스트의 MAC Address 정보를 관리 호스트가 알고 있어야 하며, 이와 같은 정보를 미리 수동으로 관리 호스트에 입력해야 하는 작업이 요구되는 번거로움이 있었다.In addition, in the prior art, in order to install the operating system on the client host, the management host must know the MAC address information of the client host to be installed in advance, and it is troublesome to manually input such information into the management host in advance there was.

더불어, 클라이언트 호스트에 운영체제가 설치가 정상적으로 완료된 경우 관리 호스트가 아닌 관리자가 일일이 확인하는 작업을 거쳐 각 클라이언트 호스트의 바이오스 세팅을 변경하여 네트워크 부팅이 발생하지 않도록 변경해야 하는 번거로움이 있었다.In addition, when the operating system is normally installed on the client host, it is troublesome for the administrator other than the management host to individually check the BIOS setting of each client host to change the network boot so that the network boot does not occur.

따라서, 본 발명은 클라이언트 호스트에 대하여 운영체제의 원격 자동 설치시 하드웨어적인 문제로 인한 재부팅 또는 관리자의 관리 소홀로 인한 바이오스 세팅 방치에 대하여 반복된 네트워크 부팅에 의한 운영체제의 반복 설치를 방지하도록 하는데 그 목적이 있다.Accordingly, it is an object of the present invention to prevent repetitive installation of an operating system due to repeated network booting for rebooting due to a hardware problem or for neglecting a BIOS setting due to management malfunction in a remote automatic installation of an operating system to a client host have.

또한, 본 발명은 사전에 원격 운영체제 설치를 제어하는 관리 호스트에 관리 대상인 클라이언트 호스트의 MAC Address 정보를 사전 입력하는 번거로움을 덜어, 설치의 편이성을 증가시키는데 그 목적이 있다.It is another object of the present invention to reduce the inconvenience of pre-entering the MAC address information of the client host to be managed on the management host that controls the installation of the remote operating system in advance, thereby increasing the ease of installation.

더하여, 본 발명은 설치 이후의 클라이언트 호스트의 상태를 확인하여 정상적인 설치 유무를 파악하거나, 클라이언트 호스트의 설치이력을 통합적으로 관리하여 흠결이 있는 클라이언트 호스트를 집중 관리하여 관리 효율성을 증가시키는데 그 목적이 있다.In addition, the object of the present invention is to identify the presence or absence of normal installation of the client host after the installation, manage the installation histories of the client hosts, and intensively manage defective client hosts to increase management efficiency .

상기한 목적을 달성하기 위하여 본 발명에 따른 운영체제 원격 자동설치 제어 시스템은 PXE(PreBoot Execution Environment)를 통해 운영체제가 설치될 클라이언트 호스트의 설치 요청시 전송되는 상기 클라이언트 호스트의 MAC Address 및 설치 요청시간이 포함된 등록정보를 수신하여 자동 저장하며 상기 등록정보를 근거로 IP를 할당하는 DHCP(Dynamic Host Configuration Protocol) 서버와, 상기 클라 이언트 호스트와 상기 PXE가 지원하는 프로토콜을 통해 커널 이미지를 전송하는 TFTP(Trivial File Transfer Protocol) 서버를 포함하여 운영체제의 설치를 제어하는 관리 호스트로 구성될 수 있다.In order to achieve the above-mentioned object, the operating system remote automatic installation control system according to the present invention includes a MAC address and an installation request time of the client host, which is transmitted when a client host to be installed an OS is installed through a Preboot Execution Environment (PXE) A Dynamic Host Configuration Protocol (DHCP) server for receiving and automatically storing the registration information and allocating an IP based on the registration information, a Trivial Host Configuration Protocol (TFTP) server for transmitting a kernel image through a protocol supported by the client host and the PXE, And a management host that controls the installation of the operating system, including a File Transfer Protocol (FTP) server.

또한, 상기 DHCP 서버는 상기 등록정보를 표시하며, 상기 클라이언트 호스트의 설치 요청에 대한 응답 메시지 전송 스텝을 지연하고, 상기 관리자의 입력정보를 근거로 응답 메시지를 전송하여 IP 할당 여부를 결정할 수 있다.Also, the DHCP server displays the registration information, delays the response message transmission step of the client host installation request, and determines whether to allocate IP by transmitting a response message based on the input information of the administrator.

더하여, 상기 관리 호스트는 상기 DHCP 서버로부터 운영체제의 설치 과정 중에서 발생하는 이벤트 메시지를 수신하여 설치정보(운영체제의 설치원인, 설치통계) 또는 설치상태(설치요청, 설치취소, 설치중, 설치완료, 설치실패)에 대한 설치 내역 정보를 생성하는 설치 이력정보관리부를 더 포함할 수 있다.In addition, the management host receives an event message generated during the installation process of the operating system from the DHCP server and transmits the installation information (installation cause of the operating system, installation statistics) or the installation state (installation request, installation cancellation, Failure) of the installation history information management unit.

이때, 상기 설치 이력관리부는 상기 클라이언트 호스트로부터 상기 커널 이미지에 포함되는 kickstart 설정파일의 %post 영역에 운영체제 설치가 완료된 이후 추가적인 스크립트를 실행할 수 있는 부분을 이용하여 성공 값을 리턴하도록 하여, 상기 성공 값에 대한 정보를 데이터베이스에 생성할 수 있다.In this case, the installation history management unit may return a success value from the client host by using a portion capable of executing an additional script after the OS installation is completed in the% post area of the kickstart configuration file included in the kernel image, Can be created in the database.

한편, 상기한 목적을 달성하기 위한 본 발명에 따른 운영체제 원격 자동설치 제어 방법은 운영체제의 설치를 제어하는 관리 호스트가 PXE를 통한 네트워크 부팅을 통해 운영체제가 설치될 클라이언트 호스트를 파악하는 제 1단계, 상기 클라이언트 호스트로부터 설치요청 메시지를 수신하는 제 2단계, 상기 관리 호스트가 상기 설치요청 메시지에 대한 패킷을 저장하고 상기 클라이언트 호스트의 정보를 자동으로 생성하여 관리자에게 알리는 제 3단계, 상기 정보의 생성을 근거로 상기 클 라이언트 호스트의 설치요청 메시지에 대한 응답 메시지 전송 스텝을 지연하는 제 4단계, 상기 관리 호스트가 관리자의 입력정보를 수신하여 상기 클라이언트 호스트에 IP를 할당하여 운영체제의 커널 이미지를 전송하는 제 5단계로 구성된다.According to another aspect of the present invention, there is provided a method for controlling a remote automatic installation of an operating system, the method comprising: a first step of identifying a client host to which an operating system is to be installed through a network booting through a PXE, A second step of receiving an installation request message from a client host, a third step of storing the packet for the installation request message, automatically generating information of the client host and informing the administrator of the installation request message, A fourth step of delaying a step of transmitting a response message to the install request message of the client host, the fourth step of receiving the input information of the manager and allocating an IP to the client host to transmit a kernel image of the operating system, .

이때, 상기 제 1단계는 PXE를 지원하는 네트워크 카드를 동작시키거나, 상기 관리 호스트에서 Wake-On-Lan 신호를 상기 클라이언트 호스트에 전송하여 네트워크 부팅하는 것을 특징으로 할 수 있다.At this time, the first step may be to operate a network card supporting PXE, or send a wake-on-lan signal to the client host in the management host, thereby booting the network.

또한, 상기 제 1단계는 상기 관리 호스트가 DHCP DISCOVER Message를 수신하여 설치 요청 대상 클라이언트 호스트를 파악하며, 상기 관리 호스트가 DHCP OFFER Message를 발신하여 DHCP 프로토콜을 통한 연결을 클라이언트에게 알리는 단계를 더 포함할 수 있다.In the first step, the management host receives a DHCP DISCOVER message to identify a client host to which an installation request is made, and the management host transmits a DHCP OFFER message to inform the client of a connection through the DHCP protocol .

더하여, 상기 제 2단계는 상기 관리 호스트가 상기 클라이언트 호스트로부터 상기 PXE가 지원하는 DHCP 프로토콜로 연결하기 위한 요청 메시지인 DHCP REQUEST Message를 수신하는 것을 특징으로 할 수 있다.In addition, the second step is characterized in that the management host receives a DHCP REQUEST message, which is a request message for connecting from the client host to the DHCP protocol supported by the PXE.

한편, 상기 제 3단계는 상기 관리 호스트가 수신한 상기 DHCP REQUEST Message 패킷을 파일로 남겨 상기 정보를 상기 클라이언트 호스트에게 IP를 할당하는 DHCP 서버에 저장하도록 하는 것을 특징으로 할 수 있다.Meanwhile, in the third step, the DHCP REQUEST Message packet received by the management host is stored as a file, and the information is stored in the DHCP server that allocates the IP to the client host.

또한, 상기 제 4단계는 상기 관리 호스트가 표준 DHCP 프로토콜을 변경하여 상기 DHCP REQUEST Message를 bad request로 처리하고 DHCP ACK의 전송을 방지하여, 상기 클라이언트 호스트가 상기 제 1단계로 회귀하도록 하는 것을 특징으로 할 수 있다.In the fourth step, the management host changes the standard DHCP protocol to process the DHCP REQUEST message as a bad request, prevents the DHCP ACK from being transmitted, and returns the client host to the first step. can do.

더하여, 상기 제 5단계는 상기 관리 호스트가 상기 관리자의 입력정보를 근거로 DHCP 프로토콜의 메시지 타입을 새롭게 추가하여 인터페이스를 만들고, 대상 클라이언트 호스트에 대한 상기 정보를 읽어 비로소 클라이언트 호스트에 DHCP ACK를 발신하여 상기 DHCP 서버에 의한 클라이언트 호스트의 IP 할당이 이루어지도록 하는 것을 특징으로 할 수 있다. 또한, 상기 제 5단계는 상기 관리 호스트가 IP 할당을 통한 클라이언트 호스트와의 연결이 완료되면, 커널 이미지 및 kickstart 설정 파일을 대상 클라이언트 호스트에 전송하여 네트워크 부팅을 통한 운영체제의 설치가 진행되도록 하는 것을 특징으로 할 수 있다.In addition, in the fifth step, the management host newly creates an interface by adding a message type of the DHCP protocol based on input information of the manager, reads the information about the target client host, and then sends a DHCP ACK to the client host And the IP address of the client host is allocated by the DHCP server. The fifth step is to transfer the kernel image and the kickstart configuration file to the target client host when the management host is connected to the client host through the IP allocation, .

이외에도, 본 발명에 따른 운영체제 원격 자동설치 제어 방법은 상기 관리 호스트가 상기 클라이언트 호스트와 운영체제 설치 과정에서 교환하는 메시지 및 상기 kickstart 설정 파일을 통한 상기 커널 이미지를 로드 과정에서 발생하는 각종 이벤트를 상기 클라이언트 호스트로부터 메시지로 수신하여 설치 내역에 대한 정보를 생성하여 설치 이력을 관리하는 설치 이력관리부의 데이터베이스에 저장하는 제 6단계를 더 포함할 수 있다.In addition, the operating system remote automatic installation control method according to the present invention is characterized in that a message exchanged by the management host during the installation process of the operating system with the client host, and various events generated during the loading of the kernel image through the kickstart configuration file, And a sixth step of generating the information on the installation history and storing the information in the database of the installation history management unit managing the installation history.

이때, 상기 제 6단계는 상기 설치이력 관리부가 상기 클라이언트 호스트로부터 상기 kickstart 설정파일의 %post 영역에 운영체제 설치가 완료된 이후 추가적인 스크립트를 실행할 수 있는 부분을 이용하여 리턴되는 성공 값을 수신하여 저장하는 단계를 더 포함할 수 있다.At this time, in the sixth step, the installation history management unit receives and returns a return success value by using a portion capable of executing an additional script after the operating system installation is completed in the% post area of the kickstart setting file from the client host As shown in FIG.

상기한 목적을 달성하기 위한 본 발명에 따른 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체는 PXE를 통한 네트워크 부팅을 통해 수신한 설치 요청 메시지를 근거로 운영체제가 설치될 클라이언트 호스트를 파악하는 제 1 프로세스, 상기 클라이언트 호스트로부터 수신한 설치요청 메시지에 대한 패킷을 파일로 남겨 상기 클라이언트 호스트의 MAC Address 정보 및 설치요청시간에 대한 등록정보를 자동으로 생성하여 관리자에게 알리는 제 2프로세스, 상기 등록정보의 생성을 근거로 상기 클라이언트 호스트의 설치요청 메시지에 대한 응답 메시지 전송 스텝을 지연시키는 제 3프로세스, 상기 관리자의 입력정보를 수신하여 상기 클라이언트 호스트에 IP를 할당하여 운영체제의 커널 이미지를 전송하는 제 4프로세스를 포함하여 이루어진 것을 특징으로 한다.According to an aspect of the present invention, there is provided a recording medium on which an operating system remote automatic installation control program source is recorded. The recording medium includes a first process for identifying a client host on which an operating system is to be installed based on an installation request message received through network booting through a PXE A second process of automatically generating a registration information for the MAC address information and an installation request time of the client host by leaving a packet of the installation request message received from the client host as a file and informing the administrator of the registration information, A third process of delaying a step of transmitting a response message to the installation request message of the client host on the basis of the received input information, and a fourth process of receiving the input information of the administrator and allocating an IP to the client host to transmit a kernel image of the operating system Made up of .

이때, 상기 제 1프로세스는 PXE를 지원하는 네트워크 카드를 동작시키거나, 상기 관리 호스트에서 Wake-On-Lan 신호를 상기 클라이언트 호스트에 전송하여 네트워트 부팅하도록 하는 프로세스를 더 포함하여 이루어질 수 있다.At this time, the first process may further include a process of activating a network card supporting PXE, or transmitting a wake-on-lan signal to the client host in the management host so as to perform a network boot.

또한, 상기 제 1프로세스는 상기 관리 호스트가 DHCP DISCOVER Message를 수신하여 설치 요청 대상 클라이언트 호스트를 파악하며, 상기 관리 호스트가 DHCP OFFER Message를 발신하여 DHCP 프로토콜을 통한 연결을 클라이언트에게 알리는 프로세스를 더 포함할 수 있다.The first process further includes a process in which the management host receives a DHCP DISCOVER message to identify a client host to which an installation request is made, and the management host transmits a DHCP OFFER message to inform the client of a connection through the DHCP protocol .

한편, 상기 제 2프로세스는 상기 클라이언트 호스트로부터 수신한 DHCP REQUEST Message 패킷을 파일로 남겨 상기 등록정보를 상기 클라이언트 호스트에게 IP를 할당하는 DHCP 서버에 저장하도록 하는 프로세스를 더 포함할 수 있다.The second process may further include a step of storing the DHCP REQUEST Message packet received from the client host as a file and storing the registration information in a DHCP server that assigns IP to the client host.

한편, 상기 제 4프로세스는 상기 관리 호스트가 IP 할당을 통한 클라이언트 호스트와의 연결이 완료되면, 커널 이미지 및 kickstart 설정 파일을 대상 클라이 언트 호스트에 전송하여 네트워크 부팅을 통한 운영체제의 설치가 진행되도록 하는 프로세스를 더 포함하여 이루어질 수 있다.Meanwhile, in the fourth process, when the management host completes the connection with the client host through the IP allocation, it transmits a kernel image and a kickstart configuration file to the target client host, and proceeds to install the operating system through the network boot As shown in FIG.

이외에도, 본 발명에 따른 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체는 상기 관리호스트가 상기 클라이언트 호스트와 운영체제 설치 과정에서 교환하는 메시지 및 상기 kickstart 설정 파일을 통한 상기 커널 이미지를 로드 과정에서 발생하는 각종 이벤트를 상기 클라이언트 호스트로부터 메시지로 수신하여 설치 내역에 대한 정보를 생성하여 설치 이력을 관리하는 설치 이력관리부의 데이터베이스에 저장하는 제 5프로세스를 더 포함할 수 있다.In addition, the recording medium on which the operating system remote automatic installation control program source according to the present invention is recorded includes a message exchanged by the management host during the installation process of the operating system with the client host, and various messages generated during the loading of the kernel image through the kickstart configuration file A fifth process of receiving an event from the client host as a message and generating information about the installation history and storing the information in a database of an installation history management unit managing the installation history.

본 발명에 따르면 관리 호스트의 원격 운영체제 설치 과정에서 클라이언트 호스트의 설치요청에 대하여 대기모드로 전환하여 하드웨어적인 문제나 시스템 오류로 인한 재부팅시 네트워크 부팅으로 연결되어 운영체제가 반복 설치되는 것을 방지하여 시스템 안정성을 보장하는 효과가 있다.According to the present invention, when a management host installs a remote operating system, it switches to a standby mode for a client host installation request, thereby preventing the operating system from being repeatedly installed due to a hardware problem or a network boot due to a system error. There is an effect to guarantee.

또한, 본 발명은 상기 대기모드를 통해 관리자의 선택에 따라 운영체제의 설치가 필요한 클라이언트 호스트인지를 판단하도록 하여 불필요한 작업이 번복되는 것을 방지하는 효과가 있다.In addition, the present invention has an effect of preventing unnecessary work from being overturned by determining whether a client host is required to install an operating system according to a selection of an administrator through the standby mode.

더하여, 본 발명은 클라이언트 호스트의 설치요청시 전송되는 메시지를 파일로 남겨 상기 클라이언트 호스트의 MAC Address를 자동 등록함으로써 기존 관리자가 수동으로 개별 클라이언트 호스트의 MAC Address를 일일이 등록해야 하는 번거 로움을 덜 수 있어 작업 효율성을 높일 수 있다.In addition, according to the present invention, a message to be transmitted when a client host is installed is left as a file, and the MAC address of the client host is automatically registered so that the existing administrator can reduce the inconvenience of manually registering the MAC addresses of individual client hosts The work efficiency can be improved.

이외에도, 본 발명은 설치 요청이 있는 클라이언트 호스트를 파악하여 등록정보를 저장하고 이를 관리자에게 알림으로써, 관리자가 각 클라이언트 호스트의 운영체제 설치 시점을 결정하도록 함으로써 동시 설치에 따른 시스템 부하를 방지하여 작업 효율성을 높일 수 있다.In addition, the present invention grasps the client host having the installation request, stores the registration information, notifies the administrator of the installation request, and allows the administrator to determine the operating system installation time of each client host, thereby preventing the system load due to the simultaneous installation, .

또한, 본 발명은 설치 이력관리부를 통해 운영체제의 설치과정시 발생하는 내역과 설치 성공값을 근거로 운영체제의 설치 횟수에 따라 해당 클라이언트의 시스템 결함이 있는지를 파악하거나 운영체제의 정상적인 설치가 이루어졌는지 여부를 email이나 SMS를 통해 파악할 수 있어, 관리자의 관리 용이성을 높일 수 있는 효과가 있다.In addition, the present invention can detect whether there is a system defect of a corresponding client according to the number of installation of the operating system based on the history of the operating system installation process and the installation success value through the installation history management unit or whether the operating system is normally installed it can be grasped through e-mail or SMS, and it is possible to enhance the manageability of the manager.

뿐만 아니라, 상기 설치 이력관리부는 상기 내역 및 성공값을 데이터베이스에 저장하여 설치이력관리와 통계데이터 수집 및 관리에 대한 편이성을 높일 수 있다.In addition, the installation history management unit may store the history and success values in a database, thereby enhancing ease of installation history management and statistical data collection and management.

이하, 도면을 참고하여 본 발명에 따른 운영체제 원격 자동설치 제어 시스템 및 방법, 그 프로그램 소스를 저장한 기록매체에 대하여 상세히 설명하도록 한다.Hereinafter, an operating system remote automatic installation control system and method according to the present invention and a recording medium storing the program source will be described in detail with reference to the drawings.

우선, 본 발명에 따른 운영체제 원격 자동설치 시스템은 도 2에 도시된 바와 같이 운영체제가 설치될 클라이언트 호스트(200)와, 상기 클라이언트 호스트(200) 와 네트워크를 통해 연결되어 네트워크 부팅을 통해 운영체제의 설치를 제어하는 관리 호스트(100)로 구성될 수 있다. 이때, 상기 관리 호스트(100)는 클라이언트 호스트(200)에게 네트워크 망에 접속하기 위한 IP를 자동분배하는 DHCP 서버(101)와, 클라이언트 호스트에게 초기 부팅 이미지와 설정 파일을 전송하는 TFTP 서버(102)로 구성될 수 있다.2, the operating system remote automatic installation system according to the present invention includes a client host 200 to which an operating system is to be installed, a client host 200 connected to the client host 200 via a network, And a management host 100 for controlling the management server 100. The management host 100 includes a DHCP server 101 for automatically distributing an IP for accessing a network to the client host 200, a TFTP server 102 for transmitting an initial boot image and a configuration file to the client host, &Lt; / RTI &gt;

또한, 본 발명은 설치 이력관리부(300)를 더 포함하여, 상기 관리 호스트(100)와 클라이언트 호스트(200)에서 전송되는 정보를 근거로 설치정보(운영체제의 설치원인, 설치통계), 설치상태(설치요청, 설치취소, 설치중, 설치완료, 설치실패) 또는 운영체제의 설치가 정상적으로 이루어졌는지에 대한 설치성공 여부를 파악할 수 있으며, 관련 정보를 저장할 수 있다.The present invention further includes an installation history management unit 300 for managing installation information (installation source of the operating system, installation statistics), installation state Installation request, installation cancellation, installation, installation completion, installation failure), or whether or not the installation of the operating system has been normally performed can be determined, and related information can be stored.

상기 구성을 토대로 운영체제 원격 자동설치 과정을 상세히 설명하면, 상기 클라이언트 호스트(200)가 바이오스 셋업을 통해 부팅 루트를 네트워크 부팅으로 설정하여 PXE 프로토콜을 통한 네트워크 부팅이 지원되는 네트워크 카드(201)가 장착된 클라이언트 호스트(200)의 파워를 ON하여 관리 호스트(100)의 DHCP 서버(101)에 접속하거나 관리 호스트(100)에서 Wake-On-Lan 신호를 클라이언트 호스트(200)에게 전송하여 원격 기동함으로써 설치 요청을 할 수 있다(①). 이때, 상기 PXE 프로토콜은 DHCP와 TFTP 프로토콜을 포함하여, 상기 DHCP(101) 및 TFTP 서버(102)와 클라이언트 호스트(200)간의 데이터 교환을 지원할 수 있으며, 상기 PXE 프로토콜을 지원하는 통신수단으로 네트워크 카드를 명시했으나 이에 한정되지 않는다.The client host 200 sets up a boot route as a network boot through BIOS setup and installs a network card 201 that supports network booting via the PXE protocol. The power of the client host 200 is turned on to access the DHCP server 101 of the management host 100 or the wake-on-lan signal is transmitted to the client host 200 from the management host 100, Can be done (①). The PXE protocol may support data exchange between the DHCP 101 and the TFTP server 102 and the client host 200 including the DHCP and TFTP protocols. But is not limited to this.

상기 설치요청을 근거로 상기 관리 호스트(100)는 설치 요청 대상 클라이언 트 호스트(200)의 MAC Address 정보 및 설치요청시간 등에 대한 등록정보를 자동 등록시키고(②), 대기상태 모드로 전환하여 관리자에게 설치 요청이 이루어진 클라이언트 호스트(200)에 대한 상기 등록정보를 알린다(③). 상기 자동 등록부터 등록정보를 알리는 과정까지에 대한 상세한 설명은 이하에서 하기로 한다.The management host 100 automatically registers the registration information on the MAC address information and the installation request time of the client host 200 to be installed on the basis of the installation request, And notifies the registration information for the client host 200 in which the installation request is made (3). A detailed description of the process from the automatic registration to the registration information will be given below.

한편, 관리자가 상기 등록정보를 근거로 대상 클라이언트 호스트(200)에 대하여 운영체제의 설치가 필요하다고 판단될 경우(④), 상기 관리 호스트(100)는 상기 관리자의 입력정보를 근거로 상기 클라이언트 호스트(200)가 DHCP 프로토콜을 통해 상기 관리 호스트(100)의 DHCP 서버(101)에 접속할 수 있도록 네트워크 정보를 전송한다(⑤). 상기 네트워크 정보로서, 상기 DHCP 서버(101)가 클라이언트 호스트(200)에 분배하는 IP 정보를 포함한다.On the other hand, when the administrator determines that installation of the operating system is necessary for the target client host 200 based on the registration information (4), the management host 100 displays the client host 200 on the basis of the input information of the manager 200 to the DHCP server 101 of the management host 100 via the DHCP protocol (step 5). The network information includes IP information distributed to the client host 200 by the DHCP server 101.

상기 네트워크 정보를 통하여 관리 호스트(100)에 대한 접속이 이루어지면, 상기 관리 호스트(100)는 TFTP 서버(102)를 통해 커널 이미지와 kickstart 설정파일을 전송하여 자동설치가 이루어지도록 한다(⑥).When a connection to the management host 100 is established through the network information, the management host 100 transmits a kernel image and a kickstart configuration file through the TFTP server 102 to allow automatic installation (step 6).

상기 커널 이미지 및 설정파일에 대한 전송이 완료되면, 상기 클라이언트 호스트(200)는 재부팅 과정이 이루어지게 되고 상기 클라이언트 호스트에 설치된 상기 kickstart 설정파일(202)을 통해 커널에 제어권이 넘어가도록 하여 통상의 부팅과정에 따라 운영체제가 설치되도록 한다.When the transmission of the kernel image and the configuration file is completed, the client host 200 performs a reboot process, and the control passes to the kernel through the kickstart configuration file 202 installed in the client host, Make sure the operating system is installed according to the process.

한편, 상기 관리 호스트(100)의 DHCP 서버(101)는 운영체제가 클라이언트 호스트(200)와의 응답동작 및 커널 이미지의 전송 동작과정에 대한 설치이력을 실시간으로 상기 설치 이력관리부(300)에 전송하여 설치 상태를 기록하거나 실시간으로 상기 관리자에게 알릴 수 있다(⑦).The DHCP server 101 of the management host 100 transmits the installation history of the response operation with respect to the client host 200 and the transmission operation of the kernel image to the installation history management unit 300 in real time, The state can be recorded or notified to the manager in real time (7).

또한, 상기 클라이언트 호스트(200)는 상기 설정파일을 통해 상기 설치 이력관리부(300)의 서버의 주소를 파악하여 접속함으로써, 상기 커널 이미지를 통한 설치 과정 및 설치 완료여부를 상기 설치 이력관리부(300)에 제공하여(⑧), 상기 설치 이력관리부(300)는 총체적인 설치 이력정보를 저장하여 관리자에게 제공할 수 있다.Also, the client host 200 determines the installation process and the installation completion through the kernel image by checking the address of the server of the installation history management unit 300 through the setting file and accessing the installation history management unit 300, (8), and the installation history management unit 300 may store the overall installation history information and provide it to the administrator.

도 3은 본 발명에 따른 관리 호스트에서의 동작 과정을 도시한 순서도로서, 최초 클라이언트 호스트의 설치요청 단계는 클라이언트 호스트의 파워를 ON하여 PXE 프로토콜을 지원하는 네트워크 카드를 동작시키거나, 상기 관리 호스트에서 Wake-On-Lan 신호를 상기 클라이언트 호스트에 전송하여 원격 기동하도록 하여 네트워크 부팅이 이루어지도록 한다(S201).FIG. 3 is a flowchart illustrating an operation procedure in a management host according to the present invention. In the initial client host installation request step, the client host is turned on to operate a network card supporting the PXE protocol, A Wake-On-Lan signal is transmitted to the client host to remotely boot the network to boot the network (S201).

이후, 상기 클라이언트 호스트의 MAC Address 정보 및 설치요청시간 등에 대한 등록정보를 상기 관리 호스트가 상기 DHCP 서버에 자동으로 등록하여 관리하고, 상기 관리자에게 설치요청이 이루어진 클라이언트 호스트에 대한 정보를 상기 등록정보를 통해 알리는 설치요청 호스트 자동 등록 단계를 거치게 된다(S202). 이와 같은 단계를 통해, 종래에 관리자가 일일이 설치 요청 대상의 클라이언트 호스트에 대한 등록정보를 수동으로 입력하여 발생하는 번거로움 및 상기 관리 호스트의 서버에 입력하는 과정 중 발생할 수 있는 입력오류를 방지하여 편이성을 제공할 수 있다.Thereafter, the management host automatically registers and manages the registration information about the MAC address information of the client host, the installation request time, and the like, and manages the information about the client host, (Step S202). &Lt; / RTI &gt; Through the steps described above, it is possible to prevent the hassle of the administrator manually inputting the registration information for the client host to which the installation request is made, and the input error that may occur during the process of inputting to the server of the management host, Can be provided.

한편, 상기 등록 단계가 완료되면 상기 관리 호스트는 바로 네트워크 부팅을 통해 운영체제를 설치하도록 하지 않고, 대기 모드를 거쳐 관리자의 제어에 따라 상기 클라이언트 호스트가 일시적인 하드웨어적 결함이나 잘못된 바이오스 셋업에 따라 네트워크 부팅이 설정되어 운영체제가 반복 설치되는 것이 아닌지에 대한 판단이 이루어지도록 하는 설치 대기상태 전환단계를 거치도록 하여(S203), 불필요한 운영체제의 반복설치에 대한 문제점을 해결할 수 있다.On the other hand, when the registration step is completed, the management host does not install the operating system through the network boot, but instead, the client host undergoes a network boot according to a temporary hardware defect or an erroneous BIOS setup, (S203), so that it is possible to solve the problem of repeated installation of the unnecessary operating system.

이러한 대기 모드는 상기 관리 호스트가 상기 DHCP 서버의 프로토콜을 변경하여, 상기 클라이언트 호스트에게 IP 할당이 이루어지지 않도록 함으로써 구현될 수 있다.Such a standby mode may be implemented by changing the protocol of the DHCP server so that the management host does not allocate IP to the client host.

이후, 상기 관리자가 클라이언트 호스트의 정상적인 운영체제 설치가 요구된다고 판단할 경우 상기 관리 호스트는 상기 관리자의 입력정보에 따라 상기 등록정보를 근거로 상기 DHCP 서버가 상기 클라이언트 호스트에 IP 할당이 이루어지도록 하는 설치 제어단계를 거칠 수 있다(S204).Thereafter, when the administrator determines that a normal operating system installation of the client host is required, the management host performs an installation control process for causing the DHCP server to perform IP allocation to the client host based on the registration information, (S204).

한편, 상기 대기 모드의 전환 단계는 상술한 바와 같이 DHCP 프로토콜을 변경하여 구현될 수 있는데, 이를 도 4 내지 도 5를 참고하여 상세히 설명하도록 한다.Meanwhile, the switching of the idle mode can be implemented by changing the DHCP protocol as described above, which will be described in detail with reference to FIG. 4 to FIG.

상기 도 4 내지 도 5를 참고하면, 우선 상기 관리 호스트는 클라이언트 호스트의 DHCP DISCOVER Message를 수신하여(S301) 설치 요청 대상 클라이언트 호스트를 파악할 수 있다. 이후, 관리 호스트가 DHCP OFFER Message를 발신하여(S302) DHCP 프로토콜을 통한 연결을 클라이언트에게 알린다.4 and 5, the management host receives the DHCP DISCOVER message of the client host (S301) and can identify the client host of the installation request. Then, the management host sends a DHCP OFFER message (S302) and informs the client of the connection through the DHCP protocol.

이후, 상기 관리 호스트는 상기 클라이언트 호스트로부터 기정의된 DHCP 프 로토콜로 연결하기 위한 요청 메시지인 DHCP REQUEST Message를 수신하게 되는데(S303), 이때 상기 관리 호스트는 수신한 상기 DHCP REQUEST Message 패킷을 파일로 남겨 설치 요청이 이루어진 대상 클라이언트 호스트의 MAC Address, 설치요청시간 등에 대한 등록정보를 상기 DHCP 서버에 저장할 수 있다(S304).Thereafter, the management host receives a DHCP REQUEST message, which is a request message for connecting to the DHCP protocol set up from the client host (S303). At this time, the management host leaves the received DHCP REQUEST Message packet as a file The MAC address of the target client host to which the installation request is made, the time of the installation request, and the like in the DHCP server (S304).

이를 통해, 상기 관리 호스트는 상기 DHCP 서버에 관리자가 수동으로 MAC Address를 입력할 필요없이 상기 대상 클라이언트 호스트에게 자동적으로 IP 할당이 이루어지도록 할 수 있다.Accordingly, the management host can automatically allocate IP to the target client host without having to manually input the MAC address to the DHCP server.

이후, 상기 등록정보를 관리자에게 알려 관리자의 입력정보에 따라 운영체제의 설치가 이루어지도록 함으로써 운영체제 설치 이전에 관리자에 의해 대상 클라이언트가 운영체제의 설치가 요구되는지에 대한 판단이 이루어지도록 할 수 있다. 즉, 관리자의 입력정보에 따라 상기 관리 호스트는 비로소 설치 권한을 얻게 되며, 상기 관리자의 입력정보가 입력되기 이전에 대기 모드로 상태를 변환하게 된다(S305).Thereafter, the registration information is informed to the administrator so that the operating system is installed according to the input information of the manager, so that the administrator can determine whether the target client requires installation of the operating system before installing the operating system. That is, according to the input information of the manager, the management host acquires the installation right and converts the state into the standby mode before the input information of the manager is input (S305).

상기 대기 모드는 도 5에 도시된 바와 같이, 상기 관리 호스트가 DHCP REQUEST Message 수신 이후 DHCP 프로토콜을 변경하여 DHCP ACK를 전송하지 않고 bad request로 처리하여, 클라이언트 호스트가 DHCP ACK를 수신하지 못해 다시 DHCP DISCOVER Message를 전송하는 단계로 돌아가게 함으로써 구현될 수 있다(S306). As shown in FIG. 5, the standby host changes the DHCP protocol after receiving the DHCP REQUEST message and processes the DHCP ACK as a bad request instead of transmitting the DHCP ACK. When the DHCP client receives the DHCP ACK, And returning to the step of transmitting the message (S306).

이후, 상기 관리자의 입력정보에 의해 설치시작에 대한 입력이 관리 호스트에 입력되면, 상기 관리 호스트는 DHCP 프로토콜의 메시지 타입을 새롭게 추가하여 인터페이스를 만들고, 대상 클라이언트 호스트에 대한 상기 등록정보를 읽어 비로소 클라이언트 호스트에 DHCP ACK를 발신하여 상기 DHCP 서버에 의한 클라이언트 호스트의 IP 할당이 이루어지도록 한다(S307).Thereafter, when an input for starting the installation is input to the management host by the input information of the manager, the management host newly creates an interface by adding a message type of the DHCP protocol, reads the registration information for the target client host, A DHCP ACK is sent to the host so that IP allocation of the client host by the DHCP server is performed (S307).

또한, 상기 관리 호스트는 상기 IP 할당을 통한 클라이언트 호스트와의 연결이 완료되면, 상기 TFTP 서버를 통한 커널 이미지 및 kickstart 설정 파일을 대상 클라이언트 호스트에 전송하여 네트워크 부팅을 통한 운영체제 설치가 진행되도록 한다.In addition, when the connection to the client host through the IP allocation is completed, the management host transmits the kernel image and the kickstart configuration file through the TFTP server to the target client host so that the operating system installation proceeds through the network boot.

한편, 상기 관리 호스트와 설치 이력관리부는 상술한 바와 같이 설치이력 정보를 관리자에게 알려 클라이언트 호스트의 설치 내역 및 설치 성공 여부를 확인하도록 할 수 있는데, 이를 도 6을 통해 상세히 설명하도록 한다.Meanwhile, the management host and the installation history management unit may inform the administrator of the installation history information as described above to check the installation details of the client host and the success or failure of the installation, which will be described in detail with reference to FIG.

상기 도 6을 참고하면, 상기 관리 호스트는 상기 클라이언트 호스트의 설치 요청 과정에서 발생하는 메시지와, 상기 kickstart 설정 파일을 통한 상기 커널 이미지를 로드 과정에서 발생하는 각종 이벤트를 상기 클라이언트 호스트로부터 메시지로 수신하여 설치 내역에 대한 정보를 순시로 기록하여 상기 설치 이력관리부에 제공할 수 있다(S401). 6, the management host receives a message generated during the installation request process of the client host and various events generated during the loading of the kernel image through the kickstart configuration file as a message from the client host Information on the installation history can be instantly recorded and provided to the installation history management unit (S401).

또한, 상기 설치이력 관리부는 수신한 상기 설치 내역에 대한 정보를 데이터베이스에 저장할 수 있다. 이때, 상기 설치 내역에 대한 정보는 설치요청시, 설치취소시, 설치진행시, 설치성공시, 설치실패시에 대한 설치정보 및 설치상태를 포함할 수 있다(S403).In addition, the installation history management unit may store the received installation history information in a database. At this time, the information on the installation details may include installation information and installation state of the installation request, installation cancellation, installation progress, installation success, and installation failure (S403).

더하여, 설치성공시 상기 클라이언트 호스트는 상기 kickstar 설정파일의 %post 영역에 운영체제 설치가 완료된 이후 추가적인 스크립트를 실행할 수 있는 부분을 이용하여 상기 설치 이력관리부로 성공 값을 리턴하도록 하여, 상기 설치 이력관리부가 설치 성공여부에 대한 정보를 데이터베이스에 저장할 수 있다(S403).In addition, when the installation is successful, the client host returns a success value to the installation history management unit using a portion capable of executing an additional script after the operating system installation is completed in the% post area of the kickstar configuration file, Information on the success or failure of the installation can be stored in the database (S403).

상기 설치 내역에 대한 정보 및 설치 성공여부에 대한 정보를 포함하는 설치이력 정보는 상기 설치 이력관리부가 이벤트가 발생할때 마다 또는 관리자의 요청에 따라 데이터베이스를 조회하여 email 또는 SMS를 통해 관리자에게 메시지를 전송함으로써 알릴 수 있다(S402).The installation history information including the information on the installation history and the information on the success or failure of the installation is sent to the administrator every time an event occurs or the administrator inquires the database and sends a message to the administrator via email or SMS (S402).

도 1은 종래 클러스트 시스템의 구성을 나타낸 도면1 is a view showing a configuration of a conventional cluster system;

도 2는 본 발명에 따른 운영체제 원격 자동설치 제어 시스템의 구성을 나타낸 도면2 is a diagram illustrating a configuration of an operating system remote automatic installation control system according to the present invention;

도 3은 본 발명에 따른 원격 자동설치 제어방법에 대한 흐름도3 is a flowchart of a remote automatic installation control method according to the present invention.

도 4는 본 발명에 따른 원격 자동설치 제어방법에서 대기모드의 구현에 대한 흐름도FIG. 4 is a flowchart illustrating a standby mode in the remote automatic installation control method according to the present invention.

도 5는 본 발명에 따른 원격 자동설치 제어방법에서 대기모드의 구현에 대한 실시예를 나타낸 도면5 is a diagram illustrating an embodiment of an implementation of a standby mode in a remote automatic installation control method according to the present invention;

도 6은 본 발명에 따른 설치 이력관리부의 설치 이력관리에 대한 흐름도FIG. 6 is a flowchart of the installation history management of the installation history management unit according to the present invention.

***도면의 주요 부분에 대한 부호의 설명***DESCRIPTION OF THE REFERENCE SYMBOLS

100: 관리 호스트 101: DHCP 서버100: Management host 101: DHCP server

102: TFTP 서버 200: 클라이언트 호스트102: TFTP server 200: client host

201: PXE 네트워크 카드 202: kickstart 설정파일201: PXE network card 202: kickstart configuration file

300: 설치 이력관리부300: Installation history management unit

Claims (20)

PXE(PreBoot Execution Environment)를 통해 운영체제가 설치될 클라이언트 호스트의 설치 요청시 전송되는 상기 클라이언트 호스트의 MAC Address 및 설치 요청시간이 포함된 등록정보를 수신하여 자동 저장하며 상기 등록정보를 근거로 IP를 할당하는 DHCP(Dynamic Host Configuration Protocol) 서버와;Receives the registration information including the MAC address of the client host and the installation request time transmitted when the client host to be installed with the operating system is installed through the Preboot Execution Environment (PXE), automatically stores the registered information, and assigns the IP based on the registration information A Dynamic Host Configuration Protocol (DHCP) server; 상기 클라이언트 호스트와 상기 PXE가 지원하는 프로토콜을 통해 커널 이미지를 전송하는 TFTP(Trivial File Transfer Protocol) 서버를 포함하여 운영체제의 설치를 제어하는 관리 호스트를 포함하고,And a management host for controlling installation of an operating system including a TFTP (Trivial File Transfer Protocol) server for transmitting the kernel image through the client host and a protocol supported by the PXE, 상기 관리 호스트는 상기 DHCP 서버로부터 운영체제의 설치 과정 중에서 발생하는 이벤트 메시지를 수신하여 설치정보(운영체제의 설치원인, 설치통계) 또는 설치상태(설치요청, 설치취소, 설치중, 설치완료, 설치실패)에 대한 설치 내역 정보를 생성하는 설치 이력관리부를 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 시스템.The management host receives an event message generated during the installation process of the operating system from the DHCP server and displays the installation information (installation cause of the operating system, installation statistics) or the installation state (installation request, installation cancellation, installation, And an installation history management unit for generating installation history information for the operating system remote automatic installation control system. 청구항 1에 있어서,The method according to claim 1, 상기 DHCP 서버는 상기 등록정보를 표시하며, 상기 클라이언트 호스트의 설치 요청에 대한 응답 메시지 전송 스텝을 지연하고, 관리자의 입력정보를 근거로 응답 메시지를 전송하여 IP 할당 여부를 결정하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 시스템.Wherein the DHCP server displays the registration information, delays the response message transmission step for the client host installation request, and determines whether to allocate IP by transmitting a response message based on the input information of the administrator. Remote automatic installation control system. 삭제delete 청구항 1에 있어서,The method according to claim 1, 상기 설치 이력관리부는 상기 클라이언트 호스트로부터 상기 커널 이미지에 포함되는 kickstart 설정파일의 %post 영역에 운영체제 설치가 완료된 이후 추가적인 스크립트를 실행할 수 있는 부분을 이용하여 성공 값을 리턴하도록 하여, 상기 성공 값에 대한 정보를 데이터베이스에 생성하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 시스템.The installation history management unit may return a success value from the client host using a portion capable of executing an additional script after the OS installation is completed in the% post area of the kickstart setting file included in the kernel image, Wherein the information is generated in a database. 운영체제의 설치를 제어하는 관리 호스트가 PXE를 통한 네트워크 부팅을 통해 운영체제가 설치될 클라이언트 호스트를 파악하는 제 1단계;A first step of the management host controlling the installation of the operating system to identify a client host to which the operating system is to be installed through network booting through the PXE; 상기 클라이언트 호스트로부터 설치요청 메시지를 수신하는 제 2단계;A second step of receiving an install request message from the client host; 상기 관리 호스트가 상기 설치요청 메시지에 대한 패킷을 저장하고 상기 클라이언트 호스트의 정보를 자동으로 생성하여 관리자에게 알리는 제 3단계;A third step of the management host storing a packet for the installation request message and automatically generating information of the client host and informing the administrator of the information; 상기 정보의 생성을 근거로 상기 클라이언트 호스트의 설치요청 메시지에 대한 응답 메시지 전송 스텝을 지연하는 제 4단계;A fourth step of delaying a step of transmitting a response message to the installation request message of the client host based on the generation of the information; 상기 관리 호스트가 관리자의 입력정보를 수신하여 상기 클라이언트 호스트에 IP를 할당하여 운영체제의 커널 이미지를 전송하는 제 5단계; 및A fifth step of the management host receiving input information of an administrator and allocating an IP to the client host to transmit a kernel image of the operating system; And 상기 관리 호스트가 상기 클라이언트 호스트와 운영체제 설치 과정에서 교환하는 메시지 및 kickstart 설정 파일을 통한 상기 커널 이미지를 로드 과정에서 발생하는 각종 이벤트를 상기 클라이언트 호스트로부터 메시지로 수신하여 설치 내역에 대한 정보를 생성하여 설치 이력을 관리하는 설치 이력관리부의 데이터베이스에 저장하는 제 6단계를 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.The management host receives a message exchanged during the OS installation process with the client host and various events generated during the loading of the kernel image through the kickstart configuration file as a message from the client host to generate information on the installation history, And a sixth step of storing the history information in the database of the installation history management unit managing the history. 청구항 5에 있어서,The method of claim 5, 상기 제 1단계는 PXE를 지원하는 네트워크 카드를 동작시키거나, 상기 관리 호스트에서 Wake-On-Lan 신호를 상기 클라이언트 호스트에 전송하여 네트워트 부팅하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.Wherein the first step comprises activating a network card supporting PXE, or sending a Wake-On-Lan signal from the management host to the client host to perform network booting. 청구항 5에 있어서,The method of claim 5, 상기 제 1단계는 상기 관리 호스트가 DHCP DISCOVER Message를 수신하여 설치 요청 대상 클라이언트 호스트를 파악하며, 상기 관리 호스트가 DHCP OFFER Message를 발신하여 DHCP 프로토콜을 통한 연결을 클라이언트에게 알리는 단계를 더 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.The first step further includes a step of the management host receiving a DHCP DISCOVER message to identify a client host to which an installation request is made, and the management host transmitting a DHCP OFFER message to inform the client of a connection via the DHCP protocol A method for controlling remote automatic installation of an operating system. 청구항 5에 있어서,The method of claim 5, 상기 제 2단계는 상기 관리 호스트가 상기 클라이언트 호스트로부터 상기 PXE가 지원하는 DHCP 프로토콜로 연결하기 위한 요청 메시지인 DHCP REQUEST Message를 수신하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.Wherein the second step receives the DHCP REQUEST message, which is a request message for the management host to connect from the client host to the DHCP protocol supported by the PXE. 청구항 8에 있어서, The method of claim 8, 상기 제 3단계는 상기 관리 호스트가 수신한 상기 DHCP REQUEST Message 패킷을 파일로 남겨 상기 정보를 상기 클라이언트 호스트에게 IP를 할당하는 DHCP 서버에 저장하도록 하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.Wherein the third step is to leave the DHCP REQUEST Message packet received by the management host as a file and store the information in a DHCP server that assigns an IP address to the client host. 청구항 9에 있어서,The method of claim 9, 상기 제 4단계는 상기 관리 호스트가 표준 DHCP 프로토콜을 변경하여 상기 DHCP REQUEST Message를 bad request로 처리하고 DHCP ACK의 전송을 방지하여, 상기 클라이언트 호스트가 상기 제 1단계로 회귀하도록 하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.Wherein the management host changes the standard DHCP protocol to process the DHCP REQUEST message as a bad request and prevents the DHCP ACK from being transmitted so that the client host returns to the first step. Remote automatic installation control method. 청구항 10에 있어서,The method of claim 10, 상기 제 5단계는 상기 관리 호스트가 상기 관리자의 입력정보를 근거로 DHCP 프로토콜의 메시지 타입을 새롭게 추가하여 인터페이스를 만들고, 대상 클라이언트 호스트에 대한 상기 정보를 읽어 비로소 클라이언트 호스트에 DHCP ACK를 발신하여 상기 DHCP 서버에 의한 클라이언트 호스트의 IP 할당이 이루어지도록 하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.In the fifth step, the management host newly creates an interface by adding a message type of the DHCP protocol based on the input information of the manager, reads the information about the target client host, and sends a DHCP ACK to the client host, And the IP address of the client host is allocated by the server. 청구항 11에 있어서,The method of claim 11, 상기 제 5단계는 상기 관리 호스트가 IP 할당을 통한 클라이언트 호스트와의 연결이 완료되면, 커널 이미지 및 상기 kickstart 설정 파일을 대상 클라이언트 호스트에 전송하여 네트워크 부팅을 통한 운영체제의 설치가 진행되도록 하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.The fifth step is to transfer the kernel image and the kickstart configuration file to the target client host when the management host completes the connection with the client host through the IP allocation so that the installation of the operating system through the network boot proceeds. How to control remote automatic installation of operating system. 삭제delete 청구항 5에 있어서,The method of claim 5, 상기 제 6단계는 상기 설치이력 관리부가 상기 클라이언트 호스트로부터 상기 kickstart 설정파일의 %post 영역에 운영체제 설치가 완료된 이후 추가적인 스크립트를 실행할 수 있는 부분을 이용하여 리턴되는 성공 값을 수신하여 저장하는 단계를 더 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 방법.The step (6) further includes the step of receiving and storing a success value returned from the client host by using a portion where the operating system is installed in the% post area of the kickstart setting file, from which the additional history script can be executed Wherein the operating system remote automatic installation control method comprises: PXE를 통한 네트워크 부팅을 통해 수신한 설치요청 메시지를 근거로 운영체제가 설치될 클라이언트 호스트를 파악하는 제 1 프로세스;A first process of identifying a client host on which an operating system is to be installed based on the installation request message received via network boot via PXE; 상기 클라이언트 호스트로부터 수신한 설치요청 메시지에 대한 패킷을 파일로 남겨 상기 클라이언트 호스트의 MAC Address 정보 및 설치요청시간에 대한 등록정보를 자동으로 생성하여 관리자에게 알리는 제 2프로세스;A second process of automatically generating a registration information on the MAC address information of the client host and the installation request time by leaving a packet of the installation request message received from the client host as a file and notifying the administrator of the registration information; 상기 등록정보의 생성을 근거로 상기 클라이언트 호스트의 설치요청 메시지에 대한 응답 메시지 전송 스텝을 지연시키는 제 3프로세스;A third process of delaying a response message transmission step to the client host installation request message based on the generation of the registration information; 상기 관리자의 입력정보를 수신하여 상기 클라이언트 호스트에 IP를 할당하여 운영체제의 커널 이미지를 전송하는 제 4프로세스; 및A fourth process of receiving input information of the manager and assigning an IP to the client host to transmit a kernel image of the operating system; And 관리호스트가 상기 클라이언트 호스트와 운영체제 설치 과정에서 교환하는 메시지 및 kickstart 설정 파일을 통한 상기 커널 이미지를 로드 과정에서 발생하는 각종 이벤트를 상기 클라이언트 호스트로부터 메시지로 수신하여 설치 내역에 대한 정보를 생성하여 설치 이력을 관리하는 설치 이력관리부의 데이터베이스에 저장하는 제 5프로세스를 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체.The management host receives a message exchanged during the installation process of the operating system with the client host and various events generated during the loading of the kernel image through the kickstart configuration file as a message from the client host to generate information on the installation history, In a database of an installation history management unit managing the operating system remote automatic installation control program source. 청구항 15에 있어서,16. The method of claim 15, 상기 제 1프로세스는 PXE를 지원하는 네트워크 카드를 동작시키거나, 상기 관리 호스트에서 Wake-On-Lan 신호를 상기 클라이언트 호스트에 전송하여 네트워크 부팅하도록 하는 프로세스를 더 포함하여 이루어진 것을 특징으로 하는 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체.Wherein the first process further comprises a process of operating a network card supporting PXE or sending a Wake-On-Lan signal to the client host to allow the network host to boot up the network, A recording medium on which an installation control program source is recorded. 청구항 15에 있어서,16. The method of claim 15, 상기 제 1프로세스는 상기 관리 호스트가 DHCP DISCOVER Message를 수신하여 설치 요청 대상 클라이언트 호스트를 파악하며, 상기 관리 호스트가 DHCP OFFER Message를 발신하여 DHCP 프로토콜을 통한 연결을 클라이언트에게 알리는 프로세스를 더 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체.The first process further includes a process in which the management host receives a DHCP DISCOVER message to identify a client host to which an installation request is made, and the management host transmits a DHCP OFFER message to inform the client of the connection through the DHCP protocol The recording medium on which the operating system remote automatic installation control program source is recorded. 청구항 15에 있어서, 16. The method of claim 15, 상기 제 2프로세스는 상기 클라이언트 호스트로부터 수신한 DHCP REQUEST Message 패킷을 파일로 남겨 상기 등록정보를 상기 클라이언트 호스트에게 IP를 할당하는 DHCP 서버에 저장하도록 하는 프로세스를 더 포함하는 것을 특징으로 하는 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체.Wherein the second process further comprises a step of storing the DHCP REQUEST Message packet received from the client host as a file and storing the registration information in a DHCP server that assigns an IP address to the client host, A recording medium on which a control program source is recorded. 청구항 15에 있어서,16. The method of claim 15, 상기 제 4프로세스는 상기 관리 호스트가 IP 할당을 통한 클라이언트 호스트와의 연결이 완료되면, 커널 이미지 및 상기 kickstart 설정 파일을 대상 클라이언트 호스트에 전송하여 네트워크 부팅을 통한 운영체제의 설치가 진행되도록 하는 프로세스를 더 포함하여 이루어진 것을 특징으로 하는 운영체제 원격 자동설치 제어 프로그램 소스를 기록한 기록매체.The fourth process further includes a process of transferring the kernel image and the kickstart configuration file to the target client host when the connection to the client host through the IP allocation is completed, thereby allowing the installation of the operating system through the network boot to proceed And a control unit for controlling the operation of the operating system. 삭제delete
KR1020080119119A 2008-11-27 2008-11-27 Method and system for automatically installing operating system, and media that can record computer program sources thereof KR101535153B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080119119A KR101535153B1 (en) 2008-11-27 2008-11-27 Method and system for automatically installing operating system, and media that can record computer program sources thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080119119A KR101535153B1 (en) 2008-11-27 2008-11-27 Method and system for automatically installing operating system, and media that can record computer program sources thereof

Publications (2)

Publication Number Publication Date
KR20100060505A KR20100060505A (en) 2010-06-07
KR101535153B1 true KR101535153B1 (en) 2015-07-08

Family

ID=42361414

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080119119A KR101535153B1 (en) 2008-11-27 2008-11-27 Method and system for automatically installing operating system, and media that can record computer program sources thereof

Country Status (1)

Country Link
KR (1) KR101535153B1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580475B (en) * 2015-01-13 2018-03-09 华为技术有限公司 Long-range control method, terminal device, management server and tele-control system
CN105554177A (en) * 2015-12-30 2016-05-04 合一网络技术(北京)有限公司 Operating system installation method and device
KR101986567B1 (en) * 2017-05-22 2019-06-10 엔에이치엔 주식회사 Method of providing remote desktop service and method of operating remote desktop
KR102108891B1 (en) * 2017-12-04 2020-06-15 오피커피주식회사 Method for Initiating of Public Computer's Operating System, and Computing System Applying the Same
CN109189416A (en) * 2018-09-10 2019-01-11 郑州云海信息技术有限公司 A kind of serial ports visualization system installation method and device based on PXE
CN109445803A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of method of automated quick deployment installation K-UX operating system
CN110247778B (en) * 2019-06-17 2022-03-25 北京达佳互联信息技术有限公司 Operating system installation method and device, electronic equipment and storage medium
CN111163167A (en) * 2019-12-30 2020-05-15 深圳前海微众银行股份有限公司 System installation method and device
CN111752576A (en) * 2020-05-14 2020-10-09 深圳震有科技股份有限公司 Forwarding system deployment method based on 5G data, terminal and storage medium
KR102414260B1 (en) * 2020-09-29 2022-06-28 양태산 Method and apparatus for automatically installing operating system in an environment of network
CN114567558B (en) * 2022-01-14 2023-08-18 苏州浪潮智能科技有限公司 Method, device, equipment and medium for configuring virtual network card by computer cluster

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030054875A (en) * 2001-12-26 2003-07-02 한국전자통신연구원 Method for automatically installing operating system in linux-based cluster system at remote place
US20030126426A1 (en) * 2001-12-31 2003-07-03 Frye James F. Embedded OS PXE server
KR20070111289A (en) * 2006-05-17 2007-11-21 에스케이 텔레콤주식회사 Method and system for updating information of digital picture frame device by using mac address

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030054875A (en) * 2001-12-26 2003-07-02 한국전자통신연구원 Method for automatically installing operating system in linux-based cluster system at remote place
US20030126426A1 (en) * 2001-12-31 2003-07-03 Frye James F. Embedded OS PXE server
KR20070111289A (en) * 2006-05-17 2007-11-21 에스케이 텔레콤주식회사 Method and system for updating information of digital picture frame device by using mac address

Also Published As

Publication number Publication date
KR20100060505A (en) 2010-06-07

Similar Documents

Publication Publication Date Title
KR101535153B1 (en) Method and system for automatically installing operating system, and media that can record computer program sources thereof
US8171119B2 (en) Program deployment apparatus and method
WO2021253854A1 (en) Method and apparatus for remotely updating firmware in batches, and computer-readable storage medium
CN101989212B (en) Method and device for providing virtual machine management program for starting blade server
US7600005B2 (en) Method and apparatus for provisioning heterogeneous operating systems onto heterogeneous hardware systems
US8312115B2 (en) Network booting apparatus and method
KR100620216B1 (en) Network Enhanced BIOS Enabling Remote Management of a Computer Without a Functioning Operating System
US9612814B2 (en) Network topology-aware recovery automation
EP3495938B1 (en) Raid configuration
US20130254759A1 (en) Installing an operating system in a host system
JP2010152704A (en) System and method for operational management of computer system
US20060136704A1 (en) System and method for selectively installing an operating system to be remotely booted within a storage area network
JP2009536375A (en) ISCSI boot drive system and method for an extensible internet engine
JP2009015520A (en) Information processor, program for controlling information processor and storage medium storing program
US10630637B2 (en) Method for ascertaining an IP address and a MAC address of a unit under test mounted in a rack server
TWI396092B (en) Computer program product,data processing system,computer implemented method for configuring a remote data processing system and service processing method for configuring a client data processing system for a customer
US8819200B2 (en) Automated cluster node configuration
CN110971689B (en) System installation method, device, system, equipment and storage medium
JP2007183837A (en) Environment-setting program, environment-setting system, and environment-setting method
US9871814B2 (en) System and method for improving security intelligence through inventory discovery
CN112948008A (en) Ironic based physical bare computer management method
JP4503413B2 (en) Use of storage devices from external terminals in network systems
US20230319007A1 (en) Automatic detection-based ip allocation
JP4498956B2 (en) Network boot system, unit storage unit mounting method and program
WO2002073438A1 (en) Method and system for management of remote devices

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190703

Year of fee payment: 5