dg 配置,建議關閉shared 模式。
NAME TYPE VALUE
------------------------------------ -------------------------------- ------------------------------
dispatchers string (PROTOCOL=TCP)(DISPATCHERS=8)
[oracle@hpejxjgdbcheck ~]$ ps -ef|grep d00
oracle 24751 1 0 Dec09 ? 00:00:06 ora_d000_jk
oracle 24753 1 0 Dec09 ? 00:00:06 ora_d001_jk
oracle 24755 1 0 Dec09 ? 00:00:06 ora_d002_jk
oracle 24757 1 0 Dec09 ? 00:00:06 ora_d003_jk
oracle 24759 1 0 Dec09 ? 00:00:06 ora_d004_jk
oracle 24761 1 0 Dec09 ? 00:00:06 ora_d005_jk
oracle 24763 1 0 Dec09 ? 00:00:06 ora_d006_jk
oracle 24765 1 0 Dec09 ? 00:00:06 ora_d007_jk
oracle 24767 1 0 Dec09 ? 00:00:06 ora_d008_jk
oracle 24769 1 0 Dec09 ? 00:00:06 ora_d009_jk
alter system set dispatchers=' (PROTOCOL=TCP)(DIS=0)';
SOLUTION
The problem here is a configuration issue where the _DGB services have dispatchers registered against them and the TNS alias used to establish the broker configuration and used by the broker processes to obtain database information are not forcing the use of a dedicated server connection.
The TNS Alias you are using to connect to the primary and standby sites are resolving to a service that has both dedicated and shared server processes available to handle the connection.
The TNS Alias alias bnt00p_dgb for example is connecting to a service_name of BNT00P and has not specified that it is to be a dedicated server connection.
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 27-FEB-2014 17:02:20
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = YOURNODENAME.YOURCO.COM)(PORT = 1530))) (CONNECT_DATA = (SERVICE_NAME = BNT00P)))
OK (10 msec)
The listener service listing shows that connections are indeed being made to the _DGB service used by the brokers through dispatchers and shared servers.
Instance "BNT00P", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:6 refused:0
LOCAL SERVER
Instance "BNT00P", status READY, has 9 handler(s) for this service...
Handler(s):
"D007" established:13 refused:0 current:1 max:1022 state:ready
DISPATCHER
(ADDRESS=(PROTOCOL=tcp)(HOST=YOURNODENAME)(PORT=33262))
To correct this issue perform the following:
1. Create a new TNS Alias that forces the use of dedicated server based sessions within your database.
For example:
2. Change the broker configuration alias that is used to establish sessions
3. You also need to make sure that no dispatchers are being registered against the listener service BNT00P_DGB as this will also be used by the broker. While the use of dispatchers is fine for end users, SYSDBA based connections should always be performed through dedicated server processes.
For example the example database below has only got dispatchers registered against the service rs1XDB. There are no dispatcher registered for the BNT00P_DGB service specifically.
dispatchers string (PROTOCOL=TCP) (SERVICE=rs1XDB )
Once the changes above have been implemented disable the broker configuration and re-enable it once more.
4. Disable the configuration and re-enable it again
In the Primary site
SQL> alter system set dg_broker_start=false
SQL> alter system set dg_broker_start=true
DGMGRL> enable configuration
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2130676/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- win10如何關閉建議_win10關閉建議的方法Win10
- 啟用SHARED SERVERS和關閉 轉載Server
- Oracle DG主備啟動關閉順序Oracle
- Oracle DG主備啟動和關閉流程Oracle
- 3.3.2 正常模式關閉模式
- 怎麼關閉配置更新_如何關閉win10自動配置更新Win10
- win10 uefi模式如何關閉_windows10怎麼關閉uefi模式Win10模式Windows
- win10 關閉護眼模式方法 win10 怎麼關閉黑暗模式Win10模式
- 【DG】DG的3種保護模式模式
- oracle關閉的四種模式Oracle模式
- ORACLE啟動模式及關閉Oracle模式
- 中國網站掙錢模式建議網站模式
- win10怎麼關閉夜間模式_windows10如何關閉夜間模式Win10模式Windows
- 配置Shared ServerServer
- win110系統下怎麼關閉Microsoft Edge搜尋建議ROS
- 對Spark硬體配置的建議Spark
- 再論 golang 環境配置建議Golang
- 華為手機盲人模式怎麼關閉?華為手機盲人模式的關閉方法模式
- DG搭建配置方案
- 關於JDon上介紹GoF設計模式的文章一點建議Go設計模式
- iOS9 關閉Bitcode模式iOS模式
- win10 1709怎麼關閉專注模式_win10專注模式如何關閉Win10模式
- Win10如何關閉飛航模式 關閉win10系統飛航模式的方法Win10模式
- DG的保護模式模式
- excel相容模式怎麼改成普通模式 excel如何關閉相容模式Excel模式
- 【DG】dg中如何配置多個後臺observerServer
- 【實驗】【Shared Server Mode】手工關閉某一個特定排程程式Server
- Oracle DG管理Broker配置Oracle
- 3.3.3 使用immiedit模式關閉資料庫模式資料庫
- MySQL 線上開啟&關閉GTID模式MySql模式
- Oracle 12c 關閉歸檔模式Oracle模式
- archive log 歸檔模式 啟動關閉Hive模式
- win10怎麼關閉飛航模式_win10強制關閉飛航模式的步驟Win10模式
- 小米4c防誤觸模式怎麼關閉 小米4c防誤觸模式關閉教程模式
- 【DG】之 Snapshot standby模式模式
- 【DG】三大模式切換模式
- 關閉功能顧問的那些診斷模式模式
- MRP 程式開啟和關閉實時應用 Oracle11g DGOracle