当前位置:网站首页>Ora-16047 of a DG environment: dgid mismatch between destination setting and target database troubleshooting and listening vncr features
Ora-16047 of a DG environment: dgid mismatch between destination setting and target database troubleshooting and listening vncr features
2022-04-23 13:42:00 【Not dizzy yet】
DG Environment is now a common infrastructure , The overall architecture is mature and stable , It has been the routine implementation project of the company . In the near future , A colleague asked a question ,DG When it's set up , Report errors ORA-16047: DGID mismatch between destination setting and target database. This error report looks like DGID Mismatch , Usually configure log_archive_config='DG_CONFIG Parameters can be ; This troubleshooting found that , This parameter is set normally , Why is there still such a problem ?
Next, based on DG Starting from the configuration principle of , Check this problem step by step :
1. According to the report , see log_archive_config='DG_CONFIG Parameters , Check the master 、 Standby node DB_UNIQUE_NAME; The configuration is normal .
2. No problem was found in the previous step ; This is based on DG Transmission principle of , Is based on DG Transmission parameters such as log_archive_dest_2 Specified by the value in ; Then analyze the value of this parameter , This time is SERVICE=HZDBRAC LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=HZDBRAC'
3. about log_archive_dest_2 Parameters ,SERVICE=HZDBRAC adopt tnsnames.ora Specifies the information of the standby machine (IP、 port 、SERVICE_NAME), as well as DB_UNIQUE_NAME. Check at the master node , The format is correct .
4. Check the standby configuration , When viewing the listening configuration , Exception found :RAC To stand-alone environment , Monitor the program serviceK Three database instances appear ;
[grid@rac11g02 ~]$ lsnrctl status listener_scan1
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 24-FEB-2022 14:44:45
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias LISTENER_SCAN1
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 23-FEB-2022 12:19:12
Uptime 1 days 2 hr. 25 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/11.2.0/grid/log/diag/tnslsnr/rac11g02/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.105)(PORT=1521)))
Services Summary...
Service "HZDB" has 3 instance(s).
Instance "HZDB", status READY, has 1 handler(s) for this service... ===>>>RAC To stand-alone environment , Three database instances appear ?
Instance "HZDB1", status READY, has 1 handler(s) for this service...
Instance "HZDB2", status READY, has 1 handler(s) for this service...
5. The problem summary : Check the listening log , It can be found that it is a standby machine , Use... When building RAC The parameter of is not deleted when it is modified remote_listener Parameters , As a result, the instance of the standby machine is also registered to RAC Environmental Science , And in line SERVICE Of the 1 individual ; In this way, the single machine is switching to the primary node , towards RAC( For the node ) Data transfer , It will appear that on the surface, it will eventually connect :log_archive_dest_2 Of SERVICE=HZDBRAC Even the RAC, Actually, it bypasses the connection to the local machine . So appear ORA-16047: DGID mismatch between destination setting and target database A mismatch is reported as an error .
Modify parameters on a single machine alter system set remote_listener=''; after , again ENABLE Log transfer parameters , Back to normal . This also shows that listening VNCR It is still necessary to set the feature , Otherwise, it may be attacked by misoperation and affect normal business !!
版权声明
本文为[Not dizzy yet]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230601579693.html
边栏推荐
- 联想拯救者Y9000X 2020
- Dolphin scheduler integrates Flink task pit records
- Ai21 labs | standing on the shoulders of giant frozen language models
- Android clear app cache
- Database transactions
- Oracle calculates the difference between two dates in seconds, minutes, hours and days
- Exemple de méthode de réalisation de l'action d'usinage à point fixe basée sur l'interruption de déclenchement du compteur à grande vitesse ob40 pendant le voyage de tia Expo
- Tangent space
- Oracle lock table query and unlocking method
- What does the SQL name mean
猜你喜欢
"Xiangjian" Technology Salon | programmer & CSDN's advanced road
为什么从事云原生开发需要学习容器技术
Oracle job scheduled task usage details
RTOS mainstream assessment
Tangent space
[Journal Conference Series] IEEE series template download guide
顶级元宇宙游戏Plato Farm,近期动作不断利好频频
Common types and basic usage of input plug-in of logstash data processing service
The query did not generate a result set exception resolution when the dolphin scheduler schedules the SQL task to create a table
聯想拯救者Y9000X 2020
随机推荐
What do the raddr and rport in webrtc ice candidate mean?
为什么从事云原生开发需要学习容器技术
Detailed explanation of constraints of Oracle table
Oracle creates tablespaces and modifies user default tablespaces
Machine learning -- naive Bayes
QT calling external program
Lenovo Saver y9000x 2020
交叉碳市场和 Web3 以实现再生变革
[point cloud series] learning representations and generative models for 3D point clouds
Short name of common UI control
100000 college students have become ape powder. What are you waiting for?
QT调用外部程序
Example of specific method for TIA to trigger interrupt ob40 based on high-speed counter to realize fixed-point machining action
./gradlew: Permission denied
Ding ~ your scholarship has arrived! C certified enterprise scholarship list released
sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
Oracle clear SQL cache
Machine learning -- PCA and LDA
JS compares different elements in two arrays
innobackupex增量备份