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
- GoldenGate Enterprise Manager Plug-In(12.1.0.3.0) 部署文件Go
- 15-Architecture-Cloud Controller ManagerCloudController
- 安裝Cloud Control 12cCloud
- ORACLE 12C Cloud Control(二)介紹OracleCloud
- 3.1.1.3 使用Cloud Control 啟動資料庫Cloud資料庫
- 阿里雲K8S元件Cloud Controller Manager升級問題排查阿里K8S元件CloudController
- 甲骨文與紅帽擴大合作,將Red Hat Enterprise Linux引入 Oracle Cloud InfrastructureLinuxOracleCloudASTStruct
- 千問AI agent qwan_agent使用AI
- OGG:manager
- WPF Customize control
- Cache-Control
- User Account Control
- EMQX Enterprise 4.4.11 釋出MQ
- SAP EPD - Enterprise Product Developmentdev
- hyperf如何接入swoole enterprise
- 智慧體Agent智慧體
- Java Agent(上)Java
- HTML 24 - Form ControlHTMLORM
- Cache-Control指令
- Statistical Process Control in SAP
- Control charts in SAP QM
- Cache-Control for Civilians
- Xmanager Enterprise 5 的基本使用
- I/O上的等待事件 —— control file sequential read/control file parallel write事件Parallel
- Rust Package Manager:CargoRustPackageCargo
- SDK Manager:failed to installAI
- SSH Agent 的作用
- 資料庫agent資料庫
- java agent簡介Java
- Zabbix Agent安裝
- zabbix安裝agent
- CHEE 4703: Process Dynamics and Control
- Cys_Control(六) MTreeViewView
- Session, LocalStorage ,Cache-ControlSession
- Enterprise WordPress:AI趨勢報告AI
- Macs Fan Control Pro啟用碼+Macs Fan Control Pro 中文安裝包Mac
- Macs Fan Control Pro中文破解版+Macs Fan Control Pro啟用碼Mac