oracle RAC 檢查命令

1、--查詢RAC中數據庫實例的信息

srvctl config database -d yjdd(實例名)-a


Database unique name: yjdd

Database name: yjdd

Oracle home: /u01/app/oracle/product/11.2.0/db_1

Oracle user: oracle

Spfile: +DBDATA/yjdd/spfileyjdd.ora

Domain: nxnm.gov.cn

Start options: open

Stop options: immediate

Database role: PRIMARY

Management policy: AUTOMATIC

Server pools: yjdd

Database instances: yjdd1,yjdd2

Disk Groups: DBDATA,ARCH

Services: 

Database is enabled

Database is administrator managed


2、安裝完RAC後,CRS進程棧默認隨操作系統的啓動而自動啓動
出於維護的目的有時需要關閉這個特性,登錄root用戶執行下面命令:
[root#]$CRS_HOME/bin/crsctl disable crs

重新打開特性的命令
[root#]$CRS_HOME/bin/crsctl enable crs

上面的命令實際是修改了文件/etc/oracle/scls_scr/db01/root/crsstart的內容
# more /etc/oracle/scls_scr/db01/root/crsstart
enable    


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章