Merge "Moving PMON script for NTP from MTCE to Puppet"
This commit is contained in:
commit
706de7b423
@ -1,3 +1,3 @@
|
||||
SRC_DIR="cgts-mtce-common-1.0"
|
||||
TIS_PATCH_VER=134
|
||||
TIS_PATCH_VER=135
|
||||
BUILD_IS_SLOW=5
|
||||
|
@ -478,7 +478,6 @@ install -m 644 -p -D %{_buildsubdir}/scripts/mtcClient.conf %{buildroot}%{local_
|
||||
install -m 644 -p -D %{_buildsubdir}/scripts/hbsClient.conf %{buildroot}%{local_etc_pmond}/hbsClient.conf
|
||||
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/acpid.conf %{buildroot}%{local_etc_pmond}/acpid.conf
|
||||
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/sshd.conf %{buildroot}%{local_etc_pmond}/sshd.conf
|
||||
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/ntpd.conf %{buildroot}%{local_etc_pmond}/ntpd.conf
|
||||
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/syslog-ng.conf %{buildroot}%{local_etc_pmond}/syslog-ng.conf
|
||||
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/nslcd.conf %{buildroot}%{local_etc_pmond}/nslcd.conf
|
||||
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/rmon.conf %{buildroot}%{local_etc_pmond}/rmon.conf
|
||||
@ -574,7 +573,6 @@ install -m 755 -d %{buildroot}/var/run
|
||||
|
||||
# Maintenance Process Monitor Config Files
|
||||
%{local_etc_pmond}/sshd.conf
|
||||
%{local_etc_pmond}/ntpd.conf
|
||||
%{local_etc_pmond}/mtcClient.conf
|
||||
%{local_etc_pmond}/acpid.conf
|
||||
%{local_etc_pmond}/hbsClient.conf
|
||||
|
@ -1,19 +0,0 @@
|
||||
[process]
|
||||
process = ntpd
|
||||
service = ntpd
|
||||
pidfile = /var/run/ntp.pid
|
||||
style = lsb ; ocf or lsb
|
||||
severity = minor ; minor, major, critical
|
||||
restarts = 0 ; restart retries before error assertion
|
||||
interval = 10 ; number of seconds to wait between restarts
|
||||
debounce = 10 ; number of seconds that a process needs to remain
|
||||
; running before degrade is removed and retry count
|
||||
; is cleared.
|
||||
; These settings will generate a log only without attempting to restart
|
||||
; pmond will put the process into an ignore state after failure.
|
||||
|
||||
startuptime = 180 ; Seconds to wait after process start before starting the debounce monitor
|
||||
mode = passive ; Monitoring mode: passive (default) or active
|
||||
; passive: process death monitoring (default: always)
|
||||
; active : heartbeat monitoring, i.e. request / response messaging
|
||||
; ignore : do not monitor or stop monitoring
|
@ -38,6 +38,8 @@
|
||||
# neutron-sriov-nic-agent restart PASSED [11092]:[30551]
|
||||
# nova-compute restart PASSED [14776]:[1109]
|
||||
# ntpd does not support restart
|
||||
# ptp4l does not support restart
|
||||
# phc2sys does not support restart
|
||||
# rmond restart PASSED [13893]:[5129]
|
||||
# sm-api restart PASSED [8896]:[8460]
|
||||
# skipping 'sm' process
|
||||
|
@ -3,7 +3,8 @@ Description=Titanium Cloud Maintenance Process Monitor
|
||||
After=config.service
|
||||
# The following thirdparty service files are not modified by Titanium Cloud,
|
||||
# so add "After" clauses here rather than "Before=pmon.service" to those
|
||||
After=sshd.service ntpd.service acpid.service syslog-ng.service
|
||||
After=sshd.service acpid.service syslog-ng.service
|
||||
After=ntpd.service ptp4l.service phc2sys.service
|
||||
Before=hostw.service
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user