Mercurial > hg > Papers > 2023 > kiyama-sigos
changeset 1:086e312e3822
update paper
author | kiyama <e185758@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 15 Apr 2023 17:50:43 +0900 |
parents | f1a97413db0d |
children | 1bbcab1a480b |
files | Paper/kiyama-sigos.aux Paper/kiyama-sigos.log Paper/kiyama-sigos.pdf Paper/kiyama-sigos.synctex.gz Paper/kiyama-sigos.tex Paper/tex/ie-monitoring-construction.tex Paper/tex/ie-monitoring-design.tex Paper/tex/intro.log Paper/tex/intro.tex Paper/tex/monitoring.tex Paper/tex/problem.tex Paper/tex/technology-overview.log Paper/tex/technology-overview.tex |
diffstat | 11 files changed, 175 insertions(+), 145 deletions(-) [+] |
line wrap: on
line diff
--- a/Paper/kiyama-sigos.aux Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/kiyama-sigos.aux Sat Apr 15 17:50:43 2023 +0900 @@ -1,7 +1,7 @@ \relax \citation{Prometheus} \newlabel{ipsj@firstpage}{{}{1}} -\@writefile{toc}{\contentsline {section}{\numberline {1}\hskip 1zw{システム運用におけるログ}}{1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {1}\hskip 1zw{学科システム}}{1}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {2}\hskip 1zw{技術概要}}{1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.1}{Prometheus}}{1}\protected@file@percent } \citation{alertmanager} @@ -18,7 +18,7 @@ \@writefile{toc}{\contentsline {subsection}{\numberline {2.11}{Docker}}{2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.12}{Podman}}{2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.13}{ハイパーバイザー型}}{2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {2.14}{KVM}}{3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.14}{KVM}}{2}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3}\hskip 1zw{現在の監視システムの問題点}}{3}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {4}\hskip 1zw{監視システムの構成}}{3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.1}{監視システム}}{3}\protected@file@percent } @@ -30,7 +30,7 @@ \newlabel{fig:prometheus-expr}{{2}{3}} \@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces grafana-prometheus}}{3}\protected@file@percent } \newlabel{fig:grafana-prometheus}{{3}{3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}{ログ収集}}{4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}{ログ収集}}{3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.4}{アラート送信}}{4}\protected@file@percent } \newlabel{src:loki-alert}{{1}{4}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {1}lokiのアラートルールファイル}{4}\protected@file@percent } @@ -38,9 +38,6 @@ \@writefile{toc}{\contentsline {subsection}{\numberline {5.1}{構成}}{4}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces mattermostからアラートを編集}}{4}\protected@file@percent } \newlabel{fig:mattermost-slash}{{4}{4}} -\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}{コマンド一覧}}{4}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces アラートルール変更時の入力内容\relax }}{4}\protected@file@percent } -\newlabel{tb:wmcon}{{1}{4}} \citation{*} \bibstyle{ipsjsort} \bibdata{reference} @@ -51,10 +48,14 @@ \bibcite{promtail}{5} \bibcite{alertmanager}{6} \bibcite{Prometheus}{7} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}{コマンド一覧}}{5}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces アラートルール変更時の入力内容\relax }}{5}\protected@file@percent } +\newlabel{tb:wmcon}{{1}{5}} \@writefile{toc}{\contentsline {section}{\numberline {6}\hskip 1zw{今後の課題}}{5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.1}{監視システムの運用}}{5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.2}{監視システムの冗長化}}{5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.3}{必要なログ・アラートの選択}}{5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.4}{gitlab,作業ログツールとの連携}}{5}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {7}\hskip 1zw{まとめ}}{5}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8}\hskip 1zw{まとめ}}{5}\protected@file@percent } \newlabel{ipsj@lastpage}{{}{5}}
--- a/Paper/kiyama-sigos.log Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/kiyama-sigos.log Sat Apr 15 17:50:43 2023 +0900 @@ -1,4 +1,4 @@ -This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.euc) (TeX Live 2020) (preloaded format=platex 2020.4.26) 6 MAY 2022 20:22 +This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.euc) (TeX Live 2020) (preloaded format=platex 2020.4.26) 15 APR 2023 17:50 entering extended mode restricted \write18 enabled. file:line:error style messages enabled. @@ -4654,167 +4654,174 @@ (Font) scaled to size 3.9123pt on input line 72. LaTeX Font Info: Font shape `JT1/hmc/m/n' will be (Font) scaled to size 5.47719pt on input line 72. - (./tex/intro.tex + LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 75. LaTeX Font Info: Font shape `JT1/hmc/bx/n' will be -(Font) scaled to size 11.38124pt on input line 1. +(Font) scaled to size 11.38124pt on input line 75. LaTeX Font Info: Font shape `JY1/hmc/bx/n' will be -(Font) scaled to size 11.38124pt on input line 1. +(Font) scaled to size 11.38124pt on input line 75. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 75. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - -) (./tex/technology-overview.tex +(Font) using `JY1/hmc/bx/n' instead on input line 75. + +(./tex/intro.tex +LaTeX Font Info: Font shape `JT1/utfj/m/0' will be +(Font) scaled to size 9.24725pt on input line 22. +LaTeX Font Info: Font shape `JY1/utfj/m/0' will be +(Font) scaled to size 9.24725pt on input line 22. +) LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 78. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 78. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 4. - -LaTeX Font Info: Font shape `JT1/hmc/bx/n' will be -(Font) scaled to size 9.24725pt on input line 4. -LaTeX Font Info: Font shape `JY1/hmc/bx/n' will be -(Font) scaled to size 9.24725pt on input line 4. +(Font) using `JY1/hmc/bx/n' instead on input line 78. + +(./tex/technology-overview.tex LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 9. +(Font) using `JY1/hmc/bx/n' instead on input line 3. + +LaTeX Font Info: Font shape `JT1/hmc/bx/n' will be +(Font) scaled to size 9.24725pt on input line 3. +LaTeX Font Info: Font shape `JY1/hmc/bx/n' will be +(Font) scaled to size 9.24725pt on input line 3. + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 8. LaTeX Font Info: Font shape `JT1/hmc/m/n' will be -(Font) scaled to size 7.53018pt on input line 9. +(Font) scaled to size 7.53018pt on input line 8. LaTeX Font Info: Font shape `JY1/hmc/m/n' will be -(Font) scaled to size 7.53018pt on input line 9. +(Font) scaled to size 7.53018pt on input line 8. LaTeX Font Info: Font shape `JT1/hmc/m/n' will be -(Font) scaled to size 6.84561pt on input line 9. +(Font) scaled to size 6.84561pt on input line 8. LaTeX Font Info: Font shape `JY1/hmc/m/n' will be -(Font) scaled to size 6.84561pt on input line 9. +(Font) scaled to size 6.84561pt on input line 8. (I search kanjifont definition file: . . ) (I search font definition file: . . . . . . . ) LaTeX Font Info: Trying to load font information for OMS+txsy on input line -9. +8. (/usr/local/texlive/2020/texmf-dist/tex/latex/txfonts/omstxsy.fd File: omstxsy.fd 2000/12/15 v3.1 ) -LaTeX Font Info: Trying to load font information for T1+txsy on input line 9 +LaTeX Font Info: Trying to load font information for T1+txsy on input line 8 . -LaTeX Font Info: No file T1txsy.fd. on input line 9. +LaTeX Font Info: No file T1txsy.fd. on input line 8. LaTeX Font Warning: Font shape `T1/txsy/m/n' undefined -(Font) using `T1/cmr/m/n' instead on input line 9. - -LaTeX Font Info: Trying to load font information for OT1+ptm on input line 9 +(Font) using `T1/cmr/m/n' instead on input line 8. + +LaTeX Font Info: Trying to load font information for OT1+ptm on input line 8 . (/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/ot1ptm.fd File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. ) LaTeX Font Info: Font shape `JT1/hmc/m/n' will be -(Font) scaled to size 8.8993pt on input line 9. +(Font) scaled to size 8.8993pt on input line 8. LaTeX Font Info: Font shape `JY1/hmc/m/n' will be -(Font) scaled to size 8.8993pt on input line 9. +(Font) scaled to size 8.8993pt on input line 8. [1 ] LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 10. +(Font) using `JY1/hmc/bx/n' instead on input line 9. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 15. +(Font) using `JY1/hmc/bx/n' instead on input line 14. + + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 19. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 20. +(Font) using `JY1/hmc/bx/n' instead on input line 23. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 24. +(Font) using `JY1/hmc/bx/n' instead on input line 28. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 29. +(Font) using `JY1/hmc/bx/n' instead on input line 32. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 33. +(Font) using `JY1/hmc/bx/n' instead on input line 37. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 38. +(Font) using `JY1/hmc/bx/n' instead on input line 42. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 43. +(Font) using `JY1/hmc/bx/n' instead on input line 47. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 48. +(Font) using `JY1/hmc/bx/n' instead on input line 51. + + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 55. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 52. +(Font) using `JY1/hmc/bx/n' instead on input line 61. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 56. +(Font) using `JY1/hmc/bx/n' instead on input line 65. + +) + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 81. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 60. +(Font) using `JY1/hmc/bx/n' instead on input line 81. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 64. +(Font) using `JY1/hmc/bx/n' instead on input line 81. [2] LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 64. - -) (./tex/monitoring.tex +(Font) using `JY1/hmc/bx/n' instead on input line 81. + +(./tex/monitoring.tex) LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 84. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - -) (./tex/ie-monitoring-design.tex - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 84. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - +(Font) using `JY1/hmc/bx/n' instead on input line 84. + +(./tex/ie-monitoring-design.tex LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined (Font) using `JY1/hmc/bx/n' instead on input line 4. @@ -4847,19 +4854,20 @@ (/usr/local/texlive/2020/texmf-dist/tex/latex/lm/t1lmtt.fd File: t1lmtt.fd 2009/10/30 v1.6 Font defs for Latin Modern ) -(./src/loki-alert.yml)) (./tex/ie-monitoring-construction.tex +(./src/loki-alert.yml)) LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 87. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. +(Font) using `JY1/hmc/bx/n' instead on input line 87. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - +(Font) using `JY1/hmc/bx/n' instead on input line 87. + +(./tex/ie-monitoring-construction.tex LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined (Font) using `JY1/hmc/bx/n' instead on input line 4. @@ -4868,43 +4876,57 @@ <fig/mmslash-command.png> LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 18. - -) (./tex/problem.tex - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 1. - - -LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 4. +(Font) using `JY1/hmc/bx/n' instead on input line 17. [4] LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 4. +(Font) using `JY1/hmc/bx/n' instead on input line 18. + +) + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 90. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 8. +(Font) using `JY1/hmc/bx/n' instead on input line 90. + + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 90. + +(./tex/problem.tex + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 3. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 11. +(Font) using `JY1/hmc/bx/n' instead on input line 7. + + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 10. LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 14. - -) (./tex/summary.tex +(Font) using `JY1/hmc/bx/n' instead on input line 13. + +) + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 93. + + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 93. + + +LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined +(Font) using `JY1/hmc/bx/n' instead on input line 93. + +(./tex/summary.tex LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined (Font) using `JY1/hmc/bx/n' instead on input line 1. @@ -4936,7 +4958,7 @@ ) LaTeX Font Warning: Font shape `JY1/hmc/b/n' undefined -(Font) using `JY1/hmc/bx/n' instead on input line 89. +(Font) using `JY1/hmc/bx/n' instead on input line 102. [5] (./kiyama-sigos.aux) @@ -4944,12 +4966,12 @@ ) Here is how much of TeX's memory you used: - 10054 strings out of 481140 - 145511 string characters out of 5917417 + 10059 strings out of 481140 + 145578 string characters out of 5917417 573717 words of memory out of 5000000 - 25909 multiletter control sequences out of 15000+600000 - 641832 words of font info for 178 fonts, out of 8000000 for 9000 + 25912 multiletter control sequences out of 15000+600000 + 641868 words of font info for 180 fonts, out of 8000000 for 9000 929 hyphenation exceptions out of 8191 - 41i,10n,51p,521b,1363s stack positions out of 5000i,500n,10000p,200000b,80000s - -Output written on kiyama-sigos.dvi (5 pages, 37312 bytes). + 41i,11n,51p,521b,1363s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on kiyama-sigos.dvi (5 pages, 37056 bytes).
--- a/Paper/kiyama-sigos.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/kiyama-sigos.tex Sat Apr 15 17:50:43 2023 +0900 @@ -52,7 +52,7 @@ \begin{document} % Title, Author %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\title{ログ取集・管理をメッセージング経由で適切に設定する手法の提案} +\title{メッセージングを使ったシステム管理手法} %\affiliate{IPSJ}{情報処理学会} \affiliate{IIRYUKYU}{琉球大学大学院理工学研究科工学専攻知能情報プログラム} @@ -63,21 +63,34 @@ %概要 \begin{abstract} -サービスを保守運用していく中でシステム障害は発生するものである.その障害がソフトウェアや機器の問題であったり外部からの攻撃などが原因である場合など挙げられ,その両方でサービスの安定運用を考えていく上でシステムの不調を早期に発見することが必要となってくる.また,近年のシステムの大規模化・複雑化もあり,ログの設定は多種多様で都度適切な設定をするのは難しい.そこで,システムの監視とチャットツールを用いた対話型のアラート管理を提案する. -システム監視はサーバー上で動作しているシステムの死活・リソース監視とログ収集のことを差す. -本稿ではシステム監視の構築とチャットツールを用いたアラートルール管理の実装をした. - +サービスを保守運用していく中でシステム障害は発生するものである.その障害がソフトウェアや機器の問題であったり外部からの攻撃などが原因である場合など挙げられ,その両方でサービスの安定運用を考えていく上で普段からシステムの状態を把握することが重要である. +管理者は異常発生時に素早くシステムの状態を把握することはもちろんのこと,常にシステムの状態を確認できることが望ましい. +そこで,チャットツールなどを利用してシステムの状態を返答することができれば便利である. +本稿ではチャットツールを用いたシステムの状態の確認を実装した. \end{abstract} \maketitle % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{学科システム} \input{tex/intro.tex} % はじめに + +\section{技術概要} \input{tex/technology-overview.tex} % 技術概要 -\input{tex/monitoring.tex} % 監視システムの説明 + +\section{現在の監視システムの問題点} +\input{tex/monitoring.tex} + +\section{監視システムの構成} \input{tex/ie-monitoring-design.tex}% 提案手法の設計 + +\section{対話型アラート編集システムの構築} \input{tex/ie-monitoring-construction.tex}% 提案手法の構築 + +\section{今後の課題} \input{tex/problem.tex}% 今後の課題 + +\section{まとめ} \input{tex/summary.tex}% まとめ % まとめ
--- a/Paper/tex/ie-monitoring-construction.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/tex/ie-monitoring-construction.tex Sat Apr 15 17:50:43 2023 +0900 @@ -1,4 +1,4 @@ -\section{対話型アラート編集システムの構築} + 監視システム運用の際に発生するアラートルールの属人化を防ぐためのスラッシュコマンドを用いたアラートルールの編集方法を提案する. \subsection{構成}
--- a/Paper/tex/ie-monitoring-design.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/tex/ie-monitoring-design.tex Sat Apr 15 17:50:43 2023 +0900 @@ -1,4 +1,4 @@ -\section{監視システムの構成} + サービスでは学科システムのシステムの監視やログの収集を行う.この監視システムの構成を図に示し.概要を以下で説明する. \subsection{監視システム}
--- a/Paper/tex/intro.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/tex/intro.tex Sat Apr 15 17:50:43 2023 +0900 @@ -1,28 +1,22 @@ -\section{システム運用におけるログ} +%\section{学科システム} \pagenumbering{arabic} - -% システム運用 -ネットサービスは24時間365日, システムの稼働が求められる. -だが, 物理機器の経年劣化によるトラブルやサービスのバージョンアップによるシステムトラブル, 外部からの攻撃などによるインシデントなどに対応するためにサービスのログが重要である. -システムやユーザーの挙動の必要なものを選択し, ログに記述する. -インシデントがおきている場合はそれを検出し, 通知したい. -ログを調べることによりインシデントの場所を特定し, 修復を行う. -% システム運用に関するログの問題点 -適切なログ情報の選択を行う必要がある. その中からインシデントを検出する規則を設定する必要がある. 複数のサーバーやVM, コンテナに分散しているログを集約する必要がある. -しかし大量のログ設定を手動で管理することは現実的ではない. 集約を行わないと対象サーバーにアクセス出来ない場合にログを参照することができなくなる. -そこでログ管理システムだけでなくログ管理システムの設定方法自体を改良していくことが必要である. +%システム管理全体について +サービスを運用する中でシステム障害は発生するものである.これらの障害を事前に防いだり,対応するには普段からシステムの状態を確認できることが望ましい.しかし,運用しているサービスの状態を調べるにはサーバーへのログインの手間や情報を取得するためのサービスの理解やコマンド操作が必要になってくる.こういった管理者の負担を軽減する仕組みが必要である. +\\ -琉球大学工学部工学科知能情報コースには学生が主体となって管理するシステム(以下学科システムとする)が存在する. -これらの学科システムは学内ネットワークや貸出用の仮想マシン, 学内チャットツールなど研究や授業を円滑に進めるためのサービスを提供している. -その為システムトラブルの予兆を検知することや外部から攻撃された時に管理者に通知を送信する機能が必要となる. - -現在学科システムでは障害が発生した際にはユーザーが報告するか管理者がサーバーに入って確認するしか方法がない. さらに障害発生時に対象サーバーにアクセス出来ない場合エラーログを確認することができない. -また監視システムを導入する際に死活監視・ログ収集では稼働しているサービスを対象として構築するが, アラート送信の機能は運用していく中で過不足が無いように調整が必要と考える. +% 学科システムについて +琉球大学工学部工学科知能情報コースには約300名の学生と教員にネットワーク接続や仮想サーバーの貸し出しサービスといった授業や研究を円滑に進めるためのシステム(以下より学科システムとする)を24時間365日提供している. +これらの学科システムは職員と学生を中心に構成されるシステム管理チームによって管理されている. +また知能情報システムの運用管理は実践的なシステムの運用管理に関するスキルを習得することを目的とした演習科目のテーマの一つとして行われている. +%システム管理チームでのmattermost,scrapboxの運用について +システム管理チームではscrapboxを用いてタスク管理や作業ログの作成を行なっている. +タスク管理では発生した課題や生徒,教員からの依頼をTODOタグで管理し,それらの作業内容を作業ログとして残している. +また作業の手順をまとめ次回以降の作業を効率的に取り組めるような運用も行なっている. +知能情報コース内の連絡手段としてチャットツールであるmattermostを使用しており,システム管理チームの業務でも使用している. +システム管理チームでは学生,教授からの依頼のコミュニケーションや証明書の期限の定期表示,scrapnboxの編集の記録などに使用されている. +% システム運用に関する問題点 +システム管理チームは学生主体のチームであり,在籍期間が4年から長くても6年と短い為,様々なスキルセットを持つメンバーが入れ変わる.システムの運用において同じことを反復して行うことがあり,作業をscrapboxに纏めている.しかしながら,scrapboxにまとめた作業ログは検索性に課題があり情報を探すことは困難である.さらに,現状ではシステムの状態を確認する際には複数ある基幹サーバーにログインしそれぞれのサービスのログを確認したり, コマンド操作で状態を表示しないといけない. +その為システム管理にかかるコストを抑えながら操作しやすい仕組みを作ることが必要となる. -そこで本稿では安定した運用のための学科システムに監視ツール及びログ収集サービスの実装をしていく. ログの設定は基本的にはgitlabで管理される. -アラートの送信を制御するアラートルールは組織全体で調整しながら運用する必要がある. gitlabでは, commit,pushは煩雑であり,変更とは別にscrapboxに作業をまとめる必要がある. -gitlabの検索性が低いので作業手順の検索も難しい. -必要なのはログの設定変更を一箇所に時系列に沿って記述することである. -それを,学科で使用しているチャットツールからアラートルールを編集することにより実現する. -今回は,mattermostのスラッシュコマンドを用いた変更方法の提案をする. +そこで本稿ではチャットツールであるmattermostを用いたシステム管理の手法を設計・実装する.\UTF{00A0}%
--- a/Paper/tex/monitoring.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/tex/monitoring.tex Sat Apr 15 17:50:43 2023 +0900 @@ -1,4 +1,4 @@ -\section{現在の監視システムの問題点} + 現在学科システムにはシステム監視,ログ収集,アラート送信などの異常検知の設定が十分でなく,システム障害や攻撃の早期発見・事後対応が困難である. 実際に2021年8月にはレンタルサーバーと基幹サーバーで障害が発生した.
--- a/Paper/tex/problem.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/tex/problem.tex Sat Apr 15 17:50:43 2023 +0900 @@ -1,4 +1,3 @@ -\section{今後の課題} 本稿で構築した監視システムおよび対話型のアラート編集システムについての課題を挙げていく. \subsection{監視システムの運用}
--- a/Paper/tex/technology-overview.tex Thu Apr 13 11:41:08 2023 +0900 +++ b/Paper/tex/technology-overview.tex Sat Apr 15 17:50:43 2023 +0900 @@ -1,4 +1,3 @@ -\section{技術概要} \pagenumbering{arabic} \subsection{Prometheus} @@ -56,6 +55,8 @@ \subsection{Podman} RedHat社が開発したdocker互換のコンテナ管理ツールである. RHEL(Red Hat Enterprise Linux)のversion7.6以降からはdockerのサポートが切れる事からコンテナ管理ツールとして採用された. +またGolangでpodmanを操作できる関数群を提供しており,イメージやコンテナ,ネットワークなどの操作に使用できる機能を提供している. + \subsection{ハイパーバイザー型} 仮想化技術の一つであり,ハードウェア上にハイパーバイザと呼ばれる仮想化ソフトウェアを動作させ,その上でゲストOSを運用する.