Home > Database > Mysql Tutorial > 创建 Virtual Private Catalog(虚拟用户目录)(Oracle 11g)

创建 Virtual Private Catalog(虚拟用户目录)(Oracle 11g)

WBOY
Release: 2016-06-07 17:21:04
Original
1153 people have browsed it

一个 catalog 可以注册多个数据库:而注册多个 target 数据库以后,可以分给不同的用户进行管理,VPClt; virtual private cata

说明:
一个 catalog  可以注册多个数据库:
而注册多个 target  数据库以后,可以分给不同的用户进行管理,VPC

实验操作如:
1、注册 target 数据库 PROD1 到 catalog
[Oracle@catalog ~]$ rman catalog catowner/password@catalog_ORCL target sys/123123@PROD1_orcl
RMAN> create catalog;  -- 如果已创建,则  prompt 恢复目录已经存在; 
RMAN> register database;

2、注册 target 数据库 PROD2  到 catalog
[oracle@catalog ~]$ rman catalog catowner/password@catalog_ORCL target sys/123123@PROD2_orcl
RMAN> create catalog;  -- 如果已创建,,则  prompt 恢复目录已经存在; 
RMAN> register database;

3、创建 用户(作为虚拟用户) ,并给 虚拟用户 分配需要维护的 target 数据库;
SQL> create user vpc1 identified by password default tablespace rmancatalog_tablespace;
SQL> GRANT recovery_catalog_owner TO vpc1;

RMAN> CONNECT CATALOG catowner/password@catalog_ORCL;
RMAN> GRANT CATALOG FOR DATABASE prod1 TO vpc1;
RMAN> CONNECT CATALOG vpc1/password@catalog_ORCL;
RMAN> CREATE VIRTUAL CATALOG;

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template