Pages

Monday, June 13, 2016

OEM Agent Clean Upload


export AGENT_HOME=/app/oracle/product/gc10.2/agent10g/



$AGENT_HOME/bin/emctl stop agent



rm -r $AGENT_HOME/sysman/emd/state/*

rm -r $AGENT_HOME/sysman/emd/upload/*

rm $AGENT_HOME/sysman/emd/lastupld.xml

rm $AGENT_HOME/sysman/emd/agntstmp.txt

rm $AGENT_HOME/sysman/emd/protocol.ini






$AGENT_HOME/bin/emctl secure agent


$AGENT_HOME/bin/emctl start agent


$AGENT_HOME/bin/emctl clearstate agent



$AGENT_HOME/bin/emctl upload agent



No comments:

Post a Comment