[Linux-ha-jp] corosync プロセス killした時の挙動について

Zurück zum Archiv-Index

大川敬臣 yoshi****@kccs*****
2017年 6月 20日 (火) 17:00:56 JST


お世話になっております。

以下の構成でPacemaker + corosync の動作確認をしております。
【AWS環境】
OS : CentOS 7.3.1611
kernel : 3.10.0-514.16.1.el7.x86_64
Pacemaker : pacemaker-1.1.15-1.el7.x86_64
corosync : corosync-2.4.1-1.el7.x86_64


確認したい内容として corosync のプロセスを kill コマンドで kill した際に OS が再起動されます。
(corosync.service の設定内容は最後に記載しております。)
OS の再起動を指示しているのはどのプロセス?サービス?になるのでしょうか?

また、corosync.service の Restart, RestartSec, ExecStartPre の行をコメントアウトし
corosync プロセスを kill した際には、corosync プロセスのみ再起動されました。
この再起動指示もどのプロセスが出しているのでしょうか。

確認方法等、ご教示いただけないでしょうか。
不足な情報ござましたら、ご指摘下さい。

よろしくお願いいたします。

※corosync.service の設定は以下のようになっています。
======================================================================
[Unit]
Description=Corosync Cluster Engine
ConditionKernelCommandLine=!nocluster
Requires=network-online.target
After=network-online.target

[Service]
ExecStart=/usr/share/corosync/corosync start
ExecStop=/usr/share/corosync/corosync stop
Type=forking

# The following config is for corosync with enabled watchdog service.
#
#  When corosync watchdog service is being enabled and using with
#  pacemaker.service, and if you want to exert the watchdog when a
#  corosync process is terminated abnormally,
#  uncomment the line of the following Restart= and RestartSec=.
Restart=on-failure
#  Specify a period longer than soft_margin as RestartSec.
RestartSec=70
#  rewrite according to environment.
ExecStartPre=/sbin/modprobe softdog

[Install]
WantedBy=multi-user.target
======================================================================
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Linux-ha-japan メーリングリストの案内
Zurück zum Archiv-Index