Oracle 11g RAC 監聽日常管理
需要必須掌握的命令,上週遇到了一個小問題,就是需要重啟資料庫監聽,有的同學竟然使用oracle使用者重啟監聽,原理就搞錯了怎麼行。以下操作都需要再grid使用者下進行操作。
1、檢視監聽狀態
<roidb2:+ASM2:/home/grid>$srvctl status listener Listener LISTENER is enabled Listener LISTENER is running on node(s): roidb1,roidb2 <roidb2:+ASM2:/home/grid>$srvctl status scan_listener SCAN Listener LISTENER_SCAN1 is enabled SCAN listener LISTENER_SCAN1 is running on node roidb2 <roidb2:+ASM2:/home/grid>$
2、關閉監聽
<roidb2:+ASM2:/home/grid>$srvctl stop listener -n roidb1 <roidb2:+ASM2:/home/grid>$srvctl status listener -n roidb1 Listener LISTENER is enabled on node(s): roidb1 Listener LISTENER is not running on node(s): roidb1 <roidb2:+ASM2:/home/grid>$ <roidb2:+ASM2:/home/grid>$srvctl stop scan_listener <roidb2:+ASM2:/home/grid>$srvctl status scan_listener SCAN Listener LISTENER_SCAN1 is enabled SCAN listener LISTENER_SCAN1 is not running <roidb2:+ASM2:/home/grid>$
3、啟動監聽
<roidb2:+ASM2:/home/grid>$srvctl start listener Listener LISTENER is enabled Listener LISTENER is running on node(s): roidb1,roidb2 <roidb2:+ASM2:/home/grid>$srvctl start scan_listener SCAN Listener LISTENER_SCAN1 is enabled SCAN listener LISTENER_SCAN1 is running on node roidb2 <roidb2:+ASM2:/home/grid>$
srvctl stop scan_listener
srvctl start scan_listener
srvctl status scan_listener
srvctl stop listener -n dcdbrac2
srvctl start listener -n dcdbrac2
srvctl status listener -n dcdbrac2
srvctl stop listener -n dcdbrac1
srvctl start listener -n dcdbrac1
srvctl status listener -n dcdbrac1
先啟動本地監聽,最後啟動 scan_listener
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/196700/viewspace-2220681/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11g rac監聽配置解析
- oracle rac scan監聽更改埠號Oracle
- oracle rac的scan監聽狀態Not All Endpoints RegisteredOracle
- Oracle 11g RAC Silent Install For NFSOracleNFS
- oracle監聽檔案listener.ora for 10g/11gOracle
- Oracle 11g/12c 監聽器白名單的配置Oracle
- ORACLE 11g RAC日常執行中一些基本啟停等命令總結Oracle
- Oracle 11g RAC手動新增serviceOracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- Oracle 11g RAC重新新增節點Oracle
- Tuning CPU 100% in Oracle 11g rac-20220215Oracle
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Oracle RAC日常運維-DATA磁碟組故障Oracle運維
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- rac監聽不能動態註冊
- 12C RAC 修改監聽埠
- oracle靜態監聽Oracle
- JMS監聽Oracle AQOracle
- Oracle 11g RAC SCAN ip的原理及配置Oracle
- Oracle 11g RAC到單例項OGG同步Oracle單例
- oracle 11g rac配置em dbconsole ORA-12514Oracle
- 如何在rac環境中增加監聽
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- Oracle 11g RAC自動打GI PSU補丁Oracle
- Oracle 11G RAC叢集安裝(2)——安裝gridOracle
- oracle 11g RAC 安裝前準備指令碼Oracle指令碼
- oracle 11G RAC的建立(VM虛擬環境)Oracle
- Oracle dblink監聽問題Oracle
- 6、oracle網路(監聽)Oracle
- Oracle RAC日常運維-NetworkManager導致叢集故障Oracle運維
- ORACLE OGG運維及日常監控Oracle運維
- Oracle 11g RAC之HAIP相關問題總結OracleAI
- Oracle RAC Cache Fusion 系列九:Oracle RAC 分散式資源管理(二)Oracle分散式
- Oracle RAC Cache Fusion 系列八:Oracle RAC 分散式資源管理(一)Oracle分散式
- RAC日常運維運維
- Oracle 監聽異常處理Oracle
- Oracle啟動兩個監聽Oracle
- Oracle 建立非1521埠監聽Oracle