Home » Server Options » Data Guard » Oracle 8i Dataguard Problem
Oracle 8i Dataguard Problem [message #122021] Thu, 02 June 2005 07:13
m_filippova
Messages: 1
Registered: June 2005
Junior Member
Hello!
I install Oracle 8i dataguard under Solaris8/oracle 8.1.7 (64bit) platform. I create a configuration file on primary site (as describe in intallation guide). This file is attached to a message. I create 3 configuration files on primary and standby sites, named init<SID>.ora - for production database, init<SID>_stby.ora - for standby database, init<SID>_stby2prod.ora - for transition mode (switchover or activate standby database). These files include information about offline redolog directories on primary and standby sites.

Then i run a script dgdeploy.sh and configuration was deployed between primary and standby sites.
To create new standby database i use command "instantiate".
Then i use command "start all" and both agents (on primary and stanby sites) start correctly.

But when i then run command "switchover" (dgdctl> switchover) i had such mistake:

1. When i use command (ps -ef | grep dgd) on primary site (host name = buware, i saw such processes:

orarnp 12108 12106 0 13:02:59 pts/2 0:00 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdumon2.sh RNP certify 1 /oracle
orarnp 11679 10774 0 13:02:54 pts/2 0:00 ./dgdumon RNP certify /oracle/RNP/817_64/dataguard/bin /oracle/RNP/817_64/datag
orarnp 10770 1 0 13:02:47 pts/2 0:01 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdalpsr.sh RNP certify PRODUCTION
orarnp 18805 18804 0 13:12:05 pts/2 0:00 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdshppr.sh -dRNP -mNORMAL -hcertify
orarnp 10741 1 0 13:02:47 pts/2 0:04 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdshppr.sh -dRNP -mNORMAL -hcertify
orarnp 11692 10773 0 13:02:54 pts/2 0:00 ./dgdping 0 RNP /oracle/RNP/817_64/dataguard/log/agent_RNP.log
orarnp 10773 1 0 13:02:47 pts/2 0:00 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdpingm.sh RNP certify
orarnp 10774 1 0 13:02:47 pts/2 0:00 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdoraup.sh RNP certify
orarnp 12106 11679 0 13:02:59 pts/2 0:00 sh -c /oracle/RNP/817_64/dataguard/bin/dgdumon2.sh RNP certify 1 /oracle/RNP/81
orarnp 12363 12108 0 13:03:02 pts/2 0:00 ./dgdurout RNP certify 1 /oracle/RNP/817_64/dataguard/log/agent_RNP.log
orarnp 18813 9813 0 13:12:07 pts/2 0:00 grep dgd
orarnp 10775 1 0 13:02:47 pts/2 0:01 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdagntm.sh RNP certify
orarnp 10771 1 0 13:02:47 pts/2 0:01 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdlsnrm.sh RNP certify
orarnp 18804 10741 0 13:12:05 pts/2 0:00 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdshppr.sh -dRNP -mNORMAL -hcertify


2. When i use the same command (ps -ef | grep dgd) on standby site (host name = certify), i saw such processes:

orarnp 19414 1 0 13:02:35 ? 0:03 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdalpsr.sh RNP certify STANDBY /
orarnp 9317 3348 0 13:14:53 pts/2 0:00 grep dgd
orarnp 19415 1 0 13:02:35 ? 0:01 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdlsnrm.sh RNP certify
orarnp 19417 1 0 13:02:35 ? 0:01 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdagntm.sh RNP certify
orarnp 19397 1 0 13:02:35 ? 0:04 /usr/bin/ksh /oracle/RNP/817_64/dataguard/bin/dgdapplr.sh RNP RECOVERY certify

From this listing we saw, that production hostname as a same as stanby host name.

What mistake have i done?

Where the information about production database host saved in Oracle Dataguard, except configuration file (dgd_<DATAGUARD_ID>.ora)?

How can i return back my initial configuration?

Help me please.
With best regards,
Marina
  • Attachment: dgd_RNP.ora
    (Size: 17.08KB, Downloaded 610 times)
Previous Topic: SAP and Data Guard
Next Topic: Urgent please! standby client tns entry issue
Goto Forum:
  


Current Time: Fri Dec 03 23:08:48 CST 2021