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"

手动删除oem 13c相关推荐

  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. 手动删除oracle数据库

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

  4. oracle oem 13c新特性,【EMCC】Oracle 13c OEM 安装测试(13.2.0.0)

    测试环境: 操作系统:Centos6.5 数据库:Oracle 12.1.0.2 一.软件介质准备: Oracle database 12c(12.1.2.0) for Linux 64: Enter ...

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

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

  6. oracle手动删除数据库

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

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

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

  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. HDLBits 系列(3)Priority Encoder(Case/Casez)
  2. 在linux环境下,使用find查找某个文件的指定路径
  3. Git下载与使用(Git地址由CSDN提供)
  4. stop-hbase.sh一直处于等待状态
  5. Git的基本概念/常用命令及实例
  6. 德国可能在年底前决定特斯拉柏林电池工厂将获得多少国家补贴
  7. 使用ASP的优势和劣势
  8. 分布式多级缓存中间件引导实践
  9. RHEL-用户基础-管道
  10. CentOS7 - 给VMwear Workstation 15安装VMwear tools
  11. Linux下互斥量加锁与解锁操作的C代码实现
  12. MATLAB SMRF点云滤波算法
  13. 小米球 ngrok 安装教程
  14. c mian 函数命令行参数
  15. 十八、备忘录模式——SL大法,读档的实现
  16. 那些年搞不懂的高深术语——依赖倒置•控制反转•依赖注入•面向接口编程...
  17. linux查看服务器品牌和型号,linux 查看服务器型号
  18. mysql update set_mysql update语句的用法详解
  19. 【力扣-动态规划入门】【第 21 天】377. 组合总和 Ⅳ
  20. Jackson膜封闭:选择合适的封闭试剂孵化时间和洗涤

热门文章

  1. 少说话多写代码之Python学习062——标准模块(random模块)
  2. MySQL统计数据库所有表的数据量
  3. SER5 5500U 黑苹果系统安装教程
  4. 基于Python Scrapy爬虫改进KNN算法的网站分类系统
  5. Android手机提示“未安装应用程序”
  6. 《基于ITK和VTK的医学图像处理系统设计与实现》
  7. Camera2架构学习(二)——CameraServer和CameraProvider的启动初始化
  8. 人事考试在线报名系统新突破,一键触达“智慧考试”
  9. Data Wrangling
  10. 喜欢猫吗?用这个开源工具撸一只吧!