pcp
[Top] [All Lists]

PCP services startup order

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: PCP services startup order
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu, 4 Feb 2016 10:40:08 +0200
Delivered-to: pcp@xxxxxxxxxxx
Organization: Red Hat
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Hi,

Related to the recent discussions around pmcd(1) and zbxpcp(3) [1,2] I
checked the init script files provided by PCP:

# grep chkconfig: /etc/init.d/pm* | sort
/etc/init.d/pmcd:# chkconfig: - 95 05
/etc/init.d/pmie:# chkconfig: - 95 05
/etc/init.d/pmlogger:# chkconfig: - 95 05
/etc/init.d/pmmgr:# chkconfig: - 95 05
/etc/init.d/pmproxy:# chkconfig: - 95 05
/etc/init.d/pmwebd:# chkconfig: - 95 05

Wouldn't it be better to prioritize pmcd first and then start the rest
(prioritizing them as needed as well)?

For a daemon like pmcd(1) used by many other services 95 is perhaps  a
bit late although I realize that some PMDAs might have dependencies to
other services. But I wonder would something like 85 still be possible
as pmcd(1) startup priority? (Zabbix Agent is started at 86.)

1) http://oss.sgi.com/pipermail/pcp/2016-January/009403.html
2) http://oss.sgi.com/pipermail/pcp/2016-January/009410.html

Thanks,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>