Oracle10g RAC (OCFS) 開啟關閉及日常檢查(總結)
熟悉Oracle10g RAC (OCFS) 開啟關閉及檢查Oracle 資料庫步驟。
=====================================================
開關機步驟:
1. 停止Oracle10g 環境
$ lsnrctl stop (停止監聽)
$ emctl stop dbconsole (停止dbconsole)
$ shutdown immediate (停止例項)
$ srvctl stop nodeapps -n gnd-rac01 (停節點服務)
# /etc/init.d/init.crs stop (root 停cluster 軟體)
2. 啟動Oracle10g 環境
$ srvctl start nodeapps -n gnd-rac01 (啟動一些服務)
$ startup (啟動例項)
$ emctl start dbconsole (啟動dbconsole)
$ lsnrctl start (啟動監聽)
平時的檢查:
1. 平時檢視instance 狀態(所有節點) :
gnd-rac01$srvctl status database -d tpc [注意:tpc 是db name]
Instance tpc1 is running on node gnd-rac01
Instance tpc2 is running on node gnd-rac02
2. 檢查 crs(所有節點) :
gnd-rac01>$cd /u01/product/crs/bin
gnd-rac01$ crs_stat -t
Name Type Target State Host
┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅
ora....01.lsnr application ONLINE ONLINE gnd-rac01
ora....c01.gsd application ONLINE ONLINE gnd-rac01
ora....c01.ons application ONLINE ONLINE gnd-rac01
ora....c01.vip application ONLINE ONLINE gnd-rac01
ora....02.lsnr application OFFLINE OFFLINE
ora....c02.gsd application ONLINE ONLINE gnd-rac02
ora....c02.ons application ONLINE ONLINE gnd-rac02
ora....c02.vip application ONLINE ONLINE gnd-rac02
ora.tpc.db application ONLINE ONLINE gnd-rac01
ora....c1.inst application ONLINE ONLINE gnd-rac01
ora....c2.inst application ONLINE ONLINE gnd-rac02
3. 檢查VIP, GSD,ONS, Listener 等(所有節點)。
gnd-rac01$srvctl status nodeapps -n gnd-rac01
VIP is running on node: gnd-rac01
GSD is running on node: gnd-rac01
Listener is running on node: gnd-rac01
ONS daemon is running on node: gnd-rac01
gnd-rac01$srvctl status nodeapps -n gnd-rac02
VIP is running on node: gnd-rac02
GSD is running on node: gnd-rac02
Listener is not running on node: gnd-rac02
ONS daemon is running on node: gnd-rac02
4.檢查Oracle Cluster 狀態: CSS, CRS, EVM .
gnd-rac01$crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
gnd-rac02$crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
5.Ocfs 方面的問題可以到/etc/init.d/o2cb 這裡看看。一般不用管理。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-85111/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關閉開啟Oracle10g RAC(OCFS2)系統步驟Oracle
- Oracle10g RAC 關閉及啟動Oracle
- Oracle10g RAC 關閉及啟動步驟Oracle
- Oracle10g RAC開啟關閉過程Oracle
- Oracle10g RAC (ASM) 資料庫及服務開啟關閉OracleASM資料庫
- Oracle10g RAC開啟關閉時候究竟在關閉什麼Oracle
- Oracle 11g RAC的啟動、關閉及修改歸檔總結Oracle
- oracle10g rac(rhel4)_ocfs2_ocfs_配置及資訊摘要Oracle
- 關閉開啟GFS檔案系統的Oracle10g RACOracle
- 關於關閉開啟Oracle10g RAC系統步驟疑問Oracle
- 關於Oracle10g RAC 的開啟關閉標準步驟問題Oracle
- 如何開啟/關閉 GitLab 的版本檢查功能?Gitlab
- Oracle日常運維操作總結-資料庫的啟動和關閉Oracle運維資料庫
- Oracle11g RAC啟動關閉情況大概總結Oracle
- 關閉及開啟oracle10g統計資訊自動收集功能Oracle
- RAC常用開啟關閉命令 – SRVCTL用法
- Oracle10g RAC with ocfs在windows安裝OracleWindows
- Linux下檢視、關閉及開啟防火牆命令Linux防火牆
- 關閉及開啟oracle10g統計資訊自動收集功能(轉)Oracle
- MySQL啟動和關閉命令總結MySql
- Oracle 11gR2 RAC叢集服務啟動與關閉總結Oracle
- Oracle 11gR2 RAC 叢集服務啟動與關閉總結Oracle
- Oracle11g RAC (ASM) 及Active Dataguard開啟與關閉 [final]OracleASM
- Oracle10g Logical Standby的開啟與關閉Oracle
- Oracle RAC 啟動與關閉Oracle
- RAC常用開啟關閉命令 - CRSCTL和SRVCTL 用法
- Oracle 10g RAC正常關閉及啟動順序Oracle 10g
- openguass 3.1.0 資料庫啟動,關閉,狀態檢查資料庫
- Oracle10g RAC ASM 環境日常管理OracleASM
- 12C RAC 常用檢查命令,持續總結中
- centos7開放、關閉及檢視埠CentOS
- oracle10g crs application 單獨關閉開啟服務OracleAPP
- Ubuntu 埠檢視及關閉Ubuntu
- rac 管理 啟動關閉資料庫資料庫
- vue cli 關閉程式碼檢查Vue
- DG日常檢查命令
- Netapp儲存日常檢查及資訊收集APP
- 日常總結