Thursday, July 19, 2018

Error: Agent status is currently UP. Shut down the Management Agent and wait for the agent to be marked UNREACHABLE before deleting

How to remove a target manually

Target to be removed: tangle.ecp.priv
OMS Repository:bugsy

-bash-4.1$ cd ./oracle_base/middleware/oms

Login successful
-bash-4.1$ ./emcli sync
Synchronized successfully
-bash-4.1$ ./emcli delete_target -name="tangle.ecp.priv:3872" -type="oracle_emd" -delete_monitored_targets
Error: Agent status is currently UP. Shut down the Management Agent and wait for the agent to be marked UNREACHABLE before deleting.

 ./emcli get_targets | grep tangle


Deinstalling in Silent Mode Using AgentDeinstall.pl Script

To deinstall a Management Agent in silent mode using the AgentDeinstall.pl script, follow these steps:
  1. Invoke the AgentDeinstall.pl script:
    $<AGENT_HOME>/perl/bin/perl <AGENT_HOME>/sysman/install/AgentDeinstall.pl -agentHome <AGENT_HOME>
    For example,
    $/u01/app/Oracle/core/12.1.0.1.0/perl/bin/perl /u01/app/Oracle/core/12.1.0.1.0/sysman/install/AgentDeinstall.pl -agentHome /u01/app/Oracle/core/12.1.0.1.0/
  2. Manually remove the targets, which were being monitored by the Management Agent you deinstalled, from the Enterprise Manager Cloud Control console.

Tuesday, July 3, 2018

Everything about EBS Versions

Delta

select
  abbreviation
,codelevel
from
  ad_trackable_entities
where
  abbreviation in( 'ad','txk','fnd','fwk','atg_pf','icx' )
order by
  abbreviation;


Opatch

/ora/10.1.2/forms How to open core.*

strings core.30729 | head -10

Troubleshooting Middleware

adop -status detail
grep oa_service_status $CONTEXT_FILE
grep ports $CONTEXT_FILE
grep oa_service_name $CONTEXT_FILE