RHEL7 and systemd start files for EM

book

Article ID: 129443

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

I am installing CA Application Performance Management Enterprise Manager (APM/Wily/Introscope) on Redhat Enterprise 7.5 and would like to use systemd startup scripts to control the start/stop status. Do you support this and are there examples to use for this?

Environment

All APM releases supporting RHEL 7,5.

Resolution

[Unit]
Description= Start Introscope monitoring
After=syslog.target network.target

[Service]
Type=forking

Environment=JAVA_HOME="/opt/introscope/Introscope10.7.0.45/jre/bin"

ExecStart=/opt/introscope/Introscope10.7.0.45/bin/EMCtrl.sh start
ExecStop=/opt/introscope/Introscope10.7.0.45/bin/EMCtrl.sh stop


[Install]
WantedBy=multi-user.target

Additional Information

Full systemd support may be provided in a later APM release. This solution is given with AS-IS support.