After stopping, and restarting the Automation Engine processes agents show Srvc_Down status.
search cancel

After stopping, and restarting the Automation Engine processes agents show Srvc_Down status.

book

Article ID: 90407

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After running SUSOSHUT Job to do a cold backup on the Database, Agents are in a Srvc_Down status, and can't be restarted with out restarting the agent from the command line.

Environment

Release:
Component: APPMGR

Cause

The remote agents need to be stopped before bringing the masters processes down with SUSOSHUT.

Resolution

Modify the SUSOSHUT script located in the Automation Engines $AW_HOME/exec directory to add "stopso agent all", and "startso agent all".

Example modified SUSOSHUT script:

#copyright 1993-2006 by Automic Software, Inc.   
# $Date: 2008-05-31 15:31:22 -0700 (Sat, 31 May 2008) $       $Author: kak $ $Rev: 20676 $
echo In $0   
if [ -f $AW_HOME/c/callscript ]   
then
$AW_HOME/c/callscript $SQLOPER_HOME/bin/stopso agent all
$AW_HOME/c/callscript $SQLOPER_HOME/bin/stopso all  
else
$SQLOPER_HOME/bin/stopso agent all
$SQLOPER_HOME/bin/stopso all   
fi   
arg=`$SQLOPER_HOME/exec/ONELINE $par`   
echo Switching to user   
echo Running $SQLOPER_HOME/c/SURUN -user $program $arg   
$SQLOPER_HOME/c/SURUN -user $program $arg   
err=$?   
if [ -f $AW_HOME/c/callscript ]   
then   
$AW_HOME/c/callscript $SQLOPER_HOME/bin/startso all
$AW_HOME/c/callscript $SQLOPER_HOME/bin/startso agent all
else   
$SQLOPER_HOME/bin/startso all
$SQLOPER_HOME/bin/startso agent all  
fi   
exit $err

Add DirectDBConnection=Y to each remote agents awenv.ini file under [default].