Available Startup/Shutdown options for an Enterprise Manager on Linux reboot.

Document ID:  TEC1553811
Last Modified Date:  08/02/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Application Performance Management

Releases

  • CA Application Performance Management:Release:10.0
  • CA Application Performance Management:Release:10.2
  • CA Application Performance Management:Release:10.1
  • CA Application Performance Management:Release:10.3
  • CA Application Performance Management:Release:10.5
  • CA Application Performance Management:Release:10.5.1
  • CA Application Performance Management:Release:10.5.2
  • CA Application Performance Management:Release:10.6
  • CA Application Performance Management:Release:9.6
  • CA Application Performance Management:Release:9.6.1
  • CA Application Performance Management:Release:9.7
  • CA Application Performance Management:Release:CA APM 9.6
  • CA Application Performance Management:Release:CA APM 9.7

Components

  • INTROSCOPE:APMISP
Introduction:

 What is the best method to setup a startup and shutdown script for the MOM and Collectors on Linux for when the server is rebooted?  Add the script to rc.local, @Reboot in cron, or add your own rc.script?

Environment:
All supported APM environments on Linux.
Instructions:

APM does not come with a set of rc scripts. So, you need to create one to start/stop each EM by just calling "EM_HOME/bin/EMCtrl.sh (start|stop)".

 

With startup & shutdown, it would be best to create S* & K* scripts (Start and Kill) in your default run level directory e.g. /etc/rc5.d (initdefault setting in /etc/inittab). You can then use appropriate script naming to get the order of execution of postgres & EM startups correct, i.e. on startup the postgres S script runs before the EM S script while on shutdown the EM K script runs before the postgres K script.

 

 

If using one of the rc (run levels) to start the EM, your could also use rc.local as this executes after the multiuser run level is finished.  Also use this approach if you don't want to tie it down to one specific multiuser run level. 

 

Note: The downside to this is that there is no rc.local equivalent for shutdown

 

 

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >