Oracle 11g RAC 檢查各部分執行狀態
檢查RAC執行狀況
[grid@rac1 ~]$ crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
檢查Database例項例狀態
[oracle@rac1 ~]$ srvctl status database -d prod
Instance rac1 is running on node rac1
Instance rac2 is running on node rac2
檢查節點應用狀態及配置
[oracle@rac1 ~]$ srvctl status nodeapps
VIP rac1-vip is enabled
VIP rac1-vip is running on node: rac1
VIP rac2-vip is enabled
VIP rac2-vip is running on node: rac2
Network is enabled
Network is running on node: rac1
Network is running on node: rac2
GSD is disabled
GSD is not running on node: rac1
GSD is not running on node: rac2
ONS is enabled
ONS daemon is running on node: rac1
ONS daemon is running on node: rac2
eONS is enabled
eONS daemon is running on node: rac1
eONS daemon is running on node: rac2
[oracle@rac1 ~]$ srvctl config nodeapps -a -g -s -l
-l option has been deprecated and will be ignored.
VIP exists.:rac1
VIP exists.: /rac1-vip/182.168.8.53/255.255.255.0/eth0
VIP exists.:rac2
VIP exists.: /rac2-vip/182.168.8.54/255.255.255.0/eth0
GSD exists.
ONS daemon exists. Local port 6100, remote port 6200
Name: LISTENER Network: 1, Owner: grid
Home: <CRS home>
/u01/app/11.2.0/grid on node(s) rac2,rac1
End points: TCP:1521
檢視資料庫配置
[oracle@rac1 ~]$ srvctl config database -d prod -a
Database unique name: prod
Database name: prod
Oracle home: /u01/app/oracle/product/11.2.0/db_1
Oracle user: oracle
Spfile: +DATA/prod/spfileprod.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: prod
Database instances: prod1,prod2
Disk Groups: DATA,FRA
Services:
Database is enabled
Database is administrator managed
檢查 ASM狀態及配置
[oracle@rac1 ~]$ srvctl status asm
ASM is running on rac1,rac2
[oracle@rac1 ~]$ srvctl status asm
ASM is running on rac1,rac2
[oracle@rac1 ~]$ srvctl config asm -a
ASM home: /u01/app/11.2.0/grid
ASM listener: LISTENER
ASM is enabled.
檢查 TNS的狀態及配置
[oracle@rac1 ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): rac1,rac2
[oracle@rac1 ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): rac1,rac2
[oracle@rac1 ~]$ srvctl config listener -a
Name: LISTENER
Network: 1, Owner: grid
Home: <CRS home>
/u01/app/11.2.0/grid on node(s) rac2,rac1
End points: TCP:1521
檢查 SCAN 的狀態及配置
[oracle@rac1 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac1
[oracle@rac1 ~]$ srvctl config scan
SCAN name: rac-scan, Network: 1/182.168.8.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.xl.com/182.168.8.55
檢查 VIP的狀態及配置
[oracle@rac1 ~]$ srvctl status vip -n rac1
VIP rac1-vip is enabled
VIP rac1-vip is running on node: rac1
[oracle@rac1 ~]$ srvctl status vip -n rac2
VIP rac2-vip is enabled
VIP rac2-vip is running on node: rac2
[oracle@rac1 ~]$ srvctl config vip -n rac1
VIP exists.:rac1
VIP exists.: /rac1-vip/182.168.8.53/255.255.255.0/eth0
[oracle@rac1 ~]$ srvctl config vip -n rac2
VIP exists.:rac2
VIP exists.: /rac2-vip/182.168.8.54/255.255.255.0/eth0來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9034054/viewspace-1972900/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11G RAC檢查各元件狀態元件
- RAC常見命令檢查狀態
- 1 Oracle Database 11.2.0.3.0 RAC On Oralce Linux 6.5 使用-檢查RAC狀態OracleDatabaseLinux
- Oracle SCN健康狀態檢查Oracle
- oracle物理dg狀態檢查Oracle
- 檢視BW執行狀態
- 11G執行oracle自帶的檢查 checkOracle
- 如何偵查SQL執行狀態SQL
- 使用 telescope 檢視 schedule 執行狀態
- Solaris之檢視執行系統狀態
- 使用V$檢視觀察Oracle執行狀況Oracle
- 執行緒狀態執行緒
- oracle狀態查詢(補)Oracle
- oracle常用狀態查詢Oracle
- Jtti:linux怎麼檢視oracle資料庫的執行狀態JttiLinuxOracle資料庫
- 檢視mysql執行狀態的一些sqlMySql
- 檢視spark程式執行狀態以及安裝sparkSpark
- 檢查Oracle的鎖狀態並清除問題會話Oracle會話
- Docker 容器的健康狀態檢查Docker
- 2.檢查網路狀態
- linux檢查埠狀態命令Linux
- 檢查Capital許可狀態API
- oracle資料庫執行狀態監控SHELLOracle資料庫
- oracle RAC 診斷叢集狀態命令Oracle
- Java多執行緒-執行緒狀態Java執行緒
- Oracle 11g RAC修改靜態引數Oracle
- Linux如何檢視系統和程式的執行狀態?Linux
- Java執行緒的狀態Java執行緒
- 執行緒狀態和鎖執行緒
- 執行緒各種狀態執行緒
- 執行緒6--執行緒的狀態執行緒
- 小知識:使用oracle使用者檢視RAC叢集資源狀態Oracle
- 網路狀態的檢查和MJRefresh
- 使用jstack檢視當前程序全部執行緒的狀態JS執行緒
- oracle 11g 新特性 磁碟組檢查Oracle
- MySQL執行緒狀態詳解MySql執行緒
- Docker 之 執行狀態監控Docker
- Java執行緒狀態轉換Java執行緒