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
- 3.3.2 正常模式關閉模式
- 怎麼關閉配置更新_如何關閉win10自動配置更新Win10
- DG搭建配置方案
- win10 uefi模式如何關閉_windows10怎麼關閉uefi模式Win10模式Windows
- win110系統下怎麼關閉Microsoft Edge搜尋建議ROS
- win10 關閉護眼模式方法 win10 怎麼關閉黑暗模式Win10模式
- 【DG】dg中如何配置多個後臺observerServer
- win10怎麼關閉夜間模式_windows10如何關閉夜間模式Win10模式Windows
- Oracle DG管理Broker配置Oracle
- 華為手機盲人模式怎麼關閉?華為手機盲人模式的關閉方法模式
- win10 1709怎麼關閉專注模式_win10專注模式如何關閉Win10模式
- 對Spark硬體配置的建議Spark
- excel相容模式怎麼改成普通模式 excel如何關閉相容模式Excel模式
- Oracle 12c 關閉歸檔模式Oracle模式
- 3.3.3 使用immiedit模式關閉資料庫模式資料庫
- MySQL 線上開啟&關閉GTID模式MySql模式
- win10怎麼關閉飛航模式_win10強制關閉飛航模式的步驟Win10模式
- 【DG】MAA-RAC to RAC ADG配置
- MySQL SELECT list is not in...MySQL關閉嚴格模式MySql模式
- html包裝器如何關閉顯示警告訊息?animate關閉警告模式的方法HTML模式
- DG -- READ ONLY模式開啟物理Standby模式
- 關於晉升的5個建議
- win10如何關閉飛航模式_win10飛航模式怎麼關Win10模式
- Oracle DG Broker配置的管理週期Oracle
- onethink開發版,怎麼關閉開發模式模式
- ES 25 - Elasticsearch生產叢集的配置建議Elasticsearch
- Nginx配置檔案詳解與優化建議Nginx優化
- SSL證書安裝配置最佳化建議
- 一些運維相關的建議運維
- 關於學習的一些建議
- Reddit 關閉暗網社群,引發使用者熱議
- Win10夜間模式存在Bug沒法關閉怎麼辦_win10無法關閉夜間模式解決教程Win10模式
- win10 關閉睡眠模式方法 win10怎麼取消睡眠模式Win10模式
- Git 忽略規則 gitignore 配置建議, 拯救強迫症Git
- 設計模式之開閉原則:對修改關閉,對擴充套件開放設計模式套件
- 在Ubuntu上配置SSH訪問並關閉防火牆Ubuntu防火牆
- 關於程式碼版本管理的思考和建議
- 關於加強MYSQL安全的幾點建議MySql