标签:security acl rem commit synonym contents reg sysman comm
按照规划可以选择单实例或者集群。
OMR可以通过DBCA新建或者EM模板
如果采用DBCA新建实例,可以会在安装12c Cloud Control时遭遇Check the existence of public synonyms, Remove the public synonyms错误,解决方法如下:
drop user SYSMAN cascade;
drop user SYSMAN_MDS cascade;
drop user MGMT_VIEW cascade;
drop user SYSMAN_RO cascade;
drop user SYSMAN_OPSS cascade;
drop user SYSMAN_APM cascade;
drop user SYSMAN_BIP;
drop user CLOUD_SWLIB_USER cascade;
drop user CLOUD_ENGINE_USER cascade;
drop role MGMT_USER;
select ‘drop ‘|| decode(owner,‘PUBLIC‘,owner||‘ synonym ‘||synonym_name, ‘ synonym ‘||owner||‘.‘||synonym_name) ||‘;‘ from dba_synonyms where table_owner in (‘SYSMAN‘, ‘SYSMAN_MDS‘, ‘MGMT_VIEW‘, ‘SYSMAN_BIPLATFORM‘, ‘SYSMAN_APM‘, ‘SYSMAN_OPSS‘, ‘SYSMAN_RO‘) ;
select owner,synonym_name from dba_synonyms where table_owner in (‘SYSMAN‘, ‘SYSMAN_MDS‘,‘MGMT_VIEW‘,‘SYSMAN_BIP‘,‘SYSMAN_APM‘,‘SYSMAN_OPSS‘,‘SYSMAN_RO‘) ;
select ‘drop tablespace ‘||tablespace_name||‘ including contents and datafiles;‘ from dba_tablespaces where tablespace_name like ‘MGMT%‘;
delete from SCHEMA_VERSION_REGISTRY where COMP_NAME=‘Metadata Services‘;
delete from SCHEMA_VERSION_REGISTRY where COMP_NAME=‘Authorization Policy Manager‘;
delete from SCHEMA_VERSION_REGISTRY where COMP_NAME=‘Oracle Platform Security Services‘;
commit;
标签:security acl rem commit synonym contents reg sysman comm
原文地址:https://www.cnblogs.com/sg1005/p/10070615.html