OMS批量删除对象

OMS批量删除对象

emcli delete_target -name="scmbdg_CDBROOT" -type="oracle_pdb"
emcli delete_target -name="scmbdg_SPCMB" -type="oracle_pdb"
select 'emcli delete_target -name="'||target_name||'" -type="'||target_type||'"' from  mgmt_targets where target_name like '%ykcdb04%'
[oracle@ykcdb04:/u01/app/oracle/product/12.2.0/agent]{20180711+0 16:40:27}$  $ORACLE_HOME/oui/bin/runInstaller -silent 
-detachHome oracle_home=/u01/app/oracle/product/12.2.0/agent/agent_13.2.0.0.0                                                       < Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 24576 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
'DetachHome' was successful.
</pre
This entry was posted in Em & Oem. Bookmark the permalink.