Deinstall the Enterprise Manager 13c Cloud Control Agent
Example for Step 1
export AGENT_HOME=/u01/app/agent_13.1.0.0.0
perl $AGENT_HOME/sysman/install/AgentDeinstall.pl -agentHome $AGENT_HOME
Agent Oracle Home: /u01/app/agent_13.1.0.0.0
agentHome = /u01/app/agent_13.1.0.0.0
value of skip flag is false
NOTE: The agent base directory: /u01/app will be removed after successful deinstallation of agent home.
The command is
/u01/app/agent_13.1.0.0.0/oracle_common/jdk/jre/bin/java -classpath /u01/app/agent_13.1.0.0.0/oui/modules/OraInstaller.jar:/u01/app/agent_13.1.0.0.0/oui/modules/emCfg.jar:/u01/app/agent_13.1.0.0.0/jlib/agentInstaller.jar
oracle.sysman.agent.installer.AgentDeinstallation
/u01/app/agent_13.1.0.0.0 /u01/app /u01/app/agent_inst Jan 09, 2016 7:36:04 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Oracle Enterprise Manager Cloud Control 13c Release 1 Jan 09, 2016 7:36:04 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Agent is Not Running
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Plugin homes:
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Plugin homes:
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentDeinstallation main
INFO: Creating directory /u01/app/agent_13.1.0.0.0/install/tmp
completed successfully.
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentDeinstallation main
INFO: File /etc/oragchomelist exists.
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentDeinstallation main
INFO: File /etc/oragchomelist is writable.
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentDeinstallation main
INFO: Index :0 for line : /u01/app/agent_13.1.0.0.0:/u01/app/agent_inst
Jan 09, 2016 7:36:07 PM
oracle.sysman.agent.installer.AgentDeinstallation main
INFO: Overwriting the contents since oracle
home:/u01/app/agent_13.1.0.0.0 entry already exists.
The output is Agent Deinstall:agent deintall has been started Executing status :0 Agent service stopped successfully.
and the exit code is 0
Agent deconfiguration completed successfully. 0
DetachHome Command
executed:/u01/app/agent_13.1.0.0.0/oui/bin/detachHome.sh -silent
ORACLE_HOME=/u01/app/agent_13.1.0.0.0
Launcher log file is
/tmp/OraInstall2016-01-09_07-36-09PM/launcher2016-01-09_07-36-09PM.log.
Starting Oracle Universal Installer
Checking swap space: must be greater than 500 MB. Actual 8191 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
(64-bit not required)
'detachHome' was successful.
Logs successfully copied to /u01/app/oraInventory/logs.
Removing other files ...
NOTE: The targets monitored by this Management Agent will not be deleted in the Enterprise Manager Repository by this deinstall script. Make sure to delete the targets manually from the Cloud Control Console for a successful deinstallation.
Example for Step 2
[oracle@Host bin]$ ./emcli login -username=sysman Enter password
Login successful
[oracle@host bin]$ ./emcli sync
Synchronized successfully
[oracle@host bin]$ ./emcli delete_target -name="hostname:3872"
-type="oracle_emd" -delete_monitored_targets Target "hostname:3872:oracle_emd" deleted successfully
b. Using an RPM File
Note:
- You can use this option only to deinstall agents installed using the .rpm file
- Resource Package Manager (RPM) must be installed on the Management Agent host
Run the following command on the Management Agent host to obtain the RPM name:
rpm -qa | grep oracle-agt
Run the following command as a root user to deinstall the Management Agent:
rpm -e <rpm_name>
Here, <rpm_name> is the RPM name that is displayed in the output of the command you ran in Step 1.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23825935/viewspace-2917320/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Cloud Control 13c 安裝Cloud
- Enterprise Manager Cloud Control 12c 官方安裝指南Cloud
- Important Notes on Oracle Enterprise Manager Grid ControlImportOracle
- Oracle 12c OEM Cloud Control AGENT 安裝OracleCloud
- How To Configure Notification Rules in Enterprise Manager Grid Control_429422.1
- Solaris環境安裝Oracle Enterprise Manager 10g Grid ControlOracle
- Using Silent Mode to Install Oracle Enterprise Manager Grid Control 10.2.0.1.1Oracle
- 安裝Oracle Enterprise Manager 10g Grid Control Release 10.1.0.3Oracle
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 3Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 2Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1Cloud
- Enterprise Gateway Manager 是何物?Gateway
- 準備安裝Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.2.0)Oracle
- 手工配置ORACLE Enterprise Manager(OEM)Oracle
- oracle enterprise manager配置簡介Oracle
- 2 Day DBA-開始資料庫管理-OEMDC(Oracle Enterprise Manager Database Control簡介資料庫OracleDatabase
- Install Enterprise Manager Grid Control 10.2.0.5.0 Using a New Database-763314.1Database
- Enterprise Manager之oracle效能與管理Oracle
- 在EM Cloud Control 12c中使用emcli命令列刪除obsolete agent targetCloud命令列
- Using Silent Mode to Install Oracle Enterprise Manager Grid Control 10.2.0.1.1 Using an Existing DaOracle
- Oracle Enterprise Manager 11g 啟停Oracle
- Oracle 12c Enterprise Manager Database ExpressOracleDatabaseExpress
- VB實現SQL Enterprise Manager功能 (轉)SQL
- Installing Oracle Enterprise Manager 10g Grid Control Release 3 on Linux x86OracleLinux
- oem(oracle enterprise manager) 配置出錯一則Oracle
- To Verify if the Enterprise Manager GC (OMS) is Locked or Unlocked_428874.1GC
- OCM實驗-grid control agent安裝
- 【GC】Grid Control Agent完整刪除方法GC
- 轉享: Enterprise Java Cloud [VMforce]JavaCloud
- GoldenGate Enterprise Manager Plug-In(12.1.0.3.0) 部署文件Go
- ENTERPRISE MANAGER 12C DATABASE AS A SERVICE (DBaaS) SNAP CLONEDatabase
- 12 cloud control OEM InstallerCloud
- New Oracle Enterprise Manager 11g 的36 個plug -inOracle
- 15-Architecture-Cloud Controller ManagerCloudController
- OMC cloud agent 安裝之後經常停止Cloud
- 我的oracle enterprise grid control曲折之路Oracle
- 安裝Cloud Control 12cCloud
- 10G 重新配置Enterprise Manager(刪除repository)