oracle RAC 檢查命令

來源:互聯網
上載者:User

標籤: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    


oracle RAC 檢查命令

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.