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

Document ID : KB000090407
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): null

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

Symptoms

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 stopping, and 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 SOSUSHUT 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].