🥥GoldenGate Credential Store

โดยปกติการใช้งาน GGSCI ซึ่งเป็น Command Line ของ GoldenGate จะต้องทำการ Connect Database ด้วย Account ที่มีสิทธิ์เข้าถึง ซึ่งต้องทำการระบุ Username และ Password แต่เราสามารถทำการสร้าง Alias เพื่อให้สามารถ Connect Database ด้วย Credential Store ได้อย่างสะดวกรวดเร็ว

Get Started

  • ทำการ Connect Database ด้วย GGSCI

GGSCI>
dblogin userid ggate@ORCL, password ggate
  • ทำการตรวจสอบ Credential Store

GGSCI>
info credentialstore
ERROR: Unable to open credential store in ./dircrd/.
  • ทำการสร้าง Credential Store

GGSCI>
add credentialstore
Credential store created in ./dircrd/.
  • ทำการสร้าง Alias

GGSCI>
alter credentialstore add user ggate password ggate alias ggorcl
Credential store in ./dircrd/ altered.
  • ทำการตรวจสอบ Credential Store อีกครั้งหนึ่ง

GGSCI>
info credentialstore
Reading from ./dircrd/:

Default domain: OracleGoldenGate

  Alias: ggorcl
  Userid: ggate
  • ลองทำการ Login GoldenGate ด้วย Alias

GGSCI>
dblogin useridalias ggorcl
Successfully logged into database.

อ่านเพิ่มเติม : https://bit.ly/2vlNkwQ, https://bit.ly/30Ydaml

Last updated

Was this helpful?