13c Cloud Control Repository: How to Manually Drop Repository Database Objects in 13c Cloud Control (文档 ID 2107485.1)


In this Document

GoalSolutionReferences


APPLIES TO:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information in this document applies to any platform.

GOAL

This document provides the steps for dropping the 13c Cloud Control Repository Database Objects manually.

Note:

-  "RepManager dropall" is the supported method for dropping the Repository objects and it is  highly recommended  to drop repository objects only using the RepManager utility as described here:

Enterprise Manager Cloud Control Administrator's Guide
Release 13.2
Chapter 20 Maintaining and Troubleshooting the Management Repository
20.3 Dropping and Recreating the Management Repository
20.3.1 Dropping the Management Repository

-  This document should be used in extreme cases like:

1) The OMS home is lost or removed and there is no RepManager utility availableto drop the repository objects
2) The RepManager utility fails to completely remove all repository objects.

SOLUTION

Login to repository database as  sys  user and perform the following steps to cleanup the repository database manually:

1. Drop the repository users:

SQL> drop user sysman cascade;
SQL> drop user sysman_types cascade;
SQL> drop user sysman_stb cascade;
SQL> drop user sysman_opss cascade;
SQL> drop user sysman_biplatform cascade;
SQL> drop user sysman_bip cascade;
SQL> drop user sysmanupgr_opss cascade;
SQL> drop user sysman_apm cascade;
SQL> drop user sysman_ro cascade;
SQL> drop user sysman_mds cascade;
SQL> drop user cloud_engine_user cascade;
SQL> drop user cloud_swlib_user cascade;
SQL> drop user mgmt_view cascade;
SQL> drop user eus_engine_user cascade;
SQL> drop role mgmt_user;

2. Verify if there are any leftover synonyms:

SQL> spool synonyms.lst
SQL> select owner,synonym_name from dba_synonyms where table_owner in ('SYSMAN', 'SYSMAN_MDS', 'MGMT_VIEW', 'SYSMAN_BIP', 'SYSMAN_APM', 'SYSMAN_OPSS', 'SYSMAN_RO', 'SYSMAN_BIPLATFORM', 'SYSMANUPGR_OPSS', 'CLOUD_ENGINE_USER', 'CLOUD_SWLIB_USER', 'EUS_ENGINE_USER', 'SYSMAN_TYPES', 'SYSMAN_STB') ;
SQL> spool off
SQL> @synonyms.lst

3. Drop the tablespaces:

SQL> drop tablespace MGMT_ECM_DEPOT_TS including contents and datafiles;
SQL> drop tablespace MGMT_TABLESPACE including contents and datafiles;
SQL> drop tablespace MGMT_AD4J_TS including contents and datafiles;

4. Delete the entries from registry:

SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='Metadata Services';
SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='Authorization Policy Manager';
SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='Oracle Platform Security Services';
SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='OracleBI and EPM'
SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='Service Table';
SQL> commit;

REFERENCES

NOTE:2096776.1  - EM13c: 13c Cloud Control Installation Fails at Repository Configuration With "ORA-02303: cannot drop or replace a type with type or table dependents"



About Me

........................................................................................................................

● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除

● 本文在itpub( http://blog.itpub.net/26736162 )、博客园( http://www.cnblogs.com/lhrbest )和个人weixin公众号( xiaomaimiaolhr )上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文博客园地址: http://www.cnblogs.com/lhrbest

● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群号: 230161599 (满) 、618766405

● weixin群:可加我weixin,我拉大家进群,非诚勿扰

● 联系我请加QQ好友 ( 646634621 ) ,注明添加缘由

● 于 2018-10-01 06:00 ~ 2018-10-31 24:00 在魔都完成

● 最新修改时间:2018-10-01 06:00 ~ 2018-10-31 24:00

● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解

● 版权所有,欢迎分享本文,转载请保留出处

........................................................................................................................

● 小麦苗的微店 : https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

● 小麦苗出版的数据库类丛书 : http://blog.itpub.net/26736162/viewspace-2142121/

● 小麦苗OCP、OCM、高可用网络班 : http://blog.itpub.net/26736162/viewspace-2148098/

● 小麦苗腾讯课堂主页 : https://lhr.ke.qq.com/

........................................................................................................................

使用 weixin客户端 扫描下面的二维码来关注小麦苗的weixin公众号( xiaomaimiaolhr )及QQ群(DBA宝典)、添加小麦苗weixin, 学习最实用的数据库技术。

........................................................................................................................

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26736162/viewspace-2216941/,如需转载,请注明出处,否则将追究法律责任。

手动删除EMCC13C的 Repository Database相关推荐

  1. 手动删除oem 13c EM REPOSITORY 数据库

    在EM13C安装失败,想重新安装EM,需要按以下步骤把EM repostiory删除,具体参照如下文档: 13c Cloud Control Repository: How to Manually D ...

  2. oracle服务怎么删除数据库,Oracle中手动删除数据库教程

    在很多情况下,或无法使用dbca工具的时候,我们需要手动来删除数据库.对此,可以借助drop database命令来实现,下面的描述中给出手动删除数据库. 的具体步骤,包含文件系统数据库以及ASM数据 ...

  3. linux下手动删除数据库实例

    linux下手动删除数据库实例,直接删除相应的目录就可以了,不多说了.... 1. $ORACLE_HOME/dbs/ [oracle9@frogger dbs]$ pwd /u01/app/orac ...

  4. oracle手动删除数据库

    有时候,无法使用图形界面时,我们需要手动删除数据库,具体操作步骤如下: 一.手动删除文件系统数据库    1.停止监听,防止有新的连接产生,同时,在数据库配置了em的,也需要停止 $ lsnrctl ...

  5. 手动删除oracle数据库

    --===================== -- 手动删除oracle数据库 --===================== 在很多情况下,或无法使用dbca工具的时候,我们需要手动来删除数据库. ...

  6. mysql利用binlog删除数据库_MySQL数据库之mysql手动删除BINLOG的方法

    本文主要向大家介绍了MySQL数据库之mysql手动删除BINLOG的方法 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. 在MySQL中执行以下命令: 复制代码 代码如下: P ...

  7. mysql 命令删库名,MySQL控制台删除数据库命令 drop database 数据库名

    MySQL控制台删除数据库命令 drop database 数据库名 分类:数据库| 发布:佚名| 查看: | 发表时间:2014/4/30 命令:drop database 例如:删除名为 camn ...

  8. 如何手动删除并重新安装 .NET Framework 2.0

    如何手动删除并重新安装 .NET Framework 2.0 本文可能包含一个指向 Windows 安装程序清理实用程序 (MSICUU2.exe) 的链接.如果被定向到本文使用 Windows 安装 ...

  9. 设置自动清理mysql binlog日志和手动删除的方法

    MYSQL主从复制(replication)采用 RBR 模式后,binlog的格式为"ROW",能解决很多原先出现的主键重复问题. 在一个繁忙的master db server上 ...

最新文章

  1. Osmocom-BB 相关资源、知识分享
  2. 瞬变电磁法的基本原理与TEM正演技术
  3. librtmp编译for android and ios 不要openssl
  4. 吸水间最低动水位标高_消防水泵-吸水管路设置要求
  5. SpringCache 集成 Redis,这才是优雅的缓存解决方案!
  6. Mysql通过一个限制条件,查出多条不同的记录
  7. bcb quickrep保存为 图片_不容错过的SCI图片处理和组图方法
  8. 配置nginx,Tomcat日志记录请求耗时
  9. Hyper-V 2012 R2 故障转移群集之建立域控(AD DS)与加入域
  10. [状压dp] 洛谷 P1879 玉米田
  11. 【MySQL】JDBC下载
  12. 随心测试_Python Se_007下拉列表操作2
  13. Cloudera Manager安装教程
  14. 四轴平面机器人的手眼标定
  15. vue+element 将密码输入框的小圆点显示为星号
  16. 读书笔记-effective STL
  17. Arduino Mega2560 作为烧录器烧写Mega2560的bootloader
  18. 阿里云服务器购买流程
  19. 2018年——幻灭 2019年——重启
  20. 停滞在一个圈子,决定人生的高低![深度文章]

热门文章

  1. 小米11Ultra和华为Mate40Pro+ 哪个好
  2. 北京某公司前端笔试题及其答案
  3. Tushare使用入门
  4. Hibernate5自动建表坑之索引BUG(Cant DROP xxxxxxxxx check that column/key exists)
  5. 北大计算机python教程_清华北大计算机系 联合推出的Java+Python1010集视频学习教程曝光...
  6. 大学计算机编程考试用什么软件?
  7. I@de6ced(downloaded)
  8. 微信小程序使用wx.chooseLocation返回的数据没有省份的处理方法
  9. CISSP资料:独家笔记
  10. 《线性代数:行列式》: n 阶方阵行列式公式