KR102160119B1 - 도커 컨테이너 로그 분석 프레임워크 장치 및 이를 이용한 특성 분석 방법 - Google Patents
도커 컨테이너 로그 분석 프레임워크 장치 및 이를 이용한 특성 분석 방법 Download PDFInfo
- Publication number
- KR102160119B1 KR102160119B1 KR1020180144287A KR20180144287A KR102160119B1 KR 102160119 B1 KR102160119 B1 KR 102160119B1 KR 1020180144287 A KR1020180144287 A KR 1020180144287A KR 20180144287 A KR20180144287 A KR 20180144287A KR 102160119 B1 KR102160119 B1 KR 102160119B1
- Authority
- KR
- South Korea
- Prior art keywords
- log
- task
- container
- information
- task characteristic
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3414—Workload generation, e.g. scripts, playback
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
도2는 본 발명의 실시예에 따른 도커 컨테이너 로그 분석 프레임워크 장치의 동작을 설명하기 위한 도면이다.
도3은 도커 컨테이너 스탯을 설명하기 위한 도면이다.
110: 로그 분석 프레임 워크 장치
111: 컨테이너 로그 수집기
112: 로그 데이터 분석기
113: 테스크 특성 추출기
120: 테스크 특성 데이터베이스
130: 컨테이너 매니저
131: 스케줄러
200: 클러스터
210: 호스트
211: 로그 관리 컨테이너
212: 일반 컨테이너
213: 로그 데이터베이스
Claims (10)
- 메인 호스트 상에 위치하며 클러스터에 속한 호스트의 로그 관리 컨테이너로부터 각 컨테이너의 로그를 수집하는 컨테이너 로그 수집기;
수집한 로그를 분석하여 테스크 특성 로그 및 일반 시스템 로그로 분류하는 로그 데이터 분석기;
상기 테스크 특성 로그를 이용하여 각 컨테이너에서 수행하고 있는 테스크의 특성을 중앙처리장치(CPU) 작업, 메모리 작업 네트워크 입출력 장치 작업 및 파일 입출력 장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하는 테스크 특성 추출기;
상기 테스크 특성 추출기에서 추출한 테스크 특성 정보를 저장하는 테스크 특성 데이터베이스; 및
상기 테스크 특성 데이터베이스에 저장되어 있는 상기 테스크 특성 정보를 활용하여 내부에 있는 스케줄러를 통해 로드 밸런싱을 수행하는 컨테이너 매니저;를 포함하며,
상기 테스크 특성 추출기는 Cpu_stats 명령어를 통하여 전체 cpu의 사용량, 유저모드에서의 cpu 사용량 및 커널모드에서의 cpu 사용량 중 적어도 하나를 분석하여 상기 중앙처리장치(CPU) 작업으로 분류한 테스크 특성 정보를 생성하고, Memory_stats 명령어를 통하여 전체 페이지의 입출력(In/Out) 의 크기, 할당된 컨테이너의 메모리 한계 및 실제 도커 컨테이너가 물리 메모리에서 점유하고 있는 크기 중 적어도 하나를 분석하여 메모리 작업으로 분류한 테스크 특성 정보를 생성하고, Network_stats를 통하여 송수신된 패킷의 양, 전송 성공 패킷의 수 및 전송 실패 패킷의 수를 분석하여 네트워크 입출력장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하고, Blkio_stats를 통하여 파일 입출력(I/O)에 사용한 총 시간, 실제 사용한 시간, 대기 시간 및 유휴 시간 중 적어도 하나를 확인하여 파일 입출력장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하며,
상기 로그 데이터 분석기는 수집한 로그를 분석하여 상기 컨테이너 로그 수집기를 통해 수집한 로그들을 테스크 특성 추출에 사용되는 테스크 특성 로그인지 일반 시스템 로그인지를 분류하고, 분류한 테스크 특성 로그를 상기 테스크 특성 추출기로 전달하며, 상기 일반 시스템 로그는 별도로 저장하여 사용자가 상기 컨테이너의 상세한 정보를 모니터링할 수 있게 하되, 상기 일반 시스템 로그는 응용프로그램 영역의 에러 또는 예외처리 정보를 포함하는 로그를 의미하며, 상기 로그 데이터 분석기는 일반 컨테이너에 할당된 자원에 관한 정보가 로그에 담겨있는지 확인하여 상기 테스크 특성 로그를 상기 일반 시스템 로그와 분류하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 일반 시스템 로그는 응용프로그램 영역의 에러 정보 및 예외 처리 정보 중 적어도 하나를 포함하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 로그 데이터 분석기는 일반 컨테이너에 할당된 자원에 관한 정보가 로그에 포함되었는지 여부에 따라 상기 테스크 특성 로그를 상기 일반 시스템 로그와 분류하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 테스크 특성 추출기는 Cpu_stats 명령어를 통하여 전체 cpu의 사용량, 유저모드에서의 cpu 사용량 및 커널모드에서의 cpu 사용량 중 적어도 하나를 분석하여 상기 중앙처리장치(CPU) 작업으로 분류한 테스크 특성 정보를 생성하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 테스크 특성 추출기는 Memory_stats 명령어를 통하여 전체 페이지의 입출력(In/Out) 의 크기, 할당된 컨테이너의 메모리 한계 및 실제 도커 컨테이너가 물리 메모리에서 점유하고 있는 크기 중 적어도 하나를 분석하여 메모리 작업으로 분류한 테스크 특성 정보를 생성하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 테스크 특성 추출기는 Network_stats를 통하여 송수신된 패킷의 양, 전송 성공 패킷의 수 및 전송 실패 패킷의 수를 분석하여 네트워크 입출력장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 테스크 특성 추출기는 Blkio_stats를 통하여 파일 입출력(I/O)에 사용한 총 시간, 실제 사용한 시간, 대기 시간 및 유휴 시간 중 적어도 하나를 확인하여 파일 입출력장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 제1항에 있어서,
상기 테스크 특성 추출기에서 추출한 테스크 특성 정보를 저장하는 테스크 특성 데이터베이스를 더 포함하는 도커 컨테이너 로그 분석 프레임워크 장치.
- 클러스터에 속한 호스트의 로그 관리 컨테이너로부터 각 컨테이너의 로그를 수집하는 단계;
수집한 로그를 분석하여 테스크 특성 로그 및 일반 시스템 로그로 분류하는 단계;
상기 테스크 특성 로그를 이용하여 각 컨테이너에서 수행하고 있는 테스크의 특성을 중앙처리장치(CPU) 작업, 메모리 작업 네트워크 입출력 장치 작업 및 파일 입출력 장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하는 단계
상기 테스크 특성 정보를 저장하는 단계; 및
상기 테스크 특성 정보를 활용하여 내부에 있는 스케줄러를 통해 로드 밸런싱을 수행하는 단계를 포함하며,
상기 테스크 특성 정보를 생성하는 단계는 Cpu_stats 명령어를 통하여 전체 cpu의 사용량, 유저모드에서의 cpu 사용량 및 커널모드에서의 cpu 사용량 중 적어도 하나를 분석하여 상기 중앙처리장치(CPU) 작업으로 분류한 테스크 특성 정보를 생성하고, Memory_stats 명령어를 통하여 전체 페이지의 입출력(In/Out) 의 크기, 할당된 컨테이너의 메모리 한계 및 실제 도커 컨테이너가 물리 메모리에서 점유하고 있는 크기 중 적어도 하나를 분석하여 메모리 작업으로 분류한 테스크 특성 정보를 생성하고, Network_stats를 통하여 송수신된 패킷의 양, 전송 성공 패킷의 수 및 전송 실패 패킷의 수를 분석하여 네트워크 입출력장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하고, Blkio_stats를 통하여 파일 입출력(I/O)에 사용한 총 시간, 실제 사용한 시간, 대기 시간 및 유휴 시간 중 적어도 하나를 확인하여 파일 입출력장치(I/O) 작업으로 분류한 테스크 특성 정보를 생성하는 단계를 포함하고,
상기 수집한 로그를 분석하여 테스크 특성 로그 및 일반 시스템 로그로 분류하는 단계는 일반 컨테이너에 할당된 자원에 관한 정보가 로그에 담겨있는지 확인하여 수집한 로그들을 테스크 특성 추출에 사용되는 테스크 특성 로그인지 일반 시스템 로그인지를 분류하고, 분류한 테스크 특성 로그를 테스크 특성 추출기로 전달하고, 상기 일반 시스템 로그는 별도로 저장하여 사용자가 상기 컨테이너의 상세한 정보를 모니터링할 수 있게 하는 단계를 포함하며,
상기 일반 시스템 로그는 응용프로그램 영역의 에러 또는 예외처리 정보를 포함하는 로그를 의미하는 도커 컨테이너의 로그를 이용한 특성 분석 방법.
- 제9항에 있어서,
상기 테스크 특성 로그 및 일반 시스템 로그로 분류하는 단계는 일반 컨테이너에 할당된 자원에 관한 정보가 로그에 담겨있는지 확인함으로써 테스크 특성 로그를 일반 시스템 로그와 분류하는 도커 컨테이너의 로그를 이용한 특성 분석 방법.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020180135528 | 2018-11-07 | ||
| KR20180135528 | 2018-11-07 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20200052798A KR20200052798A (ko) | 2020-05-15 |
| KR102160119B1 true KR102160119B1 (ko) | 2020-09-25 |
Family
ID=70679194
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020180144287A Active KR102160119B1 (ko) | 2018-11-07 | 2018-11-21 | 도커 컨테이너 로그 분석 프레임워크 장치 및 이를 이용한 특성 분석 방법 |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR102160119B1 (ko) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| USD988166S1 (en) * | 2020-11-03 | 2023-06-06 | Augustin Jungmin Koh | Electronic timer whistle |
| KR102282755B1 (ko) * | 2020-11-27 | 2021-07-29 | 주식회사 비아이티 | 컨테이너 기반 유전체 분석 솔루션 제공 방법, 장치 및 시스템 |
| CN112527459B (zh) * | 2020-12-16 | 2024-03-26 | 新浪技术(中国)有限公司 | 一种基于Kubernetes集群的日志分析方法及装置 |
| CN116155706B (zh) * | 2023-02-15 | 2024-11-05 | 云合智网(上海)技术有限公司 | 转发芯片的表项操作信息管理方法、装置、设备及介质 |
| CN116756398A (zh) * | 2023-06-20 | 2023-09-15 | 鼎捷软件股份有限公司 | 标签体系构建系统及标签体系构建方法 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100936601B1 (ko) * | 2008-05-15 | 2010-01-13 | 재단법인서울대학교산학협력재단 | 멀티 프로세서 시스템 |
| US9256467B1 (en) * | 2014-11-11 | 2016-02-09 | Amazon Technologies, Inc. | System for managing and scheduling containers |
| KR101810762B1 (ko) * | 2015-12-07 | 2017-12-19 | 한양대학교 에리카산학협력단 | 클라우드 환경에서 hdfs 기반의 도커 컨테이너 보안 로그 분석 방법 및 시스템 |
| KR102016238B1 (ko) * | 2017-12-05 | 2019-08-29 | 숭실대학교산학협력단 | 도커 컨테이너 관리 시스템 및 방법, 이를 수행하기 위한 기록매체 |
-
2018
- 2018-11-21 KR KR1020180144287A patent/KR102160119B1/ko active Active
Non-Patent Citations (1)
| Title |
|---|
| ‘[Docker]완벽한 IT 인프라 구축을 위한 Docker: 제3장 Docker의 설치 방법과 기본 커맨드’, https://miiingo.tistory.com/89?category=644188, 2018.01.30.* |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20200052798A (ko) | 2020-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102160119B1 (ko) | 도커 컨테이너 로그 분석 프레임워크 장치 및 이를 이용한 특성 분석 방법 | |
| CN107689953B (zh) | 一种面向多租户云计算的容器安全监控方法及系统 | |
| US10922205B2 (en) | Monitoring applications running on containers | |
| KR101810762B1 (ko) | 클라우드 환경에서 hdfs 기반의 도커 컨테이너 보안 로그 분석 방법 및 시스템 | |
| KR101984714B1 (ko) | 가상화 자원 모니터링 시스템 | |
| US10009251B1 (en) | Tuple traffic management | |
| US20170063722A1 (en) | Managing a shared pool of configurable computing resources which has a set of containers | |
| US10776317B1 (en) | Metadata analytics for online fragmentation detection on Unix file systems and common block file systems | |
| US20200026560A1 (en) | Dynamic workload classification for workload-based resource allocation | |
| US20110173327A1 (en) | Virtualization and Consolidation Analysis Engine for Enterprise Data Centers | |
| US9298849B2 (en) | Managing a template in an operator graph | |
| US9135078B2 (en) | Configuration information management server, configuration information management method and configuration management program | |
| US9632725B2 (en) | Computer-implemented method, program, and tracer node for obtaining trace data relating to particular virtual machine | |
| WO2014090070A1 (en) | Method and system for managing servers | |
| Poggi et al. | ALOJA: A systematic study of hadoop deployment variables to enable automated characterization of cost-effectiveness | |
| CN103365702A (zh) | IaaS云环境下轻量级虚拟机进程追踪系统和方法 | |
| KR20190081306A (ko) | 빅데이터 분석 소프트웨어에 대한 자원 할당 방법, 상기 방법을 이용하는 가상화 자원 할당 장치 | |
| Fan et al. | Improving MapReduce performance by balancing skewed loads | |
| CN116302306A (zh) | 用于微服务体系结构的基于匹配的增强的调试 | |
| KR20230048667A (ko) | 하이브리드 클라우드 기반 워크로드 배치 방법 | |
| Bhattacharya et al. | Performance modeling for I/O‐intensive applications on virtual machines | |
| Huang et al. | OOOPS: An innovative tool for IO workload management on supercomputers | |
| Chen et al. | Docker container log collection and analysis system based on ELK | |
| Pătraşcu et al. | Logging framework for cloud computing forensic environments | |
| CN104899078A (zh) | 一种虚拟机环境下的审计系统与方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20181121 |
|
| PA0201 | Request for examination | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20200117 Patent event code: PE09021S01D |
|
| AMND | Amendment | ||
| PG1501 | Laying open of application | ||
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 20200724 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20200117 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |
|
| AMND | Amendment | ||
| PX0901 | Re-examination |
Patent event code: PX09011S01I Patent event date: 20200724 Comment text: Decision to Refuse Application Patent event code: PX09012R01I Patent event date: 20200226 Comment text: Amendment to Specification, etc. |
|
| PX0701 | Decision of registration after re-examination |
Patent event date: 20200918 Comment text: Decision to Grant Registration Patent event code: PX07013S01D Patent event date: 20200819 Comment text: Amendment to Specification, etc. Patent event code: PX07012R01I Patent event date: 20200724 Comment text: Decision to Refuse Application Patent event code: PX07011S01I Patent event date: 20200226 Comment text: Amendment to Specification, etc. Patent event code: PX07012R01I |
|
| X701 | Decision to grant (after re-examination) | ||
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20200921 Patent event code: PR07011E01D |
|
| PR1002 | Payment of registration fee |
Payment date: 20200922 End annual number: 3 Start annual number: 1 |
|
| PG1601 | Publication of registration | ||
| PR1001 | Payment of annual fee |
Payment date: 20230621 Start annual number: 4 End annual number: 4 |
|
| PR1001 | Payment of annual fee |
Payment date: 20240624 Start annual number: 5 End annual number: 5 |
|
| PR1001 | Payment of annual fee |
Payment date: 20250623 Start annual number: 6 End annual number: 6 |