GoldenGate 12c 新特性 Credential Store and USERIDALIAS

GoldenGate 12C的Credential Store and USERIDALIAS新特性有点类似存储钱夹,提高了配置的易用性和安全性。

--生成credentialstore文件

GGSCI (XQZT-PC) 1> add credentialstore

Credential store created in .\dircrd\.

--创建别名

GGSCI (XQZT-PC) 2> alter credentialstore add user c##ggadmin alias ggroot

Password:

Credential store in .\dircrd\ altered.

--使用别名登录

GGSCI (XQZT-PC) 3> dblogin useridalias ggroot

Successfully logged into database CDB$ROOT.

GGSCI (XQZT-PC as c##ggadmin@orcl/CDB$ROOT) 4>

--也可以创建PDB的存储别名

GGSCI (XQZT-PC) 1> alter credentialstore add user c##ggadmin@pdborcl alias ggpd

borcl

Password:

Credential store in .\dircrd\ altered.

GGSCI (XQZT-PC) 2> dblogin useridalias ggpdborcl

Successfully logged into database PDBORCL.

--查看别名

GGSCI (XQZT-PC) 1> info credentialstore

Reading from .\dircrd\:

Default domain: OracleGoldenGate

Alias: ggroot

Userid: c##ggadmin

Alias: ggpdborcl

Userid: c##ggadmin@pdborcl

GGSCI (XQZT-PC) 2>

posted on 2015-05-26 09:12  小强斋太  阅读(1418)  评论(0编辑  收藏  举报

导航