zoukankan      html  css  js  c++  java
  • em13c agent uninstall

    1)client uninstall  agent 
    [oracle@mysql install]$ /home/oracle/install_agent/agent_13.2.0.0.0/perl/bin/perl /home/oracle/install_agent/agent_13.2.0.0.0/sysman/install/AgentDeinstall.pl -agentHome  /home/oracle/install_agent/agent_13.2.0.0.0

     Agent Oracle Home: /home/oracle/install_agent/agent_13.2.0.0.0
    agentHome = /home/oracle/install_agent/agent_13.2.0.0.0
    Agent installed in config modevalue of skip flag is false
    NOTE: The agent base directory: /home/oracle/install_agent will be removed after successful deinstallation of agent home.
    The command is /home/oracle/install_agent/agent_13.2.0.0.0/oracle_common/jdk/jre/bin/java -classpath /home/oracle/install_agent/agent_13.2.0.0.0/oui/modules/OraInstaller.jar:/home/oracle/install_agent/agent_13.2.0.0.0/oui/modules/emCfg.jar:/home/oracle/install_agent/agent_13.2.0.0.0/jlib/agentInstaller.jar oracle.sysman.agent.installer.AgentDeinstallation /home/oracle/install_agent/agent_13.2.0.0.0 /home/oracle/install_agent /home/oracle/install_agent/agent_inst
    Aug 03, 2019 8:08:16 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
    INFO: Oracle Enterprise Manager Cloud Control 13c Release 2 
    Aug 03, 2019 8:08:16 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
    INFO: Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
    INFO: Agent is Not Running
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
    INFO: Plugin homes:
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
    INFO: Plugin homes:
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: Creating directory /home/oracle/install_agent/agent_13.2.0.0.0/install/tmp completed successfully.
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: File /etc/oragchomelist exists.
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: File /etc/oragchomelist is writable.
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: Index :-1 for line : /em/oracle/oem13.2/middleware
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: Index :-1 for line : /em/oracle/oem13.2/agent/agent_13.2.0.0.0:/em/oracle/oem13.2/agent/agent_inst
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: Index :-1 for line :
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: Index :0 for line : /home/oracle/install_agent/agent_13.2.0.0.0:/home/oracle/install_agent/agent_inst
    Aug 03, 2019 8:08:22 PM oracle.sysman.agent.installer.AgentDeinstallation main
    INFO: Overwriting the contents since oracle home:/home/oracle/install_agent/agent_13.2.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:/home/oracle/install_agent/agent_13.2.0.0.0/oui/bin/detachHome.sh -silent ORACLE_HOME=/home/oracle/install_agent/agent_13.2.0.0.0
    WARNING: Ignoring ORACLE_HOME=<value> on the command line (cannot override the Oracle Home to be detached)
    Launcher log file is /tmp/OraInstall2019-08-03_08-08-24PM/launcher2019-08-03_08-08-24PM.log.
    Starting Oracle Universal Installer
    Checking swap space: must be greater than 500 MB.   Actual 1023 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 /home/oracle/logs.
     Removing other files ...
    cannot remove path when cwd is /home/oracle/install_agent/agent_13.2.0.0.0/sysman/install for /home/oracle/install_agent/agent_13.2.0.0.0:  at /home/oracle/install_agent/agent_13.2.0.0.0/sysman/install/AgentDeinstall.pl line 466
    cannot remove path when cwd is /home/oracle/install_agent/agent_13.2.0.0.0/sysman/install for /home/oracle/install_agent:  at /home/oracle/install_agent/agent_13.2.0.0.0/sysman/install/AgentDeinstall.pl line 469
    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.
    2)
     
    ora1>$cd /em/oracle/oem13.2/middleware/bin/
    ora1>$./emcli  delete_target -name="192.168.56.131:3872" -type="oracle_emd" -delete_monitored_targets
    Error: Session expired. Run emcli login to establish a session.
    ora1>$./emcli  login -username=sysman -password=epmgy_WH0713
    Login successful
    ora1>$get_targets
    bash: get_targets: 未找到命令...
    ora1>$./emcli  get_targets
    状态 ID   状态               目标类型                  目标名称                              
    4       代理无法访问           host                  mysql.oracle.com.cn               
    1       启动               host                  oem13c                            
    1       启动               host                  192.168.56.130                    
    1       启动               j2ee_application      /EMGC_GCDomain/GCDomain/EMGC_OMS1/j
                                                   vmdengine(13.2.1.0.0)             
    1       启动               j2ee_application      /EMGC_GCDomain/GCDomain/EMGC_OMS1/O
                                                   CMRepeater                        
    1       启动               j2ee_application      /Farm01_ipap/ipap/Server3/TestWas 
    4       代理无法访问           j2ee_application      /Farm01_ipap/ipap/Server1/TestWas 
    1       启动               j2ee_application      /EMGC_GCDomain/GCDomain/EMGC_OMS1/e
                                                   mgc                               
    1       启动               j2ee_application      /EMGC_GCDomain/GCDomain/BIP/bipubli
                                                   sher(11.1.1)                      
    1       启动               j2ee_application      /EMGC_GCDomain/GCDomain/EMGC_OMS1/e
                                                   mpbs                              
    1       启动               j2ee_application      /EMGC_GCDomain/GCDomain/BIP/ESSAPP
    1       启动               j2ee_application_clu  /Farm01_ipap/ipap/Cluster-0/TestWas
                             ster                                                    
    1       启动               j2ee_application_clu  /EMGC_GCDomain/GCDomain/BIP_cluster
                             ster                  /bipublisher(11.1.1)              
    1       启动               j2ee_application_clu  /EMGC_GCDomain/GCDomain/BIP_cluster
                             ster                  /ESSAPP                           
    -9      N/A              j2ee_application_dom  /EMGC_GCDomain/GCDomain/OCMRepeater
                             ain                                                     
    -9      N/A              j2ee_application_dom  /EMGC_GCDomain/GCDomain/ESSAPP    
                             ain                                                     
    -9      N/A              j2ee_application_dom  /EMGC_GCDomain/GCDomain/bipublisher
                             ain                   #11.1.1                           
    -9      N/A              j2ee_application_dom  /EMGC_GCDomain/GCDomain/jvmdengine#
                             ain                   13.2.1.0.0                        
    -9      N/A              j2ee_application_dom  /EMGC_GCDomain/GCDomain/emgc      
                             ain                                                     
    -9      N/A              j2ee_application_dom  /EMGC_GCDomain/GCDomain/empbs     
                             ain                                                     
    -9      N/A              metadata_repository   /EMGC_GCDomain/GCDomain/EMGC_ADMINS
                                                   ERVER/mds-sysman_mds              
    -9      N/A              metadata_repository   /EMGC_GCDomain/GCDomain/EMGC_ADMINS
                                                   ERVER/mds-owsm                    
    1       启动               oracle_apache         /EMGC_GCDomain/GCDomain/ohs1      
    1       启动               oracle_beacon         EM Management Beacon              
    -9      N/A              oracle_cloud          Cloud                             
    1       启动               oracle_em_service     EM Console Service                
    1       启动               oracle_em_service     EM Jobs Service                   
    4       代理无法访问           oracle_emd            mysql.oracle.com.cn:3872          
    1       启动               oracle_emd            192.168.56.130:3872               
    1       启动               oracle_emd            oem13c:3872                       
    1       启动               oracle_emrep          Management Services and Repository
    1       启动               oracle_emsvrs_sys     Management_Servers                
    -9      N/A              oracle_home           agent13c1_1_mysql.oracle.com.cn_392
                                                   4                                 
    -9      N/A              oracle_home           oms13c1_2_oem13c_6349             
    -9      N/A              oracle_home           agent13c1_3_oem13c_6139           
    -9      N/A              oracle_home           WebLogicServer10_3_6_0_mysql.oracle
                                                   .com.cn_7300                      
    -9      N/A              oracle_home           WebLogicServer10_3_6_0_192.168.56.1
                                                   30_7300                           
    -9      N/A              oracle_home           agent13c1_1_192.168.56.130_720    
    1       启动               oracle_oms            oem13c:4889_Management_Service    
    1       启动               oracle_oms_console    oem13c:4889_Management_Service_CONS
                                                   OLE                               
    1       启动               oracle_oms_pbs        oem13c:4889_Management_Service_PBS
    -9      N/A              oracle_si_network     Subnet-192.168.56.0/24            
    4       代理无法访问           oracle_si_server_map  mysql.oracle.com.cn/server        
    1       启动               oracle_si_server_map  oem13c/server                     
    1       启动               oracle_si_server_map  192.168.56.130/server             
    1       启动               weblogic_cluster      /EMGC_GCDomain/GCDomain/BIP_cluster
    1       启动               weblogic_cluster      /Farm01_ipap/ipap/Cluster-0       
    -9      N/A              weblogic_domain       /EMGC_GCDomain/GCDomain           
    -9      N/A              weblogic_domain       /Farm01_ipap/ipap                 
    1       启动               weblogic_j2eeserver   /Farm01_ipap/ipap/AdminServer     
    1       启动               weblogic_j2eeserver   /EMGC_GCDomain/GCDomain/BIP       
    1       启动               weblogic_j2eeserver   /EMGC_GCDomain/GCDomain/EMGC_OMS1 
    1       启动               weblogic_j2eeserver   /EMGC_GCDomain/GCDomain/EMGC_ADMINS
                                                   ERVER                             
    4       代理无法访问           weblogic_j2eeserver   /Farm01_ipap/ipap/Server1         
    1       启动               weblogic_j2eeserver   /Farm01_ipap/ipap/Server3         
    1       启动               weblogic_nodemanager  NodeManager_oem13c_1              
    ora1>$./emcli  delete_target -name="192.168.56.131:3872" -type="oracle_emd" -delete_monitored_targets
    错误: 目标不存在
    ora1>$./emcli  delete_target -name="mysql.oracle.com.cn:3872" -type="oracle_emd" -delete_monitored_targets
    已成功删除目标 "mysql.oracle.com.cn:3872:oracle_emd"
    ora1>$
     
  • 相关阅读:
    VFP获取 SQL Server 的数据表、触发器、存储过程、视图等脚本
    VFP控制Excel操作集
    MS SqlServer 的日期格式化函数 Convert
    VFP 图形文件与剪切板互换的API解决方法
    VFP中OCX控件注册检测及自动注册
    VFP检测SQL Server的五个实例代码
    缓存方案笔记
    windows访问控制列表 --ACL(Access Control List)
    cnblog排版
    GIT常用命令
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/11297668.html
Copyright © 2011-2022 走看看