版本号:  em12c 12.1.0.4          OS :  redhat 5.7 x86_64bit (CentOS6.2,測试过,当时因glibc*.i686包安装一直报错。所以放弃了)


==>  em12c 安装。就不说了。网上一大把,或者查看官方文档:

==>这里涉及一些參数配置:

  1. Check the CBO stats gathering job Disable the stats gathering job
  2.  
  3. 1.Check the processes instance parameter value
  4. The processes instance parameter needs to be set to at least 300.
  5.  
  6. 2.Check the session_cached_cursors instance parameter value.
  7. The session_cached_cursors instance parameter should be set to 300.
  8. Any value between 200 and 500, inclusive, will be accepted.
  9.  
  10. 3.Check the job_queue_processes instance parameter value.
  11. The job_queue_processes instance parameter should be set to 20.
  12.  
  13. 4.Check the shared_pool_size instance parameter value.
  14. The shared_pool_size instance parameter should be set to
  15. at least 600 megabytes or roughly one third of the sga_target size.
  16.  
  17. 5. Check the redo log size.
  18. The size of the EM database instance should be 300 megabytes or greater.
  19. Generally, there should be 3 or more redo logs available of this size.
  20.  
  21. 6. Ensure that the EM tablespace has at least one datafile set to autoextensible
  22. Add at least one datafile with the autoextend attribute to the EM tablespace
  23.  
  24. 7.Check the open_cursors instance parameter value.
  25. The open_cursors instance parameter should be set between 300 and 400, inclusive.
  26.  
  27. 8.Check the sga_target instance parameter value.
  28. The sga_target instance parameter should be set to at least 2 gigabytes, and
  29. roughly twice the size of the pga_aggregate_target setting.
  30.  
  31. 9.Check for invalid objects in the EM repository
  32. Compile all invalid objects in the EM repository

==> 假设之前你的db 安装了EM 的话。那么这条命令能够帮助你:

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbG1vY20=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

[oracle@em12c
~]$ emca -deconfig dbcontrol db -repos drop -SYS_PWD password -SYSMAN_PWD  password
STARTED
EMCA at Jul 24, 2014 10:13:13 AM
EM
Configuration Assistant, Version 11.2.0.3.0 Production
Copyright
(c) 2003, 2011, Oracle. All rights reserved.
Enter
the following information:
Database
SID: em12c
Listener
port number: 1521
----------------------------------------------------------------------
WARNING
: While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do
you wish to continue? [yes(Y)/no(N)]: Y
Jul
24, 2014 10:13:22 AM oracle.sysman.emcp.EMConfig perform
INFO:
This operation is being logged at /dba/app/oracle/cfgtoollogs/emca/em12c/emca_2014_07_24_10_13_12.log.
Jul
24, 2014 10:13:23 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO:
Stopping Database Control (this may take a while) ...
Jul
24, 2014 10:13:46 AM oracle.sysman.emcp.EMReposConfig invoke
INFO:
Dropping the EM repository (this may take a while) ...
Jul
24, 2014 10:15:57 AM oracle.sysman.emcp.EMReposConfig invoke
INFO:
Repository successfully dropped
Enterprise
Manager configuration completed successfully
FINISHED
EMCA at Jul 24, 2014 10:16:00 AM

被监控server,上关于sudo命令的设置:
---/usr/local/etc/sudoers
#

## Allow root to run any commands anywhere
root        ALL=(ALL)           ALL
oracle     ALL=(ALL)           ALL      -->加入一行

#Defaults        requiretty                        -->凝视掉
Defaults:oracle     !requiretty                 -->加入oracle
#
# Refuse to run if unable to disable echo on the tty. This setting should also be
# changed in order to be able to use sudo without a tty. See requiretty above.
#
#Defaults     !visiblepw                           -->凝视掉
Defaults     visiblepw                              -->加入



==>被监控server,agent 卸载。事实上EM12C 主server,卸载方式相同,涉及sysman,sysaux 下的一些表空间记得清楚)
(一)卸载插件
eg:
[oracle@dominic4 plugins]$ pwd 

/em12c/plugins

[oracle@dominic4 plugins]$
ls 

oracle.em.savf.discovery.plugin_12.1.0.2.0
oracle.sysman.emas.discovery.plugin_12.1.0.6.0 

oracle.em.soav.discovery.plugin_12.1.0.4.0 
oracle.sysman.oh.agent.plugin_12.1.0.4.0 

oracle.sysman.db.agent.plugin_12.1.0.6.0 
oracle.sysman.oh.discovery.plugin_12.1.0.4.0 

oracle.sysman.db.discovery.plugin_12.1.0.6.0  
oracle.sysman.xa.discovery.plugin_12.1.0.6.0


[oracle@dominic4 ~]$ /em12c/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent
"REMOVE_HOMES={/em12c/plugins/oracle.sysman.xa.discovery.plugin_12.1.0.6.0,/em12c/plugins/oracle.sysman.db.discovery.plugin_12.1.0.6.0,/em12c/plugins/oracle.sysman.db.agent.plugin_12.1.0.6.0}" -removeALLFiles -invPtrLoc /etc/oraInst.loc


----plugins 下的全部 oracle.* 都须要删除。


(二) 卸载sbin

[oracle@dominic4 ~]$ /em12c/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent
"REMOVE_HOMES={/em12c/sbin}" -removeALLFiles -invPtrLoc /etc/oraInst.loc 

Starting Oracle Universal Installer... 



Checking swap space: must be greater than 500 MB. Actual 3498 MB Passed 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-08-11_11-59-57AM. Please wait ...[oracle@dominic4 ~]$ Oracle Universal Installer, Version
11.1.0.12.0 Production 

Copyright (C) 1999, 2014, Oracle. All rights reserved. 



Starting deinstall 





Deinstall in progress (Monday, August 11, 2014 12:00:01 PM CST) 

............................................................... 100% Done. 



Deinstall successful 



End of install phases.(Monday, August 11, 2014 12:00:02 PM CST) 

End of deinstallations 

Please check '/dba/app/oraInventory/logs/silentInstall2014-08-11_11-59-57AM.log' for more details.


( 三)卸载 agent home 
[oracle@dominic4 ~]$ /em12c/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent
"REMOVE_HOMES={/em12c/core/12.1.0.4.0}" -removeALLFiles -invPtrLoc /etc/oraInst.loc 

Starting Oracle Universal Installer... 



Checking swap space: must be greater than 500 MB. Actual 3498 MB Passed 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-08-11_12-03-20PM. Please wait ...[oracle@dominic4 ~]$ Oracle Universal Installer, Version
11.1.0.12.0 Production 

Copyright (C) 1999, 2014, Oracle. All rights reserved. 



Starting deinstall 





Deinstall in progress (Monday, August 11, 2014 12:03:23 PM CST) 

Configuration assistant "Agent Deinstall Assistant" succeeded 

............................................................... 100% Done. 



Deinstall successful

End of install phases.(Monday, August 11, 2014 12:04:18 PM CST)
End of deinstallations
Please check '/dba/app/oraInventory/logs/silentInstall2014-08-11_12-03-20PM.log' for more details.
 
(四) 删除文件夹

rm -rf   /em12c/*  

history -c

EM12C 安装及卸载 注意点整理的更多相关文章

  1. Windows中使用cmd实现自定义Service的安装与卸载

    在项目中,有些时候我们需要自定义一些Service来定时处理一些业务逻辑,这时候就涉及到如何安装与卸载service的问题了,具体如何安装呢?在此整理一些解决方案供大家参考: 方案一: 1.运行--〉 ...

  2. win8 iis7/iis8 安装、卸载、设置方法

    原文:win8 iis7/iis8 安装.卸载.设置方法 一.安装 自从升级到Win8之后,之前使用已经趋于熟悉的iis7.0被取而代之的是iis8.0,那么安装和获取方法也就产生的略微的变化,为了避 ...

  3. CentOS6.5下Oracle11G-R2安装、卸载

    CentOS6.5下Oracle11G-R2安装.卸载 资源下载地址(包含本人全部安装过程中,系统备份文件):http://download.csdn.net/detail/attagain/7700 ...

  4. C#创建、安装、卸载、调试Windows Service(Windows 服务)的简单教程

    前言:Microsoft Windows 服务能够创建在它们自己的 Windows 会话中可长时间运行的可执行应用程序.这些服务可以在计算机启动时自动启动,可以暂停和重新启动而且不显示任何用户界面.这 ...

  5. 教你一招:解决win10/win8.1系统在安装、卸载软件时出现2502、2503错误代码的问题

    经常遇到win10/win8.1系统在安装.卸载软件时出现2502.2503错误代码的问题. 解决办法: 1.打开任务管理器后,切换到“详细信息”选项卡,找到explore.exe这个进程,然后结束进 ...

  6. Android随笔之——静默安装、卸载

    随笔之所以叫随笔,就是太随意了,说起来,之前的闹钟系列随笔还没写完,争取在十月结束之前找时间把它给写了吧.今天要讲的Android APK的静默安装.卸载.网上关于静默卸载的教程有很多,更有说要调用隐 ...

  7. Windows服务安装与卸载

    Windows服务安装与卸载,使用到了InstallUtil.exe 安装: c: cd "C:\Windows\Microsoft.NET\Framework\v4.0.30319&quo ...

  8. Windows服务一:新建Windows服务、安装、卸载服务

    Windows 服务(即,以前的 NT 服务)使您能够创建在它们自己的 Windows 会话中可长时间运行的可执行应用程序.这些服务可以在计算机启动时自动启动,可以暂停和重新启动而且不显示任何用户界面 ...

  9. ubuntu下apache2 安装 配置 卸载 CGI设置 SSL设置

    一.安装.卸载apache2      apache2可直接用命令安装           sudo apt-get install apache2      卸载比较麻烦,必须卸干净,否则会影响ap ...

随机推荐

  1. VMware Tools安装问题的解决

    一.VMware Tools工具的作用 VMware虚拟机的插件工具,安装上它可以实现主机与虚拟机的文件共享及拖放.简单的说就是从Ubuntu上边经常输入命令行会出现错误的情况,需要复制到Window ...

  2. CISP/CISA 每日一题 九(2017-11-30 09:25)

    电子银行风险管理责任: 1.风险管理是董事会和高级管理层的责任 2.实施技术是信息技术高级管理层的责任 3.测量和监控风险是经营管理层的责任     管理层在实施一个新的电子银行应用程序之前要 ___ ...

  3. Quartz学习总结(1)——Spring集成Quartz框架

    一.Quartz简介 Quartz是OpenSymphony开源组织在Job scheduling领域又一个开源项目,它可以与J2EE与J2SE应用程序相结合也可以单独使用.Quartz可以用来创建简 ...

  4. C 字符/字符串经常使用函数

    string.h中经常使用函数 char * strchr(char * str ,char ch); 从字符串str中查找首次出现字符ch的位置,若存在返回查找后的地址.若不存在则返回NULL vo ...

  5. C#里如何把一个DataTable的数据追加进数据库里的某个表

    方法一: DataTable table = new DataTable(); //TODO: init table... string connStr = "user id=" ...

  6. 1.IntelliJ IDEA搭建SpringBoot的小Demo

    转自:http://www.cnblogs.com/weizaibug/p/6657077.html 首先简单介绍下Spring Boot,来自度娘百科:Spring Boot是由Pivotal团队提 ...

  7. Android开发之搜芽项目的图片载入问题(使用Volley进行网络图片载入)

    搜芽的移动开发这几天进度相对来说很的快. 可是美中不足的就是网络图片的载入问题. 我有两套方案: 1)沿用迅雷动漫的图片载入.迅雷动漫也是用的一个开源的库.可是不知道是我使用出了问题还是真的是它的问题 ...

  8. Altium Designer一些问题

    1,当你重新导入原理图的时候,会提示删除类 2,不要粘贴和赋值pcb中的原件,否则飞线可能会消失

  9. 最短路算法详解(Dijkstra/SPFA/Floyd)

    新的整理版本版的地址见我新博客 http://www.hrwhisper.me/?p=1952 一.Dijkstra Dijkstra单源最短路算法,即计算从起点出发到每个点的最短路.所以Dijkst ...

  10. Day1:用户交互与格式化输出

    一.用户交互 1.input()方法 #!/usr/bin/env python # -*- coding:utf-8 -*- # Author:Hiuhung Wan username = inpu ...