KR101851664B1 - Small platform server for distributed processing big data and operating method - Google Patents

Small platform server for distributed processing big data and operating method Download PDF

Info

Publication number
KR101851664B1
KR101851664B1 KR1020160168866A KR20160168866A KR101851664B1 KR 101851664 B1 KR101851664 B1 KR 101851664B1 KR 1020160168866 A KR1020160168866 A KR 1020160168866A KR 20160168866 A KR20160168866 A KR 20160168866A KR 101851664 B1 KR101851664 B1 KR 101851664B1
Authority
KR
South Korea
Prior art keywords
master node
nodes
server
big data
platform server
Prior art date
Application number
KR1020160168866A
Other languages
Korean (ko)
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 KR1020160168866A priority Critical patent/KR101851664B1/en
Application granted granted Critical
Publication of KR101851664B1 publication Critical patent/KR101851664B1/en

Links

Images

Classifications

    • G06F17/30194
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2219Large Object storage; Management thereof
    • G06F17/30318

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Power Sources (AREA)

Abstract

The present invention relates to a small platform server including a plurality of nodes to which different domains are allocated for distributed big data processing. The present invention includes a middleware embedded control board for supplying power to the small platform server and measuring the temperature and humidity of the small platform server, a master node controlled by the middleware embedded control board and building a cluster for distributed big data processing, and a plurality of slave nodes to which respective roles are assigned by the master node and in which different components are installed.

Description

빅데이터 분산처리를 위한 소형 플랫폼 서버 및 이의 동작 방법{SMALL PLATFORM SERVER FOR DISTRIBUTED PROCESSING BIG DATA AND OPERATING METHOD}TECHNICAL FIELD [0001] The present invention relates to a compact platform server for large data distribution processing, and a method of operating the same,

본 발명은 빅데이터 분산처리를 위한 플랫폼 서버에 관한 것으로, 특히 하나의 빅데이터 플랫폼 서버 내에 마스터노드와 다수개의 슬래이브 노드들을 물리적으로 구현하고, 이를 제어하기 위해 소형의 미들웨어 임베디드 컨트롤 보드를 탑재한 빅데이터 분산처리를 위한 소형 플랫폼 서버에 관한 것이다. The present invention relates to a platform server for large data distribution processing, and more particularly to a platform server for physically implementing a master node and a plurality of slave nodes in a big data platform server, and a small middleware embedded control board And a small platform server for large data distribution processing.

정보통신기술의 발전과 모바일 단말의 보급 확대, 인터넷 서비스 확산 등으로 인하여 대규모 데이터가 생성되고 종류도 다양해지고 있다. 빅데이터는 데이터를 수집하고 축적하는 것에 그치는 것이 아니라 대용량의 데이터 속에서 숨어있는 패턴을 찾아내는 것으로, 찾아낸 패턴을 통해 이상 현상 감지가 가능하고 가까운 미래를 예측하는 것이 가능해 민간분야 뿐 아니라 도로교통, 재난, 행정 등 공공분야에서의 활용도가 증가하고 있다.Due to the development of information and communication technology, the spread of mobile terminals, and the proliferation of Internet services, large-scale data is being generated and various kinds are being diversified. Big Data is not just about collecting and accumulating data, but by finding hidden patterns in a large amount of data, it is possible to detect anomalies through the patterns and predict the near future. , And public administration such as administration are increasing.

특히 도로교통분야에서는 도로교통정보시스템의 지속적인 확대 구축으로 도로교통DB는 양적인 측면에서 주목할 만한 발전을 이루었으나 방대한 양의 축적된 도로교통 데이터를 통해 의미 있는 정보를 재생산하기 위한 시스템 부재로 인한 활용가치가 저하되고 있다. In particular, in the road traffic field, the road traffic DB has been remarkably developed in terms of quantitative aspects due to the continuous expansion of the road traffic information system. However, the value of the utilization value due to the absence of the system for reproducing meaningful information through the accumulated amount of accumulated road traffic data .

최근 차량센서, 기상정보, 개방형 도로교통정보 등에서 생성되는 빅데이터를 처리하기 위한 플랫폼이 요청되고 있으나, 빅데이터 처리를 위한 서버 구성은 다수개의 서버급 하드웨어로 구성하는 경우 비용이 높고 공간을 많이 차지하는 문제를 갖고 있으며, 일반 PC급 하드웨어로 구성하는 경우 처리 속도 저하가 발생하며, 클라우드 구성이 어려운 문제가 있다.Recently, a platform for processing big data generated from a vehicle sensor, weather information, and open road traffic information has been requested. However, a server configuration for processing large data requires a high cost and a large space And when it is configured with general PC class hardware, the processing speed is lowered and cloud configuration is difficult.

먼저, 특허공개공보 제10-2015-0033454(이하 '특허문헌 1'이라 함)은 빅데이터 처리 장치 관리 방법 및 이를 수행하는 관리 시스템에 관한 발명으로, 하나의 PC서버에서 분산데이터베이스 기반의 빅데이터 시스템에 대한 설치, 설정 및 제어를 일괄적으로 관리하는 기술을 개시하고 있다. Patent Document 1 discloses a method for managing a big data processing apparatus and a management system for performing the method. In one PC server, a large data base-based large data Discloses a technology for collectively managing installation, setting, and control for a system.

또한, 특허공개공보 제10-2015-0030332(이하 '특허문헌 2'이라 함)는 데이터 분산 처리 시스템 및 이의 동작 방법에 관한 발명으로, 중앙 처리 장치 상에서 구동되는 맵리듀스 태스크의 최초 수행시에 슬레이브 서버들 각각의 처리 능력을 산출하는 기술을 개시하고 있다. In addition, Japanese Patent Application Laid-Open No. 10-2015-0030332 (hereinafter referred to as "Patent Document 2") is an invention related to a data distribution processing system and an operation method thereof. In the first execution of a mapping task executed on a central processing unit, Discloses a technique for calculating the processing capability of each of the servers.

그러나, 특허문헌 1과 특허문헌 2는 본 발명과 같이 마스터노드와 다수개의 슬래이브노드를 물리적으로 하나의 서버에 구성하고 하나의 서버랙에 각각의 도메인을 가지는 마스터노드와 슬래이브노드들로 구성된 점과 차별점을 가진다. However, in Patent Literature 1 and Patent Literature 2, as in the present invention, a master node and a plurality of slave nodes are physically configured in one server, and a master node and slave nodes each having a domain in one server rack It has a point and a distinction.

본 발명은 빅데이터 기반의 주행환경을 예측하기 위해 분산처리가 가능한 소형의 빅데이터 플랫폼 서버를 제공하고자 한다.SUMMARY OF THE INVENTION The present invention is directed to provide a compact large data platform server capable of distributed processing in order to predict a traveling environment based on a big data.

본 발명은 하나의 서버내에 각각의 도메인을 가지는 마스터 노드와 다수개의 슬래이브 노드를 물리적으로 구현한 소형의 빅데이터 플랫폼 서버를 제공하고자 한다.The present invention provides a small data platform server that physically implements a master node and a plurality of slave nodes each having a respective domain in one server.

본 발명은 빅데이터 분산처리를 위해 서로 다른 도메인이 할당된 다수개의 노드들을 포함하는 소형 플랫폼 서버에 관한 것으로, 상기 소형 플랫폼 서버에 전력을 공급하고 상기 소형 플랫폼 서버의 온습도를 측정하는 미들웨어 임베디드 컨트롤 보드와, 상기 미들웨어 임베디드 컨트롤 보드에 의해 제어되고 빅데이터 분산처리를 위해 클러스터를 구축하는 마스터 노드와, 상기 마스터 노드에 의해 각각의 역할이 할당되고, 서로 다른 컴포넌트가 설치되는 다수개의 슬래이브 노드들을 포함한다.The present invention relates to a small-sized platform server including a plurality of nodes to which different domains are allocated for big data distribution processing, and a middleware embedded control board for supplying power to the small-sized platform server and measuring the temperature and humidity of the small- A master node controlled by the middleware embedded control board and constructing a cluster for large data distribution processing, and a plurality of slave nodes allocated with respective roles by the master node and having different components installed therein do.

위와 같은 과제해결수단을 통하여 본 발명은 저비용 고효율의 소형 빅데이터 분산처리 서버구축이 가능하고, 빅데이터 기반의 주행환경 분석 시에 효율적으로 사용할 수 있다. According to the present invention, it is possible to construct a small-size data distribution server with a low cost and high efficiency and efficiently use it in analyzing a traveling environment based on a big data.

또한, 본 발명은 빅데이터 분산처리를 위해 마스터 노드와 다수개의 슬래이브노드에 다양한 도메인 적용이 가능하여 IoT, smart factory, 보안 분야 등에 활용도가 높다.In addition, the present invention can be applied to a master node and a plurality of slave nodes in order to perform big data distribution processing, and is highly applicable to IoT, smart factory, and security fields.

도 1은 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 구성도이다.
도 2는 본 발명의 마스터 노드와 다수개의 슬래이브 노드들을 개략적으로 설명하는 도면이다.
도 3은 본 발명의 미들웨어 임베디드 컨트롤 보드의 구성도이다.
도 4는 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 서버랙의 도면이다.
도 5는 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 실제 구현예이다.
도 6은 본 발명의 미들웨어 임베디드 컨트롤 보드의 실제 구현 예이다.
도 7은 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 동작 방법을 설명하는 순서도이다.
도 8은 본 발명의 마스터 노드의 역할을 할당하는 방법을 설명하는 예시도이다.
도 9는 본 발명의 슬래이브 노드의 역할을 할당하는 방법을 설명하는 예시도이다.
1 is a configuration diagram of a small platform server for large data distribution processing of the present invention.
2 is a schematic view illustrating a master node and a plurality of slave nodes according to the present invention.
3 is a block diagram of a middleware embedded control board of the present invention.
4 is a diagram of a server rack of a small platform server for big data distribution processing of the present invention.
5 is an actual implementation example of a small platform server for large data distribution processing of the present invention.
6 is an actual implementation example of the middleware embedded control board of the present invention.
7 is a flowchart illustrating a method of operating a small platform server for large data distribution processing of the present invention.
8 is an exemplary diagram illustrating a method of assigning a role of a master node of the present invention.
9 is an exemplary diagram illustrating a method for assigning roles of a slave node of the present invention.

본 명세서에 개시되어 있는 본 발명의 개념에 따른 실시 예들에 대해서 특정한 구조적 또는 기능적 설명은 단지 본 발명의 개념에 따른 실시 예들을 설명하기 위한 목적으로 예시된 것으로서, 본 발명의 개념에 따른 실시 예들은 다양한 형태들로 실시될 수 있으며 본 명세서에 설명된 실시 예들에 한정되지 않는다.It is to be understood that the specific structural or functional description of embodiments of the present invention disclosed herein is for illustrative purposes only and is not intended to limit the scope of the inventive concept But may be embodied in many different forms and is not limited to the embodiments set forth herein.

본 발명의 개념에 따른 실시 예들은 다양한 변경들을 가할 수 있고 여러 가지 형태들을 가질 수 있으므로 실시 예들을 도면에 예시하고 본 명세서에서 상세하게 설명하고자 한다. 그러나 이는 본 발명의 개념에 따른 실시 예들을 특정한 개시 형태들에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물, 또는 대체물을 포함한다.The embodiments according to the concept of the present invention can make various changes and can take various forms, so that the embodiments are illustrated in the drawings and described in detail herein. It is not intended to be exhaustive or to limit the invention to the particular forms disclosed, but on the contrary, is intended to cover all modifications, equivalents, or alternatives falling within the spirit and scope of the invention.

본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로서, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 본 명세서에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, the terms "comprises" or "having" and the like are used to specify that there are features, numbers, steps, operations, elements, parts or combinations thereof described herein, But do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.

이하, 본 명세서에 첨부된 도면들을 참조하여 본 발명의 실시 예들을 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings attached hereto.

도 1은 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 구성도이다. 도 1을 참조하면, 빅데이터 분산처리를 위한 소형 플랫폼 서버(10)는 서버랙(700)내에 다수개의 노드를 포함하는 빅데이터 서버(100), 미들웨어 임베디드 컨트롤 보드(200), 전력공급장치(300), 송풍팬(400), 온습도센서(500), 통신포트(600)를 포함한다.1 is a configuration diagram of a small platform server for large data distribution processing of the present invention. 1, a small platform server 10 for large data distribution processing includes a big data server 100 including a plurality of nodes in a server rack 700, a middleware embedded control board 200, a power supply device 300, a blowing fan 400, a temperature / humidity sensor 500, and a communication port 600.

빅데이터 서버(100)는 하나의 마스터 노드(110)와 적어도 제1 내지 제9 슬래이브 노드들(120 내지 195)로 구성될 수 있다. 마스터 노드(110)는 마스터 서버 또는 네임 노드로 호칭될 수 있고, 슬래이브 노드는 슬래이브 서버 또는 데이터 노드로 호칭될 수 있다. 실시예에 따라, 마스터 노드는 빅데이터 서버(100)내의 다른 노드가 지정될 수 있다. 마스터 노드는 슬래이브 노드들과 빅데이터 클러스터를 구축하기 위해 도메인을 설정할 수 있다. 여기서 마스터노드(110)와 제1 내지 제9슬레이브 노드(120 내지 195)는 서로 다른 데이터 처리 능력을 가지는 동종의 서버들이거나 서로 다른 데이터 처리 능력을 가지는 이종의 서버들일 수 있다. 실시예에서는 10개의 노드로 구현하고 있으나 이에 대해 제한하는 것은 아니며 물리적으로 노드를 추가하여 확장 운영할 수 있다.The big data server 100 may be composed of one master node 110 and at least first to ninth slave nodes 120 to 195. The master node 110 may be referred to as a master server or a name node, and a slave node may be referred to as a slave server or a data node. According to the embodiment, the master node may be designated as another node in the big data server 100. [ The master node can set the domain to build the big data cluster with the slave nodes. Here, the master node 110 and the first to ninth slave nodes 120 to 195 may be homogeneous servers having different data processing capabilities or heterogeneous servers having different data processing capabilities. Although the embodiment is implemented with ten nodes, the present invention is not limited thereto, and the nodes may be physically expanded and operated.

미들웨어 임베디드 컨트롤 보드(200)는 빅데이터 서버(100)내의 마스터 노드와 슬래이브 노드들에 개별적으로 릴레이를 이용하여 전원 공급을 제어할 수 있다. 또한, 온습도 센서로부터 측정값을 수신하여 측정된 데이터를 웹으로 전송할 수 있다. 이때, 빅데이터 서버(100) 내부의 온도 및 습도를 확인하기 위해 센서모듈(SHT25)를 제어하여 데이터를 확인할 수 있고, 2초마다 수집된 센서데이터는 웹으로부터 요청이 오면 전송할 수 있다. 또한, 빅데이터 서버(100) 외부의 확장 포트를 이용하여 외부 센서와 연동이 가능하며, 빅데이터 서버(100) 내의 열 배출을 위해 팬에 전원 공급을 제어할 수 있다. The middleware embedded control board 200 can control the power supply to the master node and the slave nodes in the big data server 100 by using the relays individually. Also, the measured data can be received from the temperature / humidity sensor and the measured data can be transmitted to the web. At this time, the data can be checked by controlling the sensor module SHT25 to check the temperature and humidity inside the big data server 100, and the sensor data collected every 2 seconds can be transmitted when requested from the web. Also, it is possible to interlock with an external sensor using an expansion port outside the big data server 100, and to control the power supply to the fan to discharge heat in the big data server 100.

미들웨어 임베디드 컨트롤 보드(200)는 마스터노드와 9개의 슬래이브 노드들을 제어하기 위해 10개의 릴레이, 전원공급을 위한 터미널 블럭을 포함할 수 있다. 또한, 4개의 팬 전원 공급 포트와 5개의 센서 포트를 포함할 수 있다. 미들웨어 임베디드 컨트롤 보드(200)는 Uart 1채널, I2C 1채널, 1wire 3채널을 포함하는 5개의 센서포트를 포함하고, 각각의 릴레이를 제어하는 10개의 GPIO를 포함할 수 있다. 웹으로부터 제어할 릴레이 번호를 전송받아 해당 릴레이 제어 GPIO를 차단 상태로 설정하고, 5초 후 다시 정상 상태로 설정하여 릴레이 제어할 수 있다.The middleware embedded control board 200 may include ten relays to control the master node and nine slave nodes, and a terminal block for power supply. It can also include four fan power supply ports and five sensor ports. The middleware embedded control board 200 includes five sensor ports including a Uart 1 channel, an I 2 C 1 channel, and a 1 wire 3 channel, and may include 10 GPIOs for controlling respective relays. The relay control number is received from the web, and the relay control GPIO is set to the blocking state, and after 5 seconds, the relay control is set to the normal state again.

전력공급장치(300)는 서버랙(700)의 일측면에 배치되어 빅데이터 서버(100), 미들웨어 임베디드 컨트롤 보드(200) 등의 구성에 전력을 공급할 수 있다. 송풍팬(400)은 다수개의 노드로부터 발생하는 열을 방열하기 위해 배치되며, 서버랙 전면부의 3개의 노드와 서버랙 후면부의 7개의 노드 사이에 배치된다. 온습도센서(500)는 소형 빅데이터 서버(10)의 온습도를 센싱하여 웹서버에 제공할 수 있다. 통신포트(600)는 실시예에 따라 RJ45일 수 있으나 이에 대해 한정하는 것은 아니다. 서버랙(700)은 프레임(710)과 송풍구(720)를 포함한다. The power supply device 300 may be disposed on one side of the server rack 700 to supply power to the configuration of the big data server 100, the middleware embedded control board 200, and the like. The blower fan 400 is disposed to dissipate heat generated from a plurality of nodes, and is disposed between the three nodes of the front side of the server rack and the seven nodes of the rear side of the server rack. The temperature / humidity sensor 500 can sense the temperature and humidity of the small data server 10 and provide the data to the web server. The communication port 600 may be RJ45 according to an embodiment, but is not limited thereto. The server rack 700 includes a frame 710 and a blower 720.

이러한 소형 플랫폼 서버내에 위와 같이 배치하여 저비용 고효율의 소형 빅데이터 분산처리 서버구축이 가능하고, 빅데이터 분석시 효율적으로 사용할 수 있다. 또한, 하나의 빅데이터 서버내에 마스터 노드와 다수개의 슬래이브노드를 구성하여 다양한 도메인 적용이 가능하다.It is possible to construct a small and large data distribution server with low cost and high efficiency by arranging it in the small platform server as above, and it can be used effectively in big data analysis. In addition, it is possible to apply various domains by configuring a master node and a plurality of slave nodes in one big data server.

도 2는 본 발명의 마스터 노드와 다수개의 슬래이브 노드들을 개략적으로 설명하는 도면이다.2 is a schematic view illustrating a master node and a plurality of slave nodes according to the present invention.

도 2를 참조하면, 빅데이터 서버(100)는 마스터 노드(110)와 제1 내지 제9 슬래이브 노드(120 내지 195)를 포함한다. 예컨대, 마스터 노드(110)는 NameNode, ResourceManager, Ambari Server, Zookeeper Server1가 설치되어 동작할 수 있다.Referring to FIG. 2, the Big Data Server 100 includes a master node 110 and first to ninth slave nodes 120 to 195. For example, the master node 110 can operate by installing a NameNode, a ResourceManager, an Ambari Server, and a Zookeeper Server 1.

제1 내지 제9 슬래이브 노드(120 내지 195)들은 DataNode, NodeManager, Amabri Client가 공통적으로 설치되고, 각각의 기능에 따라 개별적으로 설치될 수 있다.The first to ninth slave nodes 120 to 195 may have a DataNode, a NodeManager, and an Amabri Client installed in common, and may be individually installed according to respective functions.

도 3은 본 발명의 미들웨어 임베디드 컨트롤 보드의 구성도이다.3 is a block diagram of a middleware embedded control board of the present invention.

도 3을 참조하면, 미들웨어 임베디드 컨트롤 보드(200)는 마이크로 프로세서(210), PMIC(220), 릴레이(230), DC-DC 컨버터들(240, 250)로 구성된다. 미들웨어 임베디드 컨트롤 보드(200)는 마스터노드와 9개의 슬래이브 노드들을 제어하기 위해 10개의 릴레이, 전원공급을 위한 터미널 블럭을 포함할 수 있다.Referring to FIG. 3, the middleware embedded control board 200 includes a microprocessor 210, a PMIC 220, a relay 230, and DC-DC converters 240 and 250. The middleware embedded control board 200 may include ten relays to control the master node and nine slave nodes, and a terminal block for power supply.

또한, 4개의 팬 전원 공급 포트와 5개의 센서 포트를 포함할 수 있다. 미들웨어 임베디드 컨트롤 보드(200)는 Uart 1채널, I2C 1채널, 1wire 3채널을 포함하는 5개의 센서포트를 포함하고, 각각의 릴레이를 제어하는 10개의 GPIO를 포함할 수 있다. 마이크로프로세서(210)는 5개의 센서포트로부터 수신한 센서정보 이더넷을 통하여 웹으로 송수신할 수 있고, PMIC(220)는 마이크로프로세서와 Uart통신을 통해 전력을 제어할 수 있다. DC-DC컨버터들(240, 250)은 각각 전력공급장치와 송풍팬에 전력을 공급할 수 있다. It can also include four fan power supply ports and five sensor ports. The middleware embedded control board 200 includes five sensor ports including a Uart 1 channel, an I 2 C 1 channel, and a 1 wire 3 channel, and may include 10 GPIOs for controlling respective relays. The microprocessor 210 can transmit and receive data to and from the web through the sensor information Ethernet received from the five sensor ports, and the PMIC 220 can control power through UART communication with the microprocessor. DC-DC converters 240 and 250 may supply power to the power supply and the blower fan, respectively.

도 4는 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 서버랙의 도면이다.4 is a diagram of a server rack of a small platform server for big data distribution processing of the present invention.

도 4를 참조하면, 서버랙(700)은 각종 정보처리장치 및 서버를 호환 장착할 수 있도록 프레임(710)을 설치하고, 전면과 후면에 송풍구(720, 740)를 배치한다. 서버랙(700)은 빅데이터 서버들 사이에 송풍팬을 설치하기 위한 송풍팬함(740)을 형성한다. 서버랙(700)은 일측면에 전력공급장치를 설치하기 위한 전력공급장치함(750)을 형성한다. 서버랙(700)의 후면에 RJ45 소켓이 설치되도록 개방구를 구성할 수 있다.Referring to FIG. 4, the server rack 700 is provided with a frame 710 for interchangeably mounting various information processing apparatuses and servers, and the blowing openings 720 and 740 are disposed on the front and rear surfaces thereof. The server rack 700 forms a blower fan box 740 for installing a blower fan between the big data servers. The server rack 700 forms a power supply box 750 for installing a power supply on one side. An opening can be formed so that an RJ45 socket is installed on the rear surface of the server rack 700. [

도 5는 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 실제 구현예이다. 도 5를 참조하면, 소형 플랫폼 서버(10)는 서버랙 전면부에 3개의 노드들이 배치되고, 서버랙 후면부에 7개의 노드들이 배치된다. 서버랙의 우측 전면부에 미들웨어 임베디드 컨트롤 보드가 배치되고, 서버랙의 우측 후면부에 전력공급장치가 배치된다. 송풍팬이 서버랙 전면부의 3개의 노드와 서버랙 후면부의 7개의 노드 사이에 배치된다. 이러한 소형 플랫폼 서버를 구성하여 저비용 고효율의 소형 빅데이터 분산처리 서버구축이 가능하고, 빅데이터 분석시 효율적으로 사용할 수 있다. 또한, 하나의 빅데이터 서버내에 마스터 노드와 다수개의 슬래이브노드를 구성하여 다양한 도메인 적용이 가능하다.5 is an actual implementation example of a small platform server for large data distribution processing of the present invention. 5, in the small platform server 10, three nodes are arranged on the front side of the server rack, and seven nodes are arranged on the rear side of the server rack. A middleware embedded control board is placed on the right front of the server rack and a power supply is placed on the right rear of the server rack. A blower fan is placed between the three nodes on the front of the server rack and the seven nodes on the rear of the server rack. By constructing such a small platform server, it is possible to construct a small, high-efficiency, high-efficiency distributed data processing server and efficiently use it in big data analysis. In addition, it is possible to apply various domains by configuring a master node and a plurality of slave nodes in one big data server.

도 6은 본 발명의 미들웨어 임베디드 컨트롤 보드의 실제 구현 예이다.6 is an actual implementation example of the middleware embedded control board of the present invention.

도 6을 참조하면, 미들웨어 임베디드 컨트롤 보드(200)는 마스터노드와 9개의 슬래이브 노드들을 제어하기 위해 10개의 릴레이, 전원공급을 위한 터미널 블럭, 4개의 팬 전원 공급 포트와 5개의 센서 포트를 포함할 수 있다.6, the middleware embedded control board 200 includes ten relays, a terminal block for power supply, four fan power supply ports, and five sensor ports for controlling the master node and nine slave nodes can do.

도 7은 본 발명의 빅데이터 분산처리를 위한 소형 플랫폼 서버의 동작 방법을 설명하는 순서도이다.7 is a flowchart illustrating a method of operating a small platform server for large data distribution processing of the present invention.

도 7을 참조하면, 빅데이터 분산처리를 위한 소형 플랫폼 서버의 동작 방법은 먼저 마스터 노드가 빅데이터 클러스터 구축을 위한 도메인을 설정한다(S710). 로컬 환경에서 로컬 IP 대신 도메인 네임을 통해 다른 호소트를 찾아가는 방식인 FQDN(fully qualified domain name)을 사용하며, 호스트 이름과 도메인 이름으로 구성된다. Referring to FIG. 7, in operation method of small platform server for big data distribution processing, the master node first sets a domain for building a big data cluster (S710). It uses a fully qualified domain name (FQDN), which is a method of locating another host through a domain name instead of local IP in the local environment, and consists of a host name and a domain name.

실시예에서, 마스터노드는 192.168.0.180 master.hdp.hkinet.com으로 설정될 수 있고, 제1 슬래이브 노드는 192.168.0.181 slave01.hdp.hkinet.com, 제2슬래이브노드는 192.168.0.182 slave02.hdp.hkinet.com, 제3슬래이브 노드는 192.168.0.183 slave03.hdp.hkinet.com, 제4슬래이브 노드는 192.168.0.184 slave04.hdp.hkinet.com, 제5슬래이브 노드는 192.168.0.185 slave05.hdp.hkinet.com, 제6슬래이브 노드는 192.168.0.186 slave06.hdp.hkinet.com, 제7슬래이브 노드는 192.168.0.187 slave07.hdp.hkinet.com, 제8슬래이브 노드는 192.168.0.188 slave08.hdp.hkinet.com, 제9슬래이브 노드는 192.168.0.189 slave09.hdp.hkinet.com으로 설정할 수 있다. 즉, 마스터 노드와 슬래이브노드의 역할을 구분 짓기 위해 호스트 이름을 마스터 또는 슬래이브라고 지정하였고, 그 뒤에는 ‘hdp.hkinet.com’으로 고유한 도메인 이름으로 구성할 수 있다.In the embodiment, the master node may be set to 192.168.0.180 master.hdp.hkinet.com, the first slave node is 192.168.0.181 slave01.hdp.hkinet.com, the second slave node is 192.168.0.182 slave02 .hdp.hkinet.com, the third slave node is 192.168.0.183 slave03.hdp.hkinet.com, the fourth slave node is 192.168.0.184 slave04.hdp.hkinet.com, the fifth slave node is 192.168.0.185 slave05.hdp.hkinet.com, the sixth slave node is 192.168.0.186 slave06.hdp.hkinet.com, the seventh slave node is 192.168.0.187 slave07.hdp.hkinet.com, and the eighth slave node is 192.168. 0.188 slave08.hdp.hkinet.com, and the 9th slave node can be set as 192.168.0.189 slave09.hdp.hkinet.com. In other words, to distinguish the role of the master node from the slave node, the host name is designated as master or slave, followed by 'hdp.hkinet.com' as a unique domain name.

이후에, 마스터노드는 password-less ssh(secure shell)를 설정한다. 빅데이터 클러스터를 구축하기 위해 마스터 노드에서 슬래이브 노드를 패스워드 없이 ssh 접근이 가능하도록 설정할 수 있다. 이는 암바리(Apache Ambari)를 통해 빅데이터 클러스터를 구축하는 경우에 필요한 설정이며, 마스터 노드에 암바리 서버가 먼저 설치되고 이 암바리 서버가 각 슬래이브 노드에 ssh로 접근하여 각 분산 프레임워크를 설치하는 구조로 동작할 수 있다. 각 호스트에서 Password-less ssh를 설정하기 위한 명령어는 아래와 같다.Subsequently, the master node sets up a password-less ssh (secure shell). To build a big data cluster, you can set slave access to slave nodes on the master node without a password. This is the setting required for building a big data cluster through Apache Ambari. The Ambary server is first installed on the master node, and the Ambary server accesses each slave node with ssh, It can be operated as a structure to install. The command to configure password-less ssh on each host is as follows.

# ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa# ssh-keygen -t dsa -P '' -f ~ / .ssh / id_dsa

# cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys# cat ~ / .ssh / id_dsa.pub >> ~ / .ssh / authorized_keys

# cat ~/.ssh/id_dsa.pub | ssh root@master.hdp.hkinet.com 'cat >> ~/.ssh/authorized_keys'# cat ~ / .ssh / id_dsa.pub | ssh root@master.hdp.hkinet.com 'cat >> ~ / .ssh / authorized_keys'

# cat ~/.ssh/id_dsa.pub | ssh root@slave01.hdp.hkinet.com 'cat >> ~/.ssh/authorized_keys'# cat ~ / .ssh / id_dsa.pub | ssh root@slave01.hdp.hkinet.com 'cat >> ~ / .ssh / authorized_keys'

..

.# cat ~/.ssh/id_dsa.pub | ssh root@slave09.hdp.hkinet.com 'cat >> ~/.ssh/authorized_keys’. # cat ~ / .ssh / id_dsa.pub | ssh root@slave09.hdp.hkinet.com 'cat >> ~ / .ssh / authorized_keys'

이후에, 마스터 노드에 서버가 설치된다(S730). 먼저 마스터 노드에 암바리 서버를 설치하여야 한다. 실시예에서, 상기 암바리 서버는 호튼웍스(Hortonworks) 사에서 개발한 HDP 클러스터 매니저로서 HDP를 구축하고 운영하는데 필요한 기능들을 제공할 수 있다. 마스터 노드에 암바리 서버를 설치하는 명령어는 아래와 같다.Thereafter, the server is installed in the master node (S730). First, you need to install the Ambary server on the master node. In the embodiment, the Ambary server is an HDP cluster manager developed by Hortonworks, and can provide the functions necessary for building and operating the HDP. The command to install the Ambary server on the master node is as follows.

# wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.4.0.1/ambari.list -O /etc/apt/sources.list.d/ambari.list# wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.4.0.1/ambari.list -O /etc/apt/sources.list.d/ambari. list

# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD

# apt-get update# apt-get update

# apt-get install ambari-server# apt-get install ambari-server

# ambari-server setup# ambari-server setup

암바리 서버 설치가 완료되면 setup 명령어를 통해 암바리 서버의 초기 설정을 진행한다. 초기 설정 옵션에는 자바 프레임워크의 버전 설정 및 암바리 DB 등을 설정할 수 있다. 설정이 완료되면 start 명령어로 암바리를 실행한다. 암바리가 정상적으로 실행되면 http://192.168.0.180:8080 접속을 통해 아래와 같은 웹 화면에 접근할 수 있게 된다. 아래의 화면에서 ‘Launch Install Wizard’ 버튼을 클릭하여 클러스터 구축을 시작한다. 앞서 설정하였던 총 10대의 노드들을 FQDN 방식을 사용하여 추가해준다.After completing the installation of Amberly server, proceed with initial setup of Amberly server through setup command. The initial configuration options include setting the version of the Java framework and configuring the database. When the setting is completed, execute the command with the start command. When Ambara runs normally, you can access the following web page through http://192.168.0.180:8080 connection. Click the 'Launch Install Wizard' button on the screen below to start cluster configuration. We add the total of 10 nodes that we set up using FQDN method.

이후에, 마스터 노드의 역할을 할당한다(S740). Thereafter, the role of the master node is allocated (S740).

이후에, 마스터 노드가 슬레이브 노드들의 각각의 역할을 할당한다(S750).Thereafter, the master node assigns each role of the slave nodes (S750).

이후에, 슬레이브 노드들에 할당된 컴포넌트를 설치한다(S760). 모든 노드들의 연결확인과 역할할당 과정을 완료하면 각각의 노드들에게 주어진 역할에 맞는 컴포넌트들을 설치하게 된다. 설치가 완료된 후에는 각각의 프레임워크들이 정상적으로 설치되었는지를 확인하는 과정을 거치고 난 후 클러스터 구축을 완료하게 된다. Thereafter, the components allocated to the slave nodes are installed (S760). After confirming the connection of all the nodes and completing the role assignment process, the components corresponding to the given roles are installed to the respective nodes. After the installation is completed, it is checked whether each framework is properly installed, and then the cluster construction is completed.

도 8은 본 발명의 마스터 노드의 역할을 할당하는 방법을 설명하는 예시도이고, 도 9는 본 발명의 슬래이브 노드의 역할을 할당하는 방법을 설명하는 예시도이다.FIG. 8 is a diagram illustrating a method of assigning a role of a master node according to the present invention, and FIG. 9 is an exemplary diagram illustrating a method of assigning roles of a slave node of the present invention.

도 8과 도 9를 참조하면, 마스터 노드에서 마스터 노드의 역할을 할당하고 설치될 컴포넌트를 선택할 수 있고, 각각의 슬래이브 노드들의 역할을 할당하고 설치될 컴포넌트를 선택할 수 있다. 예컨대, 제1슬래이브 노드는 DataNode, NFSGGateway, NodeManager, Flume, Livy server를 선택할 수 있고, 제2슬래이브 노드는 DataNode, NodeManageer, Flumme, Spark Thrift Server를 선택하여 역할을 할당하고 해당 컴포넌트를 설치할 수 있다.Referring to FIGS. 8 and 9, it is possible to assign a role of a master node at a master node, select a component to be installed, assign a role of each slave node, and select a component to be installed. For example, the first slave node can select DataNode, NFSGGateway, NodeManager, Flume, Livy server, and the second slave node can select a DataNode, NodeManageer, Flumme, Spark Thrift Server, have.

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

10; 소형 플랫폼 서버
100; 빅데이터 서버
200; 미들웨어 임베디드 컨트롤 보드
300; 전력공급장치
400; 송풍팬
500; 온습도센서
600; 통신포트
700; 서버랙
10; Small platform server
100; Big Data Server
200; Middleware Embedded Control Board
300; Power supply
400; Blowing fan
500; Temperature and Humidity Sensor
600; Communication port
700; Server rack

Claims (7)

빅데이터 분산처리를 위해 서로 다른 도메인이 할당된 다수개의 노드들을 포함하는 소형 플랫폼 서버에 관한 것으로,
상기 소형 플랫폼 서버에 전력을 공급하고 상기 소형 플랫폼 서버의 온습도를 측정하는 미들웨어 임베디드 컨트롤 보드;
상기 미들웨어 임베디드 컨트롤 보드에 의해 제어되고 빅데이터 분산처리를 위해 클러스터를 구축하는 마스터 노드; 및
상기 마스터 노드에 의해 각각의 역할이 할당되고, 서로 다른 컴포넌트가 설치되는 다수개의 슬래이브 노드들을 포함하고,
상기 미들웨어 임베디드 컨트롤 보드는,
Uart 1채널, I2C 1채널, 1wire 3채널을 포함하는 센서포트;
상기 마스터 노드와 상기 다수개의 슬래이브 노드들을 제어하는 릴레이;
상기 센서포트로부터 수신한 센서정보를 이더넷을 통하여 웹으로 송수신하는 마이크로프로세서;
상기 마이크로프로세서와 Uart통신을 통해 전력을 제어하는 PMIC; 및
전력공급장치와 송풍팬에 전력을 공급하는 DC-DC컨버터들을 포함하는 빅데이터 분산처리를 위한 소형 플랫폼 서버.
To a small platform server including a plurality of nodes to which different domains are allocated for big data distribution processing,
A middleware embedded control board for supplying power to the small platform server and measuring the temperature and humidity of the small platform server;
A master node controlled by the middleware embedded control board and building a cluster for big data distribution processing; And
A plurality of slave nodes to which respective roles are allocated by the master node and different components are installed,
The middleware embedded control board includes:
Sensor ports including Uart 1 channel, I2C 1 channel, 1wire 3 channels;
A relay for controlling the master node and the plurality of slave nodes;
A microprocessor for transmitting and receiving sensor information received from the sensor port to the web via Ethernet;
A PMIC for controlling power through UART communication with the microprocessor; And
A compact platform server for big data distribution processing that includes DC-DC converters that power the power supply and blower fans.
제1항에 있어서,
상기 마스터 노드는 상기 슬래이브 노드들과 빅데이터 클러스터를 구축하기 위해 도메인을 설정하는 소형 플랫폼 서버.
The method according to claim 1,
Wherein the master node establishes a domain for building a big data cluster with the slave nodes.
제1항에 있어서,
상기 미들웨어 임베디드 컨트롤 보드는 상기 마스터 노드와 상기 슬래이브 노드들에 개별적으로 릴레이를 이용하여 전원 공급을 제어하는 소형 플랫폼 서버.
The method according to claim 1,
Wherein the middleware embedded control board controls power supply to the master node and the slave nodes by using relays individually.
제1항에 있어서,
상기 마스터 노드, 상기 슬래이브 노드들 및 상기 미들웨어 임베디드 컨트롤 보드를 장착하는 서버랙을 더 포함하고,
상기 서버랙의 전면부에 3개의 노드들이 배치되고, 서버랙 후면부에 7개의 노드들이 배치되고, 송풍팬이 서버랙 전면부의 3개의 노드와 서버랙 후면부의 7개의 노드 사이에 배치되는 소형 플랫폼 서버.
The method according to claim 1,
Further comprising a server rack for mounting the master node, the slave nodes, and the middleware embedded control board,
A small platform server in which three nodes are arranged in a front part of the server rack, seven nodes are arranged in a rear part of the server rack, and a blowing fan is disposed between three nodes on the front side of the server rack and seven nodes on the rear side of the server rack .
제2항에 있어서,
상기 마스터 노드와 상기 슬래이브 노드들의 도메인 이름이 각각 다르게 설정되는 소형 플랫폼 서버.
3. The method of claim 2,
Wherein the master node and the slave nodes have different domain names.
삭제delete 삭제delete
KR1020160168866A 2016-12-12 2016-12-12 Small platform server for distributed processing big data and operating method KR101851664B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160168866A KR101851664B1 (en) 2016-12-12 2016-12-12 Small platform server for distributed processing big data and operating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160168866A KR101851664B1 (en) 2016-12-12 2016-12-12 Small platform server for distributed processing big data and operating method

Publications (1)

Publication Number Publication Date
KR101851664B1 true KR101851664B1 (en) 2018-04-25

Family

ID=62088671

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160168866A KR101851664B1 (en) 2016-12-12 2016-12-12 Small platform server for distributed processing big data and operating method

Country Status (1)

Country Link
KR (1) KR101851664B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101980320B1 (en) 2019-01-31 2019-05-20 주식회사아이티존 Parallel distributed processing method for big data query based on gpu

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013125772A1 (en) * 2012-02-23 2013-08-29 한국과학기술정보연구원 Message transmission system for mutual operation of distributed data and method therefor
WO2013125787A1 (en) * 2012-02-22 2013-08-29 엔에이치엔비지니스플랫폼 주식회사 Interface board for supplying power
CN103399800A (en) * 2013-08-07 2013-11-20 山东大学 Dynamic load balancing method based on Linux parallel computing platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013125787A1 (en) * 2012-02-22 2013-08-29 엔에이치엔비지니스플랫폼 주식회사 Interface board for supplying power
WO2013125772A1 (en) * 2012-02-23 2013-08-29 한국과학기술정보연구원 Message transmission system for mutual operation of distributed data and method therefor
CN103399800A (en) * 2013-08-07 2013-11-20 山东大学 Dynamic load balancing method based on Linux parallel computing platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101980320B1 (en) 2019-01-31 2019-05-20 주식회사아이티존 Parallel distributed processing method for big data query based on gpu

Similar Documents

Publication Publication Date Title
CN107911421B (en) Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain
CN108141717B (en) Method and system for data processing
CN108206847B (en) CDN management system, method and device
CN111711557B (en) Remote access system and method for network target range users
CN111782232A (en) Cluster deployment method and device, terminal equipment and storage medium
CN112956219A (en) Subnet-based device allocation with geofence authentication
JP5720324B2 (en) Thin client environment providing system, server, thin client environment management method, and thin client environment management program
CN109644522A (en) For passing through the method and system of wireless network secure loading equipemtn
US10348570B1 (en) Dynamic, endpoint configuration-based deployment of network infrastructure
CN110753088B (en) System deployment method and device
EP2681942A2 (en) System and method to provide remote device management for mobile virtualized platforms
CN104572269A (en) Quick cluster deployment method based on Linux operation system
CN115965517B (en) Graphics processor resource management method and device, electronic equipment and storage medium
KR20150108230A (en) Cluster construction method and apparatus thereof
US9935830B1 (en) Cloud management system and method for disparate computing nodes in a cloud computing environment
KR101851664B1 (en) Small platform server for distributed processing big data and operating method
CN104363306A (en) Private cloud management control method for enterprise
US9098334B2 (en) Special values in oracle clusterware resource profiles
KR101845396B1 (en) IoT extended build-up system based on BAS network
Pereira et al. Building a microscope for the data center
US9736027B2 (en) Centralized enterprise image upgrades for distributed campus networks
CN209881824U (en) Data center and cloud computing system based on private cloud platform
EP3709571A1 (en) Device management clustering
US9769026B2 (en) Device asset tracking and service desk using an external network management system as a data source
JP2015099547A (en) Software update method, software update apparatus, software update program, and software update system

Legal Events

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