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

Document ID : KB000090407
Last Modified Date : 22/08/2018
Show Technical Document Details
Issue:
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.
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].