您当前的位置: 首页 > 

手动删除EMCC13C的 Repository Database

发布时间:2018-10-19 17:37:03 ,浏览量:0

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/,如需转载,请注明出处,否则将追究法律责任。

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    107766博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0459s