Include pmon agent monitoring for worker and storage
This commit changes the usm-initialize service to create
the pmon monitoring for software-agent on worker and
storage nodes during the upgrade process.
Test Plan
PASS: upgrade stx-10 to stx-11 in a storage system and
verify all hosts have proper pmon monitoring for
software processes
PASS: kill software-agent on storage and worker nodes
and verify the processes are re-raised by pmon
Story: 2011604
Task: 53378
Change-Id: I1f7a91ab28fb0057c33cbec9f9e70545f20e8abc
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
This commit is contained in:
@@ -143,6 +143,7 @@ refresh_init_links() {
|
||||
ln -s /usr/share/starlingx/pmon.d/sssd.conf /etc/pmon.d/sssd.conf
|
||||
ln -s /usr/share/starlingx/pmon.d/sysinv-agent.conf /etc/pmon.d/sysinv-agent.conf
|
||||
ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf /etc/pmon.d/syslog-ng.conf
|
||||
ln -s /usr/share/starlingx/pmon.d/software-agent.conf /etc/pmon.d/software-agent.conf
|
||||
fi
|
||||
if [ "${storage}" = true ] ; then
|
||||
ln -s /usr/share/starlingx/pmon.d/acpid.conf /etc/pmon.d/acpid.conf
|
||||
@@ -160,6 +161,7 @@ refresh_init_links() {
|
||||
ln -s /usr/share/starlingx/pmon.d/sssd.conf /etc/pmon.d/sssd.conf
|
||||
ln -s /usr/share/starlingx/pmon.d/sysinv-agent.conf /etc/pmon.d/sysinv-agent.conf
|
||||
ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf /etc/pmon.d/syslog-ng.conf
|
||||
ln -s /usr/share/starlingx/pmon.d/software-agent.conf /etc/pmon.d/software-agent.conf
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user